Searched refs:malloc_flag (Results 1 – 5 of 5) sorted by relevance
61 nw->malloc_flag = mflag; in nlmsg_get_buf()165 new = nl_buf_alloc(new_len, nw->malloc_flag | M_ZERO); in _nlmsg_refill_buffer()
56 int malloc_flag; /* M_WAITOK or M_NOWAIT */ member
110 int_alloc_resource(int malloc_flag) in int_alloc_resource() argument114 r = malloc(sizeof *r, M_RMAN, malloc_flag | M_ZERO); in int_alloc_resource()
594 char *if_allocdescr(size_t sz, int malloc_flag);
4338 if_allocdescr(size_t sz, int malloc_flag) in if_allocdescr() argument4340 malloc_flag &= (M_WAITOK | M_NOWAIT); in if_allocdescr()4341 return (malloc(sz, M_IFDESCR, M_ZERO | malloc_flag)); in if_allocdescr()