Lines Matching defs:flag
248 * nsc_register_mem(char *name, int type, int flag)
254 * flag is passed through to kmem_alloc on allocate.
261 nsc_register_mem(char *name, int type, int flag)
279 mp->flag = flag;
435 * nsc_kmem_alloc (size_t size, int flag, nsc_mem_t *mem)
450 nsc_kmem_alloc(size_t size, int flag, nsc_mem_t *mem)
457 if ((vp = _nsc_mem_alloc(&size, flag, mem)) == NULL)
478 * _nsc_mem_alloc (size_t *sizep, int flag, nsc_mem_t *mem)
495 _nsc_mem_alloc(size_t *sizep, int flag, nsc_mem_t *mem)
503 flag |= mem->flag;
506 if (flag & KM_NOSLEEP)
507 flag &= ~KM_SLEEP;
509 vp = kmem_alloc(size, flag);
607 nsc_kmem_zalloc(size_t size, int flag, nsc_mem_t *mem)
609 void *vp = nsc_kmem_alloc(size, flag, mem);