Searched refs:bdp (Results 1 - 23 of 23) sorted by relevance

/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_behavior.h130 #define BHV_NEXT(bdp) (ASSERT((bdp)->bd_next), (bdp)->bd_next)
131 #define BHV_NEXTNULL(bdp) ((bdp)->bd_next)
132 #define BHV_VOBJ(bdp) (ASSERT((bdp)->bd_vobj), (bdp)->bd_vobj)
133 #define BHV_VOBJNULL(bdp) ((bdp)
[all...]
H A Dxfs_behavior.c38 bhv_insert(bhv_head_t *bhp, bhv_desc_t *bdp) argument
46 position = BHV_POSITION(bdp);
58 if (curdesc->bd_ops == bdp->bd_ops) {
74 bdp->bd_next = bhp->bh_first;
75 bhp->bh_first = bdp;
78 bdp->bd_next = prev->bd_next;
79 prev->bd_next = bdp;
91 bhv_remove_not_first(bhv_head_t *bhp, bhv_desc_t *bdp) argument
103 if (curdesc == bdp)
108 ASSERT(curdesc == bdp);
190 bhv_insert_initial( bhv_head_t *bhp, bhv_desc_t *bdp) argument
[all...]
H A Dxfs_rw.h90 extern int xfs_rwlock(bhv_desc_t *bdp, vrwlock_t write_lock);
91 extern void xfs_rwunlock(bhv_desc_t *bdp, vrwlock_t write_lock);
92 extern int xfs_setattr(bhv_desc_t *bdp, xfs_vattr_t *vap, int flags, cred_t *credp);
93 extern int xfs_change_file_space(bhv_desc_t *bdp, u_long cmd, xfs_flock64_t *bf,
95 extern int xfs_set_dmattrs(bhv_desc_t *bdp, u_int evmask, u_int16_t state,
H A Dxfs_rw.c103 bhv_desc_t *bdp,
111 mp = XFS_BHVTOM(bdp);
102 xfs_do_force_shutdown( bhv_desc_t *bdp, int flags, char *fname, int lnnum) argument
H A Dxfs_vfsops.c572 bhv_desc_t *bdp,
576 struct xfs_vfs *vfsp = bhvtovfs(bdp);
577 xfs_mount_t *mp = XFS_BHVTOM(bdp);
699 bhv_desc_t *bdp,
703 struct xfs_vfs *vfsp = bhvtovfs(bdp);
704 xfs_mount_t *mp = XFS_BHVTOM(bdp);
823 bhv_desc_t *bdp,
828 vp = XFS_ITOV((XFS_BHVTOM(bdp))->m_rootip);
843 bhv_desc_t *bdp,
853 mp = XFS_BHVTOM(bdp);
571 xfs_unmount( bhv_desc_t *bdp, int flags, cred_t *credp) argument
698 xfs_mntupdate( bhv_desc_t *bdp, int *flags, struct xfs_mount_args *args) argument
822 xfs_root( bhv_desc_t *bdp, xfs_vnode_t **vpp) argument
842 xfs_statvfs( bhv_desc_t *bdp, xfs_statfs_t *statp, xfs_vnode_t *vp) argument
925 xfs_sync( bhv_desc_t *bdp, int flags, cred_t *credp) argument
1613 xfs_vget( bhv_desc_t *bdp, xfs_vnode_t **vpp, fid_t *fidp) argument
1999 xfs_freeze( bhv_desc_t *bdp) argument
[all...]
H A Dxfs_vnodeops.c77 bhv_desc_t *bdp,
84 vp = BHV_TO_VNODE(bdp);
85 ip = XFS_BHVTOI(bdp);
109 bhv_desc_t *bdp,
118 vp = BHV_TO_VNODE(bdp);
121 ip = XFS_BHVTOI(bdp);
242 bhv_desc_t *bdp,
264 vp = BHV_TO_VNODE(bdp);
278 ip = XFS_BHVTOI(bdp);
924 bhv_desc_t *bdp,
76 xfs_open( bhv_desc_t *bdp, cred_t *credp) argument
108 xfs_getattr( bhv_desc_t *bdp, xfs_vattr_t *vap, int flags, cred_t *credp) argument
241 xfs_setattr( bhv_desc_t *bdp, xfs_vattr_t *vap, int flags, cred_t *credp) argument
923 xfs_access( bhv_desc_t *bdp, accmode_t accmode, cred_t *credp) argument
947 xfs_readlink( bhv_desc_t *bdp, uio_t *uiop, int ioflags, cred_t *credp) argument
1051 xfs_fsync( bhv_desc_t *bdp, int flag, cred_t *credp, xfs_off_t start, xfs_off_t stop) argument
1527 xfs_release( bhv_desc_t *bdp) argument
1583 xfs_inactive( bhv_desc_t *bdp, cred_t *credp) argument
3605 xfs_fid2( bhv_desc_t *bdp, fid_t *fidp) argument
3635 xfs_rwlock( bhv_desc_t *bdp, vrwlock_t locktype) argument
3666 xfs_rwunlock( bhv_desc_t *bdp, vrwlock_t locktype) argument
3695 xfs_inode_flush( bhv_desc_t *bdp, int flags) argument
3777 xfs_set_dmattrs( bhv_desc_t *bdp, u_int evmask, u_int16_t state, cred_t *credp) argument
3821 xfs_reclaim( bhv_desc_t *bdp) argument
4507 xfs_change_file_space( bhv_desc_t *bdp, u_long cmd, xfs_flock64_t *bf, xfs_off_t offset, cred_t *credp, int attr_flags) argument
[all...]
H A Dxfs_bmap.h337 bhv_desc_t *bdp, /* XFS behavior descriptor*/
H A Dxfs_mount.h548 #define XFS_BHVTOM(bdp) xfs_bhvtom(bdp)
549 static inline xfs_mount_t *xfs_bhvtom(bhv_desc_t *bdp) argument
551 return (xfs_mount_t *)BHV_PDATA(bdp);
H A Dxfs_inode.h381 #define BHV_IS_XFS(bdp) (BHV_OPS(bdp) == &xfs_vnodeops)
H A Dxfs_attr.c162 xfs_attr_get(bhv_desc_t *bdp, const char *name, char *value, int *valuelenp, argument
165 xfs_inode_t *ip = XFS_BHVTOI(bdp);
422 xfs_attr_set(bhv_desc_t *bdp, const char *name, char *value, int valuelen, int flags, argument
434 dp = XFS_BHVTOI(bdp);
569 xfs_attr_remove(bhv_desc_t *bdp, const char *name, int flags, struct cred *cred) argument
580 dp = XFS_BHVTOI(bdp);
604 xfs_attr_list(bhv_desc_t *bdp, char *buffer, int bufsize, int flags, argument
633 context.dp = dp = XFS_BHVTOI(bdp);
H A Dxfsidbg.c2026 static void printbhv(bhv_desc_t *bdp) argument
2031 if (bdp == NULL) {
2036 kdb_printf("bhv at 0x%p\n", bdp);
2037 while (bdp && maxbhv--) {
2038 if (kdbnearsym((unsigned long)bdp->bd_ops, &symtab))
2041 kdb_printf(" ops %s/0x%p", "???", (void *)bdp->bd_ops);
2044 bdp->bd_vobj, bdp->bd_pdata, bdp->bd_next);
2046 bdp
[all...]
H A Dxfs_bmap.c5763 bhv_desc_t *bdp, /* XFS behavior descriptor*/
5790 vp = BHV_TO_VNODE(bdp);
5791 ip = XFS_BHVTOI(bdp);
5762 xfs_getbmap( bhv_desc_t *bdp, struct getbmap *bmv, void __user *ap, int interface) argument
/freebsd-9.3-release/sys/gnu/fs/xfs/FreeBSD/
H A Dxfs_vfs.c38 struct bhv_desc *bdp,
42 struct bhv_desc *next = bdp;
52 struct bhv_desc *bdp,
57 struct bhv_desc *next = bdp;
67 struct bhv_desc *bdp,
70 struct bhv_desc *next = bdp;
80 struct bhv_desc *bdp,
84 struct bhv_desc *next = bdp;
94 struct bhv_desc *bdp,
98 struct bhv_desc *next = bdp;
37 xvfs_mount( struct bhv_desc *bdp, struct xfs_mount_args *args, struct cred *cr) argument
51 xvfs_parseargs( struct bhv_desc *bdp, char *s, struct xfs_mount_args *args, int f) argument
66 xvfs_showargs( struct bhv_desc *bdp, struct sbuf *m) argument
79 xvfs_unmount( struct bhv_desc *bdp, int fl, struct cred *cr) argument
93 xvfs_mntupdate( struct bhv_desc *bdp, int *fl, struct xfs_mount_args *args) argument
107 xvfs_root( struct bhv_desc *bdp, struct xfs_vnode **vpp) argument
120 xvfs_statvfs( struct bhv_desc *bdp, struct statfs *sp, struct xfs_vnode *vp) argument
134 xvfs_sync( struct bhv_desc *bdp, int fl, struct cred *cr) argument
148 xvfs_vget( struct bhv_desc *bdp, struct xfs_vnode **vpp, struct fid *fidp) argument
162 xvfs_dmapiops( struct bhv_desc *bdp, caddr_t addr) argument
175 xvfs_quotactl( struct bhv_desc *bdp, int cmd, int id, caddr_t addr) argument
190 xvfs_get_inode( struct bhv_desc *bdp, xfs_ino_t ino, int fl) argument
203 xvfs_init_vnode( struct bhv_desc *bdp, struct xfs_vnode *vp, struct bhv_desc *bp, int unlock) argument
218 xvfs_force_shutdown( struct bhv_desc *bdp, int fl, char *file, int line) argument
297 struct bhv_desc *bdp; local
305 vfs_insertbhv( struct xfs_vfs *vfsp, struct bhv_desc *bdp, struct xvfsops *vfsops, void *mount) argument
[all...]
H A Dxfs_fs_subr.c68 bhv_desc_t *bdp,
74 vnode_t *vp = BHV_TO_VNODE(bdp);
89 bhv_desc_t *bdp,
95 vnode_t *vp = BHV_TO_VNODE(bdp);
114 bhv_desc_t *bdp,
121 vnode_t *vp = BHV_TO_VNODE(bdp);
67 fs_tosspages( bhv_desc_t *bdp, xfs_off_t first, xfs_off_t last, int fiopt) argument
88 fs_flushinval_pages( bhv_desc_t *bdp, xfs_off_t first, xfs_off_t last, int fiopt) argument
113 fs_flush_pages( bhv_desc_t *bdp, xfs_off_t first, xfs_off_t last, uint64_t flags, int fiopt) argument
H A Dxfs_dmistubs.c95 dm_send_destroy_event(bhv_desc_t *bdp, dm_right_t vp_right);
97 dm_send_destroy_event(bhv_desc_t *bdp, dm_right_t vp_right) argument
103 dm_send_mount_event(xfs_vfs_t *vfsp, dm_right_t vfsp_right, bhv_desc_t *bdp,
107 dm_send_mount_event(xfs_vfs_t *vfsp, dm_right_t vfsp_right, bhv_desc_t *bdp, argument
H A Dxfs_frw.c192 bhv_desc_t *bdp,
202 ip = XFS_BHVTOI(bdp);
233 if (DM_EVENT_ENABLED(BHV_TO_VNODE(bdp)->v_vfsp, ip, DM_EVENT_READ) &&
239 error = XFS_SEND_DATA(mp, DM_EVENT_READ, BHV_TO_VNODE(bdp),
463 bhv_desc_t *bdp,
486 vp = BHV_TO_VNODE(bdp);
487 xip = XFS_BHVTOI(bdp);
583 error = xfs_zero_eof(BHV_TO_VNODE(bdp), io, *offset,
648 xfs_rwunlock(bdp, locktype);
750 xfs_rwunlock(bdp, locktyp
191 xfs_read( bhv_desc_t *bdp, uio_t *uio, int ioflags, cred_t *credp) argument
462 xfs_write( bhv_desc_t *bdp, uio_t *uio, int ioflag, cred_t *credp) argument
833 xfs_bmap(bhv_desc_t *bdp, xfs_off_t offset, ssize_t count, int flags, xfs_iomap_t *iomapp, int *niomaps) argument
[all...]
H A Dxfs_super.c74 bhv_desc_t *bdp,
82 xvp->v_vfsp = bhvtovfs(bdp);
114 bhv_desc_t *bdp,
73 xfs_initialize_vnode( bhv_desc_t *bdp, xfs_vnode_t *xvp, bhv_desc_t *inode_bhv, int unlock) argument
H A Dxfs_vfs.h61 #define bhvtovfs(bdp) ( (struct xfs_vfs *)BHV_VOBJ(bdp) )
62 #define bhvtovfsops(bdp) ( (struct xvfsops *)BHV_OPS(bdp) )
64 #define VFS_REMOVEBHV(vfs, bdp) ( bhv_remove(VFS_BHVHEAD(vfs), bdp) )
H A Dxfs_ioctl.c445 bhv_desc_t *bdp;
467 bdp = bhv_base_unlocked(VN_BHV_HEAD(vp));
468 error = xfs_set_dmattrs(bdp, fsd.fsd_dmevmask, fsd.fsd_dmstate, NULL);
702 bhv_desc_t *bdp,
735 bhv_desc_t *bdp,
743 bhv_desc_t *bdp,
748 bhv_desc_t *bdp,
761 vp = BHV_TO_VNODE(bdp);
763 printf("xfs_ioctl: bdp %p flags 0x%x cmd 0x%lx basecmd 0x%lx arg %p\n",
764 bdp, ioflag
747 xfs_ioctl( bhv_desc_t *bdp, struct inode *inode, struct file *filp, int ioflags, u_long cmd, void *arg) argument
1019 xfs_ioc_space( bhv_desc_t *bdp, xfs_vnode_t *vp, struct file *filp, int ioflags, u_long cmd, void __user *arg) argument
1369 xfs_ioc_getbmap( bhv_desc_t *bdp, struct file *filp, int ioflags, unsigned int cmd, void __user *arg) argument
1400 xfs_ioc_getbmapx( bhv_desc_t *bdp, void __user *arg) argument
1449 xfs_ioctl( bhv_desc_t *bdp, struct inode *inode, struct file *filp, int ioflags, u_long cmd, unsigned long arg) argument
[all...]
H A Dxfs_vnode.h121 #define BHV_TO_VNODE(bdp) ((xfs_vnode_t *)BHV_VOBJ(bdp))
122 #define BHV_TO_VNODE_NULL(bdp) ((xfs_vnode_t *)BHV_VOBJNULL(bdp))
126 #define vn_bhv_remove(bhp,bdp) bhv_remove(bhp,bdp)
/freebsd-9.3-release/sys/compat/linux/
H A Dlinux_file.c325 struct dirent *bdp; local
415 bdp = (struct dirent *) inp;
416 len -= bdp->d_reclen;
417 inp += bdp->d_reclen;
426 bdp = (struct dirent *) inp;
427 reclen = bdp->d_reclen;
433 if (bdp->d_fileno == 0) {
446 ? LINUX_RECLEN64(bdp->d_namlen)
447 : LINUX_RECLEN(bdp->d_namlen);
457 linux_dirent->d_ino = bdp
[all...]
/freebsd-9.3-release/sys/compat/svr4/
H A Dsvr4_misc.c233 struct dirent *bdp; local
328 bdp = (struct dirent *) inp;
329 len -= bdp->d_reclen;
330 inp += bdp->d_reclen;
339 bdp = (struct dirent *) inp;
340 reclen = bdp->d_reclen;
347 if (bdp->d_fileno == 0) {
357 svr4reclen = SVR4_RECLEN(&svr4_dirent, bdp->d_namlen);
362 svr4_dirent.d_ino = (long) bdp->d_fileno;
368 svr4_dirent.d_reclen = (u_short) bdp
414 struct dirent *bdp; local
[all...]
/freebsd-9.3-release/etc/
H A Dservices1061 bdp 581/tcp #Bundle Discovery Protocol
1062 bdp 581/udp #Bundle Discovery Protocol

Completed in 252 milliseconds