Searched refs:mp (Results 51 - 75 of 582) sorted by relevance

1234567891011>>

/freebsd-current/usr.bin/rwho/
H A Drwho.c83 struct myutmp *mp; local
115 mp = myutmp;
155 mp->myutmp = we->we_utmp;
156 mp->myidle = we->we_idle;
157 (void) strcpy(mp->myhost, w->wd_hostname);
160 mp++;
165 mp = myutmp;
171 j = strlen(mp->myhost) + 1 + sizeof(mp->myutmp.out_line);
174 mp
[all...]
/freebsd-current/sys/ufs/ffs/
H A Dffs_vfsops.c89 static int ffs_sync_lazy(struct mount *mp);
235 ffs_check_blkno(struct mount *mp, ino_t inum, ufs2_daddr_t daddr, int blksize) argument
242 KASSERT((mp->mnt_flag & MNT_UNTRUSTED) != 0,
244 ump = VFSTOUFS(mp);
271 "number %jd\n", mp->mnt_stat.f_mntonname, inum, daddr);
343 ffs_mount(struct mount *mp) argument
358 if (vfs_filteropt(mp->mnt_optnew, ffs_opts))
373 vfs_deleteopt(mp->mnt_optnew, "groupquota");
374 vfs_deleteopt(mp->mnt_optnew, "userquota");
376 fspec = vfs_getopts(mp
751 ffs_reload(struct mount *mp, int flags) argument
909 ffs_mountfs(struct vnode *odevvp, struct mount *mp, struct thread *td) argument
1359 ffs_unmount(struct mount *mp, int mntflags) argument
1476 ffs_flushfiles(struct mount *mp, int flags, struct thread *td) argument
1559 ffs_statfs(struct mount *mp, struct statfs *sbp) argument
1616 ffs_sync_lazy(struct mount *mp) argument
1674 ffs_sync(struct mount *mp, int waitfor) argument
1819 ffs_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument
1825 ffs_vgetf(struct mount *mp, ino_t ino, int flags, struct vnode **vpp, int ffs_flags) argument
2042 ffs_fhtovp(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp) argument
2057 ffs_inotovp(struct mount *mp, ino_t ino, uint64_t gen, int lflags, struct vnode **vpp, int ffs_flags) argument
2252 ffs_extattrctl(struct mount *mp, int cmd, struct vnode *filename_vp, int attrnamespace, const char *attrname) argument
2579 ffs_own_mount(const struct mount *mp) argument
2595 struct mount *mp; local
[all...]
/freebsd-current/usr.bin/mail/
H A Dcmd2.c52 struct message *mp; local
78 mp = &message[*ip2 - 1];
79 if ((mp->m_flag & MDELETED) == 0) {
80 dot = mp;
105 for (mp = dot+1; mp < &message[msgCount]; mp++)
106 if ((mp->m_flag & (MDELETED|MSAVED)) == 0)
108 if (mp >= &message[msgCount]) {
112 dot = mp;
153 struct message *mp; local
301 struct message *mp; local
340 struct message *mp; local
[all...]
/freebsd-current/sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/
H A Dmnttab.h77 extern int getmntany(FILE *fp, struct mnttab *mp, struct mnttab *mpref);
78 extern int _sol_getmntent(FILE *fp, struct mnttab *mp);
81 extern void statfs2mnttab(struct statfs *sfs, struct mnttab *mp);
83 extern int getmntent(FILE *fp, struct mnttab *mp);
/freebsd-current/contrib/ntp/libntp/lib/isc/pthreads/include/isc/
H A Dcondition.h37 #define isc_condition_wait(cp, mp) \
38 ((pthread_cond_wait((cp), &((mp)->mutex)) == 0) ? \
41 #define isc_condition_wait(cp, mp) \
42 ((pthread_cond_wait((cp), (mp)) == 0) ? \
/freebsd-current/sys/net/
H A Dif_enc.h34 struct mbuf **mp; member in struct:ipsec_ctx_data
/freebsd-current/contrib/bearssl/src/rsa/
H A Drsa_i31_priv.c41 uint32_t *mp, *mq, *s1, *s2, *t1, *t2, *t3; local
135 mp = mq + 2 * fwlen;
136 memmove(mp, t1, fwlen * sizeof *t1);
150 p0i = br_i31_ninv31(mp[1]);
152 br_i31_decode_reduce(s1, x, xlen, mp);
153 r &= br_i31_modpow_opt(s1, sk->dp, sk->dplen, mp, p0i,
171 br_i31_reduce(t2, s2, mp);
172 br_i31_add(s1, mp, br_i31_sub(s1, t2, 1));
173 br_i31_to_monty(s1, mp);
174 br_i31_decode_reduce(t1, sk->iq, sk->iqlen, mp);
[all...]
H A Drsa_i15_priv.c41 uint16_t *mp, *mq, *s1, *s2, *t1, *t2, *t3; local
141 mp = mq + 2 * fwlen;
142 memmove(mp, t1, fwlen * sizeof *t1);
156 p0i = br_i15_ninv15(mp[1]);
158 br_i15_decode_reduce(s1, x, xlen, mp);
159 r &= br_i15_modpow_opt(s1, sk->dp, sk->dplen, mp, p0i,
177 br_i15_reduce(t2, s2, mp);
178 br_i15_add(s1, mp, br_i15_sub(s1, t2, 1));
179 br_i15_to_monty(s1, mp);
180 br_i15_decode_reduce(t1, sk->iq, sk->iqlen, mp);
[all...]
/freebsd-current/contrib/netbsd-tests/fs/ptyfs/
H A Dt_nullpts.c25 mountptyfs(const char *mp, int flags) argument
29 if (rump_sys_mkdir(mp, 0777) == -1) {
31 atf_tc_fail_errno("null create %s", mp);
36 if (rump_sys_mount(MOUNT_PTYFS, mp, flags, &args, sizeof(args)) == -1)
41 mountnull(const char *what, const char *mp, int flags) argument
49 if (rump_sys_mkdir(mp, 0777) == -1) {
51 atf_tc_fail_errno("null create %s", mp);
55 if (rump_sys_mount(MOUNT_NULL, mp, flags, &nargs, sizeof(nargs)) == -1)
/freebsd-current/lib/libmp/
H A DMakefile4 LIB= mp
8 INCS= mp.h
H A Dmpasbn.c67 * and not in mp.h) have an underscore prepended to their name (this
85 #include "mp.h"
127 MINT *mp; local
129 mp = malloc(sizeof(*mp));
130 if (mp == NULL)
132 mp->bn = BN_new();
133 if (mp->bn == NULL)
135 BN_ERRCHECK(msg, BN_dec2bn(&mp->bn, s));
136 return (mp);
166 MINT *mp; local
265 _mfree(const char *msg __unused, MINT *mp) argument
274 mp_mfree(MINT *mp) argument
288 mp_min(MINT *mp) argument
313 mp_mout(const MINT *mp) argument
433 _mtod(const char *msg, const MINT *mp) argument
452 _mtox(const char *msg, const MINT *mp) argument
480 mp_mtox(const MINT *mp) argument
612 MINT *mp; local
[all...]
/freebsd-current/contrib/netbsd-tests/fs/vfs/
H A Dt_union.c26 xput_tfile(const char *mp, const char *path) argument
31 strcpy(pathb, mp);
42 xread_tfile(const char *mp, const char *path) argument
48 strcpy(pathb, mp);
64 * Mount a unionfs for testing. Before calling, "mp" contains
69 mountunion(const char *mp, char *lowerpath) argument
81 if (rump_sys_mount(MOUNT_UNION, mp, 0,
109 basic(const atf_tc_t *tc, const char *mp) argument
117 mountunion(mp, lowerpath);
123 error = xread_tfile(mp, TFIL
155 whiteout(const atf_tc_t *tc, const char *mp) argument
[all...]
/freebsd-current/contrib/nvi/vi/
H A Dv_match.c36 MARK *mp; local
131 mp = vp->m_start.lno < vp->m_stop.lno ? &vp->m_start : &vp->m_stop;
132 if (mp->cno != 0) {
134 if (nonblank(sp, mp->lno, &cno))
136 if (cno < mp->cno)
139 mp = vp->m_start.lno < vp->m_stop.lno ? &vp->m_stop : &vp->m_start;
140 if (db_get(sp, mp->lno, DBG_FATAL, &p, &len))
142 for (p += mp->cno + 1, len -= mp->cno; --len; ++p)
158 CHAR_T **mp local
[all...]
/freebsd-current/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_lookup.c30 int *mp = d; local
31 assertEqualInt(*mp, 0x13579);
32 *mp = 0x2468;
38 int *mp = d; local
42 assertEqualInt(*mp, 0x13579);
51 int *mp = d; local
52 assertEqualInt(*mp, 0x1234);
53 *mp = 0x2345;
59 int *mp = d; local
63 assertEqualInt(*mp,
[all...]
H A Dtest_read_disk.c30 int *mp = d; local
31 assertEqualInt(*mp, 0x13579);
32 *mp = 0x2468;
38 int *mp = d; local
39 assertEqualInt(*mp, 0x13579);
48 int *mp = d; local
49 assertEqualInt(*mp, 0x1234);
50 *mp = 0x2345;
56 int *mp = d; local
57 assertEqualInt(*mp,
[all...]
/freebsd-current/sys/fs/p9fs/
H A Dp9fs_vfsops.c135 p9fs_unmount(struct mount *mp, int mntflags) argument
143 vmp = VFSTOP9(mp);
151 p9fs_prepare_to_close(mp);
155 error = vflush(mp, 1, flags, curthread);
168 p9fs_close_session(mp);
171 mp->mnt_data = NULL;
246 p9fs_vget_common(struct mount *mp, struct p9fs_node *np, int flags, argument
260 vmp = VFSTOP9(mp);
265 error = vfs_hash_get(mp, hash, flags, td, &vp, p9fs_node_cmp,
304 if ((error = getnewvnode("p9fs", mp,
398 p9_mount(struct mount *mp) argument
467 p9fs_mount(struct mount *mp) argument
495 p9fs_root(struct mount *mp, int lkflags, struct vnode **vpp) argument
585 p9fs_fhtovp(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp) argument
[all...]
/freebsd-current/sys/contrib/openzfs/cmd/zed/agents/
H A Dfmd_api.c102 fmd_module_t *mp = (fmd_module_t *)hdl; local
104 mp->mod_info = mip;
105 mp->mod_name = mip->fmdi_desc + 4; /* drop 'ZFS ' prefix */
106 mp->mod_spec = NULL;
109 (void) strcpy(mp->mod_stats.ms_accepted.fmds_name, "fmd.accepted");
110 (void) strcpy(mp->mod_stats.ms_caseopen.fmds_name, "fmd.caseopen");
111 (void) strcpy(mp->mod_stats.ms_casesolved.fmds_name, "fmd.casesolved");
112 (void) strcpy(mp->mod_stats.ms_caseclosed.fmds_name, "fmd.caseclosed");
114 fmd_serd_hash_create(&mp->mod_serds);
124 fmd_module_t *mp local
164 fmd_module_t *mp = (fmd_module_t *)hdl; local
176 fmd_module_t *mp = (fmd_module_t *)hdl; local
210 fmd_module_t *mp = (fmd_module_t *)hdl; local
243 fmd_module_t *mp = (fmd_module_t *)hdl; local
258 fmd_module_t *mp = (fmd_module_t *)hdl; local
283 fmd_module_t *mp = (fmd_module_t *)hdl; local
301 fmd_module_t *mp = (fmd_module_t *)hdl; local
488 fmd_module_t *mp = (fmd_module_t *)hdl; local
502 fmd_module_t *mp = (fmd_module_t *)hdl; local
512 fmd_module_t *mp = (fmd_module_t *)hdl; local
520 fmd_module_t *mp = (fmd_module_t *)hdl; local
533 fmd_module_t *mp = (fmd_module_t *)hdl; local
547 fmd_module_t *mp = (fmd_module_t *)hdl; local
561 fmd_module_t *mp = (fmd_module_t *)hdl; local
573 fmd_module_t *mp = (fmd_module_t *)hdl; local
744 fmd_module_t *mp = (fmd_module_t *)hdl; local
757 fmd_module_t *mp = (fmd_module_t *)hdl; local
[all...]
/freebsd-current/sys/fs/fuse/
H A Dfuse_vfsops.c215 fuse_vfs_remount(struct mount *mp, struct thread *td, uint64_t mntopts, argument
219 struct fuse_data *data = fuse_get_mpdata(mp);
226 if ((mp->mnt_flag ^ data->mnt_flag) & cant_update_opts) {
230 data, mp, err);
240 data, mp, err);
247 "device is dead during mount", data, mp, err);
266 fuse_vfsop_fhtovp(struct mount *mp, struct fid *fhp, int flags, argument
274 if (!(fuse_get_mpdata(mp)->dataflags & FSESS_EXPORT_SUPPORT))
277 error = VFS_VGET(mp, ffhp->nid, LK_EXCLUSIVE, &nvp);
294 fuse_vfsop_mount(struct mount *mp) argument
470 fuse_vfsop_unmount(struct mount *mp, int mntflags) argument
533 fuse_vfsop_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument
599 fuse_vfsop_root(struct mount *mp, int lkflags, struct vnode **vpp) argument
635 fuse_vfsop_statfs(struct mount *mp, struct statfs *sbp) argument
[all...]
/freebsd-current/libexec/talkd/
H A Dtalkd.c70 register CTL_MSG *mp = &request; local
96 cc = recv(0, (char *)mp, sizeof(*mp), 0);
97 if (cc != sizeof (*mp)) {
103 (void)memcpy(&ctl_addr.sa_data, &mp->ctl_addr.sa_data,
105 ctl_addr.sa_family = ntohs(mp->ctl_addr.sa_family);
107 process_request(mp, &response);
/freebsd-current/sys/fs/smbfs/
H A Dsmbfs_vfsops.c130 smbfs_mount(struct mount *mp) argument
144 if (mp->mnt_flag & (MNT_UPDATE | MNT_ROOTFS))
147 if (vfs_filteropt(mp->mnt_optnew, smbfs_opts)) {
148 vfs_mount_error(mp, "%s", "Invalid option");
156 if (1 != vfs_scanopt(mp->mnt_optnew, "fd", "%d", &v)) {
157 vfs_mount_error(mp, "No fd option");
165 vfs_mount_error(mp, "invalid device handle %d %d\n", v, error);
172 mp->mnt_stat.f_iosize = SSTOVC(ssp)->vc_txmax;
173 mp->mnt_data = smp;
177 if (1 != vfs_scanopt(mp
258 smbfs_unmount(struct mount *mp, int mntflags) argument
309 smbfs_root(struct mount *mp, int flags, struct vnode **vpp) argument
350 smbfs_quotactl(struct mount *mp, int cmd, uid_t uid, void *arg, bool *mp_busy) argument
380 smbfs_statfs(struct mount *mp, struct statfs *sbp) argument
[all...]
/freebsd-current/sys/cddl/contrib/opensolaris/uts/common/ctf/
H A Dctf_mod.c120 ctf_modopen(struct module *mp, int *error) argument
132 ctfsect.cts_data = mp->ctfdata;
133 ctfsect.cts_size = mp->ctfsize;
140 symsect.cts_data = mp->symtbl;
141 symsect.cts_size = mp->symhdr->sh_size;
152 strsect.cts_data = mp->strings;
153 strsect.cts_size = mp->strhdr->sh_size;
162 if (!ctf_leave_compressed && (caddr_t)fp->ctf_base != mp->ctfdata) {
171 kobj_set_ctf(mp, (caddr_t)fp->ctf_base, fp->ctf_size);
/freebsd-current/sys/netinet6/
H A Droute6.c60 route6_input(struct mbuf **mp, int *offp, int proto) argument
70 m = *mp;
88 *mp = NULL;
109 *mp = NULL;
114 *mp = m;
/freebsd-current/sys/sys/
H A Dmount.h206 struct mount *mp; /* (c) mount object for upper FS */ member in struct:mount_upper_node
278 struct vnode *__mnt_vnode_next_all(struct vnode **mvp, struct mount *mp);
279 struct vnode *__mnt_vnode_first_all(struct vnode **mvp, struct mount *mp);
280 void __mnt_vnode_markerfree_all(struct vnode **mvp, struct mount *mp);
282 #define MNT_VNODE_FOREACH_ALL(vp, mp, mvp) \
283 for (vp = __mnt_vnode_first_all(&(mvp), (mp)); \
284 (vp) != NULL; vp = __mnt_vnode_next_all(&(mvp), (mp)))
286 #define MNT_VNODE_FOREACH_ALL_ABORT(mp, mvp) \
288 MNT_ILOCK(mp); \
289 __mnt_vnode_markerfree_all(&(mvp), (mp)); \
522 MNT_SHARED_WRITES(struct mount *mp) argument
529 MNT_EXTENDED_SHARED(struct mount *mp) argument
[all...]
/freebsd-current/usr.bin/showmount/
H A Dshowmount.c261 register struct mountlist *mp; local
272 mp = (struct mountlist *)malloc(sizeof(struct mountlist));
273 if (mp == NULL)
275 mp->ml_left = mp->ml_right = (struct mountlist *)0;
276 strp = mp->ml_host;
278 free(mp);
281 strp = mp->ml_dirp;
283 free(mp);
292 *mlp = mp;
394 print_dump(struct mountlist *mp) argument
[all...]
/freebsd-current/lib/libthr/thread/
H A Dthr_cond.c204 cond_wait_kernel(struct pthread_cond *cvp, struct pthread_mutex *mp, argument
211 robust = _mutex_enter_robust(curthread, mp);
213 error = _mutex_cv_detach(mp, &recurse);
216 _mutex_leave_robust(curthread, mp);
222 error = _thr_ucond_wait(&cvp->kcond, &mp->m_lock, abstime,
232 error2 = _mutex_cv_lock(mp, recurse, true);
234 error2 = _mutex_cv_lock(mp, recurse, true);
243 _mutex_leave_robust(curthread, mp);
253 _mutex_cv_attach(mp, recurse);
256 _mutex_leave_robust(curthread, mp);
276 cond_wait_user(struct pthread_cond *cvp, struct pthread_mutex *mp, const struct timespec *abstime, int cancel) argument
357 struct pthread_mutex *mp; local
427 struct pthread_mutex *mp; local
485 struct pthread_mutex *mp; local
[all...]

Completed in 294 milliseconds

1234567891011>>