Searched refs:mp (Results 201 - 225 of 592) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/fs/fuse/
H A Dfuse_internal.h70 vfs_isrdonly(struct mount *mp) argument
72 return ((mp->mnt_flag & MNT_RDONLY) != 0 ? 1 : 0);
203 fuse_internal_attr_fat2vat(struct mount *mp, argument
212 vap->va_fsid = mp->mnt_stat.f_fsid.val[0];
336 fuse_internal_newentry_makerequest(struct mount *mp,
357 fuse_internal_forget_send(struct mount *mp,
/freebsd-11-stable/sys/dev/malo/
H A Dif_malo_pci.c134 struct malo_product *mp; local
140 mp = malo_products;
142 for (i = 0; i < nitems(malo_products); i++, mp++) {
143 if (vendor == mp->mp_vendorid && devid == mp->mp_deviceid) {
144 device_set_desc(dev, mp->mp_name);
/freebsd-11-stable/sys/fs/pseudofs/
H A Dpseudofs.h243 int pfs_mount (struct pfs_info *pi, struct mount *mp);
245 int pfs_unmount (struct mount *mp, int mntflags);
246 int pfs_root (struct mount *mp, int flags,
248 int pfs_statfs (struct mount *mp, struct statfs *sbp);
282 _##name##_mount(struct mount *mp) { \
285 return (pfs_mount(&name##_info, mp)); \
/freebsd-11-stable/sys/net/
H A Dif_bridge.c333 static int bridge_ip_checkbasic(struct mbuf **mp);
335 static int bridge_ip6_checkbasic(struct mbuf **mp);
337 static int bridge_fragment(struct ifnet *, struct mbuf **mp,
3102 bridge_pfil(struct mbuf **mp, struct ifnet *bifp, struct ifnet *ifp, int dir) argument
3115 KASSERT(M_WRITABLE(*mp), ("%s: modifying a shared mbuf", __func__));
3121 i = min((*mp)->m_pkthdr.len, max_protohdr);
3122 if ((*mp)->m_len < i) {
3123 *mp = m_pullup(*mp, i);
3124 if (*mp
3355 bridge_ip_checkbasic(struct mbuf **mp) argument
3450 bridge_ip6_checkbasic(struct mbuf **mp) argument
3503 bridge_fragment(struct ifnet *ifp, struct mbuf **mp, struct ether_header *eh, int snap, struct llc *llc) argument
[all...]
H A Dif_enc.c256 enc_bpftap(ifp, *ctx->mp, ctx->sav, hhook_type, ctx->enc, ctx->af);
263 (*ctx->mp)->m_pkthdr.len);
274 (*ctx->mp)->m_pkthdr.len);
301 rcvif = (*ctx->mp)->m_pkthdr.rcvif;
302 (*ctx->mp)->m_pkthdr.rcvif = ifp;
303 if (pfil_run_hooks(ph, ctx->mp, ifp, pdir, 0, ctx->inp) != 0 ||
304 *ctx->mp == NULL) {
305 *ctx->mp = NULL; /* consumed by filter */
308 (*ctx->mp)->m_pkthdr.rcvif = rcvif;
309 enc_bpftap(ifp, *ctx->mp, ct
[all...]
/freebsd-11-stable/sys/geom/sched/
H A Dg_sched.c131 struct g_class *mp, struct g_geom *gp);
132 static void g_sched_config(struct gctl_req *req, struct g_class *mp,
134 static struct g_geom *g_sched_taste(struct g_class *mp,
138 static void g_sched_init(struct g_class *mp);
139 static void g_sched_fini(struct g_class *mp);
976 g_sched_create(struct gctl_req *req, struct g_class *mp, argument
989 LIST_FOREACH(gp, &mp->geom, geom) {
997 gp = g_new_geomf(mp, "%s", name);
1073 g_sched_change_algo(struct gctl_req *req, struct g_class *mp, argument
1346 g_sched_destroy_geom(struct gctl_req *req, struct g_class *mp, argument
1395 g_sched_init(struct g_class *mp) argument
1408 g_sched_fini(struct g_class *mp) argument
1482 g_sched_taste(struct g_class *mp, struct g_provider *pp, int flags __unused) argument
1537 g_sched_ctl_create(struct gctl_req *req, struct g_class *mp, int proxy) argument
1582 g_sched_ctl_configure(struct gctl_req *req, struct g_class *mp) argument
1627 g_sched_find_geom(struct g_class *mp, const char *name) argument
1639 g_sched_ctl_destroy(struct gctl_req *req, struct g_class *mp) argument
1677 g_sched_config(struct gctl_req *req, struct g_class *mp, const char *verb) argument
[all...]
/freebsd-11-stable/contrib/nvi/common/
H A Dmsg.c62 char *bp, *mp; local
133 * mp: pointer to the current next character to be written
138 mp = bp;
144 memcpy(mp, p, len);
145 mp += len;
160 len = snprintf(mp, REM, "%s", KEY_NAME(sp, *wp));
161 mp += len;
165 len = snprintf(mp, REM, ", %d: ", gp->if_lno);
166 mp += len;
278 len = vsnprintf(mp, RE
[all...]
/freebsd-11-stable/sys/fs/nullfs/
H A Dnull_vnops.c364 struct mount *mp; local
367 mp = dvp->v_mount;
368 if ((flags & ISLASTCN) != 0 && (mp->mnt_flag & MNT_RDONLY) != 0 &&
417 (mp->mnt_flag & MNT_RDONLY) != 0 &&
427 error = null_nodeget(mp, lvp, &vp);
752 struct mount *mp; local
758 mp = vp->v_mount;
759 xmp = MOUNTTONULLMOUNT(mp);
871 struct mount *mp; local
877 mp
[all...]
/freebsd-11-stable/sys/geom/cache/
H A Dg_cache.c454 g_cache_find_device(struct g_class *mp, const char *name) argument
458 LIST_FOREACH(gp, &mp->geom, geom) {
466 g_cache_create(struct g_class *mp, struct g_provider *pp, argument
500 if (g_cache_find_device(mp, (const char *)&md->md_name) != NULL) {
505 gp = g_new_geomf(mp, "%s", md->md_name);
595 g_cache_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) argument
654 g_cache_taste(struct g_class *mp, struct g_provider *pp, int flags __unused) argument
661 g_trace(G_T_TOPOLOGY, "%s(%s, %s)", __func__, mp->name, pp->name);
666 gp = g_new_geomf(mp, "cache:taste");
689 gp = g_cache_create(mp, p
698 g_cache_ctl_create(struct gctl_req *req, struct g_class *mp) argument
774 g_cache_ctl_configure(struct gctl_req *req, struct g_class *mp) argument
854 g_cache_ctl_destroy(struct gctl_req *req, struct g_class *mp) argument
901 g_cache_ctl_reset(struct gctl_req *req, struct g_class *mp) argument
946 g_cache_config(struct gctl_req *req, struct g_class *mp, const char *verb) argument
[all...]
/freebsd-11-stable/sys/geom/
H A Dgeom_ctl.c401 struct g_class *mp; local
407 LIST_FOREACH(mp, &g_classes, class) {
408 if (mpr != NULL && mpr != mp)
410 LIST_FOREACH(gp, &mp->geom, geom) {
438 struct g_class *mp; local
444 mp = gctl_get_class(req, "class");
445 if (mp == NULL) {
449 if (mp->ctlreq == NULL) {
458 mp->ctlreq(req, mp, ver
[all...]
H A Dgeom_map.c214 g_map_parse_part(struct g_class *mp, struct g_provider *pp, argument
353 g_map_taste(struct g_class *mp, struct g_provider *pp, int insist __unused) argument
360 g_trace(G_T_TOPOLOGY, "map_taste(%s,%s)", mp->name, pp->name);
365 gp = g_slice_new(mp, MAP_MAXSLICE, pp, &cp, &sc, sizeof(*sc),
375 g_map_parse_part(mp, pp, cp, gp, sc, i);
389 g_map_config(struct gctl_req *req, struct g_class *mp, const char *verb) argument
394 gp = gctl_get_geom(req, mp, "geom");
/freebsd-11-stable/sys/kern/
H A Dvfs_extattr.c70 struct mount *mp, *mp_writable; local
88 mp = NULL;
106 mp = nd.ni_vp->v_mount;
107 error = vfs_busy(mp, 0);
110 mp = NULL;
131 error = VFS_EXTATTRCTL(mp, uap->cmd, filename_vp, uap->attrnamespace,
136 if (mp != NULL)
137 vfs_unbusy(mp);
162 struct mount *mp; local
171 error = vn_start_write(vp, &mp, V_WAI
500 struct mount *mp; local
[all...]
/freebsd-11-stable/contrib/smbfs/lib/smb/
H A Dmbuf.c176 struct mbuf *m, *mp; local
179 for (mp = top; ; mp = mp->m_next) {
180 len -= M_TRAILINGSPACE(mp);
181 if (mp->m_next == NULL)
188 mp->m_next = m;
/freebsd-11-stable/sys/rpc/rpcsec_gss/
H A Drpcsec_gss_prot.c105 put_uint32(struct mbuf **mp, uint32_t v) argument
107 struct mbuf *m = *mp;
113 *mp = m;
187 get_uint32(struct mbuf **mp) argument
189 struct mbuf *m = *mp;
195 *mp = NULL;
201 *mp = m;
/freebsd-11-stable/crypto/openssh/
H A Daddrmatch.c317 char addrbuf[64], *mp, *cp; local
323 if ((mp = strchr(addrbuf, '/')) != NULL) {
324 *mp = '\0';
325 mp++;
326 masklen = strtoul(mp, &cp, 10);
327 if (*mp == '\0' || *cp != '\0' || masklen > 128)
334 if (mp == NULL)
/freebsd-11-stable/cddl/contrib/opensolaris/common/ctf/
H A Dctf_types.c79 const ctf_member_t *mp = (const ctf_member_t *) local
82 for (n = LCTF_INFO_VLEN(fp, tp->ctt_info); n != 0; n--, mp++) {
83 const char *name = ctf_strptr(fp, mp->ctm_name);
84 if ((rc = func(name, mp->ctm_type, mp->ctm_offset,
430 const ctf_member_t *mp = vmp; local
431 for (; n != 0; n--, mp++) {
432 ssize_t am = ctf_type_align(fp, mp->ctm_type);
669 const ctf_member_t *mp = (const ctf_member_t *) local
672 for (n = LCTF_INFO_VLEN(fp, tp->ctt_info); n != 0; n--, mp
853 const ctf_member_t *mp = (const ctf_member_t *) local
[all...]
/freebsd-11-stable/sys/netpfil/ipfw/nptv6/
H A Dnptv6.c72 static int nptv6_rewrite_internal(struct nptv6_cfg *cfg, struct mbuf **mp,
74 static int nptv6_rewrite_external(struct nptv6_cfg *cfg, struct mbuf **mp,
136 nptv6_translate_icmpv6(struct nptv6_cfg *cfg, struct mbuf **mp, int offset) argument
142 m = *mp;
169 *mp = m = m_pullup(m, offset + sizeof(*ip6));
179 return (nptv6_rewrite_external(cfg, mp, offset));
182 return (nptv6_rewrite_internal(cfg, mp, offset));
227 nptv6_rewrite_internal(struct nptv6_cfg *cfg, struct mbuf **mp, int offset) argument
234 ip6 = mtodo(*mp, offset);
258 icmp6_error2(*mp, ICMP6_DST_UNREAC
285 nptv6_rewrite_external(struct nptv6_cfg *cfg, struct mbuf **mp, int offset) argument
[all...]
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_mutex.c554 struct pthread_mutex *mp, *mn; local
560 mp = m->m_rb_prev;
561 if (mp == NULL) {
569 mp->m_lock.m_rb_lnk = m->m_lock.m_rb_lnk;
771 struct pthread_mutex *mp; local
774 mp = __thr_pshared_offpage(mutex, 0);
775 if (mp == NULL)
777 shared_mutex_init(mp, NULL);
779 mp = *mutex;
781 return (mutex_unlock_common(mp, fals
820 _mutex_cv_detach(struct pthread_mutex *mp, int *recurse) argument
1158 _mutex_owned(struct pthread *curthread, const struct pthread_mutex *mp) argument
[all...]
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c103 static int qlnx_transmit(struct ifnet *ifp, struct mbuf *mp);
105 struct mbuf *mp);
2966 struct mbuf *mp; local
2974 mp = txq->sw_tx_ring[idx].mp;
2977 if ((mp == NULL) || QL_ERR_INJECT(ha, QL_ERR_INJCT_TX_INT_MBUF_NULL)){
2981 QL_DPRINT1(ha, "(mp == NULL) "
3004 QLNX_INC_OBYTES((ha->ifp), (mp->m_pkthdr.len));
3012 m_freem(mp);
3025 txq->sw_tx_ring[idx].mp
3089 qlnx_transmit_locked(struct ifnet *ifp,struct qlnx_fastpath *fp, struct mbuf *mp) argument
3144 qlnx_transmit(struct ifnet *ifp, struct mbuf *mp) argument
3203 struct mbuf *mp; local
3250 qlnx_tcp_offset(qlnx_host_t *ha, struct mbuf *mp) argument
3987 struct mbuf *mp, *mpf, *mpl; local
4064 struct mbuf *mp; local
4395 struct mbuf *mp; local
4519 struct mbuf *mp; local
4726 register struct mbuf *mp; local
6257 register struct mbuf *mp; local
6314 struct mbuf *mp; local
6534 struct mbuf *mp; local
[all...]
/freebsd-11-stable/sys/dev/qlxgb/
H A Dqla_hw.c714 qla_tx_tso(qla_host_t *ha, struct mbuf *mp, q80_tx_cmd_t *tx_cmd, uint8_t *hdr) argument
726 eh = mtod(mp, struct ether_vlan_header *);
742 if (mp->m_len < tcp_opt_off) {
743 m_copydata(mp, 0, tcp_opt_off, hdr);
746 ip = (struct ip *)(mp->m_data + ehdrlen);
774 if (mp->m_len < hdrlen) {
775 if (mp->m_len < tcp_opt_off) {
777 m_copydata(mp, tcp_opt_off,
782 m_copydata(mp, 0, hdrlen, hdr);
786 if ((mp
836 qla_tx_chksum(qla_host_t *ha, struct mbuf *mp, q80_tx_cmd_t *tx_cmd) argument
926 qla_hw_send(qla_host_t *ha, bus_dma_segment_t *segs, int nsegs, uint32_t *tx_idx, struct mbuf *mp) argument
[all...]
/freebsd-11-stable/contrib/gcc/config/arm/
H A Darm.c7407 move_minipool_fix_forward_ref (Mnode *mp, Mnode *max_mp,
7411 gcc_assert (mp != max_mp);
7415 if (max_address < mp->max_address)
7416 mp->max_address = max_address;
7420 if (max_address > max_mp->max_address - mp->fix_size)
7421 mp->max_address = max_mp->max_address - mp->fix_size;
7423 mp->max_address = max_address;
7426 mp->prev must be non-null. */
7427 mp
7393 move_minipool_fix_forward_ref(Mnode *mp, Mnode *max_mp, HOST_WIDE_INT max_address) argument
7454 Mnode * mp; local
7564 move_minipool_fix_backward_ref(Mnode *mp, Mnode *min_mp, HOST_WIDE_INT min_address) argument
7631 Mnode *mp; local
7771 Mnode *mp; local
7788 Mnode * mp; local
[all...]
/freebsd-11-stable/usr.sbin/rpc.lockd/
H A Dkern.c572 show(LOCKD_MSG *mp) argument
580 syslog(LOG_DEBUG, "process ID: %lu\n", (long)mp->lm_msg_ident.pid);
582 fsidp = (fsid_t *)&mp->lm_fh;
583 fidp = (struct fid *)((u_int8_t *)&mp->lm_fh + sizeof(fsid_t));
585 for (t = buf, p = (u_int8_t *)mp->lm_fh,
586 len = mp->lm_fh_len;
594 syslog(LOG_DEBUG, "fh_len %d, fh %s\n", (int)mp->lm_fh_len, buf);
598 (unsigned long long)mp->lm_fl.l_start,
599 (unsigned long long)mp->lm_fl.l_len, (u_long)mp
[all...]
/freebsd-11-stable/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);
228 smbfs_nget(struct mount *mp, struct vnode *dvp, const char *name, int nmlen, argument
239 error = smbfs_node_alloc(mp, dvp, dnp->n_rpath, dnp->n_rplen,
242 error = smbfs_node_alloc(mp, NULL, "\\", 1, name, nmlen,
/freebsd-11-stable/usr.sbin/mlxcontrol/
H A Dcommand.c652 struct mlx_pause mp; local
658 mp.mp_which = 0;
659 mp.mp_when = 30;
660 mp.mp_howlong = 30;
669 mp.mp_when = strtol(optarg, &cp, 0);
674 mp.mp_howlong = strtol(optarg, &cp, 0);
696 mp.mp_which = cancel ? MLX_PAUSE_CANCEL : MLX_PAUSE_ALL;
704 mp.mp_which |= (1 << ch);
708 if ((ioctl(fd, MLX_PAUSE_CHANNEL, &mp)) < 0)
/freebsd-11-stable/usr.bin/mail/
H A Dsend.c55 sendmessage(struct message *mp, FILE *obuf, struct ignoretab *doign, argument
74 ibuf = setinput(mp);
75 count = mp->m_size;
102 statusput(mp, obuf, prefix);
131 statusput(mp, obuf, prefix);
154 statusput(mp, obuf, prefix);
227 statusput(struct message *mp, FILE *obuf, char *prefix) argument
232 if (mp->m_flag & MREAD)
234 if ((mp->m_flag & MNEW) == 0)

Completed in 471 milliseconds

1234567891011>>