Home
last modified time | relevance | path

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

/dflybsd-src/sys/sys/
H A Dsglist.h88 struct sglist *sglist_alloc(int nsegs, int mflags);
96 struct sglist *sglist_build(void *buf, size_t len, int mflags);
97 struct sglist *sglist_clone(struct sglist *sg, int mflags);
104 size_t offset, size_t length, int mflags);
106 size_t length, int mflags);
H A Dmpipe.h89 int mflags; /* M_ flags (used internally) */ member
H A Dtaskqueue.h73 struct taskqueue *taskqueue_create(const char *name, int mflags,
H A Dkobj.h216 int mflags);
H A Dmbuf.h722 m_tag_get(int type, int length, int mflags) in m_tag_get() argument
724 return m_tag_alloc(MTAG_ABI_COMPAT, type, length, mflags); in m_tag_get()
/dflybsd-src/sys/kern/
H A Dsubr_sglist.c207 sglist_alloc(int nsegs, int mflags) in sglist_alloc() argument
212 M_SGLIST, mflags); in sglist_alloc()
434 sglist_build(void *buf, size_t len, int mflags) in sglist_build() argument
443 sg = sglist_alloc(nsegs, mflags); in sglist_build()
457 sglist_clone(struct sglist *sg, int mflags) in sglist_clone() argument
463 new = sglist_alloc(sg->sg_maxseg, mflags); in sglist_clone()
507 int mflags) in sglist_split() argument
540 sg = sglist_alloc(count, mflags); in sglist_split()
638 size_t length, int mflags) in sglist_slice() argument
686 sg = sglist_alloc(count, mflags); in sglist_slice()
H A Dkern_mpipe.c88 mpipe->mflags |= M_ZERO; in mpipe_init()
90 mpipe->mflags |= M_USE_RESERVE | M_USE_INTERRUPT_RESERVE; in mpipe_init()
98 mpipe->array[n] = kmalloc(bytes, mpipe->type, M_WAITOK | mpipe->mflags); in mpipe_init()
227 buf = kmalloc(mpipe->bytes, mpipe->type, M_NOWAIT | mpipe->mflags); in _mpipe_alloc_locked()
H A Dsubr_kobj.c241 int mflags) in kobj_create() argument
248 obj = kmalloc(cls->size, mtype, mflags | M_ZERO); in kobj_create()
H A Dsubr_gtaskqueue.c108 _gtaskqueue_create(const char *name, int mflags, in _gtaskqueue_create() argument
115 M_GTASKQUEUE, mflags | M_ZERO); in _gtaskqueue_create()
117 kprintf("_gtaskqueue_create: kmalloc failed %08x\n", mflags); in _gtaskqueue_create()
559 gtaskqueue_create_fast(const char *name, int mflags, in gtaskqueue_create_fast() argument
562 return _gtaskqueue_create(name, mflags, enqueue, context, in gtaskqueue_create_fast()
H A Duipc_mbuf2.c256 m_tag_alloc(uint32_t cookie, int type, int len, int mflags) in m_tag_alloc() argument
262 t = kmalloc(len + sizeof(struct m_tag), M_PACKET_TAGS, mflags); in m_tag_alloc()
H A Dsubr_taskqueue.c115 taskqueue_create(const char *name, int mflags, in taskqueue_create() argument
120 queue = kmalloc(sizeof(*queue), M_TASKQUEUE, mflags | M_ZERO); in taskqueue_create()
/dflybsd-src/contrib/tcpdump/
H A Dprint-decnet.c473 u_int mflags; in decnet_print() local
497 mflags = GET_U_1(rhp->rh_short.sh_flags); in decnet_print()
499 if (mflags & RMF_PAD) { in decnet_print()
501 u_int padlen = mflags & RMF_PADMASK; in decnet_print()
513 mflags = GET_U_1(rhp->rh_short.sh_flags); in decnet_print()
516 if (mflags & RMF_FVER) { in decnet_print()
523 if (mflags & RMF_CTLMSG) { in decnet_print()
529 switch (mflags & RMF_MASK) { in decnet_print()
560 if (mflags & RMF_RQR) in decnet_print()
562 if (mflags & RMF_RTS) in decnet_print()
[all …]
/dflybsd-src/sys/platform/vkernel64/platform/
H A Dbusdma_machdep.c429 int mflags; in bus_dmamem_alloc() local
441 mflags = M_NOWAIT; in bus_dmamem_alloc()
443 mflags = M_WAITOK; in bus_dmamem_alloc()
445 mflags |= M_ZERO; in bus_dmamem_alloc()
450 *vaddr = kmalloc(dmat->maxsize, M_DEVBUF, mflags); in bus_dmamem_alloc()
467 *vaddr = kmalloc(size, M_DEVBUF, mflags); in bus_dmamem_alloc()
476 *vaddr = contigmalloc(dmat->maxsize, M_DEVBUF, mflags, in bus_dmamem_alloc()
1035 int count = 0, mflags; in alloc_bounce_pages() local
1038 mflags = M_NOWAIT; in alloc_bounce_pages()
1040 mflags = M_WAITOK; in alloc_bounce_pages()
[all …]
/dflybsd-src/sys/platform/pc64/x86_64/
H A Dbusdma_machdep.c485 int mflags; in bus_dmamem_alloc() local
497 mflags = M_NOWAIT; in bus_dmamem_alloc()
499 mflags = M_WAITOK; in bus_dmamem_alloc()
501 mflags |= M_ZERO; in bus_dmamem_alloc()
511 *vaddr = kmalloc(dmat->maxsize, M_DEVBUF, mflags); in bus_dmamem_alloc()
524 mflags | M_POWEROF2); in bus_dmamem_alloc()
533 *vaddr = contigmalloc(dmat->maxsize, M_DEVBUF, mflags, in bus_dmamem_alloc()
1173 int count = 0, mflags; in alloc_bounce_pages() local
1176 mflags = M_NOWAIT; in alloc_bounce_pages()
1178 mflags = M_WAITOK; in alloc_bounce_pages()
[all …]
/dflybsd-src/usr.bin/dsynth/
H A Dsubs.c658 int mflags = MSG_DONTWAIT; in dexec_logerr_thread() local
687 len = recvmsg(fd, &msg, mflags); in dexec_logerr_thread()
717 mflags = 0; in dexec_logerr_thread()
726 mflags = MSG_DONTWAIT; in dexec_logerr_thread()
/dflybsd-src/usr.sbin/vnconfig/
H A Dvnconfig.c567 int mflags; in config() local
570 mflags = (flags & VN_MOUNTRO) ? MNT_RDONLY : 0; in config()
571 rv = mount("ufs", oarg, mflags, &args); in config()
/dflybsd-src/sys/vm/
H A Dvm_contig.c251 unsigned long alignment, unsigned long boundary, int mflags) in vm_contig_pg_alloc() argument
350 if (pass > 0 && (mflags & M_WAITOK)) { in vm_contig_pg_alloc()
/dflybsd-src/contrib/bmake/
H A Dbmake.cat17 …[22m] [-C directory] [-D variable] [-d flags]
41 -d [-]flags
50 line buffered. The available flags are: