/linux-3.4.99/fs/xfs/ |
D | xfs_dinode.h | 116 #define XFS_DFORK_Q(dip) ((dip)->di_forkoff != 0) argument 117 #define XFS_DFORK_BOFF(dip) ((int)((dip)->di_forkoff << 3)) argument 119 #define XFS_DFORK_DSIZE(dip,mp) \ argument 120 (XFS_DFORK_Q(dip) ? \ 121 XFS_DFORK_BOFF(dip) : \ 123 #define XFS_DFORK_ASIZE(dip,mp) \ argument 124 (XFS_DFORK_Q(dip) ? \ 125 XFS_LITINO(mp) - XFS_DFORK_BOFF(dip) : \ 127 #define XFS_DFORK_SIZE(dip,mp,w) \ argument 129 XFS_DFORK_DSIZE(dip, mp) : \ [all …]
|
D | xfs_inode.c | 104 xfs_dinode_t *dip; in xfs_inobp_check() local 109 dip = (xfs_dinode_t *)xfs_buf_offset(bp, in xfs_inobp_check() 111 if (!dip->di_next_unlinked) { in xfs_inobp_check() 115 ASSERT(dip->di_next_unlinked); in xfs_inobp_check() 165 xfs_dinode_t *dip; in xfs_imap_to_bp() local 167 dip = (xfs_dinode_t *)xfs_buf_offset(bp, in xfs_imap_to_bp() 169 di_ok = dip->di_magic == cpu_to_be16(XFS_DINODE_MAGIC) && in xfs_imap_to_bp() 170 XFS_DINODE_GOOD_VERSION(dip->di_version); in xfs_imap_to_bp() 179 XFS_ERRLEVEL_HIGH, mp, dip); in xfs_imap_to_bp() 184 be16_to_cpu(dip->di_magic)); in xfs_imap_to_bp() [all …]
|
D | xfs_log_recover.c | 2191 xfs_dinode_t *dip; in xlog_recover_inode_pass2() local 2236 dip = (xfs_dinode_t *)xfs_buf_offset(bp, in_f->ilf_boffset); in xlog_recover_inode_pass2() 2242 if (unlikely(dip->di_magic != cpu_to_be16(XFS_DINODE_MAGIC))) { in xlog_recover_inode_pass2() 2246 __func__, dip, bp, in_f->ilf_ino); in xlog_recover_inode_pass2() 2265 if (dicp->di_flushiter < be16_to_cpu(dip->di_flushiter)) { in xlog_recover_inode_pass2() 2270 if (be16_to_cpu(dip->di_flushiter) == DI_MAX_FLUSH && in xlog_recover_inode_pass2() 2292 __func__, item, dip, bp, in_f->ilf_ino); in xlog_recover_inode_pass2() 2306 __func__, item, dip, bp, in_f->ilf_ino); in xlog_recover_inode_pass2() 2318 __func__, item, dip, bp, in_f->ilf_ino, in xlog_recover_inode_pass2() 2331 item, dip, bp, in_f->ilf_ino, dicp->di_forkoff); in xlog_recover_inode_pass2() [all …]
|
D | xfs_filestream.h | 57 int xfs_filestream_associate(struct xfs_inode *dip, struct xfs_inode *ip);
|
/linux-3.4.99/fs/gfs2/ |
D | dir.c | 578 static int dirent_check_reclen(struct gfs2_inode *dip, in dirent_check_reclen() argument 592 gfs2_consist_inode(dip); in dirent_check_reclen() 605 static int dirent_next(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_next() argument 612 ret = dirent_check_reclen(dip, cur, bh_end); in dirent_next() 617 ret = dirent_check_reclen(dip, tmp, bh_end); in dirent_next() 623 gfs2_consist_inode(dip); in dirent_next() 640 static void dirent_del(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_del() argument 646 gfs2_consist_inode(dip); in dirent_del() 650 gfs2_trans_add_bh(dip->i_gl, bh, 1); in dirent_del() 668 gfs2_consist_inode(dip); in dirent_del() [all …]
|
D | inode.c | 249 struct inode *gfs2_lookup_simple(struct inode *dip, const char *name) in gfs2_lookup_simple() argument 254 inode = gfs2_lookupi(dip, &qstr, 1); in gfs2_lookup_simple() 286 struct gfs2_inode *dip = GFS2_I(dir); in gfs2_lookupi() local 302 if (gfs2_glock_is_locked_by_me(dip->i_gl) == NULL) { in gfs2_lookupi() 303 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); in gfs2_lookupi() 335 static int create_ok(struct gfs2_inode *dip, const struct qstr *name, in create_ok() argument 340 error = gfs2_permission(&dip->i_inode, MAY_WRITE | MAY_EXEC); in create_ok() 345 if (!dip->i_inode.i_nlink) in create_ok() 348 error = gfs2_dir_check(&dip->i_inode, name, NULL); in create_ok() 359 if (dip->i_entries == (u32)-1) in create_ok() [all …]
|
D | dentry.c | 40 struct gfs2_inode *dip; in gfs2_drevalidate() local 52 dip = GFS2_I(parent->d_inode); 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 | 26 extern int gfs2_dir_del(struct gfs2_inode *dip, const struct dentry *dentry); 29 extern int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename, 32 extern int gfs2_dir_exhash_dealloc(struct gfs2_inode *dip);
|
D | export.c | 97 struct gfs2_inode *dip, *ip; in gfs2_get_name() local 110 dip = GFS2_I(dir); in gfs2_get_name() 118 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_get_name()
|
D | acl.c | 112 int gfs2_acl_create(struct gfs2_inode *dip, struct inode *inode) in gfs2_acl_create() argument 114 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in gfs2_acl_create() 124 acl = gfs2_get_acl(&dip->i_inode, ACL_TYPE_DEFAULT); in gfs2_acl_create()
|
D | acl.h | 20 extern int gfs2_acl_create(struct gfs2_inode *dip, struct inode *inode);
|
D | inode.h | 113 extern struct inode *gfs2_lookup_simple(struct inode *dip, const char *name);
|
/linux-3.4.99/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:%s", dip, dentry->d_name.name); 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 | 3057 static int copy_from_dinode(struct dinode * dip, struct inode *ip) in copy_from_dinode() argument 3062 jfs_ip->fileset = le32_to_cpu(dip->di_fileset); in copy_from_dinode() 3063 jfs_ip->mode2 = le32_to_cpu(dip->di_mode); in copy_from_dinode() 3066 ip->i_mode = le32_to_cpu(dip->di_mode) & 0xffff; in copy_from_dinode() 3079 set_nlink(ip, le32_to_cpu(dip->di_nlink)); in copy_from_dinode() 3081 jfs_ip->saved_uid = le32_to_cpu(dip->di_uid); in copy_from_dinode() 3088 jfs_ip->saved_gid = le32_to_cpu(dip->di_gid); in copy_from_dinode() 3095 ip->i_size = le64_to_cpu(dip->di_size); in copy_from_dinode() 3096 ip->i_atime.tv_sec = le32_to_cpu(dip->di_atime.tv_sec); in copy_from_dinode() 3097 ip->i_atime.tv_nsec = le32_to_cpu(dip->di_atime.tv_nsec); in copy_from_dinode() [all …]
|
/linux-3.4.99/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-3.4.99/drivers/media/video/pvrusb2/ |
D | pvrusb2-v4l2.c | 883 static void pvr2_v4l2_dev_destroy(struct pvr2_v4l2_dev *dip) in pvr2_v4l2_dev_destroy() argument 885 struct pvr2_hdw *hdw = dip->v4lp->channel.mc_head->hdw; in pvr2_v4l2_dev_destroy() 886 enum pvr2_config cfg = dip->config; in pvr2_v4l2_dev_destroy() 895 video_device_node_name(&dip->devbase), in pvr2_v4l2_dev_destroy() 899 pvr2_hdw_v4l_store_minor_number(hdw,dip->minor_type,-1); in pvr2_v4l2_dev_destroy() 902 dip->v4lp = NULL; in pvr2_v4l2_dev_destroy() 903 dip->stream = NULL; in pvr2_v4l2_dev_destroy() 907 video_unregister_device(&dip->devbase); in pvr2_v4l2_dev_destroy() 914 static void pvr2_v4l2_dev_disassociate_parent(struct pvr2_v4l2_dev *dip) in pvr2_v4l2_dev_disassociate_parent() argument 916 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-3.4.99/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, struct nameidata *nd) 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-3.4.99/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-3.4.99/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()
|
/linux-3.4.99/fs/btrfs/ |
D | inode.c | 5865 struct btrfs_dio_private *dip = bio->bi_private; in btrfs_endio_direct_read() local 5868 struct inode *inode = dip->inode; in btrfs_endio_direct_read() 5871 u32 *private = dip->csums; in btrfs_endio_direct_read() 5873 start = dip->logical_offset; in btrfs_endio_direct_read() 5905 unlock_extent(&BTRFS_I(inode)->io_tree, dip->logical_offset, in btrfs_endio_direct_read() 5906 dip->logical_offset + dip->bytes - 1); in btrfs_endio_direct_read() 5907 bio->bi_private = dip->private; in btrfs_endio_direct_read() 5909 kfree(dip->csums); in btrfs_endio_direct_read() 5910 kfree(dip); in btrfs_endio_direct_read() 5920 struct btrfs_dio_private *dip = bio->bi_private; in btrfs_endio_direct_write() local [all …]
|
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_ioctl.h | 156 uint32_t dip; member
|
/linux-3.4.99/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:
|
/linux-3.4.99/Documentation/serial/ |
D | specialix.txt | 53 Address dip switch settings: 54 The dip switch sets bits 2-9 of the IO address. 73 The PCI version doesn't have any dip switches. The BIOS assigns
|