Home
last modified time | relevance | path

Searched defs:mp (Results 1 – 25 of 464) sorted by relevance

12345678910>>...19

/freebsd-src/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dmutex.h49 #define MUTEX(mp) (&((mp)->m_mutex)) argument
52 spl_mutex_set_owner(kmutex_t *mp) in spl_mutex_set_owner()
58 spl_mutex_clear_owner(kmutex_t *mp) in spl_mutex_clear_owner()
63 #define mutex_owner(mp) (READ_ONCE((mp)->m_owner)) argument
64 #define mutex_owned(mp) (mutex_owner(mp) == current) argument
65 #define MUTEX_HELD(mp) mutex_owned(mp) argument
66 #define MUTEX_NOT_HELD(mp) (!MUTEX_HELD(mp)) argument
70 spl_mutex_set_type(kmutex_t *mp, kmutex_type_t type) in spl_mutex_set_type()
75 spl_mutex_lockdep_off_maybe(kmutex_t *mp) \ in spl_mutex_lockdep_off_maybe()
81 spl_mutex_lockdep_on_maybe(kmutex_t *mp) \ in spl_mutex_lockdep_on_maybe()
[all …]
H A Dcondvar.h100 #define cv_wait(cvp, mp) __cv_wait(cvp, mp) argument
101 #define cv_wait_io(cvp, mp) __cv_wait_io(cvp, mp) argument
102 #define cv_wait_idle(cvp, mp) __cv_wait_idle(cvp, mp) argument
103 #define cv_wait_io_sig(cvp, mp) __cv_wait_io_sig(cvp, mp) argument
104 #define cv_wait_sig(cvp, mp) __cv_wait_sig(cvp, mp) argument
113 cv_timedwait(cvp,mp,t) global() argument
114 cv_timedwait_io(cvp,mp,t) global() argument
115 cv_timedwait_sig(cvp,mp,t) global() argument
116 cv_timedwait_idle(cvp,mp,t) global() argument
[all...]
/freebsd-src/contrib/ntp/libntp/lib/isc/pthreads/include/isc/
H A Dmutex.h70 #define isc_mutex_init(mp) \ argument
74 #define isc_mutex_init(mp) \ argument
77 #define isc_mutex_init(mp) \ argument
84 #define isc_mutex_lock(mp) \ argument
87 #define isc_mutex_lock(mp) \ argument
93 #define isc_mutex_unlock(mp) \ argument
96 #define isc_mutex_unlock(mp) \ argument
102 #define isc_mutex_trylock(mp) \ argument
106 #define isc_mutex_trylock(mp) \ argument
112 #define isc_mutex_destroy(mp) \ argument
[all …]
/freebsd-src/contrib/netbsd-tests/fs/vfs/
H A Dt_ro.c53 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()
87 rmfile(const atf_tc_t *tc, const char *mp) in rmfile()
96 fileio(const atf_tc_t *tc, const char *mp) in fileio()
120 attrs(const atf_tc_t *tc, const char *mp) in attrs()
146 createdir(const atf_tc_t *tc, const char *mp) in createdir()
155 createfifo(const atf_tc_t *tc, const char *mp) in createfifo()
164 createsymlink(const atf_tc_t *tc, const char *mp) in createsymlink()
173 createlink(const atf_tc_t *tc, const char *mp) in createlink()
H A Dt_rwtoro.c58 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 Dt_io.c48 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 Dt_vnops.c208 dir_rmdirdotdot(const atf_tc_t *tc, const char *mp) in dir_rmdirdotdot()
251 rename_dir(const atf_tc_t *tc, const char *mp) in rename_dir()
351 rename_dotdot(const atf_tc_t *tc, const char *mp) in rename_dotdot()
380 rename_reg_nodir(const atf_tc_t *tc, const char *mp) in rename_reg_nodir()
458 create_many(const atf_tc_t *tc, const char *mp) in create_many()
507 create_nonalphanum(const atf_tc_t *tc, const char *mp) in create_nonalphanum()
529 create_nametoolong(const atf_tc_t *tc, const char *mp) in create_nametoolong()
570 create_exist(const atf_tc_t *tc, const char *mp) in create_exist()
590 rename_nametoolong(const atf_tc_t *tc, const char *mp) in rename_nametoolong()
642 symlink_len(const atf_tc_t *tc, const char *mp, size_t len) in symlink_len()
[all …]
H A Dt_union.c26 xput_tfile(const char *mp, const char *path) in xput_tfile()
42 xread_tfile(const char *mp, const char *path) in xread_tfile()
69 mountunion(const char *mp, char *lowerpath) in mountunion()
109 basic(const atf_tc_t *tc, const char *mp) in basic()
155 whiteout(const atf_tc_t *tc, const char *mp) in whiteout()
/freebsd-src/lib/libc/db/mpool/
H A Dmpool.c62 MPOOL *mp; in mpool_open() local
96 mpool_filter(MPOOL *mp, void (*pgin) (void *, pgno_t, void *), in mpool_filter()
109 mpool_new(MPOOL *mp, pgno_t *pgnoaddr, u_int flags) in mpool_new()
143 mpool_delete(MPOOL *mp, void *page) in mpool_delete()
174 mpool_get(MPOOL *mp, pgno_t pgno, in mpool_get()
269 mpool_put(MPOOL *mp, void *page, u_int flags) in mpool_put()
295 mpool_close(MPOOL *mp) in mpool_close()
316 mpool_sync(MPOOL *mp) in mpool_sync()
335 mpool_bkt(MPOOL *mp) in mpool_bkt()
390 mpool_write(MPOOL *mp, BKT *bp) in mpool_write()
[all …]
/freebsd-src/usr.sbin/ppp/
H A Dmp.h72 struct mp { struct
82 struct mpserver server; /* Our ``sharing'' socket */ argument
103 int period; /* link->throughput sample period */ argument
108 struct fsm_parent fsmp; /* Our callback functions */ argument
132 extern void mp_Init(struct mp *, struct bundle *); argument
H A Dmp.c136 mp_ReadHeader(struct mp *mp, struct mbuf *m, struct mp_header *header) in mp_ReadHeader()
194 struct mp *mp = (struct mp *)v; in mp_UpDown() local
210 mp_StopAutoloadTimer(struct mp *mp) in mp_StopAutoloadTimer()
216 mp_CheckAutoloadTimer(struct mp *mp) in mp_CheckAutoloadTimer()
231 mp_RestartAutoloadTimer(struct mp *mp) in mp_RestartAutoloadTimer()
240 mp_Init(struct mp *mp, struct bundle *bundle) in mp_Init()
297 mp_Up(struct mp *mp, struct datalink *dl) in mp_Up()
381 mp_Down(struct mp *mp) in mp_Down()
415 mp_Assemble(struct mp *mp, struct mbuf *m, struct physical *p) in mp_Assemble()
632 mp_Output(struct mp *mp, struct bundle *bundle, struct link *l, in mp_Output()
[all …]
/freebsd-src/contrib/ntp/libntp/lib/isc/nothreads/include/isc/
H A Dmutex.h27 #define isc_mutex_init(mp) \ argument
29 #define isc_mutex_lock(mp) \ argument
31 #define isc_mutex_unlock(mp) \ argument
33 #define isc_mutex_trylock(mp) \ argument
35 #define isc_mutex_destroy(mp) \ argument
/freebsd-src/contrib/ntp/libntp/lib/isc/win32/include/isc/
H A Dmutex.h39 #define isc_mutex_init(mp) \ argument
41 #define isc_mutex_lock(mp) \ argument
43 #define isc_mutex_unlock(mp) \ argument
45 #define isc_mutex_trylock(mp) \ argument
47 #define isc_mutex_destroy(mp) \ argument
/freebsd-src/sys/kern/
H A Dvfs_init.c164 vfs_mount_sigdefer(struct mount *mp) in vfs_mount_sigdefer()
177 vfs_unmount_sigdefer(struct mount *mp, int mntflags) in vfs_unmount_sigdefer()
188 vfs_root_sigdefer(struct mount *mp, int flags, struct vnode **vpp) in vfs_root_sigdefer()
199 vfs_cachedroot_sigdefer(struct mount *mp, int flags, struct vnode **vpp) in vfs_cachedroot_sigdefer()
210 vfs_quotactl_sigdefer(struct mount *mp, int cmd, uid_t uid, void *arg, in vfs_quotactl_sigdefer()
223 vfs_statfs_sigdefer(struct mount *mp, struct statfs *sbp) in vfs_statfs_sigdefer()
234 vfs_sync_sigdefer(struct mount *mp, int waitfor) in vfs_sync_sigdefer()
245 vfs_vget_sigdefer(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) in vfs_vget_sigdefer()
256 vfs_fhtovp_sigdefer(struct mount *mp, struct fid *fidp, int flags, in vfs_fhtovp_sigdefer()
268 vfs_checkexp_sigdefer(struct mount *mp, struct sockaddr *nam, uint64_t *exflg, in vfs_checkexp_sigdefer()
[all …]
H A Dvfs_mount.c154 struct mount *mp; in mount_init() local
170 struct mount *mp; mount_fini() local
495 struct mount *mp; vfs_ref_from_vp() local
524 vfs_ref(struct mount * mp) vfs_ref() argument
556 struct mount *mp; vfs_register_upper_from_vp() local
586 vfs_register_for_notification(struct mount * mp,struct mount * ump,struct mount_upper_node * upper) vfs_register_for_notification() argument
596 vfs_drain_upper_locked(struct mount * mp) vfs_drain_upper_locked() argument
611 vfs_unregister_for_notification(struct mount * mp,struct mount_upper_node * upper) vfs_unregister_for_notification() argument
625 vfs_unregister_upper(struct mount * mp,struct mount_upper_node * upper) vfs_unregister_upper() argument
642 vfs_rel(struct mount * mp) vfs_rel() argument
665 struct mount *mp; vfs_mount_alloc() local
713 vfs_mount_destroy(struct mount * mp) vfs_mount_destroy() argument
1120 struct mount *mp; vfs_domount_first() local
1314 struct mount *mp; vfs_domount_update() local
1726 struct mount *mp; kern_unmount() local
1817 vfs_check_usecounts(struct mount * mp) vfs_check_usecounts() argument
1835 dounmount_cleanup(struct mount * mp,struct vnode * coveredvp,int mntkflags) dounmount_cleanup() argument
1862 vfs_op_enter(struct mount * mp) vfs_op_enter() argument
1895 vfs_op_exit_locked(struct mount * mp) vfs_op_exit_locked() argument
1909 vfs_op_exit(struct mount * mp) vfs_op_exit() argument
1918 struct mount *mp; global() member
1926 struct mount *mp; vfs_op_action_func() local
1939 struct mount *mp; vfs_op_wait_func() local
1951 vfs_op_barrier_wait(struct mount * mp) vfs_op_barrier_wait() argument
1967 vfs_assert_mount_counters(struct mount * mp) vfs_assert_mount_counters() argument
1985 vfs_dump_mount_counters(struct mount * mp) vfs_dump_mount_counters() argument
2028 vfs_mount_fetch_counter(struct mount * mp,enum mount_counter which) vfs_mount_fetch_counter() argument
2063 deferred_unmount_enqueue(struct mount * mp,uint64_t flags,bool requeue,int timeout_ticks) deferred_unmount_enqueue() argument
2094 struct mount *mp, *tmp; vfs_deferred_unmount() local
2140 dounmount(struct mount * mp,uint64_t flags,struct thread * td) dounmount() argument
2421 vfs_mount_error(struct mount * mp,const char * fmt,...) vfs_mount_error() argument
2751 __vfs_statfs(struct mount * mp,struct statfs * sbp) __vfs_statfs() argument
2772 vfs_mountedfrom(struct mount * mp,const char * from) vfs_mountedfrom() argument
2965 mount_devctl_event(const char * type,struct mount * mp,bool donew) mount_devctl_event() argument
3020 vfs_remount_ro(struct mount * mp) vfs_remount_ro() argument
3114 struct mount *mp; suspend_all_fs() local
3183 struct mount *mp; resume_all_fs() local
[all...]
/freebsd-src/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-condvar.c117 cv_wait_common(kcondvar_t * cvp,kmutex_t * mp,int state,int io) cv_wait_common() argument
169 __cv_wait(kcondvar_t * cvp,kmutex_t * mp) __cv_wait() argument
176 __cv_wait_io(kcondvar_t * cvp,kmutex_t * mp) __cv_wait_io() argument
183 __cv_wait_io_sig(kcondvar_t * cvp,kmutex_t * mp) __cv_wait_io_sig() argument
192 __cv_wait_sig(kcondvar_t * cvp,kmutex_t * mp) __cv_wait_sig() argument
201 __cv_wait_idle(kcondvar_t * cvp,kmutex_t * mp) __cv_wait_idle() argument
259 __cv_timedwait_common(kcondvar_t * cvp,kmutex_t * mp,clock_t expire_time,int state,int io) __cv_timedwait_common() argument
319 __cv_timedwait(kcondvar_t * cvp,kmutex_t * mp,clock_t exp_time) __cv_timedwait() argument
327 __cv_timedwait_io(kcondvar_t * cvp,kmutex_t * mp,clock_t exp_time) __cv_timedwait_io() argument
335 __cv_timedwait_sig(kcondvar_t * cvp,kmutex_t * mp,clock_t exp_time) __cv_timedwait_sig() argument
345 __cv_timedwait_idle(kcondvar_t * cvp,kmutex_t * mp,clock_t exp_time) __cv_timedwait_idle() argument
364 __cv_timedwait_hires(kcondvar_t * cvp,kmutex_t * mp,hrtime_t expire_time,hrtime_t res,int state) __cv_timedwait_hires() argument
426 cv_timedwait_hires_common(kcondvar_t * cvp,kmutex_t * mp,hrtime_t tim,hrtime_t res,int flag,int state) cv_timedwait_hires_common() argument
436 cv_timedwait_hires(kcondvar_t * cvp,kmutex_t * mp,hrtime_t tim,hrtime_t res,int flag) cv_timedwait_hires() argument
445 cv_timedwait_sig_hires(kcondvar_t * cvp,kmutex_t * mp,hrtime_t tim,hrtime_t res,int flag) cv_timedwait_sig_hires() argument
457 cv_timedwait_idle_hires(kcondvar_t * cvp,kmutex_t * mp,hrtime_t tim,hrtime_t res,int flag) cv_timedwait_idle_hires() argument
[all...]
/freebsd-src/sys/fs/nullfs/
H A Dnull_vfsops.c78 nullfs_mount(struct mount *mp) in nullfs_mount() argument
251 nullfs_unmount(struct mount * mp,int mntflags) nullfs_unmount() argument
299 nullfs_root(struct mount * mp,int flags,struct vnode ** vpp) nullfs_root() argument
320 nullfs_quotactl(struct mount * mp,int cmd,uid_t uid,void * arg,bool * mp_busy) nullfs_quotactl() argument
351 nullfs_statfs(struct mount * mp,struct statfs * sbp) nullfs_statfs() argument
387 nullfs_sync(struct mount * mp,int waitfor) nullfs_sync() argument
396 nullfs_vget(struct mount * mp,ino_t ino,int flags,struct vnode ** vpp) nullfs_vget() argument
410 nullfs_fhtovp(struct mount * mp,struct fid * fidp,int flags,struct vnode ** vpp) nullfs_fhtovp() argument
422 nullfs_extattrctl(struct mount * mp,int cmd,struct vnode * filename_vp,int namespace,const char * attrname) nullfs_extattrctl() argument
431 nullfs_reclaim_lowervp(struct mount * mp,struct vnode * lowervp) nullfs_reclaim_lowervp() argument
444 nullfs_unlink_lowervp(struct mount * mp,struct vnode * lowervp) nullfs_unlink_lowervp() argument
[all...]
/freebsd-src/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c116 tmpfs_update_mtime_lazy(struct mount *mp) in tmpfs_update_mtime_lazy() argument
129 tmpfs_update_mtime_all(struct mount *mp) in tmpfs_update_mtime_all() argument
187 tmpfs_all_rw_maps(struct mount *mp, bool (*cb)(struct mount *mp, vm_map_t, in tmpfs_all_rw_maps() argument
271 tmpfs_check_rw_maps(struct mount * mp) tmpfs_check_rw_maps() argument
281 tmpfs_rw_to_ro(struct mount * mp) tmpfs_rw_to_ro() argument
322 tmpfs_mount(struct mount * mp) tmpfs_mount() argument
495 tmpfs_unmount(struct mount * mp,int mntflags) tmpfs_unmount() argument
574 tmpfs_root(struct mount * mp,int flags,struct vnode ** vpp) tmpfs_root() argument
585 tmpfs_fhtovp(struct mount * mp,struct fid * fhp,int flags,struct vnode ** vpp) tmpfs_fhtovp() argument
627 tmpfs_statfs(struct mount * mp,struct statfs * sbp) tmpfs_statfs() argument
659 tmpfs_sync(struct mount * mp,int waitfor) tmpfs_sync() argument
712 db_print_tmpfs(struct mount * mp,struct tmpfs_mount * tmp) db_print_tmpfs() argument
730 struct mount *mp; DB_SHOW_COMMAND() local
[all...]
/freebsd-src/sys/fs/unionfs/
H A Dunion_vfsops.c72 unionfs_domount(struct mount *mp) in unionfs_domount() argument
373 unionfs_unmount(struct mount * mp,int mntflags) unionfs_unmount() argument
412 unionfs_root(struct mount * mp,int flags,struct vnode ** vpp) unionfs_root() argument
433 unionfs_quotactl(struct mount * mp,int cmd,uid_t uid,void * arg,bool * mp_busy) unionfs_quotactl() argument
472 unionfs_statfs(struct mount * mp,struct statfs * sbp) unionfs_statfs() argument
528 unionfs_sync(struct mount * mp,int waitfor) unionfs_sync() argument
535 unionfs_vget(struct mount * mp,ino_t ino,int flags,struct vnode ** vpp) unionfs_vget() argument
541 unionfs_fhtovp(struct mount * mp,struct fid * fidp,int flags,struct vnode ** vpp) unionfs_fhtovp() argument
548 unionfs_checkexp(struct mount * mp,struct sockaddr * nam,uint64_t * extflagsp,struct ucred ** credanonp,int * numsecflavors,int * secflavors) unionfs_checkexp() argument
555 unionfs_extattrctl(struct mount * mp,int cmd,struct vnode * filename_vp,int namespace,const char * attrname) unionfs_extattrctl() argument
[all...]
/freebsd-src/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_lookup.c30 int *mp = d; in group_cleanup() local
38 int *mp = d; in group_lookup() local
51 int *mp = d; in user_cleanup() local
59 int *mp = d; in user_lookup() local
H A Dtest_read_disk.c30 int *mp = d; in gname_cleanup() local
38 int *mp = d; in gname_lookup() local
48 int *mp = d; in uname_cleanup() local
56 int *mp = d; in uname_lookup() local
/freebsd-src/sys/geom/raid/
H A Dg_raid_ctl.c48 g_raid_find_node(struct g_class *mp, const char *name) in g_raid_find_node()
98 g_raid_ctl_label(struct gctl_req *req, struct g_class *mp) in g_raid_ctl_label()
147 g_raid_ctl_stop(struct gctl_req *req, struct g_class *mp) in g_raid_ctl_stop()
187 g_raid_ctl_other(struct gctl_req *req, struct g_class *mp) in g_raid_ctl_other()
225 g_raid_ctl(struct gctl_req *req, struct g_class *mp, const char *verb) in g_raid_ctl()
/freebsd-src/sys/contrib/openzfs/cmd/zed/agents/
H A Dfmd_api.c102 fmd_module_t *mp = (fmd_module_t *)hdl; in fmd_hdl_register() local
124 fmd_module_t *mp = (fmd_module_t *)hdl; in fmd_hdl_unregister() local
164 fmd_module_t *mp = (fmd_module_t *)hdl; in fmd_hdl_setspecific() local
176 fmd_module_t *mp = (fmd_module_t *)hdl; in fmd_hdl_getspecific() local
210 fmd_module_t *mp = (fmd_module_t *)hdl; in fmd_hdl_debug() local
243 fmd_module_t *mp = (fmd_module_t *)hdl; in fmd_stat_create() local
258 fmd_module_t *mp = (fmd_module_t *)hdl; in fmd_case_open() local
283 fmd_module_t *mp = (fmd_module_t *)hdl; in fmd_case_solve() local
301 fmd_module_t *mp = (fmd_module_t *)hdl; in fmd_case_close() local
488 fmd_module_t *mp = (fmd_module_t *)hdl; in fmd_serd_create() local
[all …]
/freebsd-src/sys/ufs/ffs/
H A Dffs_suspend.c69 ffs_susp_suspended(struct mount *mp) in ffs_susp_suspended() argument
94 struct mount *mp; in ffs_susp_rdwr() local
178 ffs_susp_suspend(struct mount *mp) in ffs_susp_suspend() argument
219 ffs_susp_unsuspend(struct mount * mp) ffs_susp_unsuspend() argument
250 struct mount *mp; ffs_susp_dtor() local
279 struct mount *mp; ffs_susp_ioctl() local
[all...]
/freebsd-src/sys/fs/autofs/
H A Dautofs_vfsops.c56 autofs_mount(struct mount *mp) in autofs_mount()
113 autofs_unmount(struct mount *mp, int mntflags) in autofs_unmount()
180 autofs_root(struct mount *mp, int flags, struct vnode **vpp) in autofs_root()
193 autofs_statfs(struct mount *mp, struct statfs *sbp) in autofs_statfs()

12345678910>>...19