Searched refs:dip (Results 1 - 25 of 88) sorted by relevance

1234

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/xfs/
H A Dxfs_dinode.h115 #define XFS_DFORK_Q(dip) ((dip)->di_forkoff != 0)
116 #define XFS_DFORK_BOFF(dip) ((int)((dip)->di_forkoff << 3))
118 #define XFS_DFORK_DSIZE(dip,mp) \
119 (XFS_DFORK_Q(dip) ? \
120 XFS_DFORK_BOFF(dip) : \
122 #define XFS_DFORK_ASIZE(dip,mp) \
123 (XFS_DFORK_Q(dip) ? \
124 XFS_LITINO(mp) - XFS_DFORK_BOFF(dip)
156 xfs_dinode_get_rdev(struct xfs_dinode *dip) argument
161 xfs_dinode_put_rdev(struct xfs_dinode *dip, xfs_dev_t rdev) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/xfs/
H A Dxfs_dinode.h115 #define XFS_DFORK_Q(dip) ((dip)->di_forkoff != 0)
116 #define XFS_DFORK_BOFF(dip) ((int)((dip)->di_forkoff << 3))
118 #define XFS_DFORK_DSIZE(dip,mp) \
119 (XFS_DFORK_Q(dip) ? \
120 XFS_DFORK_BOFF(dip) : \
122 #define XFS_DFORK_ASIZE(dip,mp) \
123 (XFS_DFORK_Q(dip) ? \
124 XFS_LITINO(mp) - XFS_DFORK_BOFF(dip)
156 xfs_dinode_get_rdev(struct xfs_dinode *dip) argument
161 xfs_dinode_put_rdev(struct xfs_dinode *dip, xfs_dev_t rdev) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/pppd/solaris/
H A Dppp_mod.c124 ppp_identify(dip)
125 dev_info_t *dip;
129 return strcmp(ddi_get_name(dip), "ppp") == 0? DDI_IDENTIFIED:
137 ppp_attach(dip, cmd)
138 dev_info_t *dip;
144 if (ddi_create_minor_node(dip, "ppp", S_IFCHR, 0, DDI_PSEUDO, CLONE_DEV)
146 ddi_remove_minor_node(dip, NULL);
154 ppp_detach(dip, cmd)
155 dev_info_t *dip;
159 ddi_remove_minor_node(dip, NUL
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/pppd/solaris/
H A Dppp_mod.c124 ppp_identify(dip)
125 dev_info_t *dip;
129 return strcmp(ddi_get_name(dip), "ppp") == 0? DDI_IDENTIFIED:
137 ppp_attach(dip, cmd)
138 dev_info_t *dip;
144 if (ddi_create_minor_node(dip, "ppp", S_IFCHR, 0, DDI_PSEUDO, CLONE_DEV)
146 ddi_remove_minor_node(dip, NULL);
154 ppp_detach(dip, cmd)
155 dev_info_t *dip;
159 ddi_remove_minor_node(dip, NUL
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/pppd/solaris/
H A Dppp_mod.c124 ppp_identify(dip)
125 dev_info_t *dip;
129 return strcmp(ddi_get_name(dip), "ppp") == 0? DDI_IDENTIFIED:
137 ppp_attach(dip, cmd)
138 dev_info_t *dip;
144 if (ddi_create_minor_node(dip, "ppp", S_IFCHR, 0, DDI_PSEUDO, CLONE_DEV)
146 ddi_remove_minor_node(dip, NULL);
154 ppp_detach(dip, cmd)
155 dev_info_t *dip;
159 ddi_remove_minor_node(dip, NUL
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/arm/mach-davinci/
H A Dcommon.c43 struct davinci_id *dip; local
60 for (i = 0, dip = soc_info->ids; i < soc_info->ids_num;
61 i++, dip++)
63 if ((dip->part_no == part_no) && (dip->variant == variant)) {
64 soc_info->cpu_id = dip->cpu_id;
65 pr_info("DaVinci %s variant 0x%x\n", dip->name,
66 dip->variant);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/arm/mach-davinci/
H A Dcommon.c43 struct davinci_id *dip; local
60 for (i = 0, dip = soc_info->ids; i < soc_info->ids_num;
61 i++, dip++)
63 if ((dip->part_no == part_no) && (dip->variant == variant)) {
64 soc_info->cpu_id = dip->cpu_id;
65 pr_info("DaVinci %s variant 0x%x\n", dip->name,
66 dip->variant);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/gfs2/
H A Ddir.c39 * dip->i_diskflags & GFS2_DIF_EXHASH is true
82 typedef int (*leaf_call_t) (struct gfs2_inode *dip, u32 index, u32 len,
528 static int dirent_check_reclen(struct gfs2_inode *dip, argument
542 gfs2_consist_inode(dip);
548 * @dip: the directory
555 static int dirent_next(struct gfs2_inode *dip, struct buffer_head *bh, argument
562 ret = dirent_check_reclen(dip, cur, bh_end);
567 ret = dirent_check_reclen(dip, tmp, bh_end);
573 gfs2_consist_inode(dip);
583 * @dip
590 dirent_del(struct gfs2_inode *dip, struct buffer_head *bh, struct gfs2_dirent *prev, struct gfs2_dirent *cur) argument
662 get_leaf(struct gfs2_inode *dip, u64 leaf_no, struct buffer_head **bhp) argument
685 get_leaf_nr(struct gfs2_inode *dip, u32 index, u64 *leaf_out) argument
702 get_first_leaf(struct gfs2_inode *dip, u32 index, struct buffer_head **bh_out) argument
812 struct gfs2_inode *dip = GFS2_I(inode); local
907 struct gfs2_inode *dip = GFS2_I(inode); local
1052 dir_double_exhash(struct gfs2_inode *dip) argument
1180 do_filldir_main(struct gfs2_inode *dip, u64 *offset, void *opaque, filldir_t filldir, const struct gfs2_dirent **darr, u32 entries, int *copied) argument
1362 struct gfs2_inode *dip = GFS2_I(inode); local
1421 struct gfs2_inode *dip = GFS2_I(inode); local
1670 gfs2_dir_del(struct gfs2_inode *dip, const struct qstr *name) argument
1732 gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename, const struct gfs2_inode *nip, unsigned int new_type) argument
1774 foreach_leaf(struct gfs2_inode *dip, leaf_call_t lc, void *data) argument
1852 leaf_dealloc(struct gfs2_inode *dip, u32 index, u32 len, u64 leaf_no, void *data) argument
1969 gfs2_dir_exhash_dealloc(struct gfs2_inode *dip) argument
[all...]
H A Dinode.c534 struct inode *gfs2_lookup_simple(struct inode *dip, const char *name) argument
539 inode = gfs2_lookupi(dip, &qstr, 1);
571 struct gfs2_inode *dip = GFS2_I(dir); local
587 if (gfs2_glock_is_locked_by_me(dip->i_gl) == NULL) {
588 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh);
613 * @dip: Directory in which dinode is to be created
620 static int create_ok(struct gfs2_inode *dip, const struct qstr *name, argument
625 error = gfs2_permission(&dip->i_inode, MAY_WRITE | MAY_EXEC);
630 if (!dip->i_inode.i_nlink)
633 error = gfs2_dir_check(&dip
652 munge_mode_uid_gid(struct gfs2_inode *dip, unsigned int *mode, unsigned int *uid, unsigned int *gid) argument
673 alloc_dinode(struct gfs2_inode *dip, u64 *no_addr, u64 *generation) argument
712 init_dinode(struct gfs2_inode *dip, struct gfs2_glock *gl, const struct gfs2_inum_host *inum, unsigned int mode, unsigned int uid, unsigned int gid, const u64 *generation, dev_t dev, struct buffer_head **bhp) argument
771 make_dinode(struct gfs2_inode *dip, struct gfs2_glock *gl, unsigned int mode, const struct gfs2_inum_host *inum, const u64 *generation, dev_t dev, struct buffer_head **bhp) argument
806 link_dinode(struct gfs2_inode *dip, const struct qstr *name, struct gfs2_inode *ip) argument
877 gfs2_security_init(struct gfs2_inode *dip, struct gfs2_inode *ip) argument
921 struct gfs2_inode *dip = ghs->gh_gl->gl_object; local
[all...]
H A Dacl.h20 extern int gfs2_acl_create(struct gfs2_inode *dip, struct inode *inode);
H A Dops_inode.c50 struct gfs2_inode *dip = GFS2_I(dir); local
55 gfs2_holder_init(dip->i_gl, 0, 0, ghs);
61 if (dip->i_alloc->al_rgd)
62 gfs2_inplace_release(dip);
63 gfs2_quota_unlock(dip);
64 gfs2_alloc_put(dip);
145 struct gfs2_inode *dip = GFS2_I(dir); local
156 gfs2_holder_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs);
182 if (!dip->i_inode.i_nlink)
185 if (dip
274 gfs2_unlink_ok(struct gfs2_inode *dip, const struct qstr *name, const struct gfs2_inode *ip) argument
313 struct gfs2_inode *dip = GFS2_I(dir); local
386 struct gfs2_inode *dip = GFS2_I(dir), *ip; local
446 struct gfs2_inode *dip = GFS2_I(dir), *ip; local
522 gfs2_rmdiri(struct gfs2_inode *dip, const struct qstr *name, struct gfs2_inode *ip) argument
576 struct gfs2_inode *dip = GFS2_I(dir); local
654 struct gfs2_inode *dip = GFS2_I(dir); local
[all...]
H A Ddentry.c39 struct gfs2_inode *dip = GFS2_I(parent->d_inode); local
55 had_lock = (gfs2_glock_is_locked_by_me(dip->i_gl) != NULL);
57 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh);
H A Ddir.h25 int gfs2_dir_del(struct gfs2_inode *dip, const struct qstr *filename);
28 int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename,
31 int gfs2_dir_exhash_dealloc(struct gfs2_inode *dip);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/gfs2/
H A Ddir.c39 * dip->i_diskflags & GFS2_DIF_EXHASH is true
82 typedef int (*leaf_call_t) (struct gfs2_inode *dip, u32 index, u32 len,
528 static int dirent_check_reclen(struct gfs2_inode *dip, argument
542 gfs2_consist_inode(dip);
548 * @dip: the directory
555 static int dirent_next(struct gfs2_inode *dip, struct buffer_head *bh, argument
562 ret = dirent_check_reclen(dip, cur, bh_end);
567 ret = dirent_check_reclen(dip, tmp, bh_end);
573 gfs2_consist_inode(dip);
583 * @dip
590 dirent_del(struct gfs2_inode *dip, struct buffer_head *bh, struct gfs2_dirent *prev, struct gfs2_dirent *cur) argument
662 get_leaf(struct gfs2_inode *dip, u64 leaf_no, struct buffer_head **bhp) argument
685 get_leaf_nr(struct gfs2_inode *dip, u32 index, u64 *leaf_out) argument
702 get_first_leaf(struct gfs2_inode *dip, u32 index, struct buffer_head **bh_out) argument
812 struct gfs2_inode *dip = GFS2_I(inode); local
907 struct gfs2_inode *dip = GFS2_I(inode); local
1052 dir_double_exhash(struct gfs2_inode *dip) argument
1180 do_filldir_main(struct gfs2_inode *dip, u64 *offset, void *opaque, filldir_t filldir, const struct gfs2_dirent **darr, u32 entries, int *copied) argument
1362 struct gfs2_inode *dip = GFS2_I(inode); local
1421 struct gfs2_inode *dip = GFS2_I(inode); local
1670 gfs2_dir_del(struct gfs2_inode *dip, const struct qstr *name) argument
1732 gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename, const struct gfs2_inode *nip, unsigned int new_type) argument
1774 foreach_leaf(struct gfs2_inode *dip, leaf_call_t lc, void *data) argument
1852 leaf_dealloc(struct gfs2_inode *dip, u32 index, u32 len, u64 leaf_no, void *data) argument
1969 gfs2_dir_exhash_dealloc(struct gfs2_inode *dip) argument
[all...]
H A Dinode.c534 struct inode *gfs2_lookup_simple(struct inode *dip, const char *name) argument
539 inode = gfs2_lookupi(dip, &qstr, 1);
571 struct gfs2_inode *dip = GFS2_I(dir); local
587 if (gfs2_glock_is_locked_by_me(dip->i_gl) == NULL) {
588 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh);
613 * @dip: Directory in which dinode is to be created
620 static int create_ok(struct gfs2_inode *dip, const struct qstr *name, argument
625 error = gfs2_permission(&dip->i_inode, MAY_WRITE | MAY_EXEC);
630 if (!dip->i_inode.i_nlink)
633 error = gfs2_dir_check(&dip
652 munge_mode_uid_gid(struct gfs2_inode *dip, unsigned int *mode, unsigned int *uid, unsigned int *gid) argument
673 alloc_dinode(struct gfs2_inode *dip, u64 *no_addr, u64 *generation) argument
712 init_dinode(struct gfs2_inode *dip, struct gfs2_glock *gl, const struct gfs2_inum_host *inum, unsigned int mode, unsigned int uid, unsigned int gid, const u64 *generation, dev_t dev, struct buffer_head **bhp) argument
771 make_dinode(struct gfs2_inode *dip, struct gfs2_glock *gl, unsigned int mode, const struct gfs2_inum_host *inum, const u64 *generation, dev_t dev, struct buffer_head **bhp) argument
806 link_dinode(struct gfs2_inode *dip, const struct qstr *name, struct gfs2_inode *ip) argument
877 gfs2_security_init(struct gfs2_inode *dip, struct gfs2_inode *ip) argument
921 struct gfs2_inode *dip = ghs->gh_gl->gl_object; local
[all...]
H A Dacl.h20 extern int gfs2_acl_create(struct gfs2_inode *dip, struct inode *inode);
H A Dops_inode.c50 struct gfs2_inode *dip = GFS2_I(dir); local
55 gfs2_holder_init(dip->i_gl, 0, 0, ghs);
61 if (dip->i_alloc->al_rgd)
62 gfs2_inplace_release(dip);
63 gfs2_quota_unlock(dip);
64 gfs2_alloc_put(dip);
145 struct gfs2_inode *dip = GFS2_I(dir); local
156 gfs2_holder_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs);
182 if (!dip->i_inode.i_nlink)
185 if (dip
274 gfs2_unlink_ok(struct gfs2_inode *dip, const struct qstr *name, const struct gfs2_inode *ip) argument
313 struct gfs2_inode *dip = GFS2_I(dir); local
386 struct gfs2_inode *dip = GFS2_I(dir), *ip; local
446 struct gfs2_inode *dip = GFS2_I(dir), *ip; local
522 gfs2_rmdiri(struct gfs2_inode *dip, const struct qstr *name, struct gfs2_inode *ip) argument
576 struct gfs2_inode *dip = GFS2_I(dir); local
654 struct gfs2_inode *dip = GFS2_I(dir); local
[all...]
H A Ddentry.c39 struct gfs2_inode *dip = GFS2_I(parent->d_inode); local
55 had_lock = (gfs2_glock_is_locked_by_me(dip->i_gl) != NULL);
57 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh);
H A Ddir.h25 int gfs2_dir_del(struct gfs2_inode *dip, const struct qstr *filename);
28 int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename,
31 int gfs2_dir_exhash_dealloc(struct gfs2_inode *dip);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/jfs/
H A Dnamei.c61 * NAME: jfs_create(dip, dentry, mode)
63 * FUNCTION: create a regular file in the parent directory <dip>
66 * PARAMETER: dip - parent directory vnode
74 static int jfs_create(struct inode *dip, struct dentry *dentry, int mode, argument
86 jfs_info("jfs_create: dip:0x%p name:%s", dip, dentry->d_name.name);
88 dquot_initialize(dip);
102 ip = ialloc(dip, mode);
108 tid = txBegin(dip->i_sb, 0);
110 mutex_lock_nested(&JFS_IP(dip)
207 jfs_mkdir(struct inode *dip, struct dentry *dentry, int mode) argument
350 jfs_rmdir(struct inode *dip, struct dentry *dentry) argument
476 jfs_unlink(struct inode *dip, struct dentry *dentry) argument
885 jfs_symlink(struct inode *dip, struct dentry *dentry, const char *name) argument
1455 jfs_lookup(struct inode *dip, struct dentry *dentry, struct nameidata *nd) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/jfs/
H A Dnamei.c61 * NAME: jfs_create(dip, dentry, mode)
63 * FUNCTION: create a regular file in the parent directory <dip>
66 * PARAMETER: dip - parent directory vnode
74 static int jfs_create(struct inode *dip, struct dentry *dentry, int mode, argument
86 jfs_info("jfs_create: dip:0x%p name:%s", dip, dentry->d_name.name);
88 dquot_initialize(dip);
102 ip = ialloc(dip, mode);
108 tid = txBegin(dip->i_sb, 0);
110 mutex_lock_nested(&JFS_IP(dip)
207 jfs_mkdir(struct inode *dip, struct dentry *dentry, int mode) argument
350 jfs_rmdir(struct inode *dip, struct dentry *dentry) argument
476 jfs_unlink(struct inode *dip, struct dentry *dentry) argument
885 jfs_symlink(struct inode *dip, struct dentry *dentry, const char *name) argument
1455 jfs_lookup(struct inode *dip, struct dentry *dentry, struct nameidata *nd) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/media/video/pvrusb2/
H A Dpvrusb2-v4l2.c866 static void pvr2_v4l2_dev_destroy(struct pvr2_v4l2_dev *dip) argument
868 struct pvr2_hdw *hdw = dip->v4lp->channel.mc_head->hdw;
869 enum pvr2_config cfg = dip->config;
878 video_device_node_name(&dip->devbase),
882 pvr2_hdw_v4l_store_minor_number(hdw,dip->minor_type,-1);
885 dip->v4lp = NULL;
886 dip->stream = NULL;
890 video_unregister_device(&dip->devbase);
897 static void pvr2_v4l2_dev_disassociate_parent(struct pvr2_v4l2_dev *dip) argument
899 if (!dip) retur
1001 struct pvr2_v4l2_dev *dip; /* Our own context pointer */ local
1241 pvr2_v4l2_dev_init(struct pvr2_v4l2_dev *dip, struct pvr2_v4l2 *vp, int v4l_type) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/media/video/pvrusb2/
H A Dpvrusb2-v4l2.c866 static void pvr2_v4l2_dev_destroy(struct pvr2_v4l2_dev *dip) argument
868 struct pvr2_hdw *hdw = dip->v4lp->channel.mc_head->hdw;
869 enum pvr2_config cfg = dip->config;
878 video_device_node_name(&dip->devbase),
882 pvr2_hdw_v4l_store_minor_number(hdw,dip->minor_type,-1);
885 dip->v4lp = NULL;
886 dip->stream = NULL;
890 video_unregister_device(&dip->devbase);
897 static void pvr2_v4l2_dev_disassociate_parent(struct pvr2_v4l2_dev *dip) argument
899 if (!dip) retur
1001 struct pvr2_v4l2_dev *dip; /* Our own context pointer */ local
1241 pvr2_v4l2_dev_init(struct pvr2_v4l2_dev *dip, struct pvr2_v4l2 *vp, int v4l_type) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/char/rtl8365mb/
H A Drtl8367c_asicdrv_lut.c528 pFdbSmi->smi_vidipmul.dip0 = (pLutSt->dip & 0xFF000000) >> 24;
529 pFdbSmi->smi_vidipmul.dip1 = (pLutSt->dip & 0x00FF0000) >> 16;
530 pFdbSmi->smi_vidipmul.dip2 = (pLutSt->dip & 0x0000FF00) >> 8;
531 pFdbSmi->smi_vidipmul.dip3 = pLutSt->dip & 0x000000FF;
538 pFdbSmi->smi_vidipmul.dip0 = pLutSt->dip & 0x000000FF;
539 pFdbSmi->smi_vidipmul.dip1 = (pLutSt->dip & 0x0000FF00) >> 8;
540 pFdbSmi->smi_vidipmul.dip2 = (pLutSt->dip & 0x00FF0000) >> 16;
541 pFdbSmi->smi_vidipmul.dip3 = (pLutSt->dip & 0xFF000000) >> 24;
567 pFdbSmi->smi_ipmul.dip0 = (pLutSt->dip & 0xFF000000) >> 24;
568 pFdbSmi->smi_ipmul.dip1 = (pLutSt->dip
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/char/rtl8365mb/
H A Drtl8367c_asicdrv_lut.c528 pFdbSmi->smi_vidipmul.dip0 = (pLutSt->dip & 0xFF000000) >> 24;
529 pFdbSmi->smi_vidipmul.dip1 = (pLutSt->dip & 0x00FF0000) >> 16;
530 pFdbSmi->smi_vidipmul.dip2 = (pLutSt->dip & 0x0000FF00) >> 8;
531 pFdbSmi->smi_vidipmul.dip3 = pLutSt->dip & 0x000000FF;
538 pFdbSmi->smi_vidipmul.dip0 = pLutSt->dip & 0x000000FF;
539 pFdbSmi->smi_vidipmul.dip1 = (pLutSt->dip & 0x0000FF00) >> 8;
540 pFdbSmi->smi_vidipmul.dip2 = (pLutSt->dip & 0x00FF0000) >> 16;
541 pFdbSmi->smi_vidipmul.dip3 = (pLutSt->dip & 0xFF000000) >> 24;
567 pFdbSmi->smi_ipmul.dip0 = (pLutSt->dip & 0xFF000000) >> 24;
568 pFdbSmi->smi_ipmul.dip1 = (pLutSt->dip
[all...]

Completed in 288 milliseconds

1234