Home
last modified time | relevance | path

Searched refs:freelist (Results 1 – 25 of 53) sorted by relevance

123

/illumos-gate/usr/src/cmd/lp/lib/filters/
H A Dfreefilter.c102 freelist (pf->printers);
103 freelist (pf->printer_types);
104 freelist (pf->input_types);
105 freelist (pf->output_types);
106 freelist (pf->templates);
127 freelist (pf->printers);
H A Dloadfilters.c118 freelist (list); in loadfilters()
122 freelist (list); in loadfilters()
126 freelist (list); in loadfilters()
140 freelist (list); in loadfilters()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dtok.c47 static Tok_t* freelist; variable
59 if (p = freelist) in tokopen()
60 freelist = freelist->ptr.nxt; in tokopen()
80 p->ptr.nxt = freelist; in tokclose()
81 freelist = p; in tokclose()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Denv.c42 Evar_t *freelist; member
138 if(vp = ep->freelist) in env_add()
139 ep->freelist = vp->un.next; in env_add()
143 ep->freelist = (vp+1); in env_add()
144 ep->freelist->un.next = 0; in env_add()
175 vp->un.next = ep->freelist; in env_delete()
176 ep->freelist = vp; in env_delete()
211 ep->freelist = vp = newof((Evar_t*)0,Evar_t,n,0); in env_open()
240 for(top=0,vp = ep->freelist; vp; vp = vpnext) in env_close()
/illumos-gate/usr/src/cmd/lp/lib/printers/
H A Dfreeprinter.c53 freelist (pp->char_sets);
55 freelist (pp->input_types);
57 freelist (pp->options);
80 freelist (pp->modules);
83 freelist (pp->printer_types);
H A Dgetprinter.c196 freelist (pp); in getprinter()
227 freelist (*ppp); in getprinter()
/illumos-gate/usr/src/tools/smatch/src/
H A Dallocate.c59 desc->freelist = NULL; in drop_all_allocations()
70 *p = desc->freelist; in free_one_entry()
71 desc->freelist = p; in free_one_entry()
87 if (desc->freelist) { in allocate()
88 void **p = desc->freelist; in allocate()
90 desc->freelist = *p; in allocate()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dds_drv.c457 ds_log_entry_t *freelist; /* head of the free list */ member
487 ds_log_entry_pool[i].next = ds_log.freelist; in ds_log_init()
488 ds_log.freelist = &ds_log_entry_pool[i]; in ds_log_init()
514 while (ds_log.freelist != NULL) { in ds_log_fini()
515 next = ds_log.freelist->next; in ds_log_fini()
517 if (!DS_IS_POOL_ENTRY(ds_log.freelist)) { in ds_log_fini()
518 kmem_free(ds_log.freelist, sizeof (ds_log_entry_t)); in ds_log_fini()
521 ds_log.freelist = next; in ds_log_fini()
536 if (ds_log.freelist != NULL) { in ds_log_entry_alloc()
537 new = ds_log.freelist; in ds_log_entry_alloc()
[all …]
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dfreelist.c40 freelist ( in freelist() function
44 freelist (list) in freelist()
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_kp.c319 struct segkp_cache *freelist = NULL; in segkp_cache_get() local
328 freelist = &segkp_cache[index]; in segkp_cache_get()
331 seg = freelist->kpf_seg; in segkp_cache_get()
332 flags = freelist->kpf_flags; in segkp_cache_get()
333 if (freelist->kpf_list != NULL) { in segkp_cache_get()
334 kpd = freelist->kpf_list; in segkp_cache_get()
335 freelist->kpf_list = kpd->kp_next; in segkp_cache_get()
336 freelist->kpf_count--; in segkp_cache_get()
342 len = freelist->kpf_len; in segkp_cache_get()
607 struct segkp_cache *freelist; in segkp_release() local
[all …]
/illumos-gate/usr/src/cmd/lp/lib/access/
H A Dchange.c163 freelist (allow_list); in chgaccess()
164 freelist (deny_list); in chgaccess()
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-printers.c253 freelist(allowed); in lpsched_printer_configuration_to_attributes()
254 freelist(denied); in lpsched_printer_configuration_to_attributes()
270 freelist(f_allowed); in lpsched_printer_configuration_to_attributes()
271 freelist(f_denied); in lpsched_printer_configuration_to_attributes()
464 freelist(tmp->input_types); in attributes_to_printer()
/illumos-gate/usr/src/cmd/backup/restore/
H A Dsymtab.c252 static struct entry *freelist = NIL; variable
263 if (freelist != NIL) { in addentry()
264 np = freelist; in addentry()
265 freelist = np->e_next; in addentry()
384 ep->e_next = freelist; in freeentry()
385 freelist = ep; in freeentry()
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_table.cc315 db_table::db_table() : freelist() in db_table()
348 freelist.reset(); in reset()
664 entryp where = freelist.pop(); in add_entry()
734 return (freelist.push(where)); in delete_entry()
752 answer = freelist.stats(3); in stats()
1122 db_table::db_table(char *file) : freelist() in db_table()
1133 freelist.init(); in db_table()
H A Ddb_table_c.x134 db_free_list freelist; member
153 % db_free_list freelist;
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Diconv.c88 static Conv_t* freelist[4]; variable
1083 for (i = 0; i < elementsof(freelist); i++) in _ast_iconv_open()
1084 if ((cc = freelist[i]) && streq(to, cc->to.name) && streq(fr, cc->from.name)) in _ast_iconv_open()
1086 freelist[i] = 0; in _ast_iconv_open()
1199 if (++ i >= elementsof(freelist)) in _ast_iconv_close()
1201 if (!freelist[i]) in _ast_iconv_close()
1205 if (++ i >= elementsof(freelist)) in _ast_iconv_close()
1212 if (oc = freelist[i]) in _ast_iconv_close()
1225 freelist[freeindex = i] = cc; in _ast_iconv_close()
/illumos-gate/usr/src/uts/common/disp/
H A Dsysdc.c672 sysdc_t *freelist = NULL; in sysdc_update() local
738 sdc->sdc_next = freelist; in sysdc_update()
739 freelist = sdc; in sysdc_update()
826 while (freelist != NULL) { in sysdc_update()
827 sysdc_t *cur = freelist; in sysdc_update()
828 freelist = cur->sdc_next; in sysdc_update()
/illumos-gate/usr/src/cmd/lp/lib/class/
H A Dfreeclass.c55 freelist (clsbufp->members);
H A Dgetclass.c105 freelist (clsp->members); in getclass()
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlauxlib.c480 #define freelist 0 macro
490 lua_rawgeti(L, t, freelist); /* get first free element */ in luaL_ref()
495 lua_rawseti(L, t, freelist); /* (t[freelist] = t[ref]) */ in luaL_ref()
507 lua_rawgeti(L, t, freelist); in luaL_unref()
510 lua_rawseti(L, t, freelist); /* t[freelist] = ref */ in luaL_unref()
/illumos-gate/usr/src/cmd/lp/lib/requests/
H A Dfreerequest.c57 freelist (reqbufp->file_list);
/illumos-gate/usr/src/lib/libtecla/
H A DMakefile.com29 OBJECTS= getline.o keytab.o freelist.o strngmem.o hash.o history.o \
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Djfs.h345 s8 freelist; /* 1: freelist header */ member
386 s8 freelist; /* 1: slot index of head of freelist */ member
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Dlemon.c330 static struct action *freelist = 0; in Action_new() local
333 if( freelist==0 ){ in Action_new()
336 freelist = (struct action *)malloc( sizeof(struct action)*amt ); in Action_new()
337 if( freelist==0 ){ in Action_new()
341 for(i=0; i<amt-1; i++) freelist[i].next = &freelist[i+1]; in Action_new()
342 freelist[amt-1].next = 0; in Action_new()
344 new = freelist; in Action_new()
345 freelist = freelist->next; in Action_new()
1031 static struct config *freelist = 0; /* List of free configurations */ variable
1040 if( freelist==0 ){ in newconfig()
[all …]
/illumos-gate/usr/src/cmd/lp/lib/users/
H A Dusermgmt.c140 freelist (ppri_tbl->users[limit - PRI_MIN]); in trashusers()

123