/illumos-gate/usr/src/cmd/fs.d/nfs/umount/ |
H A D | umount.c | 244 struct replica *list; local 250 list = parse_replica(string, &n); 252 if (list == NULL) { 286 if (strcmp(list[i].host, "nfs") == 0 && strncmp(list[i].path, 299 cl = clnt_create_timed(list[i].host, MOUNTPROG, vers, 307 pr_err("%s:%s %s\n", list[i].host, list[i].path, 338 (char *)&list[i].path, xdr_void, (char *)NULL, 353 free_replica(list, [all...] |
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | isns_htab.h | 72 /* fifo list of available UIDs */ 73 htab_itemx_t *list; member in struct:htab
|
H A D | isns_scn.h | 89 scn_list_t *list; member in union:scn::__anon680 94 /* scn registry list */
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | cmd.c | 42 static struct trenod * list(); 104 * list 105 * list & [ cmd ] 106 * list [ ; cmd ] 114 i = list(flg); 153 * list 155 * list && term 156 * list || term 159 list(flg) function
|
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/ |
H A D | kconf.c | 36 char **list; member in struct:profile_string_list 45 * Initialize the string list abstraction. 48 init_list(struct profile_string_list *list) argument 50 list->num = 0; 51 list->max = 10; 52 list->list = malloc(list->max * sizeof (char *)); 53 if (list->list 64 end_list(struct profile_string_list *list, char ***ret_list) argument 83 add_to_list(struct profile_string_list *list, const char *str) argument [all...] |
/illumos-gate/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_policy.c | 18 * this list of conditions and the following disclaimer. 20 * notice, this list of conditions and the following disclaimer in the 817 * This function will list the DNs of policy objects under a specific 830 char **list = NULL; local 841 retval = krb5_ldap_list_policy(util_context, basedn, &list); 842 if ((retval != 0) || (list == NULL)) 845 for (plist = list; *plist != NULL; plist++) { 855 if (list != NULL) { 856 krb5_free_list_entries (list); 857 free (list); [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa_errlog.c | 48 * this list and displaying it to the user. 89 * spa's list of pending errors. The changes are actually synced out to disk 111 * If we have had a request to rotate the log, log it to the next list 200 process_error_list(avl_tree_t *list, void *addr, size_t *count) argument 204 for (se = avl_first(list); se != NULL; se = AVL_NEXT(list, se)) { 228 * in-core error lists. We only need the error list lock to log and error, so 230 * the error list lock when we are finished. 299 * Process a list of errors into the current on-disk log. 325 /* purge the error list */ [all...] |
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_alg_rr.c | 29 #include <sys/list.h> 39 list_node_t list; member in struct:__anon4687 208 offsetof(rr_server_t, list));
|
/illumos-gate/usr/src/tools/ctf/common/ |
H A D | list.c | 37 #include "list.h" 40 struct list { struct 42 struct list *l_next; 45 /* Add an element to a list */ 47 list_add(list_t **list, void *data) argument 53 le->l_next = *list; 54 *list = le; 57 /* Add an element to a sorted list */ 59 slist_add(list_t **list, void *data, int (*cmp)(void *, void *)) argument 63 for (nextp = list; *next 79 list_remove(list_t **list, void *data, int (*cmp)(void *, void *, void *), void *private) argument 101 list_free(list_t *list, void (*datafree)(void *, void *), void *private) argument 119 list_iter(list_t *list, int (*func)(void *, void *), void *private) argument 144 list_count(list_t *list) argument 150 list_empty(list_t *list) argument 156 list_find(list_t *list, void *tmpl, int (*cmp)(void *, void *)) argument 167 list_first(list_t *list) argument [all...] |
/illumos-gate/usr/src/tools/protocmp/ |
H A D | list.c | 34 #include "list.h" 42 init_list(elem_list *list, int hsize) argument 46 list->type = 0; 47 list->list = (elem**)malloc(sizeof (elem *) * hsize); 48 list->num_of_buckets = hsize; 49 for (i = 0; i < list->num_of_buckets; i++) 50 list->list[i] = NULL; 55 examine_list(elem_list *list) argument 77 print_list(elem_list *list) argument 95 print_type_list(elem_list *list, char file_type) argument 140 find_elem(elem_list *list, elem *key, int flag) argument 163 find_elem_isa(elem_list *list, elem *key, int flag) argument 181 find_elem_mach(elem_list *list, elem *key, int flag) argument 245 add_elem(elem_list *list, elem *e) argument [all...] |
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_digest.c | 136 kcf_prov_tried_t *list = NULL; local 141 list, CRYPTO_FG_DIGEST_ATOMIC, data->cd_length)) == NULL) { 142 if (list != NULL) 143 kcf_free_triedlist(list); 173 /* Add pd to the linked list of providers tried. */ 174 if (kcf_insert_triedlist(&list, pd, KCF_KMFLAG(crq)) != NULL) 178 if (list != NULL) 179 kcf_free_triedlist(list); 277 kcf_prov_tried_t *list = NULL; local 282 list, CRYPTO_FG_DIGES [all...] |
H A D | kcf_mac.c | 139 kcf_prov_tried_t *list = NULL; local 144 list, CRYPTO_FG_MAC_ATOMIC, data->cd_length)) == NULL) { 145 if (list != NULL) 146 kcf_free_triedlist(list); 160 if (list != NULL) 161 kcf_free_triedlist(list); 201 /* Add pd to the linked list of providers tried. */ 202 if (kcf_insert_triedlist(&list, pd, KCF_KMFLAG(crq)) != NULL) 206 if (list != NULL) 207 kcf_free_triedlist(list); 263 kcf_prov_tried_t *list = NULL; local 443 kcf_prov_tried_t *list = NULL; local [all...] |
H A D | kcf_sign.c | 97 kcf_prov_tried_t *list = NULL; local 104 list, CRYPTO_FG_SIGN, 0)) == NULL) { 105 if (list != NULL) 106 kcf_free_triedlist(list); 120 if (list != NULL) 121 kcf_free_triedlist(list); 134 /* Add pd to the linked list of providers tried. */ 135 if (kcf_insert_triedlist(&list, pd, KCF_KMFLAG(crq)) != NULL) 139 if (list != NULL) 140 kcf_free_triedlist(list); 265 kcf_prov_tried_t *list = NULL; local [all...] |
H A D | kcf_verify.c | 98 kcf_prov_tried_t *list = NULL; local 105 list, CRYPTO_FG_VERIFY, 0)) == NULL) { 106 if (list != NULL) 107 kcf_free_triedlist(list); 121 if (list != NULL) 122 kcf_free_triedlist(list); 135 /* Add pd to the linked list of providers tried. */ 136 if (kcf_insert_triedlist(&list, pd, KCF_KMFLAG(crq)) != NULL) 140 if (list != NULL) 141 kcf_free_triedlist(list); 267 kcf_prov_tried_t *list = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_mm.c | 35 * performance gains if a smarter free list is implemented. 242 struct list_head *list; local 252 list_for_each(list, free_stack) { 253 entry = list_entry(list, struct drm_mm_node, fl_entry); 321 struct list_head *list, *temp; local 327 list_for_each_safe(list, temp, mlstack) { 328 entry = list_entry(list, struct drm_mm_node, ml_entry);
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | FCSyseventBridge.cc | 217 nvlist_t *list = NULL; local 225 if (sysevent_get_attr_list(ev, &list) || list == NULL) { 243 if (nvlist_lookup_uint32(list, (char *)"instance", 247 nvlist_free(list); 253 if (nvlist_lookup_byte_array(list, (char *)"port-wwn", 257 nvlist_free(list); 280 nvlist_free(list); 303 nvlist_free(list); 322 nvlist_free(list); [all...] |
H A D | TgtFCHBA.cc | 221 void TgtFCHBA::loadAdapters(vector<HBA*> &list) argument 300 throw IOError("Unable to build HBA list"); 324 list.insert(list.begin(), hba);
|
/illumos-gate/usr/src/uts/common/xen/sys/ |
H A D | xenbus_impl.h | 61 #include <sys/list.h> 76 list_node_t list; member in struct:xenbus_watch 87 list_node_t list; member in struct:xenbus_notify
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_tkt_policy.c | 11 * this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer in the 151 if ((objectmask & 0x02) == 0) { /* add krbticketpolicyaux to the object class list */ 345 * list policy objects from Directory 355 char **list = NULL; local 366 if ((st = krb5_ldap_list(context, &list, "krbTicketPolicy", policycontainerdn)) != 0) 369 for (i = 0; list[i] != NULL; i++); 379 for (i = 0, j = 0; list[i] != NULL; i++, j++) { 381 ret = krb5_ldap_policydn_to_name (context, list[i], &(*policy)[i]); 426 krb5_ldap_list(context, list, objectclas [all...] |
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | getdgrp.c | 61 * group list 64 * next Pointer to the next in the list 75 * initdgrplist Initialize the internal device group list 76 * addtodgrplist Add a device group to the device group list 78 * isincallerslist Is a device group in the caller's list? 79 * buildreturnlist Build list of device groups to return 80 * freedgrplist Free the internal device group list 93 * dgrplistfirst First (dummy) node in the device group list 94 * dgrplistcount Number of items in the device group list 106 * This function compiles a list o 448 char **list; /* List being built */ local [all...] |
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | environ.c | 110 * Mutex used to protect the soft state list and their data. 117 /* linked list of all environ soft states */ 267 struct environ_soft_state **vect; /* used in list deletion */ 268 struct environ_soft_state *temp; /* used in list deletion */ 303 * remove from soft state pointer from the singly linked list of 309 * find the soft state for this instance in the soft state list 310 * and remove it from the list 383 * Now add this soft state structure to the front of the linked list 421 struct environ_soft_state *list; local 435 for (list [all...] |
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | ivintr.c | 47 * Global softint linked list - used by softint mdb dcmd. 49 static kmutex_t softint_mutex; /* Protect global softint linked list */ 309 intr_vec_t *list = softint_list; local 311 while (list && (list->iv_vec_next != iv_p)) 312 list = list->iv_vec_next; 314 list->iv_vec_next = iv_p->iv_vec_next;
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | memnode.c | 187 startup_build_mem_nodes(prom_memlist_t *list, size_t nelems) argument 197 plat_build_mem_nodes(list, nelems); 202 for (elem = 0; elem < nelems; list++, elem++) { 203 basepfn = btop(list->addr); 204 npgs = btop(list->size); 246 * Grab the memlist lock to protect the list from DR operations.
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | memnode.c | 190 startup_build_mem_nodes(struct memlist *list) argument 198 plat_build_mem_nodes(list); 203 while (list) { 204 start = list->ml_address >> PAGESHIFT; 208 (list->ml_address + list->ml_size - 1) >> PAGESHIFT; 212 list = list->ml_next; 255 * Assumes the list is protected from DR operations by
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | lpsched-printers.c | 246 /* allow/deny list */ 256 /* forms allow/deny list */ 438 char **list = NULL; local 455 iter = NULL, string = NULL; list = NULL; 461 addlist(&list, mime_type_to_lp_type(string)); 462 if (list != NULL) { 465 tmp->input_types = list;
|