Searched refs:mp (Results 26 - 50 of 582) sorted by relevance

1234567891011>>

/freebsd-current/contrib/mandoc/
H A Ddemandoc.c46 struct mparse *mp; local
57 mp = NULL;
82 mp = mparse_alloc(MPARSE_SO | MPARSE_UTF8 | MPARSE_LATIN1 |
84 assert(mp);
87 pmandoc(mp, STDIN_FILENO, "<stdin>", list);
90 mparse_reset(mp);
91 if ((fd = mparse_open(mp, argv[i])) == -1) {
95 pmandoc(mp, fd, argv[i], list);
98 mparse_free(mp);
111 pmandoc(struct mparse *mp, in argument
[all...]
/freebsd-current/tools/test/stress2/misc/
H A Dpathconf.sh36 mp=${mntpoint}2
45 mkdir -p $mp/nfs || exit 1
46 mount -t nfs -o tcp -o retrycnt=3 -o intr,soft -o rw $nfs_export $mp/nfs
47 chmod a+rw $mp/nfs
54 umount $mp/nfs
55 rm -rf $mp
H A Dnullfs9.sh33 # Fails with "./nullfs9.sh: cannot create /mnt2/mp/true: Text file busy"
38 mount | grep -q $mnt2/mp && umount $mnt2/mp
52 mkdir $mnt2/mp
53 mount -t nullfs $mntpoint $mnt2/mp
56 cp /usr/bin/true $mnt2/mp/true
65 cp /usr/bin/true $mnt2/mp/true
66 $mnt2/mp/true
67 if ! > $mnt2/mp/true; then
71 rm -f $mnt2/mp/tru
[all...]
H A Dnfssillyrename.sh47 mp=$mntpoint/sillyrename
48 rm -rf $mp
49 mkdir -p $mp
52 cd $mp
62 rm -rf $mp
H A Dnlink2.sh40 mp=/mnt$md
41 mkdir -p $mp
43 mount | grep -q "on $mp " && umount -f $mp
48 mount /dev/md$md $mp
53 jot 1000 | xargs -P0 -I% mkdir $mp/a% || { s=1; break; }
54 jot 1000 | xargs -P0 -I% rmdir $mp/a%
63 df -i $mp
66 umount $mp
/freebsd-current/sys/ufs/ffs/
H A Dffs_suspend.c69 ffs_susp_suspended(struct mount *mp) argument
75 ump = VFSTOUFS(mp);
94 struct mount *mp; local
104 error = devfs_get_cdevpriv((void **)&mp);
110 ump = VFSTOUFS(mp);
114 if (ffs_susp_suspended(mp) == 0) {
178 ffs_susp_suspend(struct mount *mp) argument
185 if (!ffs_own_mount(mp))
187 if (ffs_susp_suspended(mp))
190 ump = VFSTOUFS(mp);
219 ffs_susp_unsuspend(struct mount *mp) argument
250 struct mount *mp; local
279 struct mount *mp; local
[all...]
/freebsd-current/sys/fs/autofs/
H A Dautofs_vfsops.c56 autofs_mount(struct mount *mp) argument
62 if (vfs_filteropt(mp->mnt_optnew, autofs_opts))
65 if (mp->mnt_flag & MNT_UPDATE) {
66 autofs_flush(VFSTOAUTOFS(mp));
70 if (vfs_getopt(mp->mnt_optnew, "from", (void **)&from, NULL))
73 if (vfs_getopt(mp->mnt_optnew, "fspath", (void **)&fspath, NULL))
76 if (vfs_getopt(mp->mnt_optnew, "master_options", (void **)&options, NULL))
79 if (vfs_getopt(mp->mnt_optnew, "master_prefix", (void **)&prefix, NULL))
83 mp->mnt_data = amp;
84 amp->am_mp = mp;
113 autofs_unmount(struct mount *mp, int mntflags) argument
180 autofs_root(struct mount *mp, int flags, struct vnode **vpp) argument
193 autofs_statfs(struct mount *mp, struct statfs *sbp) argument
[all...]
/freebsd-current/contrib/ntp/libntp/lib/isc/pthreads/
H A Dmutex.c99 isc_mutex_init_profile(isc_mutex_t *mp, const char *file, int line) { argument
102 err = pthread_mutex_init(&mp->mutex, NULL);
122 mp->stats = &stats[stats_next++];
126 mp->stats->file = file;
127 mp->stats->line = line;
128 mp->stats->count = 0;
129 timevalclear(&mp->stats->locked_total);
130 timevalclear(&mp->stats->wait_total);
132 mp->stats->lockers[i].file = NULL;
133 mp
143 isc_mutex_lock_profile(isc_mutex_t *mp, const char *file, int line) argument
186 isc_mutex_unlock_profile(isc_mutex_t *mp, const char *file, int line) argument
238 isc_mutex_init_errcheck(isc_mutex_t *mp) argument
268 isc__mutex_init(isc_mutex_t *mp, const char *file, unsigned int line) argument
[all...]
/freebsd-current/stand/libsa/
H A Dzalloc.c88 znalloc(MemPool *mp, uintptr_t bytes, size_t align) argument
108 if (bytes > mp->mp_Size - mp->mp_Used)
111 for (pmn = &mp->mp_First; (mn = *pmn) != NULL; pmn = &mn->mr_Next) {
156 mp->mp_Used += bytes;
172 zfree(MemPool *mp, void *ptr, uintptr_t bytes) argument
190 if ((char *)ptr < (char *)mp->mp_Base ||
191 (char *)ptr + bytes > (char *)mp->mp_End ||
198 mp->mp_Used -= bytes;
200 for (pmn = &mp
279 zextendPool(MemPool *mp, void *base, uintptr_t bytes) argument
306 zallocstats(MemPool *mp) argument
[all...]
H A Dzalloc_protos.h35 Library void zextendPool(MemPool *mp, void *base, uintptr_t bytes);
36 Library void zallocstats(struct MemPool *mp);
/freebsd-current/libexec/talkd/
H A Dprocess.c57 process_request(CTL_MSG *mp, CTL_RESPONSE *rp) argument
63 rp->type = mp->type;
65 if (mp->vers != TALK_VERSION) {
66 syslog(LOG_WARNING, "bad protocol version %d", mp->vers);
70 mp->id_num = ntohl(mp->id_num);
71 mp->addr.sa_family = ntohs(mp->addr.sa_family);
72 if (mp->addr.sa_family != AF_INET) {
74 mp
133 do_announce(CTL_MSG *mp, CTL_RESPONSE *rp) argument
[all...]
H A Dprint.c52 print_request(const char *cp, CTL_MSG *mp) argument
57 if (mp->type > NTYPES) {
58 (void)snprintf(tbuf, sizeof(tbuf), "type %d", mp->type);
61 tp = types[mp->type];
63 cp, tp, (long)mp->id_num, mp->l_name, mp->r_name, mp->r_tty);
/freebsd-current/sys/fs/fdescfs/
H A Dfdesc_vfsops.c77 fdesc_mount(struct mount *mp) argument
86 if (mp->mnt_flag & (MNT_UPDATE | MNT_ROOTFS))
95 mp->mnt_data = fmp;
97 if (vfs_getopt(mp->mnt_optnew, "linrdlnk", NULL, NULL) == 0)
99 if (vfs_getopt(mp->mnt_optnew, "rdlnk", NULL, NULL) == 0)
101 if (vfs_getopt(mp->mnt_optnew, "nodup", NULL, NULL) == 0)
103 error = fdesc_allocvp(Froot, -1, FD_ROOT, mp, &rvp);
106 mp->mnt_data = NULL;
115 MNT_ILOCK(mp);
117 /*mp
133 fdesc_unmount(struct mount *mp, int mntflags) argument
168 fdesc_root(struct mount *mp, int flags, struct vnode **vpp) argument
182 fdesc_statfs(struct mount *mp, struct statfs *sbp) argument
[all...]
/freebsd-current/sys/kern/
H A Dvfs_init.c164 vfs_mount_sigdefer(struct mount *mp) argument
168 TSRAW(curthread, TS_ENTER, "VFS_MOUNT", mp->mnt_vfc->vfc_name);
170 rc = (*mp->mnt_vfc->vfc_vfsops_sd->vfs_mount)(mp);
172 TSRAW(curthread, TS_EXIT, "VFS_MOUNT", mp->mnt_vfc->vfc_name);
177 vfs_unmount_sigdefer(struct mount *mp, int mntflags) argument
182 rc = (*mp->mnt_vfc->vfc_vfsops_sd->vfs_unmount)(mp, mntflags);
188 vfs_root_sigdefer(struct mount *mp, int flags, struct vnode **vpp) argument
193 rc = (*mp
199 vfs_cachedroot_sigdefer(struct mount *mp, int flags, struct vnode **vpp) argument
210 vfs_quotactl_sigdefer(struct mount *mp, int cmd, uid_t uid, void *arg, bool *mp_busy) argument
223 vfs_statfs_sigdefer(struct mount *mp, struct statfs *sbp) argument
234 vfs_sync_sigdefer(struct mount *mp, int waitfor) argument
245 vfs_vget_sigdefer(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument
256 vfs_fhtovp_sigdefer(struct mount *mp, struct fid *fidp, int flags, struct vnode **vpp) argument
268 vfs_checkexp_sigdefer(struct mount *mp, struct sockaddr *nam, uint64_t *exflg, struct ucred **credp, int *numsecflavors, int *secflavors) argument
281 vfs_extattrctl_sigdefer(struct mount *mp, int cmd, struct vnode *filename_vp, int attrnamespace, const char *attrname) argument
294 vfs_sysctl_sigdefer(struct mount *mp, fsctlop_t op, struct sysctl_req *req) argument
305 vfs_susp_clean_sigdefer(struct mount *mp) argument
317 vfs_reclaim_lowervp_sigdefer(struct mount *mp, struct vnode *vp) argument
329 vfs_unlink_lowervp_sigdefer(struct mount *mp, struct vnode *vp) argument
341 vfs_purge_sigdefer(struct mount *mp) argument
351 vfs_report_lockf_sigdefer(struct mount *mp, struct sbuf *sb) argument
[all...]
/freebsd-current/contrib/nvi/vi/
H A Dv_util.c34 v_eof(SCR *sp, MARK *mp) argument
38 if (mp == NULL)
43 if (mp->lno >= lno)
57 v_eol(SCR *sp, MARK *mp) argument
61 if (mp == NULL)
64 if (db_get(sp, mp->lno, DBG_FATAL, NULL, &len))
66 if (mp->cno == len - 1)
92 v_sof(SCR *sp, MARK *mp) argument
94 if (mp == NULL || mp
[all...]
/freebsd-current/sys/contrib/openzfs/contrib/dracut/02zfsexpandknowledge/
H A Dmodule-setup.sh.in37 local mp
42 fields="_ _ _ _ mp _ _ fstype dev _"
44 fields="_ _ _ _ mp _ _ _ fstype dev _"
49 [[ "$mp" = "$1" ]] && get_pool_devices "${dev%%/*}"
66 local mp
78 for mp in \
92 mp=$(readlink -f "$mp")
93 mountpoint "$mp" >/dev/null 2>&1 || continue
94 blockdevs=$(find_zfs_block_devices "$mp")
[all...]
/freebsd-current/sys/fs/devfs/
H A Ddevfs_vfsops.c66 devfs_mount(struct mount *mp) argument
79 if (mp->mnt_flag & MNT_ROOTFS)
85 if (mp->mnt_optnew != NULL) {
86 if (vfs_filteropt(mp->mnt_optnew, devfs_opts))
89 if (vfs_flagopt(mp->mnt_optnew, "export", NULL, 0))
92 if (vfs_getopt(mp->mnt_optnew, "ruleset", NULL, NULL) == 0 &&
93 (vfs_scanopt(mp->mnt_optnew, "ruleset", "%d",
95 vfs_mount_error(mp, "%s",
109 if (mp->mnt_flag & MNT_UPDATE) {
111 fmp = mp
171 devfs_unmount(struct mount *mp, int mntflags) argument
205 devfs_root(struct mount *mp, int flags, struct vnode **vpp) argument
222 devfs_statfs(struct mount *mp, struct statfs *sbp) argument
[all...]
/freebsd-current/sys/fs/nfsclient/
H A Dnfs_clcomsubs.c58 struct mbuf *mp, *mp2; local
70 mp = mp2 = nd->nd_mb;
74 mtod(mp, char *) + mp->m_len, ("nfsm_uiombuf: mcp wrong"));
84 mlen = M_TRAILINGSPACE(mp);
87 mp = nfsm_add_ext_pgs(mp,
90 mp->m_epg_pa[nd->nd_bextpg]);
94 NFSMCLGET(mp, M_WAITOK);
96 NFSMGET(mp);
166 struct mbuf *mp, *mp2, *firstmp; local
[all...]
/freebsd-current/contrib/bearssl/src/rsa/
H A Drsa_i32_priv.c36 uint32_t *mp, *mq, *s1, *s2, *t1, *t2, *t3; local
44 * The mp, mq, s1, s2, t1 and t2 buffers are large enough to
50 mp = tmp + U;
82 br_i32_decode(mp, p, plen);
88 br_i32_zero(t2, mp[0]);
89 br_i32_mulacc(t2, mp, mq);
106 p0i = br_i32_ninv32(mp[1]);
107 br_i32_decode_reduce(s1, x, xlen, mp);
108 br_i32_modpow(s1, sk->dp, sk->dplen, mp, p0i, t1, t2);
130 br_i32_reduce(t2, s2, mp);
[all...]
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_vfs.c123 struct mount *mp; local
135 * variables will fit in our mp buffers, including the
168 mp = vfs_mount_alloc(vp, vfsp, fspath, vp->v_mount->mnt_cred);
170 mp->mnt_optnew = NULL;
171 vfs_setmntopt(mp, "from", fspec, 0);
172 mp->mnt_optnew = mp->mnt_opt;
173 mp->mnt_opt = NULL;
178 mp->mnt_flag = fsflags & MNT_UPDATEMASK;
182 mp
[all...]
/freebsd-current/usr.bin/mail/
H A Dcmd1.c53 struct message *mp; local
61 mp = &message[screen * size];
62 if (mp >= &message[msgCount])
63 mp = &message[msgCount - size];
64 if (mp < &message[0])
65 mp = &message[0];
67 mesg = mp - &message[0];
69 dot = mp;
70 for (; mp < &message[msgCount]; mp
162 struct message *mp; local
289 struct message *mp; local
362 struct message *mp; local
[all...]
H A Dquit.c67 struct message *mp; local
138 for (mp = &message[0]; mp < &message[msgCount]; mp++) {
139 if (mp->m_flag & MNEW) {
140 mp->m_flag &= ~MNEW;
141 mp->m_flag |= MSTATUS;
143 if (mp->m_flag & MSTATUS)
145 if ((mp->m_flag & MTOUCH) == 0)
146 mp
332 struct message *mp; local
386 struct message *mp; local
[all...]
/freebsd-current/sys/ufs/ufs/
H A Dufs_vfsops.c67 ufs_root(struct mount *mp, int flags, struct vnode **vpp) argument
72 error = VFS_VGET(mp, (ino_t)UFS_ROOTINO, flags, &nvp);
83 ufs_quotactl(struct mount *mp, int cmds, uid_t id, void *arg, bool *mp_busy) argument
113 error = quotaon(td, mp, type, arg, mp_busy);
117 vfs_ref(mp);
120 vn_start_write(NULL, &mp, V_WAIT);
121 vfs_unbusy(mp);
123 error = quotaoff(td, mp, type);
124 vn_finished_write(mp);
125 vfs_rel(mp);
[all...]
/freebsd-current/usr.sbin/ppp/
H A Dmp.h72 struct mp { struct
132 extern void mp_Init(struct mp *, struct bundle *);
134 extern int mp_Up(struct mp *, struct datalink *);
135 extern void mp_Down(struct mp *);
142 extern void mp_LinkLost(struct mp *, struct datalink *);
143 extern void mp_RestartAutoloadTimer(struct mp *);
144 extern void mp_CheckAutoloadTimer(struct mp *);
145 extern void mp_StopAutoloadTimer(struct mp *);
146 extern size_t mp_QueueLen(struct mp *);
/freebsd-current/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) argument
123 ASSERT(mp);
125 ASSERT(mutex_owned(mp));
130 m = xchg(&cvp->cv_mutex, mp);
132 ASSERT(m == NULL || m == mp);
142 mutex_exit(mp);
165 mutex_enter(mp);
169 __cv_wait(kcondvar_t *cvp, kmutex_t *mp) argument
171 cv_wait_common(cvp, mp, TASK_UNINTERRUPTIBLE, 0);
176 __cv_wait_io(kcondvar_t *cvp, kmutex_t *mp) argument
183 __cv_wait_io_sig(kcondvar_t *cvp, kmutex_t *mp) argument
192 __cv_wait_sig(kcondvar_t *cvp, kmutex_t *mp) argument
201 __cv_wait_idle(kcondvar_t *cvp, kmutex_t *mp) argument
259 __cv_timedwait_common(kcondvar_t *cvp, kmutex_t *mp, clock_t expire_time, int state, int io) argument
319 __cv_timedwait(kcondvar_t *cvp, kmutex_t *mp, clock_t exp_time) argument
327 __cv_timedwait_io(kcondvar_t *cvp, kmutex_t *mp, clock_t exp_time) argument
335 __cv_timedwait_sig(kcondvar_t *cvp, kmutex_t *mp, clock_t exp_time) argument
345 __cv_timedwait_idle(kcondvar_t *cvp, kmutex_t *mp, clock_t exp_time) argument
364 __cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t expire_time, hrtime_t res, int state) argument
426 cv_timedwait_hires_common(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, hrtime_t res, int flag, int state) argument
436 cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, hrtime_t res, int flag) argument
445 cv_timedwait_sig_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, hrtime_t res, int flag) argument
457 cv_timedwait_idle_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, hrtime_t res, int flag) argument
[all...]

Completed in 500 milliseconds

1234567891011>>