/linux-4.1.27/fs/gfs2/ |
D | dir.c | 582 static int dirent_check_reclen(struct gfs2_inode *dip, in dirent_check_reclen() argument 596 gfs2_consist_inode(dip); in dirent_check_reclen() 609 static int dirent_next(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_next() argument 616 ret = dirent_check_reclen(dip, cur, bh_end); in dirent_next() 621 ret = dirent_check_reclen(dip, tmp, bh_end); in dirent_next() 627 gfs2_consist_inode(dip); in dirent_next() 644 static void dirent_del(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_del() argument 650 gfs2_consist_inode(dip); in dirent_del() 654 gfs2_trans_add_meta(dip->i_gl, bh); in dirent_del() 672 gfs2_consist_inode(dip); in dirent_del() [all …]
|
D | inode.c | 250 struct inode *gfs2_lookup_simple(struct inode *dip, const char *name) in gfs2_lookup_simple() argument 255 inode = gfs2_lookupi(dip, &qstr, 1); in gfs2_lookup_simple() 287 struct gfs2_inode *dip = GFS2_I(dir); in gfs2_lookupi() local 303 if (gfs2_glock_is_locked_by_me(dip->i_gl) == NULL) { in gfs2_lookupi() 304 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); in gfs2_lookupi() 336 static int create_ok(struct gfs2_inode *dip, const struct qstr *name, in create_ok() argument 341 error = gfs2_permission(&dip->i_inode, MAY_WRITE | MAY_EXEC); in create_ok() 346 if (!dip->i_inode.i_nlink) in create_ok() 349 if (dip->i_entries == (u32)-1) in create_ok() 351 if (S_ISDIR(mode) && dip->i_inode.i_nlink == (u32)-1) in create_ok() [all …]
|
D | dentry.c | 40 struct gfs2_inode *dip; in gfs2_drevalidate() local 52 dip = GFS2_I(d_inode(parent)); in gfs2_drevalidate() 64 had_lock = (gfs2_glock_is_locked_by_me(dip->i_gl) != NULL); in gfs2_drevalidate() 66 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); in gfs2_drevalidate()
|
D | dir.h | 42 extern int gfs2_dir_del(struct gfs2_inode *dip, const struct dentry *dentry); 45 extern int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename, 48 extern int gfs2_dir_exhash_dealloc(struct gfs2_inode *dip);
|
D | export.c | 93 struct gfs2_inode *dip, *ip; in gfs2_get_name() local 108 dip = GFS2_I(dir); in gfs2_get_name() 115 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_get_name()
|
D | inode.h | 110 extern struct inode *gfs2_lookup_simple(struct inode *dip, const char *name);
|
D | file.c | 95 struct gfs2_inode *dip = GFS2_I(dir); in gfs2_readdir() local 99 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); in gfs2_readdir()
|
D | ops_fstype.c | 547 struct gfs2_inode *dip = GFS2_I(sdp->sd_jindex); in gfs2_jindex_hold() local 558 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, ji_gh); in gfs2_jindex_hold()
|
/linux-4.1.27/fs/jfs/ |
D | namei.c | 75 static int jfs_create(struct inode *dip, struct dentry *dentry, umode_t mode, in jfs_create() argument 87 jfs_info("jfs_create: dip:0x%p name:%pd", dip, dentry); in jfs_create() 89 dquot_initialize(dip); in jfs_create() 103 ip = ialloc(dip, mode); in jfs_create() 109 tid = txBegin(dip->i_sb, 0); in jfs_create() 111 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_create() 114 rc = jfs_init_acl(tid, ip, dip); in jfs_create() 118 rc = jfs_init_security(tid, ip, dip, &dentry->d_name); in jfs_create() 124 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { in jfs_create() 135 iplist[0] = dip; in jfs_create() [all …]
|
D | jfs_imap.c | 3046 static int copy_from_dinode(struct dinode * dip, struct inode *ip) in copy_from_dinode() argument 3051 jfs_ip->fileset = le32_to_cpu(dip->di_fileset); in copy_from_dinode() 3052 jfs_ip->mode2 = le32_to_cpu(dip->di_mode); in copy_from_dinode() 3055 ip->i_mode = le32_to_cpu(dip->di_mode) & 0xffff; in copy_from_dinode() 3068 set_nlink(ip, le32_to_cpu(dip->di_nlink)); in copy_from_dinode() 3070 jfs_ip->saved_uid = make_kuid(&init_user_ns, le32_to_cpu(dip->di_uid)); in copy_from_dinode() 3077 jfs_ip->saved_gid = make_kgid(&init_user_ns, le32_to_cpu(dip->di_gid)); in copy_from_dinode() 3084 ip->i_size = le64_to_cpu(dip->di_size); in copy_from_dinode() 3085 ip->i_atime.tv_sec = le32_to_cpu(dip->di_atime.tv_sec); in copy_from_dinode() 3086 ip->i_atime.tv_nsec = le32_to_cpu(dip->di_atime.tv_nsec); in copy_from_dinode() [all …]
|
/linux-4.1.27/fs/xfs/libxfs/ |
D | xfs_inode_buf.c | 44 xfs_dinode_t *dip; in xfs_inobp_check() local 49 dip = (xfs_dinode_t *)xfs_buf_offset(bp, in xfs_inobp_check() 51 if (!dip->di_next_unlinked) { in xfs_inobp_check() 90 xfs_dinode_t *dip; in xfs_inode_buf_verify() local 92 dip = (struct xfs_dinode *)xfs_buf_offset(bp, in xfs_inode_buf_verify() 94 di_ok = dip->di_magic == cpu_to_be16(XFS_DINODE_MAGIC) && in xfs_inode_buf_verify() 95 XFS_DINODE_GOOD_VERSION(dip->di_version); in xfs_inode_buf_verify() 111 be16_to_cpu(dip->di_magic)); in xfs_inode_buf_verify() 297 struct xfs_dinode *dip) in xfs_dinode_verify() argument 299 if (dip->di_magic != cpu_to_be16(XFS_DINODE_MAGIC)) in xfs_dinode_verify() [all …]
|
D | xfs_format.h | 917 #define XFS_DFORK_Q(dip) ((dip)->di_forkoff != 0) argument 918 #define XFS_DFORK_BOFF(dip) ((int)((dip)->di_forkoff << 3)) argument 920 #define XFS_DFORK_DSIZE(dip,mp) \ argument 921 (XFS_DFORK_Q(dip) ? \ 922 XFS_DFORK_BOFF(dip) : \ 923 XFS_LITINO(mp, (dip)->di_version)) 924 #define XFS_DFORK_ASIZE(dip,mp) \ argument 925 (XFS_DFORK_Q(dip) ? \ 926 XFS_LITINO(mp, (dip)->di_version) - XFS_DFORK_BOFF(dip) : \ 928 #define XFS_DFORK_SIZE(dip,mp,w) \ argument [all …]
|
D | xfs_inode_fork.c | 82 xfs_dinode_t *dip) in xfs_iformat_fork() argument 89 if (unlikely(be32_to_cpu(dip->di_nextents) + in xfs_iformat_fork() 90 be16_to_cpu(dip->di_anextents) > in xfs_iformat_fork() 91 be64_to_cpu(dip->di_nblocks))) { in xfs_iformat_fork() 95 (int)(be32_to_cpu(dip->di_nextents) + in xfs_iformat_fork() 96 be16_to_cpu(dip->di_anextents)), in xfs_iformat_fork() 98 be64_to_cpu(dip->di_nblocks)); in xfs_iformat_fork() 100 ip->i_mount, dip); in xfs_iformat_fork() 104 if (unlikely(dip->di_forkoff > ip->i_mount->m_sb.sb_inodesize)) { in xfs_iformat_fork() 107 dip->di_forkoff); in xfs_iformat_fork() [all …]
|
/linux-4.1.27/arch/arm/mach-davinci/ |
D | common.c | 44 struct davinci_id *dip; in davinci_init_id() local 61 for (i = 0, dip = soc_info->ids; i < soc_info->ids_num; in davinci_init_id() 62 i++, dip++) in davinci_init_id() 64 if ((dip->part_no == part_no) && (dip->variant == variant)) { in davinci_init_id() 65 soc_info->cpu_id = dip->cpu_id; in davinci_init_id() 66 pr_info("DaVinci %s variant 0x%x\n", dip->name, in davinci_init_id() 67 dip->variant); in davinci_init_id()
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
D | pvrusb2-v4l2.c | 816 static void pvr2_v4l2_dev_destroy(struct pvr2_v4l2_dev *dip) in pvr2_v4l2_dev_destroy() argument 818 struct pvr2_hdw *hdw = dip->v4lp->channel.mc_head->hdw; in pvr2_v4l2_dev_destroy() 819 enum pvr2_config cfg = dip->config; in pvr2_v4l2_dev_destroy() 828 video_device_node_name(&dip->devbase), in pvr2_v4l2_dev_destroy() 832 pvr2_hdw_v4l_store_minor_number(hdw,dip->minor_type,-1); in pvr2_v4l2_dev_destroy() 835 dip->v4lp = NULL; in pvr2_v4l2_dev_destroy() 836 dip->stream = NULL; in pvr2_v4l2_dev_destroy() 840 video_unregister_device(&dip->devbase); in pvr2_v4l2_dev_destroy() 847 static void pvr2_v4l2_dev_disassociate_parent(struct pvr2_v4l2_dev *dip) in pvr2_v4l2_dev_disassociate_parent() argument 849 if (!dip) return; in pvr2_v4l2_dev_disassociate_parent() [all …]
|
D | pvrusb2-sysfs.c | 430 struct pvr2_sysfs_debugifc *dip; in pvr2_sysfs_add_debugifc() local 433 dip = kzalloc(sizeof(*dip),GFP_KERNEL); in pvr2_sysfs_add_debugifc() 434 if (!dip) return; in pvr2_sysfs_add_debugifc() 435 sysfs_attr_init(&dip->attr_debugcmd.attr); in pvr2_sysfs_add_debugifc() 436 dip->attr_debugcmd.attr.name = "debugcmd"; in pvr2_sysfs_add_debugifc() 437 dip->attr_debugcmd.attr.mode = S_IRUGO|S_IWUSR|S_IWGRP; in pvr2_sysfs_add_debugifc() 438 dip->attr_debugcmd.show = debugcmd_show; in pvr2_sysfs_add_debugifc() 439 dip->attr_debugcmd.store = debugcmd_store; in pvr2_sysfs_add_debugifc() 440 sysfs_attr_init(&dip->attr_debuginfo.attr); in pvr2_sysfs_add_debugifc() 441 dip->attr_debuginfo.attr.name = "debuginfo"; in pvr2_sysfs_add_debugifc() [all …]
|
/linux-4.1.27/fs/freevxfs/ |
D | vxfs_inode.c | 99 struct vxfs_dinode *dip; in vxfs_blkiget() local 103 dip = (struct vxfs_dinode *)(bp->b_data + offset); in vxfs_blkiget() 104 memcpy(vip, dip, sizeof(*vip)); in vxfs_blkiget() 140 struct vxfs_dinode *dip; in __vxfs_iget() local 145 dip = (struct vxfs_dinode *)(kaddr + offset); in __vxfs_iget() 146 memcpy(vip, dip, sizeof(*vip)); in __vxfs_iget()
|
D | vxfs_lookup.c | 175 vxfs_inode_by_name(struct inode *dip, struct dentry *dp) in vxfs_inode_by_name() argument 181 de = vxfs_find_entry(dip, dp, &pp); in vxfs_inode_by_name() 206 vxfs_lookup(struct inode *dip, struct dentry *dp, unsigned int flags) in vxfs_lookup() argument 214 ino = vxfs_inode_by_name(dip, dp); in vxfs_lookup() 216 ip = vxfs_iget(dip->i_sb, ino); in vxfs_lookup()
|
/linux-4.1.27/net/bridge/netfilter/ |
D | ebt_among.c | 137 __be32 dip = 0, sip = 0; in ebt_among_mt() local 159 if (get_ip_dst(skb, &dip)) in ebt_among_mt() 163 if (!ebt_mac_wormhash_contains(wh_dst, dmac, dip)) in ebt_among_mt() 167 if (ebt_mac_wormhash_contains(wh_dst, dmac, dip)) in ebt_among_mt()
|
/linux-4.1.27/fs/xfs/ |
D | xfs_inode.c | 611 xfs_dinode_t *dip) in xfs_dic2xflags() argument 613 return _xfs_dic2xflags(be16_to_cpu(dip->di_flags)) | in xfs_dic2xflags() 614 (XFS_DFORK_Q(dip) ? XFS_XFLAG_HASATTR : 0); in xfs_dic2xflags() 1986 xfs_dinode_t *dip; in xfs_iunlink() local 2025 error = xfs_imap_to_bp(mp, tp, &ip->i_imap, &dip, &ibp, in xfs_iunlink() 2030 ASSERT(dip->di_next_unlinked == cpu_to_be32(NULLAGINO)); in xfs_iunlink() 2031 dip->di_next_unlinked = agi->agi_unlinked[bucket_index]; in xfs_iunlink() 2036 xfs_dinode_calc_crc(mp, dip); in xfs_iunlink() 2068 xfs_dinode_t *dip; in xfs_iunlink_remove() local 2111 error = xfs_imap_to_bp(mp, tp, &ip->i_imap, &dip, &ibp, in xfs_iunlink_remove() [all …]
|
D | xfs_log_recover.c | 2456 struct xfs_dinode *dip, in xfs_recover_inode_owner_change() argument 2470 xfs_dinode_from_disk(&ip->i_d, dip); in xfs_recover_inode_owner_change() 2473 error = xfs_iformat_fork(ip, dip); in xfs_recover_inode_owner_change() 2509 xfs_dinode_t *dip; in xlog_recover_inode_pass2() local 2554 dip = (xfs_dinode_t *)xfs_buf_offset(bp, in_f->ilf_boffset); in xlog_recover_inode_pass2() 2560 if (unlikely(dip->di_magic != cpu_to_be16(XFS_DINODE_MAGIC))) { in xlog_recover_inode_pass2() 2563 __func__, dip, bp, in_f->ilf_ino); in xlog_recover_inode_pass2() 2587 if (dip->di_version >= 3) { in xlog_recover_inode_pass2() 2588 xfs_lsn_t lsn = be64_to_cpu(dip->di_lsn); in xlog_recover_inode_pass2() 2606 dicp->di_flushiter < be16_to_cpu(dip->di_flushiter)) { in xlog_recover_inode_pass2() [all …]
|
/linux-4.1.27/drivers/scsi/bfa/ |
D | bfa_port.c | 30 u32 *dip = (u32 *) stats; in bfa_port_stats_swap() local 36 t0 = dip[i]; in bfa_port_stats_swap() 37 t1 = dip[i + 1]; in bfa_port_stats_swap() 39 dip[i] = be32_to_cpu(t0); in bfa_port_stats_swap() 40 dip[i + 1] = be32_to_cpu(t1); in bfa_port_stats_swap() 42 dip[i] = be32_to_cpu(t1); in bfa_port_stats_swap() 43 dip[i + 1] = be32_to_cpu(t0); in bfa_port_stats_swap()
|
D | bfa_svc.c | 3323 u32 *dip = (u32 *) d; in bfa_fcport_qos_stats_swap() local 3329 dip[i] = be32_to_cpu(sip[i]); in bfa_fcport_qos_stats_swap() 3336 u32 *dip = (u32 *) d; in bfa_fcport_fcoe_stats_swap() local 3343 dip[i] = be32_to_cpu(sip[i]); in bfa_fcport_fcoe_stats_swap() 3344 dip[i + 1] = be32_to_cpu(sip[i + 1]); in bfa_fcport_fcoe_stats_swap() 3346 dip[i] = be32_to_cpu(sip[i + 1]); in bfa_fcport_fcoe_stats_swap() 3347 dip[i + 1] = be32_to_cpu(sip[i]); in bfa_fcport_fcoe_stats_swap()
|
/linux-4.1.27/fs/btrfs/ |
D | inode.c | 7888 struct btrfs_dio_private *dip = bio->bi_private; in btrfs_endio_direct_read() local 7889 struct inode *inode = dip->inode; in btrfs_endio_direct_read() 7893 if (dip->flags & BTRFS_DIO_ORIG_BIO_SUBMITTED) in btrfs_endio_direct_read() 7896 unlock_extent(&BTRFS_I(inode)->io_tree, dip->logical_offset, in btrfs_endio_direct_read() 7897 dip->logical_offset + dip->bytes - 1); in btrfs_endio_direct_read() 7898 dio_bio = dip->dio_bio; in btrfs_endio_direct_read() 7900 kfree(dip); in btrfs_endio_direct_read() 7914 struct btrfs_dio_private *dip = bio->bi_private; in btrfs_endio_direct_write() local 7915 struct inode *inode = dip->inode; in btrfs_endio_direct_write() 7918 u64 ordered_offset = dip->logical_offset; in btrfs_endio_direct_write() [all …]
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_ioctl.h | 156 uint32_t dip; member
|
D | common.h | 412 u32 dip; member
|
D | t3_hw.c | 2969 key[2] = tp->dip; in t3_config_trace_filter()
|
/linux-4.1.27/drivers/net/ipvlan/ |
D | ipvlan_core.c | 322 __be32 dip; in ipvlan_addr_lookup() local 331 memcpy(&dip, arp_ptr, 4); in ipvlan_addr_lookup() 332 addr = ipvlan_ht_addr_lookup(port, &dip, false); in ipvlan_addr_lookup()
|
/linux-4.1.27/Documentation/isdn/ |
D | README.icn | 26 Two types of cards exist, one with dip-switches and one with 43 2. Setting for the card with dip-switches:
|
D | README | 83 Seyon, minicom, CSLIP (uri-dip) PPP, mgetty, XCept and Hylafax.
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | kirkwood-openblocks_a6.dts | 64 pmx_dip_switches: pmx-dip-switches {
|
D | kirkwood-openblocks_a7.dts | 76 pmx_dip_switches: pmx-dip-switches {
|
/linux-4.1.27/Documentation/serial/ |
D | rocket.txt | 111 must have a unique board ID set on the dip switches. The first
|
/linux-4.1.27/sound/pci/hda/ |
D | patch_hdmi.c | 1033 u8 *dip, int size) in hdmi_fill_audio_infoframe() argument 1042 hdmi_write_dip_byte(codec, pin_nid, dip[i]); in hdmi_fill_audio_infoframe() 1046 u8 *dip, int size) in hdmi_infoframe_uptodate() argument 1059 if (val != dip[i]) in hdmi_infoframe_uptodate()
|
/linux-4.1.27/Documentation/sound/alsa/ |
D | CMIPCI.txt | 160 configuration with hardware dip-switch.
|
/linux-4.1.27/Documentation/arm/OMAP/ |
D | DSS | 250 # at this point you have to switch the dvi/lcd dip-switch from the omap board
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
D | niu.c | 7374 u32 sip, dip, sipm, dipm, spi, spim; in niu_get_tcamkey_from_ip4fs() local 7379 dip = be32_to_cpu(fsp->h_u.tcp_ip4_spec.ip4dst); in niu_get_tcamkey_from_ip4fs() 7388 tp->key[3] |= dip; in niu_get_tcamkey_from_ip4fs()
|
/linux-4.1.27/Documentation/networking/ |
D | arcnet-hardware.txt | 2966 To select a hardware interrupt level set one (only one!) of the dip switches 2971 are used to determine the timeout parameters. These two dip switches
|
/linux-4.1.27/ |
D | CREDITS | 3640 D: 'dip' contributor.
|