Home
last modified time | relevance | path

Searched refs:dip (Results 1 – 39 of 39) sorted by relevance

/linux-4.4.14/fs/gfs2/
Ddir.c587 static int dirent_check_reclen(struct gfs2_inode *dip, in dirent_check_reclen() argument
601 gfs2_consist_inode(dip); in dirent_check_reclen()
614 static int dirent_next(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_next() argument
621 ret = dirent_check_reclen(dip, cur, bh_end); in dirent_next()
626 ret = dirent_check_reclen(dip, tmp, bh_end); in dirent_next()
632 gfs2_consist_inode(dip); in dirent_next()
649 static void dirent_del(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_del() argument
655 gfs2_consist_inode(dip); in dirent_del()
659 gfs2_trans_add_meta(dip->i_gl, bh); in dirent_del()
677 gfs2_consist_inode(dip); in dirent_del()
[all …]
Dinode.c250 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 …]
Ddentry.c40 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()
Ddir.h42 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);
Dexport.c93 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()
Dinode.h110 extern struct inode *gfs2_lookup_simple(struct inode *dip, const char *name);
Dfile.c95 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()
Dops_fstype.c547 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.4.14/fs/jfs/
Dnamei.c75 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 rc = dquot_initialize(dip); in jfs_create()
105 ip = ialloc(dip, mode); in jfs_create()
111 tid = txBegin(dip->i_sb, 0); in jfs_create()
113 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_create()
116 rc = jfs_init_acl(tid, ip, dip); in jfs_create()
120 rc = jfs_init_security(tid, ip, dip, &dentry->d_name); in jfs_create()
126 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { in jfs_create()
137 iplist[0] = dip; in jfs_create()
[all …]
Djfs_imap.c3046 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.4.14/fs/xfs/libxfs/
Dxfs_inode_buf.c44 xfs_dinode_t *dip; in xfs_inobp_check() local
49 dip = xfs_buf_offset(bp, i * mp->m_sb.sb_inodesize); in xfs_inobp_check()
50 if (!dip->di_next_unlinked) { in xfs_inobp_check()
89 xfs_dinode_t *dip; in xfs_inode_buf_verify() local
91 dip = xfs_buf_offset(bp, (i << mp->m_sb.sb_inodelog)); in xfs_inode_buf_verify()
92 di_ok = dip->di_magic == cpu_to_be16(XFS_DINODE_MAGIC) && in xfs_inode_buf_verify()
93 XFS_DINODE_GOOD_VERSION(dip->di_version); in xfs_inode_buf_verify()
109 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 …]
Dxfs_format.h936 #define XFS_DFORK_Q(dip) ((dip)->di_forkoff != 0) argument
937 #define XFS_DFORK_BOFF(dip) ((int)((dip)->di_forkoff << 3)) argument
939 #define XFS_DFORK_DSIZE(dip,mp) \ argument
940 (XFS_DFORK_Q(dip) ? \
941 XFS_DFORK_BOFF(dip) : \
942 XFS_LITINO(mp, (dip)->di_version))
943 #define XFS_DFORK_ASIZE(dip,mp) \ argument
944 (XFS_DFORK_Q(dip) ? \
945 XFS_LITINO(mp, (dip)->di_version) - XFS_DFORK_BOFF(dip) : \
947 #define XFS_DFORK_SIZE(dip,mp,w) \ argument
[all …]
Dxfs_inode_fork.c82 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.4.14/arch/arm/mach-davinci/
Dcommon.c44 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.4.14/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c816 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 …]
Dpvrusb2-sysfs.c430 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.4.14/fs/freevxfs/
Dvxfs_inode.c100 struct vxfs_dinode *dip; in vxfs_blkiget() local
104 dip = (struct vxfs_dinode *)(bp->b_data + offset); in vxfs_blkiget()
105 memcpy(vip, dip, sizeof(*vip)); in vxfs_blkiget()
141 struct vxfs_dinode *dip; in __vxfs_iget() local
146 dip = (struct vxfs_dinode *)(kaddr + offset); in __vxfs_iget()
147 memcpy(vip, dip, sizeof(*vip)); in __vxfs_iget()
Dvxfs_lookup.c168 vxfs_inode_by_name(struct inode *dip, struct dentry *dp) in vxfs_inode_by_name() argument
174 de = vxfs_find_entry(dip, dp, &pp); in vxfs_inode_by_name()
199 vxfs_lookup(struct inode *dip, struct dentry *dp, unsigned int flags) in vxfs_lookup() argument
207 ino = vxfs_inode_by_name(dip, dp); in vxfs_lookup()
209 ip = vxfs_iget(dip->i_sb, ino); in vxfs_lookup()
/linux-4.4.14/net/bridge/netfilter/
Debt_among.c137 __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.4.14/fs/xfs/
Dxfs_inode.c663 xfs_dinode_t *dip) in xfs_dic2xflags() argument
665 return _xfs_dic2xflags(be16_to_cpu(dip->di_flags)) | in xfs_dic2xflags()
666 (XFS_DFORK_Q(dip) ? XFS_XFLAG_HASATTR : 0); in xfs_dic2xflags()
1959 xfs_dinode_t *dip; in xfs_iunlink() local
1998 error = xfs_imap_to_bp(mp, tp, &ip->i_imap, &dip, &ibp, in xfs_iunlink()
2003 ASSERT(dip->di_next_unlinked == cpu_to_be32(NULLAGINO)); in xfs_iunlink()
2004 dip->di_next_unlinked = agi->agi_unlinked[bucket_index]; in xfs_iunlink()
2009 xfs_dinode_calc_crc(mp, dip); in xfs_iunlink()
2041 xfs_dinode_t *dip; in xfs_iunlink_remove() local
2084 error = xfs_imap_to_bp(mp, tp, &ip->i_imap, &dip, &ibp, in xfs_iunlink_remove()
[all …]
Dxfs_log_recover.c2465 struct xfs_dinode *dip, in xfs_recover_inode_owner_change() argument
2479 xfs_dinode_from_disk(&ip->i_d, dip); in xfs_recover_inode_owner_change()
2482 error = xfs_iformat_fork(ip, dip); in xfs_recover_inode_owner_change()
2518 xfs_dinode_t *dip; in xlog_recover_inode_pass2() local
2563 dip = xfs_buf_offset(bp, in_f->ilf_boffset); in xlog_recover_inode_pass2()
2569 if (unlikely(dip->di_magic != cpu_to_be16(XFS_DINODE_MAGIC))) { in xlog_recover_inode_pass2()
2572 __func__, dip, bp, in_f->ilf_ino); in xlog_recover_inode_pass2()
2596 if (dip->di_version >= 3) { in xlog_recover_inode_pass2()
2597 xfs_lsn_t lsn = be64_to_cpu(dip->di_lsn); in xlog_recover_inode_pass2()
2615 dicp->di_flushiter < be16_to_cpu(dip->di_flushiter)) { in xlog_recover_inode_pass2()
[all …]
/linux-4.4.14/drivers/scsi/bfa/
Dbfa_port.c30 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()
Dbfa_svc.c3323 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.4.14/fs/btrfs/
Dinode.c7983 struct btrfs_dio_private *dip = bio->bi_private; in btrfs_endio_direct_read() local
7984 struct inode *inode = dip->inode; in btrfs_endio_direct_read()
7989 if (dip->flags & BTRFS_DIO_ORIG_BIO_SUBMITTED) in btrfs_endio_direct_read()
7992 unlock_extent(&BTRFS_I(inode)->io_tree, dip->logical_offset, in btrfs_endio_direct_read()
7993 dip->logical_offset + dip->bytes - 1); in btrfs_endio_direct_read()
7994 dio_bio = dip->dio_bio; in btrfs_endio_direct_read()
7996 kfree(dip); in btrfs_endio_direct_read()
8008 struct btrfs_dio_private *dip = bio->bi_private; in btrfs_endio_direct_write() local
8009 struct inode *inode = dip->inode; in btrfs_endio_direct_write()
8012 u64 ordered_offset = dip->logical_offset; in btrfs_endio_direct_write()
[all …]
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_ioctl.h156 uint32_t dip; member
Dcommon.h412 u32 dip; member
Dt3_hw.c2969 key[2] = tp->dip; in t3_config_trace_filter()
/linux-4.4.14/drivers/net/ipvlan/
Dipvlan_core.c329 __be32 dip; in ipvlan_addr_lookup() local
338 memcpy(&dip, arp_ptr, 4); in ipvlan_addr_lookup()
339 addr = ipvlan_ht_addr_lookup(port, &dip, false); in ipvlan_addr_lookup()
/linux-4.4.14/Documentation/isdn/
DREADME.icn26 Two types of cards exist, one with dip-switches and one with
43 2. Setting for the card with dip-switches:
DREADME83 Seyon, minicom, CSLIP (uri-dip) PPP, mgetty, XCept and Hylafax.
/linux-4.4.14/arch/arm/boot/dts/
Dkirkwood-openblocks_a6.dts64 pmx_dip_switches: pmx-dip-switches {
Dkirkwood-openblocks_a7.dts76 pmx_dip_switches: pmx-dip-switches {
/linux-4.4.14/Documentation/serial/
Drocket.txt111 must have a unique board ID set on the dip switches. The first
/linux-4.4.14/sound/pci/hda/
Dpatch_hdmi.c1038 u8 *dip, int size) in hdmi_fill_audio_infoframe() argument
1047 hdmi_write_dip_byte(codec, pin_nid, dip[i]); in hdmi_fill_audio_infoframe()
1051 u8 *dip, int size) in hdmi_infoframe_uptodate() argument
1064 if (val != dip[i]) in hdmi_infoframe_uptodate()
/linux-4.4.14/Documentation/sound/alsa/
DCMIPCI.txt160 configuration with hardware dip-switch.
/linux-4.4.14/Documentation/arm/OMAP/
DDSS250 # at this point you have to switch the dvi/lcd dip-switch from the omap board
/linux-4.4.14/drivers/net/ethernet/sun/
Dniu.c7372 u32 sip, dip, sipm, dipm, spi, spim; in niu_get_tcamkey_from_ip4fs() local
7377 dip = be32_to_cpu(fsp->h_u.tcp_ip4_spec.ip4dst); in niu_get_tcamkey_from_ip4fs()
7386 tp->key[3] |= dip; in niu_get_tcamkey_from_ip4fs()
/linux-4.4.14/Documentation/networking/
Darcnet-hardware.txt2966 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.4.14/
DCREDITS3652 D: 'dip' contributor.