Home
last modified time | relevance | path

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

12345678910>>...19

/freebsd/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 #define cv_timedwait(cvp, mp, t) __cv_timedwait(cvp, mp, t) argument
114 #define cv_timedwait_io(cvp, mp, t) __cv_timedwait_io(cvp, mp, t) argument
115 #define cv_timedwait_sig(cvp, mp, t) __cv_timedwait_sig(cvp, mp, t) argument
116 #define cv_timedwait_idle(cvp, mp, t) __cv_timedwait_idle(cvp, mp, t) argument
/freebsd/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/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()
H A Dt_unpriv.c48 owner(const atf_tc_t *tc, const char *mp) in owner()
80 dirperms(const atf_tc_t *tc, const char *mp) in dirperms()
125 times(const atf_tc_t *tc, const char *mp) in times()
179 flags(const atf_tc_t *tc, const char *mp) in flags()
/freebsd/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/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/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-condvar.c114 cv_wait_common(kcondvar_t *cvp, kmutex_t *mp, int state, int io) in cv_wait_common()
166 __cv_wait(kcondvar_t *cvp, kmutex_t *mp) in __cv_wait()
173 __cv_wait_io(kcondvar_t *cvp, kmutex_t *mp) in __cv_wait_io()
180 __cv_wait_io_sig(kcondvar_t *cvp, kmutex_t *mp) in __cv_wait_io_sig()
189 __cv_wait_sig(kcondvar_t *cvp, kmutex_t *mp) in __cv_wait_sig()
198 __cv_wait_idle(kcondvar_t *cvp, kmutex_t *mp) in __cv_wait_idle()
214 __cv_timedwait_common(kcondvar_t *cvp, kmutex_t *mp, clock_t expire_time, in __cv_timedwait_common()
274 __cv_timedwait(kcondvar_t *cvp, kmutex_t *mp, clock_t exp_time) in __cv_timedwait()
282 __cv_timedwait_io(kcondvar_t *cvp, kmutex_t *mp, clock_t exp_time) in __cv_timedwait_io()
290 __cv_timedwait_sig(kcondvar_t *cvp, kmutex_t *mp, clock_t exp_time) in __cv_timedwait_sig()
[all …]
/freebsd/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/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/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; in mount_fini() local
495 struct mount *mp; in vfs_ref_from_vp() local
524 vfs_ref(struct mount *mp) in vfs_ref()
556 struct mount *mp; in vfs_register_upper_from_vp() local
586 vfs_register_for_notification(struct mount *mp, struct mount *ump, in vfs_register_for_notification()
596 vfs_drain_upper_locked(struct mount *mp) in vfs_drain_upper_locked()
611 vfs_unregister_for_notification(struct mount *mp, in vfs_unregister_for_notification()
625 vfs_unregister_upper(struct mount *mp, struct mount_upper_node *upper) in vfs_unregister_upper()
642 vfs_rel(struct mount *mp) in vfs_rel()
[all …]
/freebsd/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
386 nullfs_sync(struct mount * mp,int waitfor) nullfs_sync() argument
395 nullfs_vget(struct mount * mp,ino_t ino,int flags,struct vnode ** vpp) nullfs_vget() argument
409 nullfs_fhtovp(struct mount * mp,struct fid * fidp,int flags,struct vnode ** vpp) nullfs_fhtovp() argument
421 nullfs_extattrctl(struct mount * mp,int cmd,struct vnode * filename_vp,int namespace,const char * attrname) nullfs_extattrctl() argument
430 nullfs_reclaim_lowervp(struct mount * mp,struct vnode * lowervp) nullfs_reclaim_lowervp() argument
443 nullfs_unlink_lowervp(struct mount * mp,struct vnode * lowervp) nullfs_unlink_lowervp() argument
[all...]
/freebsd/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/sys/fs/unionfs/
H A Dunion_vfsops.c72 unionfs_domount(struct mount *mp) in unionfs_domount()
370 unionfs_unmount(struct mount *mp, int mntflags) in unionfs_unmount()
409 unionfs_root(struct mount *mp, int flags, struct vnode **vpp) in unionfs_root()
430 unionfs_quotactl(struct mount *mp, int cmd, uid_t uid, void *arg, in unionfs_quotactl()
469 unionfs_statfs(struct mount *mp, struct statfs *sbp) in unionfs_statfs()
525 unionfs_sync(struct mount *mp, int waitfor) in unionfs_sync()
532 unionfs_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) in unionfs_vget()
538 unionfs_fhtovp(struct mount *mp, struct fid *fidp, int flags, in unionfs_fhtovp()
545 unionfs_checkexp(struct mount *mp, struct sockaddr *nam, uint64_t *extflagsp, in unionfs_checkexp()
552 unionfs_extattrctl(struct mount *mp, int cmd, struct vnode *filename_vp, in unionfs_extattrctl()
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_lookup.c31 assertEqualInt(*mp, 0x13579); in group_cleanup() local
52 assertEqualInt(*mp, 0x1234); in user_cleanup() local
39 int *mp = d; group_lookup() local
60 int *mp = d; user_lookup() local
[all...]
H A Dtest_read_disk.c31 assertEqualInt(*mp, 0x13579); in gname_cleanup() local
39 assertEqualInt(*mp, 0x13579); in gname_lookup() local
49 assertEqualInt(*mp, 0x1234); in uname_cleanup() local
57 assertEqualInt(*mp, in uname_lookup() local
[all...]
/freebsd/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/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/sys/ufs/ffs/
H A Dffs_suspend.c69 ffs_susp_suspended(struct mount *mp) in ffs_susp_suspended()
94 struct mount *mp; in ffs_susp_rdwr() local
178 ffs_susp_suspend(struct mount *mp) in ffs_susp_suspend()
219 ffs_susp_unsuspend(struct mount *mp) in ffs_susp_unsuspend()
250 struct mount *mp; in ffs_susp_dtor() local
279 struct mount *mp; in ffs_susp_ioctl() local

12345678910>>...19