/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | lpc.c | 63 papi_attribute_t **list = papiPrinterGetAttributeList(p); local 69 (void) papiAttributeListGetBoolean(list, NULL, 74 (void) papiAttributeListGetInteger(list, NULL,
|
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
H A D | NS.c | 44 static void _freeList(char ***list); 46 extern void **list_append(void **list, void *item); 249 char **attrList; /* list of user defined Key Value Pairs */ 549 /* set BSD address in attribute list */ 792 * Description: Free the list created by list_append() where the items in 793 * the list have been strdup'ed. 796 * Input: char ***list - returned set of kvp values 804 _freeList(char ***list) argument 811 if (list != NULL) { 812 if (*list ! [all...] |
/illumos-gate/usr/src/cmd/mailx/ |
H A D | cmd2.c | 76 int list[2]; local 115 list[0] = dot - &message[0] + 1; 116 list[1] = NULL; 117 return (type(list)); 247 * save a message list in a file. 393 * name so that the message list processing won't see it, 524 int list[2]; local 529 list[0] = dot - &message[0]; 530 list[0]++; 531 if (list[ 609 retfield(char *list[]) argument 675 unretfield(char *list[]) argument 722 igfield(char *list[]) argument 795 unigfield(char *list[]) argument [all...] |
H A D | names.c | 58 static struct name *put(struct name *list, struct name *node); 61 * Allocate a single element of a name list, 81 * Find the tail of a list and return it. 98 * Extract a list of names from a line, 99 * and make a list of names from it. 100 * Return the list or NIL if none found. 145 * Turn a list of names into a string of the same names. 192 * For each recipient in the passed name list with a / 194 * and remove them from the recipient list. 338 * the list; no 791 put(struct name *list, struct name *node) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_whatis.c | 146 * Iteratively search our list of addresses for matches in [base, base+size). 309 * Whatis callback list management 495 int list = 0; local 518 'l', MDB_OPT_SETBITS, TRUE, &list, /* hidden */ 527 if (list) { 561 /* sort the address list */
|
/illumos-gate/usr/src/cmd/mdb/common/modules/svc.configd/ |
H A D | configd.c | 380 struct request_entry *list, *listp; local 405 list = mdb_zalloc(sizeof (*list) * size, UM_SLEEP); 406 listp = list; 411 mdb_free(list, sizeof (*list) * size); 415 pos = listp - list; 420 mdb_free(list, sizeof (*list) * size); 431 list[po [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_mount.c | 132 * Each mapent in the list describes a mount to be done. 188 * continue because the rest of the mapent list 262 * append to action list 497 struct replica *list; local 517 list = parse_replica(ur->mntresource, &n); 518 if (list == NULL) { 526 if (pingnfs(list[i].host, 1, NULL, 0, nfs_port, 527 pubopt, list[i].path, NULL) != RPC_SUCCESS) { 529 free_replica(list, n); 533 free_replica(list, [all...] |
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | _elfedit.h | 116 struct user_cmd_t *ucmd_next; /* Commands are kept in linked list */ 129 * list is used to maintain the set of active modules. This can be easily 134 struct moddef_t *ml_next; /* Used for list of open mods */ 168 struct { /* Linked list of user commands to execute */ 170 USER_CMD_T *list; /* head of list */ member in struct:__anon1464::__anon1468 171 USER_CMD_T *tail; /* points at last element of list */
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | bucket.c | 63 * create_lists -- initialize the bucket list and hash map. 73 "list of versions"); 348 bucket_t *b, *list; local 353 for (list = first_list(); list != NULL; list = next_list()) { 354 /* Traverse the list found. */ 355 for (b = list; b != NULL; b = b->b_parent) { 380 * parents_of -- return a list of all parents. 452 errlog(TRACING, "list [all...] |
/illumos-gate/usr/src/cmd/audio/audioconvert/ |
H A D | convert.cc | 56 // maintain a list of conversions 116 // Conversion list maintenance routines 118 // Return a pointer to the last conversion entry in the list 121 struct conv_list *list) 125 for (lp = list; lp != NULL; lp = lp->next) { 132 // Release the conversion list 135 struct conv_list *&list) 142 while (list != NULL) { 143 bufs = list->bufcnt; 144 conv = list 120 get_last_conv( struct conv_list *list) argument 134 free_conv_list( struct conv_list *&list) argument 163 append_conv_list( struct conv_list *&list, AudioHdr tohdr, unsigned int bufs, AudioTypeConvert* conv, char *desc) argument 213 add_mux_convert( struct conv_list *&list, AudioHdr& ihdr, unsigned int& bufs) argument 252 add_pcm_convert( struct conv_list *&list, AudioHdr& ihdr, AudioEncoding tofmt, unsigned int unitsz, unsigned int& bufs) argument 292 add_channel_convert( struct conv_list *&list, AudioHdr& ihdr, unsigned int tochans, unsigned int& bufs) argument 339 add_compress( struct conv_list *&list, AudioHdr& ihdr, AudioEncoding tofmt, unsigned int unitsz, unsigned int& bufs) argument 408 add_decompress( struct conv_list *&list, AudioHdr& ihdr, AudioEncoding tofmt, unsigned int unitsz, unsigned int& bufs) argument 468 add_rate_convert( struct conv_list *&list, AudioHdr& ihdr, unsigned int torate, unsigned int& bufs) argument 551 build_conversion_list( struct conv_list *&list, AudioStream* ifp, AudioStream* ofp) argument 674 struct conv_list *list = NULL; local [all...] |
/illumos-gate/usr/src/cmd/auditd/ |
H A D | auditd.c | 105 pthread_mutex_t plugin_mutex; /* for plugin_t list */ 488 * init_plugin first searches the existing plugin list to see if the plugin 489 * already has been defined; if not, it creates it and links it into the list. 502 init_plugin(char *name, kva_t *list, int cnt_flag) argument 531 p->plg_kvlist = _kva_dup(list); 532 if (list != NULL && p->plg_kvlist == NULL) { 568 p->plg_kvlist = _kva_dup(list); 574 if (list != NULL && p->plg_kvlist == NULL || p->plg_path == NULL) {
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | nfslogd.c | 357 * Get a list of buffers that need to be processed. 366 * Get the configuration list. 370 "Could not obtain configuration list: %s"), 403 "Could not update configuration list: %s"), 528 * The buffer_list and sharepoint list entries are removed appropriately. 575 * Remove this buffer from our list. 683 * Free the list of processed entries. 692 * '*head' points to the list of entries that have been processed. 694 * list, and returns TRUE. 696 * The list i 700 is_cycle_needed(char *path, void **list, boolean_t need2free, int *error) argument 702 struct list { struct [all...] |
/illumos-gate/usr/src/cmd/sgs/librtld_db/common/ |
H A D | rd_elf.c | 33 #include <list.h> 759 * link-map list, in which case the original apl_arritems would have 818 TList list; local 826 (char *)&list, sizeof (TList)) != PS_OK) { 833 * Iterate through the link-map list. 835 for (lnp = (Addr)list.head; lnp; lnp = (Addr)lnode.next) {
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | paths.c | 106 * Given a search rule type, return a list of directories to search according 131 * (LD_LIBRARY_PATH) search path list. Note, we always call 184 * Initialize the permanent (LD_LIBRARY_PATH) search path list. 225 * Initialize the runpath search path list. To be consistent 343 expand(char **name, size_t *len, char **list, uint_t orig, uint_t omit, argument 566 * a list pointer, this routine updates that pointer 567 * with the new list of potential candidates. Without 568 * this list pointer, only the first expansion is 599 if (list) { 604 strlen(*list); 1029 expand_paths(Rt_map *clmp, const char *list, Alist **alpp, Aliste alni, uint_t orig, uint_t omit) argument [all...] |
/illumos-gate/usr/src/cmd/swap/ |
H A D | swap.c | 43 * Used to add/delete/list swap devices. 68 #define LFLAG 0x01 /* swap -l (list swap devices) */ 87 static int list(int flag); 119 case 'l': /* list all the swap devices */ 230 ret = list(flag); 366 list(int flag) function
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | init_ctx.c | 686 /* Only include known/valid enctypes in the final list */ 795 krb5_enctype *list, *ptr; local 798 if (krb5_get_permitted_enctypes(context, &list)) 804 for (ptr = list; *ptr; ptr++) 808 krb5_free_ktypes (context, list);
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | cpupart.c | 48 * CPU partitions. cpu_lock protects the CPU partition list, and prevents 60 * (lpl) list is allocated dynamically after kmem subsystem is initialized. This 74 * clock code too much. The clock code traverses the list of 291 * Allocate space for cp_default list of lgrploads 296 * The initial lpl topology is created in a special lpl list 299 * to the correct lpl in the cp_default.cp_lgrploads list. 521 * Walk thru the active process list to look for 589 * Walk thread list looking for threads that need to be 864 * Pause all CPUs while changing the partition list, to make sure 865 * the clock thread (which traverses the list withou 1163 cpupart_list(psetid_t *list, uint_t nelem, int flag) argument [all...] |
/illumos-gate/usr/src/tools/onbld/Scm/ |
H A D | WorkSpace.py | 40 # The ActiveList, being a list of ActiveEntry objects, can thus 126 from the parent), revs is a topologically sorted list of 146 changesets making up this active list.''' 224 # We walk the list of revisions backward such that only files 312 '''Return the list of pathnames of all files touched by this 330 '''Return the list of changesets that are roots of the ActiveList. 341 returning a list of 3-tuples (tag, node, is_local) for each. 416 paths should be a list of paths for which file-level data 417 should be included. If it is empty, the whole active list is 448 '''A (user-maintained) list o 477 def list(self): member in class:WorkList [all...] |
/illumos-gate/usr/src/tools/protocmp/ |
H A D | protocmp.c | 39 #include "list.h" 87 "[-e <exception-list> ...] " 103 (void) fputs("\t proto list or packaging to check\n", stderr); 105 (void) fputs("\t-L : list filtered exceptions\n", stderr); 371 * dump package list - if any. 427 for (cur = second_list.list[i]; cur; cur = cur->next) { 484 for (cur = first_list.list[i]; cur; cur = cur->next) { 543 read_in_file(const char *file_name, elem_list *list) argument 554 count = read_in_protolist(file_name, list, verbose); 559 count = read_in_protodir(file_name, list, verbos [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | cpc.c | 75 static uint32_t kcpc_nvlist_npairs(nvlist_t *list); 301 * generic attribute list (with separator if necessary). 705 * remove it from the list of attributes. 766 kcpc_nvlist_npairs(nvlist_t *list) argument 771 while ((nvp = nvlist_next_nvpair(list, nvp)) != NULL)
|
H A D | ksyms.c | 51 #include <sys/list.h> 107 ksyms_buflist_t *list; local 109 while (list = list_head(&hdr->blist)) { 110 list_remove(&hdr->blist, list); 111 kmem_free(list, PAGESIZE); 120 * add it to the buf list. 127 ksyms_buflist_t *list; local 136 * the list. 140 if ((list = kmem_alloc(PAGESIZE, KM_NOSLEEP)) == NULL) 143 list_insert_tail(&hdr->blist, list); 186 ksyms_buflist_t *list = list_head(&hdr->blist); local [all...] |
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xenbus_dev.c | 65 #include <sys/list.h> 105 list_t list; member in struct:xenbus_dev_transaction 379 offsetof(struct xenbus_dev_transaction, list));
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_ofs/ |
H A D | sol_ofs_common.h | 117 * Generic linked list management functions 126 * Simple doubly linked list for opaque addresses. Protection must occur 127 * outside of the list. These behavior very much like the linux kernel 129 * some signficant differences, mainly the list header is not embedded 141 static inline void llist_head_init(llist_head_t *list, void *ptr) argument 143 list->prv = list->nxt = list; 144 list->ptr = ptr; 171 static inline int llist_is_last(llist_head_t *list, llist_head_ argument 221 init_genlist(genlist_t *list) argument [all...] |
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | getdev.c | 90 * ENDLIST This entry ends the list 108 struct deviceent *next; /* Pointer to next item in the list */ 122 * list by examining the devices list and 124 * initdevicelist() Initializes the linked list of devices 125 * to be included in the list-to-return 127 * list of devices 128 * addtodevicelist() Adds an entry to the linked list of devices 129 * buildsearchlist() Builds a list of struct srch structures from 131 * freesearchlist() Frees the resources allocated to the list o 588 freesearchlist(struct srch *list) argument 620 char **list; local [all...] |
/illumos-gate/usr/src/uts/common/io/lvm/raid/ |
H A D | raid_replay.c | 183 * DESCRIPTION: RAID metadevice replay list processing APIs 184 * PARAMETERS: raid_rplylst_t *list - pointer to the replay list. 213 rpl_find(raid_rplylst_t *list, long long pw_id) argument 217 for (tmp = list; tmp; tmp = tmp->rpl_next) { 227 * DESCRIPTION: Enqueue a pre-write header into the replay list. 228 * PARAMETERS: raid_rplylst_t *list - pointer to the replay list. 238 /* check if the pre-write existed in the list */ 478 * raid_rplylst_t *eachp - pointer to the replay list entr [all...] |