Searched refs:mp (Results 226 - 250 of 576) sorted by relevance

1234567891011>>

/freebsd-current/sys/fs/fdescfs/
H A Dfdesc_vnops.c139 fdesc_allocvp(fdntype ftype, unsigned fd_fd, int ix, struct mount *mp, argument
156 fmp = mp->mnt_data;
163 if (fd->fd_ix == ix && fd->fd_vnode->v_mount == mp) {
178 error = getnewvnode("fdescfs", mp, &fdesc_vnodeops, &vp);
195 error = insmntque1(vp, mp);
209 fmp = mp->mnt_data;
219 if (fd2->fd_ix == ix && fd2->fd_vnode->v_mount == mp) {
254 fdesc_get_ino_alloc(struct mount *mp, void *arg, int lkflags, argument
263 fdm = VFSTOFDESC(mp);
270 error = fdesc_allocvp(a->ftype, a->fd_fd, a->ix, mp, rv
481 struct mount *mp; local
[all...]
/freebsd-current/sys/geom/
H A Dgeom_ctl.c464 gctl_get_geom(struct gctl_req *req, struct g_class *mp, char const *arg) argument
469 MPASS(mp != NULL);
475 LIST_FOREACH(gp, &mp->geom, geom)
501 g_ctl_getxml(struct gctl_req *req, struct g_class *mp) argument
515 LIST_FOREACH(gp, &mp->geom, geom) {
526 LIST_FOREACH(gp, &mp->geom, geom) {
559 struct g_class *mp; local
565 mp = gctl_get_class(req, "class");
566 if (mp == NULL)
574 g_ctl_getxml(req, mp);
[all...]
/freebsd-current/sys/fs/smbfs/
H A Dsmbfs_node.c101 smbfs_node_alloc(struct mount *mp, struct vnode *dvp, const char *dirnm, argument
107 struct smbmount *smp = VFSTOSMBFS(mp);
138 error = vfs_hash_get(mp, smbfs_hash(name, nmlen), LK_EXCLUSIVE, td,
171 error = getnewvnode("smbfs", mp, &smbfs_vnodeops, vpp);
197 np->n_mount = VFSTOSMBFS(mp);
213 error = insmntque(vp, mp);
229 smbfs_nget(struct mount *mp, struct vnode *dvp, const char *name, int nmlen, argument
240 error = smbfs_node_alloc(mp, dvp, dnp->n_rpath, dnp->n_rplen,
243 error = smbfs_node_alloc(mp, NULL, "\\", 1, name, nmlen,
/freebsd-current/usr.sbin/mlxcontrol/
H A Dcommand.c650 struct mlx_pause mp; local
656 mp.mp_which = 0;
657 mp.mp_when = 30;
658 mp.mp_howlong = 30;
667 mp.mp_when = strtol(optarg, &cp, 0);
672 mp.mp_howlong = strtol(optarg, &cp, 0);
694 mp.mp_which = cancel ? MLX_PAUSE_CANCEL : MLX_PAUSE_ALL;
702 mp.mp_which |= (1 << ch);
706 if ((ioctl(fd, MLX_PAUSE_CHANNEL, &mp)) < 0)
/freebsd-current/usr.bin/mail/
H A Dsend.c49 sendmessage(struct message *mp, FILE *obuf, struct ignoretab *doign, argument
68 ibuf = setinput(mp);
69 count = mp->m_size;
96 statusput(mp, obuf, prefix);
125 statusput(mp, obuf, prefix);
148 statusput(mp, obuf, prefix);
221 statusput(struct message *mp, FILE *obuf, char *prefix) argument
226 if (mp->m_flag & MREAD)
228 if ((mp->m_flag & MNEW) == 0)
H A Dfio.c199 setinput(struct message *mp) argument
204 positionof(mp->m_block, mp->m_offset), SEEK_SET) < 0)
244 append(struct message *mp, FILE *f) argument
246 return (fwrite((char *)mp, sizeof(*mp), 1, f) != 1);
/freebsd-current/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c104 static int qlnx_transmit(if_t ifp, struct mbuf *mp);
106 struct mbuf *mp);
2873 struct mbuf *mp; local
2881 mp = txq->sw_tx_ring[idx].mp;
2884 if ((mp == NULL) || QL_ERR_INJECT(ha, QL_ERR_INJCT_TX_INT_MBUF_NULL)){
2887 QL_DPRINT1(ha, "(mp == NULL) "
2909 QLNX_INC_OBYTES((ha->ifp), (mp->m_pkthdr.len));
2917 m_freem(mp);
2930 txq->sw_tx_ring[idx].mp
2988 qlnx_transmit_locked(if_t ifp, struct qlnx_fastpath *fp, struct mbuf *mp) argument
3039 qlnx_transmit(if_t ifp, struct mbuf *mp) argument
3093 struct mbuf *mp; local
3136 qlnx_tcp_offset(qlnx_host_t *ha, struct mbuf *mp) argument
3851 struct mbuf *mp, *mpf, *mpl; local
3926 struct mbuf *mp; local
4238 struct mbuf *mp; local
4354 struct mbuf *mp; local
4550 register struct mbuf *mp; local
6021 register struct mbuf *mp; local
6075 struct mbuf *mp; local
6283 struct mbuf *mp; local
[all...]
/freebsd-current/contrib/lua/src/
H A Dltable.c666 Node *mp; local
682 mp = mainpositionTV(t, key);
683 if (!isempty(gval(mp)) || isdummy(t)) { /* main position is taken? */
693 othern = mainpositionfromnode(t, mp);
694 if (othern != mp) { /* is colliding node out of its main position? */
696 while (othern + gnext(othern) != mp) /* find previous */
699 *f = *mp; /* copy colliding node into free pos. (mp->next also goes) */
700 if (gnext(mp) != 0) {
701 gnext(f) += cast_int(mp
[all...]
/freebsd-current/sys/fs/pseudofs/
H A Dpseudofs_vncache.c116 pfs_vncache_alloc(struct mount *mp, struct vnode **vpp, argument
135 pvd->pvd_vnode->v_mount == mp) {
161 error = getnewvnode("pseudofs", mp, &pfs_vnodeops, vpp);
202 error = insmntque(*vpp, mp);
218 pvd2->pvd_vnode->v_mount == mp) {
/freebsd-current/sys/ufs/ffs/
H A Dffs_extern.h86 int ffs_own_mount(const struct mount *mp);
102 int ffs_snapshot(struct mount *mp, char *snapfile);
103 void ffs_snapshot_mount(struct mount *mp);
104 void ffs_snapshot_unmount(struct mount *mp);
117 void process_deferred_inactive(struct mount *mp);
/freebsd-current/libexec/rbootd/
H A Dbpf.c210 struct ifreq ibuf[8], *ifrp, *ifend, *mp; local
236 mp = NULL;
261 mp = ifrp;
266 if (mp == NULL) {
271 (void) strcpy(device, mp->ifr_name);
/freebsd-current/sys/kgssapi/krb5/
H A Dkrb5_mech.c555 krb5_make_token(char tok_id[2], size_t hlen, size_t len, struct mbuf **mp) argument
618 *mp = m;
644 krb5_verify_token(char tok_id[2], size_t len, struct mbuf **mp, argument
652 m = *mp;
663 *mp = m = m_pullup(m, 2);
685 *mp = m = m_pullup(m, len_len + 1);
730 *mp = m = m_pullup(m, hlen);
1250 struct mbuf **mp, int *conf_state,
1263 m = *mp;
1392 *mp
1249 krb5_wrap_old(struct krb5_context *kc, int conf_req_flag, struct mbuf **mp, int *conf_state, uint8_t sgn_alg[2], uint8_t seal_alg[2]) argument
1397 krb5_wrap_new(struct krb5_context *kc, int conf_req_flag, struct mbuf **mp, int *conf_state) argument
1544 krb5_wrap(gss_ctx_id_t ctx, OM_uint32 *minor_status, int conf_req_flag, gss_qop_t qop_req, struct mbuf **mp, int *conf_state) argument
1600 krb5_unwrap_old(struct krb5_context *kc, struct mbuf **mp, int *conf_state, uint8_t sgn_alg[2], uint8_t seal_alg[2]) argument
1775 krb5_unwrap_new(struct krb5_context *kc, struct mbuf **mp, int *conf_state) argument
1972 krb5_unwrap(gss_ctx_id_t ctx, OM_uint32 *minor_status, struct mbuf **mp, int *conf_state, gss_qop_t *qop_state) argument
[all...]
/freebsd-current/sys/geom/journal/
H A Dg_journal.c239 static void g_journal_start_switcher(struct g_class *mp);
2200 g_journal_create(struct g_class *mp, struct g_provider *pp, argument
2217 LIST_FOREACH(gp, &mp->geom, geom) {
2251 gp = g_new_geomf(mp, "gjournal %u", sc->sc_id);
2349 g_journal_start_switcher(mp);
2467 g_journal_taste(struct g_class *mp, struct g_provider *pp, int flags __unused) argument
2475 g_trace(G_T_TOPOLOGY, "%s(%s, %s)", __func__, mp->name, pp->name);
2477 if (pp->geom->class == mp)
2480 gp = g_new_geomf(mp, "journal:taste");
2504 gp = g_journal_create(mp, p
2509 g_journal_find_device(struct g_class *mp, const char *name) argument
2535 g_journal_ctl_destroy(struct gctl_req *req, struct g_class *mp) argument
2590 g_journal_config(struct gctl_req *req, struct g_class *mp, const char *verb) argument
2661 struct g_class *mp; local
2687 struct g_class *mp; local
2729 g_journal_init(struct g_class *mp) argument
2753 g_journal_fini(struct g_class *mp) argument
2826 struct mount *mp; local
2964 g_journal_start_switcher(struct g_class *mp) argument
2995 struct g_class *mp; local
[all...]
/freebsd-current/contrib/nvi/common/
H A Dmark.c106 mark_get(SCR *sp, ARG_CHAR_T key, MARK *mp, mtype_t mtype) argument
135 mp->lno = lmp->lno;
136 mp->cno = lmp->cno;
/freebsd-current/lib/libgeom/
H A Dgeom_util.c219 struct gclass *mp; local
233 LIST_FOREACH(mp, &mesh.lg_class, lg_class) {
234 LIST_FOREACH(gp, &mp->lg_geom, lg_geom) {
/freebsd-current/sys/fs/autofs/
H A Dautofs_vnops.c74 struct mount *mp; local
80 mp = vp->v_mount;
111 vap->va_fsid = mp->mnt_stat.f_fsid.val[0];
199 autofs_vget_callback(struct mount *mp, void *arg, int flags, argument
203 return (autofs_node_vn(arg, mp, flags, vpp));
210 struct mount *mp; local
218 mp = dvp->v_mount;
219 amp = VFSTOAUTOFS(mp);
229 * tricky unlock/relock dance to prevent mp from being freed;
284 error = autofs_node_vn(child, mp, cn
643 autofs_node_vn(struct autofs_node *anp, struct mount *mp, int flags, struct vnode **vpp) argument
[all...]
/freebsd-current/contrib/ntp/ntpd/
H A Drefclock_tt560.c163 tt_mem_space_t *mp; local
174 mp = up->tt_mem;
178 tt_mem_t = (unsigned int *)&mp->time_freeze_reg;
/freebsd-current/sys/contrib/openzfs/contrib/coverity/
H A Dmodel.c523 mutex_enter(kmutex_t *mp) argument
528 __coverity_exclusive_lock_acquire__(mp);
532 mutex_tryenter(kmutex_t *mp) argument
535 __coverity_exclusive_lock_acquire__(mp);
543 mutex_exit(kmutex_t *mp) argument
545 __coverity_exclusive_lock_release__(mp);
/freebsd-current/sys/netinet/
H A Dip_encap.c367 encap4_input(struct mbuf **mp, int *offp, int proto) argument
370 if (encap_input(&ipv4_encaptab, *mp, *offp, proto) != IPPROTO_DONE)
371 return (rip_input(mp, offp, proto));
406 encap6_input(struct mbuf **mp, int *offp, int proto) argument
409 if (encap_input(&ipv6_encaptab, *mp, *offp, proto) != IPPROTO_DONE)
410 return (rip6_input(mp, offp, proto));
/freebsd-current/sys/fs/nfsclient/
H A Dnfs_clnode.c284 struct mount *mp; local
287 mp = vp->v_mount;
315 MNT_ILOCK(mp);
316 if ((mp->mnt_kern_flag & MNTK_UNMOUNTF) == 0) {
317 MNT_IUNLOCK(mp);
320 MNT_IUNLOCK(mp);
/freebsd-current/contrib/netbsd-tests/fs/nullfs/
H A Dt_basic.c62 mountnull(const char *what, const char *mp, int flags) argument
68 if (rump_sys_mount(MOUNT_NULL, mp, flags, &nargs, sizeof(nargs)) == -1)
143 * /mp = /usr/pkgsrc
144 * /mp/dist = /usr/pkgsrc/distfiles -- "created" by first null mount
157 if (rump_sys_mkdir("/mp", 0777) == -1)
161 mountnull("/td", "/mp", MNT_RDONLY);
162 mountnull("/td/dist", "/mp/dist", 0);
/freebsd-current/crypto/openssh/
H A Daddr.c461 char addrbuf[64], *mp, *cp; local
467 if ((mp = strchr(addrbuf, '/')) != NULL) {
468 *mp = '\0';
469 mp++;
470 masklen = strtoul(mp, &cp, 10);
471 if (*mp < '0' || *mp > '9' || *cp != '\0' || masklen > 128)
478 if (mp == NULL)
/freebsd-current/usr.sbin/ppp/
H A Dncp.h55 struct mp mp; /* Our MP */ member in struct:ncp
/freebsd-current/sys/geom/shsec/
H A Dg_shsec.c51 static int g_shsec_destroy_geom(struct gctl_req *req, struct g_class *mp,
111 g_shsec_init(struct g_class *mp __unused)
123 g_shsec_fini(struct g_class *mp __unused)
525 g_shsec_create(struct g_class *mp, const struct g_shsec_metadata *md) argument
540 LIST_FOREACH(gp, &mp->geom, geom) {
548 gp = g_new_geomf(mp, "%s", md->md_name);
619 g_shsec_destroy_geom(struct gctl_req *req __unused, struct g_class *mp __unused,
629 g_shsec_taste(struct g_class *mp, struct g_provider *pp, int flags __unused) argument
637 g_trace(G_T_TOPOLOGY, "%s(%s, %s)", __func__, mp->name, pp->name);
646 gp = g_new_geomf(mp, "shse
725 g_shsec_find_device(struct g_class *mp, const char *name) argument
741 g_shsec_ctl_destroy(struct gctl_req *req, struct g_class *mp) argument
788 g_shsec_config(struct gctl_req *req, struct g_class *mp, const char *verb) argument
[all...]
/freebsd-current/contrib/libarchive/libarchive/test/
H A Dtest_archive_match_path.c227 const char *mp; local
264 archive_match_path_unmatched_inclusions_next(m, &mp));
276 const char *mp; local
313 archive_match_path_unmatched_inclusions_next(m, &mp));
375 const char *mp; local
415 archive_match_path_unmatched_inclusions_next(m, &mp));
416 assertEqualString("^a1*", mp);
418 archive_match_path_unmatched_inclusions_next(m, &mp));

Completed in 179 milliseconds

1234567891011>>