Searched defs:list (Results 151 - 175 of 605) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_dlist.c41 const boolean_t ASCENDING = TRUE; /* list ordering */
43 const boolean_t AT_TAIL = TRUE; /* list insertion location */
47 * determine if the list contains an item
52 dlist_t *list,
56 return (dlist_find(list, obj, compare) != NULL);
60 * locate the item in the list that points at the object
64 dlist_t *list,
70 for (iter = list; iter != NULL; iter = iter->next) {
80 * insert item into list in the desired order (ascending or descending)
83 * In the for loop, iter marks current position in the list
51 dlist_contains( dlist_t *list, void *obj, int (compare)(void *, void *)) argument
63 dlist_find( dlist_t *list, void *obj, int (compare)(void *, void *)) argument
95 dlist_insert_ordered( dlist_t *item, dlist_t *list, boolean_t ascending, int (compare)(void *, void *)) argument
179 dlist_remove_equivalent_item( dlist_t *list, void *obj, int (compare)(void *, void *), dlist_t **removed) argument
243 dlist_append( dlist_t *item, dlist_t *list, boolean_t attail) argument
298 dlist_append_object( void *object, dlist_t **list, boolean_t attail) argument
345 dlist_length( dlist_t *list) argument
423 dlist_separate_similar_elements( dlist_t *list, int(compare)(void *, void *)) argument
[all...]
/illumos-gate/usr/src/lib/libshare/smb/
H A Dsmb_share_doorclnt.c199 smb_share_list(int offset, smb_shrlist_t *list) argument
206 bzero(list, sizeof (smb_shrlist_t));
233 (void) smb_dr_get_buf(dec_ctx, (unsigned char *)list,
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Drefcount.c210 list_t list, removed; local
212 list_create(&list, sizeof (reference_t),
222 list_move_tail(&list, &src->rc_list);
229 list_move_tail(&dst->rc_list, &list);
233 list_destroy(&list);
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dpacker.c32 * Based on a list of source dictionaries specified by the administrator,
223 * sh -c "/usr/bin/cat <list of files> |
351 * int packer(list)
353 * sort all dictionaries in "list", and feed the words into the Crack
359 packer(char *list, char *path) argument
365 if ((listcopy = strdup(list)) == NULL) {
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaMechManager.c107 /* No need to lock list, we assume all sessions are closed. */
122 * Get list of all available mechanisms.
124 * Follows PKCS#11 semantics, where list may be NULL to only request a
128 meta_mechManager_get_mechs(CK_MECHANISM_TYPE *list, CK_ULONG *listsize) argument
142 * twice (once to get the count, again to get the actual list), this
183 if (list && *listsize >= num_found) {
184 list[num_found - 1] = mechlist[i].type;
202 * Get list of all slots supporting the specified mechanism.
205 * space to accomodate the list of slots that supports the
210 * If any error occurred in getting the list, inf
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dutility.c34 // Adds the specified node to the start of the list
36 // Returns: pointer to the start of the list
39 dlist_add_as_first(DL_NODE *list, void *data) argument
44 return (list);
50 node->next = list;
51 if (list)
52 list->prev = node;
60 // Adds the specified node to the end of the list
62 // Returns: pointer to the start of the list
65 dlist_add_as_last(DL_NODE *list, voi argument
92 dlist_find(DL_NODE *list, void *data) argument
108 dlist_get_first(DL_NODE *list) argument
125 dlist_get_last(DL_NODE *list) argument
140 dlist_length(DL_NODE *list) argument
177 dlist_purge(DL_NODE *list) argument
196 dlist_remove_node(DL_NODE *list, DL_NODE *node) argument
[all...]
/illumos-gate/usr/src/lib/print/libipp-listener/common/
H A Dipp-listener.c250 ipp_configure_required_operations(papi_attribute_t ***list, char boolean) argument
257 result = papiAttributeListAddBoolean(list,
266 ipp_configure_all_operations(papi_attribute_t ***list, char boolean) argument
272 result = papiAttributeListAddBoolean(list, PAPI_ATTR_REPLACE,
279 ipp_configure_operation(papi_attribute_t ***list, char *operation, char *type) argument
284 if ((list == NULL) || (operation == NULL) || (type == NULL))
290 result = ipp_configure_all_operations(list, boolean);
292 result = ipp_configure_required_operations(list, boolean);
294 result = papiAttributeListAddBoolean(list, PAPI_ATTR_REPLACE,
302 ipp_operations_supported(papi_attribute_t ***list, papi_attribute_ argument
370 papi_attribute_t **list; local
[all...]
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/
H A Dnss.c51 bsdaddr_to_uri(papi_attribute_t **list, char *bsdaddr) argument
63 papiAttributeListGetString(list, NULL,
87 solaris_lpsched_shortcircuit_hack(papi_attribute_t ***list) argument
98 papiAttributeListGetString(*list, NULL,
106 papiAttributeListFree(*list);
107 *list = NULL;
143 papiAttributeListAddString(list, PAPI_ATTR_REPLACE,
150 fill_printer_uri_supported(papi_attribute_t ***list) argument
156 attribute = papiAttributeListFind(*list, "printer-uri-supported");
161 attribute = papiAttributeListFind(*list, "printe
212 fill_printer_uri(papi_attribute_t ***list) argument
235 cvt_all_to_member_names(papi_attribute_t ***list) argument
266 papi_attribute_t **list = NULL; local
[all...]
H A Dprinter.c68 /* Enumerate a list of printers from the loaded print service. */
93 * objects. We free the list now because we no longer need
154 /* are the requested attributes contained in the list */
156 contained(char **requested, papi_attribute_t **list) argument
164 if (papiAttributeListFind(list, requested[i]) == NULL)
170 /* Enumerate a list of printers from the Name Service */
197 /* walk through the list */
426 * objects. We free the list now because we no longer need
473 * objects. We free the list now because we no longer need
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-job.c306 unused_attributes(papi_attribute_t **list, papi_attribute_t **used) argument
312 if ((list == NULL) || (used == NULL))
321 /* add these to the list of things to ignore */
325 split_and_copy_attributes(names, list, NULL, &unused);
571 char *list[2]; local
581 list[0] = path;
582 list[1] = NULL;
584 if (((fd = lpd_open(svc, 's', list, 15)) < 0) && (errno != EBADMSG)) {
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dns_bsd_addr.c39 #include <list.h>
44 char **list = NULL; local
50 list = (char **)list_append((void **)list, element);
52 return (list);
108 char **list, *tmp, *printer = NULL, *extension = NULL; local
114 list = strsplit(tmp, ",");
116 if (list[1] != NULL) {
117 printer = list[1];
118 if (list[
126 list_to_string(const char **list) argument
150 internal_list_to_string(const ns_printer_t **list) argument
283 ns_kvp_t **list, *kvp; local
431 ns_bsd_addr_t **list = NULL; local
520 ns_bsd_addr_t **list = NULL; local
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4/hostbridge/
H A Dhb_sun4.c124 busorrc_add(topo_mod_t *mod, busorrc_t **list, di_node_t n) argument
136 busorrc_insert(mod, list, nb);
182 * declare_exbuses() assumes the elements in the provided busorrc list
203 declare_exbuses(topo_mod_t *mod, busorrc_t *list, tnode_t *ptn, int nhb, argument
227 for (p = list; p != NULL; p = p->br_nextbus) {
283 * declare_buses() assumes the elements in the provided busorrc list
296 declare_buses(topo_mod_t *mod, busorrc_t *list, tnode_t *ptn, int nhb) argument
311 for (p = list; p != NULL; p = p->br_nextbus) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_get.c23 * publicy exported functions used to build up a null-terminated char ** list
26 * The publicly exported interface for freeing char** list is
31 * Initialize the string list abstraction.
33 errcode_t init_list(struct profile_string_list *list) argument
35 list->num = 0;
36 list->max = 10;
37 list->list = malloc(list->max * sizeof(char *));
38 if (list
48 end_list(struct profile_string_list *list, char ***ret_list) argument
70 add_to_list(struct profile_string_list *list, const char *str) argument
96 is_list_member(struct profile_string_list *list, const char *str) argument
114 profile_free_list(char **list) argument
[all...]
H A Dprof_int.h113 * purposes to build up the list, which is returned in *ret_list by
117 char **list; member in struct:profile_string_list
132 * Check if a filespec is last in a list (NULL on UNIX, invalid FSSpec on MacOS
278 errcode_t init_list(struct profile_string_list *list);
279 void end_list(struct profile_string_list *list, char ***ret_list);
280 errcode_t add_to_list(struct profile_string_list *list, const char *str);
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dalarm.c55 * insert timeout item on current given list in sorted order
57 static void *time_add(struct tevent *item, void *list) argument
59 register struct tevent *tp = (struct tevent*)list;
63 list = (void*)item;
74 return(list);
78 * delete timeout item from current given list, delete timer
80 static void *time_delete(register struct tevent *item, void *list) argument
82 register struct tevent *tp = (struct tevent*)list;
84 list = (void*)tp->next;
94 return(list);
97 print_alarms(void *list) argument
[all...]
/illumos-gate/usr/src/lib/libdevid/
H A Ddeviceid.c123 /* list element of devid_nmlist_t information */
130 /* add list element to end of nmlist headed by *nlhp */
145 /* find the end of the list */
288 * to the nmlist list;
363 devid_free_nmlist(devid_nmlist_t *list) argument
365 devid_nmlist_t *p = list;
367 if (list == NULL)
377 free(list);
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Devents.c86 static void print_nvlist(char *prefix, nvlist_t *list);
291 /* find the last element in the list */
376 print_nvlist(char *prefix, nvlist_t *list) argument
380 nvp = nvlist_next_nvpair(list, NULL);
430 nvp = nvlist_next_nvpair(list, nvp);
/illumos-gate/usr/src/lib/libdladm/common/
H A Dflowattr.c225 * Convert an attribute list to a flow_desc_t using the attribute ad_check()
270 dladm_free_attrs(dladm_arg_list_t *list) argument
272 dladm_free_args(list);
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dnfs_mntinfo.c75 nfs_free_mntinfo_list(nfs_mntlist_t *list) argument
80 while (list != NULL) {
81 free(list->nml_resource);
82 free(list->nml_mountp);
83 free(list->nml_fstype);
84 free(list->nml_mntopts);
85 free(list->nml_time);
86 for (i = 0; i < list->nml_failovercount; i++) {
87 if (list->nml_failoverlist[i] != NULL)
88 free(list
[all...]
/illumos-gate/usr/src/lib/libxcurses/src/tabs/
H A Dtabs.c124 char *list; member in struct:__anon4214
142 static char missing_tablist[] = m_textstr(1828, "Missing tab list after -t.\n", "E");
186 /* End option list '--'? */
238 tablist = m_mbstowcsdup(p->list);
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dmap_ctrl.c652 /* get map list from mapping file */
746 get_list_max(map_id_elt_t ***list, int *max) argument
748 *list = map_id_list;
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dhesiod.c63 void hesiod_free_list(void *context, char **list);
258 hesiod_free_list(void *context, char **list) { argument
263 for (p = list; *p; p++)
265 free(list);
340 * return a list of them.
353 char *dst, *edst, **list; local
395 list = malloc((ancount + 1) * sizeof(char *));
396 if (!list) {
426 if (!(list[j] = malloc(rr.dlen)))
428 dst = list[
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetauditflags.c55 struct list { struct
60 typedef struct list list_t;
87 int list = -1, retstat = 0; local
175 list = COMMON;
181 for (i=COMMON;i<=FAILURE && (list == -1);i++) {
183 list = COMMON;
194 list = COMMON;
207 list = COMMON;
220 list = i;
236 if (list !
[all...]
H A Dgetgraent.c50 struct list { struct in struct:gradata
52 struct list *nxt;
53 } *minuslist; /* list of - items */
262 struct list *ls;
292 struct list *ls;
384 struct list *ls;
389 ls = (struct list *)malloc(sizeof(struct list));
H A Dgetpwaent.c54 struct list { struct in struct:_pwajunk
56 struct list *nxt;
487 struct list *ls;
502 struct list *ls;
507 ls = (struct list *) malloc(sizeof(struct list));
545 struct list *ls;

Completed in 147 milliseconds

1234567891011>>