Home
last modified time | relevance | path

Searched refs:mflags (Results 1 – 25 of 43) sorted by relevance

12

/freebsd-10-stable/sys/mips/nlm/
Dcms.c179 uint32_t mflags, status; in xlp_handle_msg_vc() local
186 mflags = nlm_save_flags_cop2(); in xlp_handle_msg_vc()
188 nlm_restore_flags(mflags); in xlp_handle_msg_vc()
199 mflags = nlm_save_flags_cop2(); in xlp_handle_msg_vc()
202 nlm_restore_flags(mflags); in xlp_handle_msg_vc()
239 uint32_t mflags, status; in xlp_discard_msg_vc() local
243 mflags = nlm_save_flags_cop2(); in xlp_discard_msg_vc()
246 nlm_restore_flags(mflags); in xlp_discard_msg_vc()
305 uint32_t mflags, msgstatus1; in msgring_process() local
326 mflags = nlm_save_flags_cop2(); in msgring_process()
[all …]
/freebsd-10-stable/sys/sys/
Dsglist.h85 struct sglist *sglist_alloc(int nsegs, int mflags);
94 struct sglist *sglist_build(void *buf, size_t len, int mflags);
95 struct sglist *sglist_clone(struct sglist *sg, int mflags);
102 size_t offset, size_t length, int mflags);
104 size_t length, int mflags);
Dtaskqueue.h69 struct taskqueue *taskqueue_create(const char *name, int mflags,
200 struct taskqueue *taskqueue_create_fast(const char *name, int mflags,
/freebsd-10-stable/contrib/ntp/ntpd/
Dntp_restrict.c145 res, as, ms, res->count, res->rflags, res->mflags, in dump_restrict()
357 && ( !(RESM_NTPONLY & res->mflags) in match_restrict4_addr()
387 && (!(RESM_NTPONLY & res->mflags) in match_restrict6_addr()
423 if (res->mflags == pmatch->mflags && in match_restrict_entry()
453 else if (r1->mflags > r2->mflags) in res_sorts_before4()
489 else if (r1->mflags > r2->mflags) in res_sorts_before6()
605 u_short mflags, in hack_restrict() argument
616 roptoa(op), stoa(resaddr), stoa(resmask), ippeerlimit, mflags, rflags)); in hack_restrict()
622 restrict_source_mflags = mflags; in hack_restrict()
661 match.mflags = mflags; in hack_restrict()
[all …]
Dntp_config.c2476 u_short mflags; in config_access() local
2605 mflags = 0; in config_access()
2615 mflags |= RESM_NTPONLY; in config_access()
2619 mflags |= RESM_SOURCE; in config_access()
2694 : (mflags & RESM_SOURCE) in config_access()
2710 if (!(RESM_SOURCE & mflags)) { in config_access()
2720 ippeerlimit, mflags, rflags)); in config_access()
2722 ippeerlimit, mflags, rflags, 0); in config_access()
2792 ippeerlimit, mflags, rflags, 0); in config_access()
2799 ippeerlimit, mflags, rflags, 0); in config_access()
[all …]
/freebsd-10-stable/sys/mips/rmi/
Dfmn.c197 unsigned long mflags; in xlr_msgring_handler() local
202 mflags = msgrng_access_enable(); in xlr_msgring_handler()
226 msgrng_restore(mflags); in xlr_msgring_handler()
229 mflags = msgrng_access_enable(); in xlr_msgring_handler()
237 msgrng_restore(mflags); in xlr_msgring_handler()
250 uint32_t config, mflags; in msgrng_setconfig() local
272 mflags = msgrng_access_enable(); in msgrng_setconfig()
278 msgrng_restore(mflags); in msgrng_setconfig()
293 uint32_t mflags; in msgring_process_fast_intr() local
308 mflags = msgrng_access_enable(); in msgring_process_fast_intr()
[all …]
/freebsd-10-stable/sys/net/
Dif_enc.c311 int mflags; in ipsec_bpf() local
330 mflags = 0; in ipsec_bpf()
339 mflags |= M_CONF; in ipsec_bpf()
341 mflags |= M_AUTH; in ipsec_bpf()
346 mflags |= M_CONF; in ipsec_bpf()
348 mflags |= M_AUTH; in ipsec_bpf()
361 hdr.flags = mflags; in ipsec_bpf()
Dif_epair.c472 short mflags; in epair_transmit_locked() local
511 mflags = m->m_flags; in epair_transmit_locked()
524 if (mflags & (M_BCAST|M_MCAST)) in epair_transmit_locked()
566 if (mflags & (M_BCAST|M_MCAST)) in epair_transmit_locked()
/freebsd-10-stable/contrib/tcpdump/
Dprint-decnet.c71 register int mflags; in decnet_print() local
95 mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags); in decnet_print()
97 if (mflags & RMF_PAD) { in decnet_print()
99 u_int padlen = mflags & RMF_PADMASK; in decnet_print()
111 mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags); in decnet_print()
114 if (mflags & RMF_FVER) { in decnet_print()
121 if (mflags & RMF_CTLMSG) { in decnet_print()
127 switch (mflags & RMF_MASK) { in decnet_print()
159 if (mflags & RMF_RQR) in decnet_print()
161 if (mflags & RMF_RTS) in decnet_print()
[all …]
/freebsd-10-stable/sys/kern/
Dsubr_sglist.c200 sglist_alloc(int nsegs, int mflags) in sglist_alloc() argument
205 M_SGLIST, mflags); in sglist_alloc()
468 sglist_build(void *buf, size_t len, int mflags) in sglist_build() argument
477 sg = sglist_alloc(nsegs, mflags); in sglist_build()
491 sglist_clone(struct sglist *sg, int mflags) in sglist_clone() argument
497 new = sglist_alloc(sg->sg_maxseg, mflags); in sglist_clone()
541 int mflags) in sglist_split() argument
574 sg = sglist_alloc(count, mflags); in sglist_split()
672 size_t length, int mflags) in sglist_slice() argument
724 sg = sglist_alloc(count, mflags); in sglist_slice()
Dsubr_taskqueue.c120 _taskqueue_create(const char *name __unused, int mflags, in _taskqueue_create() argument
126 queue = malloc(sizeof(struct taskqueue), M_TASKQUEUE, mflags | M_ZERO); in _taskqueue_create()
147 taskqueue_create(const char *name, int mflags, in taskqueue_create() argument
150 return _taskqueue_create(name, mflags, enqueue, context, in taskqueue_create()
681 taskqueue_create_fast(const char *name, int mflags, in taskqueue_create_fast() argument
684 return _taskqueue_create(name, mflags, enqueue, context, in taskqueue_create_fast()
Dsubr_kobj.c258 int mflags) in kobj_create() argument
265 obj = malloc(cls->size, mtype, mflags | M_ZERO); in kobj_create()
Dkern_conf.c539 int namelen, mflags; in notify() local
543 mflags = (flags & MAKEDEV_NOWAIT) ? M_NOWAIT : M_WAITOK; in notify()
545 data = malloc(namelen + sizeof(prefix), M_TEMP, mflags); in notify()
550 devctl_notify_f("DEVFS", "CDEV", ev, data, mflags); in notify()
1030 int mflags; in make_dev_physpath_alias() local
1058 mflags = (flags & MAKEDEV_NOWAIT) ? M_NOWAIT : M_WAITOK; in make_dev_physpath_alias()
1060 devfspath = malloc(devfspathbuf_len, M_DEVBUF, mflags); in make_dev_physpath_alias()
/freebsd-10-stable/sys/dev/ioat/
Dioat.c82 int mflags);
83 static int ioat_reserve_space(struct ioat_softc *, uint32_t, int mflags);
87 uint32_t size, boolean_t need_dscr, int mflags);
853 ioat_acquire_reserve(bus_dmaengine_t dmaengine, unsigned n, int mflags) in ioat_acquire_reserve() argument
861 error = ioat_reserve_space(ioat, n, mflags); in ioat_acquire_reserve()
886 int mflags; in ioat_op_generic() local
893 mflags = M_NOWAIT; in ioat_op_generic()
895 mflags = M_WAITOK; in ioat_op_generic()
903 if (ioat_reserve_space(ioat, 1, mflags) != 0) in ioat_op_generic()
1238 ioat_alloc_ring_entry(struct ioat_softc *ioat, int mflags) in ioat_alloc_ring_entry() argument
[all …]
Dioat.h145 int ioat_acquire_reserve(bus_dmaengine_t dmaengine, unsigned n, int mflags);
/freebsd-10-stable/sys/sparc64/sparc64/
Dbus_machdep.c513 int mflags; in nexus_dmamem_alloc() local
516 mflags = M_NOWAIT; in nexus_dmamem_alloc()
518 mflags = M_WAITOK; in nexus_dmamem_alloc()
520 mflags |= M_ZERO; in nexus_dmamem_alloc()
532 *vaddr = malloc(dmat->dt_maxsize, M_DEVBUF, mflags); in nexus_dmamem_alloc()
539 *vaddr = contigmalloc(dmat->dt_maxsize, M_DEVBUF, mflags, in nexus_dmamem_alloc()
Diommu.c752 int error, mflags; in iommu_dvmamem_alloc() local
762 mflags = M_NOWAIT; in iommu_dvmamem_alloc()
764 mflags = M_WAITOK; in iommu_dvmamem_alloc()
766 mflags |= M_ZERO; in iommu_dvmamem_alloc()
768 if ((*vaddr = malloc(dt->dt_maxsize, M_IOMMU, mflags)) == NULL) { in iommu_dvmamem_alloc()
/freebsd-10-stable/sys/ia64/ia64/
Dbusdma_machdep.c411 int mflags; in bus_dmamem_alloc() local
414 mflags = M_NOWAIT; in bus_dmamem_alloc()
416 mflags = M_WAITOK; in bus_dmamem_alloc()
424 mflags); in bus_dmamem_alloc()
429 mflags |= M_ZERO; in bus_dmamem_alloc()
442 *vaddr = malloc(dmat->maxsize, M_DEVBUF, mflags); in bus_dmamem_alloc()
450 *vaddr = contigmalloc(dmat->maxsize, M_DEVBUF, mflags, in bus_dmamem_alloc()
/freebsd-10-stable/sys/arm/arm/
Dbusdma_machdep.c692 int mflags; in bus_dmamem_alloc() local
696 mflags = M_NOWAIT; in bus_dmamem_alloc()
698 mflags = M_WAITOK; in bus_dmamem_alloc()
705 sizeof(*dmat->segments), M_DEVBUF, mflags); in bus_dmamem_alloc()
710 map = uma_zalloc_arg(dmamap_zone, dmat, mflags); in bus_dmamem_alloc()
727 mflags |= M_ZERO; in bus_dmamem_alloc()
751 vaddr = uma_zalloc(bufzone->umazone, mflags); in bus_dmamem_alloc()
757 mflags, 0, dmat->lowaddr, memattr); in bus_dmamem_alloc()
760 mflags, 0, dmat->lowaddr, dmat->alignment, dmat->boundary, in bus_dmamem_alloc()
Dbusdma_machdep-v6.c644 allocate_map(bus_dma_tag_t dmat, int mflags) in allocate_map() argument
659 map = malloc(mapsize + segsize, M_DEVBUF, mflags | M_ZERO); in allocate_map()
742 int mflags; in bus_dmamem_alloc() local
745 mflags = M_NOWAIT; in bus_dmamem_alloc()
747 mflags = M_WAITOK; in bus_dmamem_alloc()
749 mflags |= M_ZERO; in bus_dmamem_alloc()
751 *mapp = map = allocate_map(dmat, mflags); in bus_dmamem_alloc()
793 *vaddr = uma_zalloc(bufzone->umazone, mflags); in bus_dmamem_alloc()
799 mflags, 0, dmat->lowaddr, memattr); in bus_dmamem_alloc()
802 mflags, 0, dmat->lowaddr, dmat->alignment, dmat->boundary, in bus_dmamem_alloc()
/freebsd-10-stable/sys/x86/x86/
Dbusdma_bounce.c376 int mflags; in bounce_bus_dmamem_alloc() local
379 mflags = M_NOWAIT; in bounce_bus_dmamem_alloc()
381 mflags = M_WAITOK; in bounce_bus_dmamem_alloc()
389 M_DEVBUF, mflags); in bounce_bus_dmamem_alloc()
397 mflags |= M_ZERO; in bounce_bus_dmamem_alloc()
428 *vaddr = malloc(dmat->common.maxsize, M_DEVBUF, mflags); in bounce_bus_dmamem_alloc()
435 dmat->common.maxsize, mflags, 0ul, dmat->common.lowaddr, in bounce_bus_dmamem_alloc()
440 dmat->common.maxsize, mflags, 0ul, dmat->common.lowaddr, in bounce_bus_dmamem_alloc()
/freebsd-10-stable/sys/mips/mips/
Dbusdma_machdep.c585 int mflags; in bus_dmamem_alloc() local
588 mflags = M_NOWAIT; in bus_dmamem_alloc()
590 mflags = M_WAITOK; in bus_dmamem_alloc()
594 mflags); in bus_dmamem_alloc()
602 mflags |= M_ZERO; in bus_dmamem_alloc()
632 *vaddr = malloc(dmat->maxsize, M_DEVBUF, mflags); in bus_dmamem_alloc()
640 *vaddr = contigmalloc(dmat->maxsize, M_DEVBUF, mflags, in bus_dmamem_alloc()
/freebsd-10-stable/sys/x86/iommu/
Dbusdma_dmar.c394 int error, mflags; in dmar_bus_dmamem_alloc() local
401 mflags = (flags & BUS_DMA_NOWAIT) != 0 ? M_NOWAIT : M_WAITOK; in dmar_bus_dmamem_alloc()
402 mflags |= (flags & BUS_DMA_ZERO) != 0 ? M_ZERO : 0; in dmar_bus_dmamem_alloc()
412 *vaddr = malloc(tag->common.maxsize, M_DEVBUF, mflags); in dmar_bus_dmamem_alloc()
416 tag->common.maxsize, mflags, 0ul, BUS_SPACE_MAXADDR, in dmar_bus_dmamem_alloc()
/freebsd-10-stable/sys/powerpc/powerpc/
Dbusdma_machdep.c497 int mflags; in bus_dmamem_alloc() local
500 mflags = M_NOWAIT; in bus_dmamem_alloc()
502 mflags = M_WAITOK; in bus_dmamem_alloc()
507 mflags |= M_ZERO; in bus_dmamem_alloc()
527 *vaddr = malloc(dmat->maxsize, M_DEVBUF, mflags); in bus_dmamem_alloc()
536 mflags, 0ul, dmat->lowaddr, dmat->alignment ? in bus_dmamem_alloc()
/freebsd-10-stable/sys/dev/ntb/if_ntb/
Dif_ntb.c323 short mflags; in ntb_transmit_locked() local
330 mflags = m->m_flags; in ntb_transmit_locked()
349 if (mflags & M_MCAST) in ntb_transmit_locked()

12