/netbsd-src/sys/ufs/ufs/ |
H A D | ufs_wapbl.h | 86 ufs_wapbl_begin(struct mount *mp, const char *file, int line) in ufs_wapbl_begin() 98 ufs_wapbl_end(struct mount *mp) in ufs_wapbl_end() 105 #define UFS_WAPBL_BEGIN(mp) \ argument 107 #define UFS_WAPBL_END(mp) ufs_wapbl_end(mp) argument 115 #define UFS_WAPBL_JLOCK_ASSERT(mp) \ argument 117 #define UFS_WAPBL_JUNLOCK_ASSERT(mp) \ argument 120 #define UFS_WAPBL_JLOCK_ASSERT(mp) argument 121 #define UFS_WAPBL_JUNLOCK_ASSERT(mp) argument 124 #define UFS_WAPBL_REGISTER_INODE(mp, ino, mode) \ argument 126 #define UFS_WAPBL_UNREGISTER_INODE(mp, ino, mode) \ argument [all …]
|
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/pthreads/include/isc/ |
H A D | mutex.h | 67 #define isc_mutex_init(mp) isc_mutex_init_profile((mp), __FILE__, __LINE__) argument 70 #define isc_mutex_init(mp) isc_mutex_init_errcheck((mp)) argument 72 #define isc_mutex_init(mp) isc__mutex_init((mp), __FILE__, __LINE__) argument 79 #define isc_mutex_lock(mp) isc_mutex_lock_profile((mp), __FILE__, __LINE__) argument 81 #define isc_mutex_lock(mp) \ argument 86 #define isc_mutex_unlock(mp) isc_mutex_unlock_profile((mp), __FILE__, __LINE__) argument 88 #define isc_mutex_unlock(mp) \ argument 93 #define isc_mutex_trylock(mp) \ argument 97 #define isc_mutex_trylock(mp) \ argument 102 #define isc_mutex_destroy(mp) \ argument [all …]
|
/netbsd-src/sys/fs/tmpfs/ |
H A D | tmpfs_mem.c | 52 tmpfs_mntmem_init(struct tmpfs_mount *mp, uint64_t memlimit) in tmpfs_mntmem_init() 61 tmpfs_mntmem_destroy(struct tmpfs_mount *mp) in tmpfs_mntmem_destroy() 69 tmpfs_mntmem_set(struct tmpfs_mount *mp, uint64_t memlimit) in tmpfs_mntmem_set() 113 tmpfs_bytes_max(struct tmpfs_mount *mp) in tmpfs_bytes_max() 129 tmpfs_pages_avail(struct tmpfs_mount *mp) in tmpfs_pages_avail() 136 tmpfs_mem_incr(struct tmpfs_mount *mp, size_t sz) in tmpfs_mem_incr() 152 tmpfs_mem_decr(struct tmpfs_mount *mp, size_t sz) in tmpfs_mem_decr() 162 tmpfs_dirent_get(struct tmpfs_mount *mp) in tmpfs_dirent_get() 172 tmpfs_dirent_put(struct tmpfs_mount *mp, struct tmpfs_dirent *de) in tmpfs_dirent_put() 180 tmpfs_node_get(struct tmpfs_mount *mp) in tmpfs_node_get() [all …]
|
/netbsd-src/sys/kern/ |
H A D | vfs_quotactl.c | 38 vfs_quotactl_stat(struct mount *mp, struct quotastat *info) in vfs_quotactl_stat() 48 vfs_quotactl_idtypestat(struct mount *mp, int idtype, in vfs_quotactl_idtypestat() 60 vfs_quotactl_objtypestat(struct mount *mp, int objtype, in vfs_quotactl_objtypestat() 72 vfs_quotactl_get(struct mount *mp, const struct quotakey *key, in vfs_quotactl_get() 84 vfs_quotactl_put(struct mount *mp, const struct quotakey *key, in vfs_quotactl_put() 96 vfs_quotactl_del(struct mount *mp, const struct quotakey *key) in vfs_quotactl_del() 106 vfs_quotactl_cursoropen(struct mount *mp, struct quotakcursor *cursor) in vfs_quotactl_cursoropen() 116 vfs_quotactl_cursorclose(struct mount *mp, struct quotakcursor *cursor) in vfs_quotactl_cursorclose() 126 vfs_quotactl_cursorskipidtype(struct mount *mp, struct quotakcursor *cursor, in vfs_quotactl_cursorskipidtype() 138 vfs_quotactl_cursorget(struct mount *mp, struct quotakcursor *cursor, in vfs_quotactl_cursorget() [all …]
|
H A D | vfs_mount.c | 154 struct mount *mp; vfs_mountalloc() local 188 struct mount *mp; vfs_rootmountalloc() local 224 vfs_getnewfsid(struct mount * mp) vfs_getnewfsid() argument 275 struct mount *mp; vfs_getvfs() local 293 vfs_ref(struct mount * mp) vfs_ref() argument 305 vfs_rele(struct mount * mp) vfs_rele() argument 346 _vfs_busy(struct mount * mp,bool wait) _vfs_busy() argument 366 vfs_busy(struct mount * mp) vfs_busy() argument 373 vfs_trybusy(struct mount * mp) vfs_trybusy() argument 385 vfs_unbusy(struct mount * mp) vfs_unbusy() argument 401 vfs_set_lowermount(struct mount * mp,struct mount * lowermp) vfs_set_lowermount() argument 446 vfs_vnode_iterator_init(struct mount * mp,struct vnode_iterator ** vnip) vfs_vnode_iterator_init() argument 485 struct mount *mp = VIMPL_TO_VNODE(mvip)->v_mount; vfs_vnode_iterator_next1() local 537 vfs_insmntque(vnode_t * vp,struct mount * mp) vfs_insmntque() argument 669 vflush(struct mount * mp,vnode_t * skipvp,int flags) vflush() argument 787 start_extattr(struct mount * mp) start_extattr() argument 804 struct mount *mp; mount_domount() local 937 dounmount(struct mount * mp,int flags,struct lwp * l) dounmount() argument 1037 vfs_unmount_print(struct mount * mp,const char * pfx) vfs_unmount_print() argument 1052 struct mount *mp, *nmp; vfs_unmount_next() local 1074 struct mount *mp; vfs_unmount_forceone() local 1104 struct mount *mp; vfs_unmountall1() local 1329 struct mount *mp; vfs_mountroot() local 1394 mount_initspecific(struct mount * mp) mount_initspecific() argument 1408 mount_finispecific(struct mount * mp) mount_finispecific() argument 1419 mount_getspecific(struct mount * mp,specificdata_key_t key) mount_getspecific() argument 1431 mount_setspecific(struct mount * mp,specificdata_key_t key,void * data) mount_setspecific() argument 1554 mountlist_alloc(enum mountlist_type type,struct mount * mp) mountlist_alloc() argument 1608 struct mount *mp; _mountlist_iterator_next() local 1672 mountlist_append(struct mount * mp) mountlist_append() argument 1685 mountlist_remove(struct mount * mp) mountlist_remove() argument 1704 _mountlist_next(struct mount * mp) _mountlist_next() argument [all...] |
H A D | vfs_trans.c | 218 fstrans_mount_hash(struct mount * mp) fstrans_mount_hash() argument 229 fstrans_mount_get(struct mount * mp) fstrans_mount_get() argument 297 fstrans_mount(struct mount * mp) fstrans_mount() argument 325 fstrans_unmount(struct mount * mp) fstrans_unmount() argument 397 fstrans_alloc_lwp_info(struct mount * mp) fstrans_alloc_lwp_info() argument 469 fstrans_get_lwp_info(struct mount * mp,bool do_alloc) fstrans_get_lwp_info() argument 517 _fstrans_start(struct mount * mp,enum fstrans_lock_type lock_type,int wait) _fstrans_start() argument 560 fstrans_start(struct mount * mp) fstrans_start() argument 569 fstrans_start_nowait(struct mount * mp) fstrans_start_nowait() argument 576 fstrans_start_lazy(struct mount * mp) fstrans_start_lazy() argument 588 fstrans_done(struct mount * mp) fstrans_done() argument 628 fstrans_held(struct mount * mp) fstrans_held() argument 647 fstrans_is_owner(struct mount * mp) fstrans_is_owner() argument 692 fstrans_setstate(struct mount * mp,enum fstrans_state new_state) fstrans_setstate() argument 745 fstrans_getstate(struct mount * mp) fstrans_getstate() argument 763 vfs_suspend(struct mount * mp,int nowait) vfs_suspend() argument 798 vfs_resume(struct mount * mp) vfs_resume() argument 882 fscow_establish(struct mount * mp,int (* func)(void *,struct buf *,bool),void * arg) fscow_establish() argument 911 fscow_disestablish(struct mount * mp,int (* func)(void *,struct buf *,bool),void * arg) fscow_disestablish() argument 945 struct mount *mp; fscow_run() local 1085 fstrans_print_mount(struct mount * mp,int verbose) fstrans_print_mount() argument 1126 struct mount *mp; fstrans_dump() local [all...] |
H A D | vnode_if.c | 62 vop_pre(vnode_t *vp, struct mount **mp, bool *mpsafe, enum fst_op op) in vop_pre() 291 vop_post(vnode_t *vp, struct mount *mp, bool mpsafe, enum fst_op op) in vop_post() 367 struct mount *mp; in VOP_BWRITE() local 400 struct mount *mp; in VOP_PARSEPATH() local 434 struct mount *mp; in VOP_LOOKUP() local 475 struct mount *mp; in VOP_CREATE() local 518 struct mount *mp; in VOP_MKNOD() local 560 struct mount *mp; in VOP_OPEN() local 596 struct mount *mp; in VOP_CLOSE() local 632 struct mount *mp; in VOP_ACCESS() local [all …]
|
/netbsd-src/external/bsd/am-utils/dist/amd/ |
H A D | map.c | 151 am_node *mp; in path_to_exported_ap() local 188 get_ap_child(am_node *mp, char *fname) in get_ap_child() 235 am_node *mp, **mpp; in exported_ap_alloc() local 270 exported_ap_free(am_node *mp) in exported_ap_free() 309 insert_am(am_node *mp, am_node *p_mp) in insert_am() 336 remove_am(am_node *mp) in remove_am() 365 new_ttl(am_node *mp) in new_ttl() 403 init_map(am_node *mp, char *dir) in init_map() 438 notify_child(am_node *mp, au_etype au_etype, int au_errno, int au_signal) in notify_child() 464 free_map(am_node *mp) in free_map() [all …]
|
/netbsd-src/external/bsd/am-utils/dist/conf/autofs/ |
H A D | autofs_linux.c | 110 hash_insert(int fd, am_node *mp) in hash_insert() 140 autofs_get_fh(am_node *mp) in autofs_get_fh() 170 autofs_mounted(am_node *mp) in autofs_mounted() 198 autofs_get_mp(am_node *mp) in autofs_get_mp() 209 autofs_release_mp(am_node *mp) in autofs_release_mp() 227 autofs_release_fh(am_node *mp) in autofs_release_fh() 320 autofs_lookup_failed(am_node *mp, char *name) in autofs_lookup_failed() 344 autofs_expire_one(am_node *mp, char *name, autofs_wqt_t token) in autofs_expire_one() 389 autofs_missing_one(am_node *mp, autofs_wqt_t wait_queue_token, char *name) in autofs_missing_one() 438 autofs_handle_expire(am_node *mp, struct autofs_packet_expire *pkt) in autofs_handle_expire() [all …]
|
H A D | autofs_solaris_v1.c | 190 am_node *mp, *ap; in autofs_mount_1_req() local 247 am_node *mp = NULL; in autofs_unmount_1_req() local 370 autofs_get_fh(am_node *mp) in autofs_get_fh() 408 autofs_mounted(am_node *mp) in autofs_mounted() 416 autofs_release_fh(am_node *mp) in autofs_release_fh() 428 autofs_get_mp(am_node *mp) in autofs_get_mp() 435 autofs_release_mp(am_node *mp) in autofs_release_mp() 476 autofs_mount_fs(am_node *mp, mntfs *mf) in autofs_mount_fs() 559 autofs_umount_fs(am_node *mp, mntfs *mf) in autofs_umount_fs() 594 autofs_umount_succeeded(am_node *mp) in autofs_umount_succeeded() [all …]
|
/netbsd-src/sys/miscfs/genfs/ |
H A D | layer_vfsops.c | 117 layerfs_start(struct mount *mp, int flags) in layerfs_start() 128 layerfs_root(struct mount *mp, int lktype, struct vnode **vpp) in layerfs_root() 147 layerfs_quotactl(struct mount *mp, struct quotactl_args *args) in layerfs_quotactl() 161 layerfs_statvfs(struct mount *mp, struct statvfs *sbp) in layerfs_statvfs() 196 layerfs_sync(struct mount *mp, int waitfor, in layerfs_sync() 207 layerfs_loadvnode(struct mount *mp, struct vnode *vp, in layerfs_loadvnode() 243 layerfs_vget(struct mount *mp, ino_t ino, int lktype, struct vnode **vpp) in layerfs_vget() 274 layerfs_fhtovp(struct mount *mp, struct fid *fidp, int lktype, in layerfs_fhtovp() 326 layerfs_snapshot(struct mount *mp, struct vnode *vp, in layerfs_snapshot() 344 layerfs_suspendctl(struct mount *mp, int cmd) in layerfs_suspendctl() [all …]
|
H A D | genfs_vfsops.c | 42 genfs_statvfs(struct mount *mp, struct statvfs *sbp) in genfs_statvfs() 62 genfs_renamelock_enter(struct mount *mp) in genfs_renamelock_enter() 70 genfs_renamelock_exit(struct mount *mp) in genfs_renamelock_exit() 76 genfs_suspendctl(struct mount *mp, int cmd) in genfs_suspendctl()
|
/netbsd-src/lib/libc/db/mpool/ |
H A D | mpool.c | 78 MPOOL *mp; in mpool_open() local 112 mpool_filter(MPOOL *mp, void (*pgin)(void *, pgno_t, void *), in mpool_filter() 125 mpool_newf(MPOOL *mp, pgno_t *pgnoaddr, unsigned int flags) in mpool_newf() 160 mpool_new(MPOOL *mp, pgno_t *pgnoaddr) in mpool_new() 166 mpool_delete(MPOOL *mp, void *page) in mpool_delete() 196 mpool_get(MPOOL *mp, pgno_t pgno, unsigned int flags) in mpool_get() 295 mpool_put(MPOOL *mp, void *page, u_int flags) in mpool_put() 321 mpool_close(MPOOL *mp) in mpool_close() 342 mpool_sync(MPOOL *mp) in mpool_sync() 361 mpool_bkt(MPOOL *mp) in mpool_bkt() [all …]
|
/netbsd-src/tests/fs/vfs/ |
H A D | t_ro.c | 53 nullgen(const atf_tc_t *tc, const char *mp) in nullgen() 60 filegen(const atf_tc_t *tc, const char *mp) in filegen() 78 create(const atf_tc_t *tc, const char *mp) in create() 88 rmfile(const atf_tc_t *tc, const char *mp) in rmfile() 97 fileio(const atf_tc_t *tc, const char *mp) in fileio() 121 attrs(const atf_tc_t *tc, const char *mp) in attrs() 147 createdir(const atf_tc_t *tc, const char *mp) in createdir() 156 createfifo(const atf_tc_t *tc, const char *mp) in createfifo() 165 createsymlink(const atf_tc_t *tc, const char *mp) in createsymlink() 174 createlink(const atf_tc_t *tc, const char *mp) in createlink()
|
H A D | t_rwtoro.c | 58 remount_ro(const atf_tc_t *tc, const char *mp, int expected_errno) in remount_ro() 129 basic_test(const atf_tc_t *tc, const char *mp, int expected_errno, in basic_test() 152 noneopen(const atf_tc_t *tc, const char *mp) in noneopen() 159 readopen(const atf_tc_t *tc, const char *mp) in readopen() 166 writeopen(const atf_tc_t *tc, const char *mp) in writeopen() 173 read_unlinked(const atf_tc_t *tc, const char *mp) in read_unlinked() 180 layer_noneopen(const atf_tc_t *tc, const char *mp) in layer_noneopen() 187 layer_readopen(const atf_tc_t *tc, const char *mp) in layer_readopen() 194 layer_writeopen(const atf_tc_t *tc, const char *mp) in layer_writeopen() 201 layer_read_unlinked(const atf_tc_t *tc, const char *mp) in layer_read_unlinked()
|
H A D | t_io.c | 48 holywrite(const atf_tc_t *tc, const char *mp) in holywrite() 104 extendfile(const atf_tc_t *tc, const char *mp) in extendfile() 111 extendfile_append(const atf_tc_t *tc, const char *mp) in extendfile_append() 138 overwrite512(const atf_tc_t *tc, const char *mp) in overwrite512() 145 overwrite64k(const atf_tc_t *tc, const char *mp) in overwrite64k() 152 overwrite_trunc(const atf_tc_t *tc, const char *mp) in overwrite_trunc() 159 shrinkfile(const atf_tc_t *tc, const char *mp) in shrinkfile() 173 read_after_unlink(const atf_tc_t *tc, const char *mp) in read_after_unlink() 200 wrrd_after_unlink(const atf_tc_t *tc, const char *mp) in wrrd_after_unlink() 226 read_fault(const atf_tc_t *tc, const char *mp) in read_fault()
|
H A D | t_link.c | 59 hardlink(const atf_tc_t *tc, const char *mp, uid_t u1, uid_t u2, in hardlink() 106 hardlink_sameuser(const atf_tc_t *tc, const char *mp) in hardlink_sameuser() 112 hardlink_sameuser_sysctl(const atf_tc_t *tc, const char *mp) in hardlink_sameuser_sysctl() 118 hardlink_otheruser(const atf_tc_t *tc, const char *mp) in hardlink_otheruser() 124 hardlink_otheruser_sysctl(const atf_tc_t *tc, const char *mp) in hardlink_otheruser_sysctl() 130 hardlink_rootuser(const atf_tc_t *tc, const char *mp) in hardlink_rootuser() 136 hardlink_rootuser_sysctl(const atf_tc_t *tc, const char *mp) in hardlink_rootuser_sysctl()
|
/netbsd-src/external/mpl/bind/dist/lib/isc/include/isc/ |
H A D | mutex.h | 47 #define isc_mutex_trylock(mp) isc__mutex_trylock(*mp) argument 33 isc_mutex_init(mp) global() argument 41 isc_mutex_lock(mp) global() argument 44 isc_mutex_unlock(mp) global() argument 50 isc_mutex_destroy(mp) global() argument [all...] |
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/ |
H A D | gettext-po.c | 497 message_ty *mp = (message_ty *) message; in po_message_insert() local 527 message_ty *mp = (message_ty *) message; in po_message_msgctxt() local 538 message_ty *mp = (message_ty *) message; in po_message_set_msgctxt() local 556 message_ty *mp = (message_ty *) message; in po_message_msgid() local 567 message_ty *mp = (message_ty *) message; in po_message_set_msgid() local 586 message_ty *mp = (message_ty *) message; in po_message_msgid_plural() local 598 message_ty *mp = (message_ty *) message; in po_message_set_msgid_plural() local 617 message_ty *mp = (message_ty *) message; in po_message_msgstr() local 629 message_ty *mp = (message_ty *) message; in po_message_set_msgstr() local 649 message_ty *mp = (message_ty *) message; in po_message_msgstr_plural() local [all …]
|
/netbsd-src/usr.bin/mail/ |
H A D | thread.c | 90 show_msg(struct message *mp) in show_msg() 108 show_thread(struct message *mp) in show_thread() 137 is_tagged_core(struct message *mp) in is_tagged_core() 150 is_tagged(struct message *mp) in is_tagged() 161 has_parent(struct message *mp) in has_parent() 168 next_message1(struct message *mp) in next_message1() 186 prev_message1(struct message *mp) in prev_message1() 198 next_message(struct message *mp) in next_message() 210 prev_message(struct message *mp) in prev_message() 222 first_message(struct message *mp) in first_message() [all …]
|
/netbsd-src/sys/fs/ptyfs/ |
H A D | ptyfs_vfsops.c | 99 struct mount *mp; in ptyfs__getmp() local 118 ptyfs__getpath(struct lwp *l, const struct mount *mp) in ptyfs__getpath() 151 ptyfs__makename(struct mount *mp, struct lwp *l, char *tbuf, size_t bufsiz, in ptyfs__makename() 192 ptyfs__allocvp(struct mount *mp, struct lwp *l, struct vnode **vpp, in ptyfs__allocvp() 225 ptyfs__getvattr(struct mount *mp, struct lwp *l, struct vattr *vattr) in ptyfs__getvattr() 266 ptyfs_mount(struct mount *mp, const char *path, void *data, size_t *data_len) in ptyfs_mount() 344 ptyfs_start(struct mount *mp, int flags) in ptyfs_start() 351 ptyfs_unmount(struct mount *mp, int mntflags) in ptyfs_unmount() 389 ptyfs_root(struct mount *mp, int lktype, struct vnode **vpp) in ptyfs_root() 408 ptyfs_sync(struct mount *mp, int waitfor, in ptyfs_sync() [all …]
|
/netbsd-src/sys/fs/union/ |
H A D | union_vfsops.c | 105 union_mount(struct mount *mp, const char *path, void *data, size_t *data_len) in union_mount() 324 union_start(struct mount *mp, int flags) in union_start() 345 union_unmount(struct mount *mp, int mntflags) in union_unmount() 408 union_root(struct mount *mp, int lktype, struct vnode **vpp) in union_root() 435 union_statvfs(struct mount *mp, struct statvfs *sbp) in union_statvfs() 493 union_sync(struct mount *mp, int waitfor, kauth_cred_t cred) in union_sync() 504 union_vget(struct mount *mp, ino_t ino, int lktype, struct vnode **vpp) in union_vget() 511 union_renamelock_enter(struct mount *mp) in union_renamelock_enter() 520 union_renamelock_exit(struct mount *mp) in union_renamelock_exit()
|
/netbsd-src/sys/fs/udf/ |
H A D | udf_vfsops.c | 232 free_udf_mountinfo(struct mount *mp) in free_udf_mountinfo() 279 udf_release_system_nodes(struct mount *mp) in udf_release_system_nodes() 302 udf_mount(struct mount *mp, const char *path, in udf_mount() 454 udf_unmount_sanity_check(struct mount *mp) in udf_unmount_sanity_check() 467 udf_unmount(struct mount *mp, int mntflags) in udf_unmount() 568 udf_mountfs(struct vnode *devvp, struct mount *mp, in udf_mountfs() 743 udf_start(struct mount *mp, int flags) in udf_start() 752 udf_root(struct mount *mp, int lktype, struct vnode **vpp) in udf_root() 781 udf_statvfs(struct mount *mp, struct statvfs *sbp) in udf_statvfs() 866 udf_sync(struct mount *mp, int waitfor, kauth_cred_t cred) in udf_sync() [all …]
|
/netbsd-src/sys/miscfs/fdesc/ |
H A D | fdesc_vfsops.c | 75 fdesc_mount(struct mount *mp, const char *path, void *data, size_t *data_len) in fdesc_mount() 107 fdesc_start(struct mount *mp, int flags) in fdesc_start() 113 fdesc_unmount(struct mount *mp, int mntflags) in fdesc_unmount() 137 fdesc_root(struct mount *mp, int lktype, struct vnode **vpp) in fdesc_root() 153 fdesc_sync(struct mount *mp, int waitfor, in fdesc_sync() 165 fdesc_vget(struct mount *mp, ino_t ino, int lktype, in fdesc_vget() 173 fdesc_loadvnode(struct mount *mp, struct vnode *vp, in fdesc_loadvnode()
|
/netbsd-src/sys/fs/unionfs/ |
H A D | unionfs_vfsops.c | 67 unionfs_mount(struct mount *mp, const char *path, void *data, size_t *data_len) in unionfs_mount() 310 unionfs_unmount(struct mount *mp, int mntflags) in unionfs_unmount() 356 unionfs_root(struct mount *mp, int lktype, struct vnode **vpp) in unionfs_root() 376 unionfs_quotactl(struct mount *mp, struct quotactl_args *args) in unionfs_quotactl() 389 unionfs_statvfs(struct mount *mp, struct statvfs *sbp) in unionfs_statvfs() 438 unionfs_sync(struct mount *mp, int waitfor, kauth_cred_t cred) in unionfs_sync() 445 unionfs_extattrctl(struct mount *mp, int cmd, struct vnode *filename_vp, in unionfs_extattrctl() 473 unionfs_renamelock_enter(struct mount *mp) in unionfs_renamelock_enter() 482 unionfs_renamelock_exit(struct mount *mp) in unionfs_renamelock_exit() 490 unionfs_start(struct mount *mp, int flags) in unionfs_start()
|