Searched refs:item (Results 76 - 100 of 256) sorted by relevance

1234567891011

/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_map.c63 __nis_mapping_item_t *item, __nis_mapping_item_type_t type);
607 __nis_mapping_item_t *item = NULL; local
616 item = NULL;
675 item = (__nis_mapping_item_t *)s_realloc(item,
678 if (item == NULL) {
683 &item[nElements], item_type);
687 free_mapping_item(&item[n]);
695 free_mapping_item(&item[n]);
703 free_mapping_item(&item[
1253 __nis_mapping_item_t *item = NULL; local
1449 __nis_mapping_item_t item; local
1711 get_mapping_item( const char *s, const char *end_s, __nis_mapping_item_t *item, __nis_mapping_item_type_t type) argument
1948 __nis_mapping_item_t item; local
[all...]
H A Ddb_index_entry.cc40 if ((key = new item(name, nlen)) == NULL)
50 * A copy of the item is made. New entry is added to head of list of 'n'.
52 db_index_entry::db_index_entry(unsigned long hval, item* k,
55 if ((key = new item(k)) == NULL)
86 * for each item, traverse list2,
87 * if item on list1 matches item on list2,
143 db_index_entry::getnext(bool_t casein, unsigned long hval, item *i, entryp l)
166 item *i, entryp recnum)
189 item *
[all...]
H A Ddb_query_c.x54 item* index_value; /* value to be used in search */
H A Dldap_nisdbquery.h43 item *buildItem(int len, void *value);
44 void freeItem(item *i);
H A Dldap_attr.c112 * If the 'item' string ends in a comma, append 'base', and return
114 * otherwise. If 'dealloc' is non-zero, 'item' is freed; this happens
120 appendBase(char *item, char *base, int *err, int dealloc) { argument
135 /* Trivial case 1: If 'item' is NULL, return a copy of 'base' */
136 if (item == 0) {
143 /* Trivial case 2: If 'base' is NULL, return a copy of 'item' */
145 new = sdup(myself, T, item);
149 free(item);
153 len = strlen(item);
155 /* If 'item' i
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_hsp.c149 dlist_t *item = NULL; local
150 if ((item = dlist_new_item(hsp)) == NULL) {
153 *results = dlist_append(item, *results, AT_TAIL);
348 dlist_t *item = NULL; local
352 list = dlist_append(item, list, AT_TAIL);
474 dlist_t *item = dlist_new_item(iter->obj); local
475 if (item == NULL) {
478 allspares = dlist_append(item, allspares, AT_TAIL);
579 dlist_t *item = NULL; local
590 } else if ((item
646 dlist_t *item = NULL; local
710 dlist_t *item = NULL; local
916 dlist_t *item = NULL; local
[all...]
H A Dlayout.c590 dlist_t *item = NULL; local
616 if ((item = dlist_new_item((void *)moddisk)) == NULL) {
621 dlist_append(item, _modified_disks, AT_HEAD);
752 dlist_t *item = dlist_new_item(newdisk); local
753 if (item == NULL) {
756 list = dlist_append(item, list, AT_TAIL);
853 dlist_t *item = NULL; local
857 if ((item = dlist_find(mod_disks, (void *)(uintptr_t)disk,
863 moddisk = (moddisk_t *)item->obj;
874 if ((item
928 dlist_t *item; local
1098 dlist_t *item = NULL; local
[all...]
H A Dlayout_discovery.c565 dlist_t *item = dlist_new_item((void *)(uintptr_t)disk); local
566 if (item == NULL) {
569 *bad = dlist_append(item, *bad, AT_TAIL);
622 dlist_t *item = dlist_new_item((void *)(uintptr_t)disk); local
623 if (item == NULL) {
627 dlist_insert_ordered(item, *known,
697 dlist_t *item = local
699 if (item == NULL) {
703 item, *bad,
788 dlist_t *item local
868 dlist_t *item = NULL; local
1193 dlist_t *item = dlist_new_item((void *) iter->obj); local
1298 dlist_t *item = local
1685 dlist_t *item = NULL; local
1779 dlist_t *item = dlist_new_item((void *)(uintptr_t)slice); local
2004 dlist_t *item; local
2378 dlist_t *item; local
[all...]
/illumos-gate/usr/src/lib/libdns_sd/common/
H A Ddnssd_clientlib.c253 uint8_t *item = InternalTXTRecordSearch(txtRec->datalen, txtRec->buffer, key, &keylen); local
254 if (!item) return(kDNSServiceErr_NoSuchKey);
255 itemlen = (unsigned long)(1 + item[0]);
256 remainder = (unsigned long)((txtRec->buffer + txtRec->datalen) - (item + itemlen));
258 memmove(item, item + itemlen, remainder);
292 uint8_t *item = InternalTXTRecordSearch(txtLen, txtRecord, key, &keylen); local
293 if (!item || item[0] <= keylen) return(NULL); // If key not found, or found with no value, return NULL
294 *valueLen = (uint8_t)(item[
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfakebop.c2146 ACPI_SUBTABLE_HEADER *item, *end; local
2155 item = (ACPI_SUBTABLE_HEADER *)((uintptr_t)tp + sizeof (*tp));
2157 while (item < end) {
2158 switch (item->Type) {
2161 (ACPI_MADT_LOCAL_APIC *) item;
2173 (ACPI_MADT_LOCAL_X2APIC *) item;
2186 bop_printf(NULL, "MADT type %d\n", item->Type);
2190 item = (ACPI_SUBTABLE_HEADER *)((uintptr_t)item + item
2269 ACPI_SUBTABLE_HEADER *item, *end; local
2402 ACPI_MSCT_PROXIMITY *item, *end; local
[all...]
H A Dlgrpplat.c2810 ACPI_SUBTABLE_HEADER *item, *srat_end; local
2847 item = (ACPI_SUBTABLE_HEADER *)((uintptr_t)tp + sizeof (*tp));
2850 while (item < srat_end) {
2857 switch (item->Type) {
2860 (ACPI_SRAT_CPU_AFFINITY *) item;
2887 (ACPI_SRAT_MEM_AFFINITY *)item;
2950 (ACPI_SRAT_X2APIC_CPU_AFFINITY *) item;
2975 item = (ACPI_SUBTABLE_HEADER *)((uintptr_t)item + item
3025 ACPI_SUBTABLE_HEADER *item, *end; local
3220 ACPI_MSCT_PROXIMITY *item, *end; local
[all...]
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-channel.c300 xge_list_t *item; local
312 xge_list_for_each(item, &device->free_channels) {
315 tmp = xge_container_of(item, xge_hal_channel_t, item);
383 xge_list_remove(&channel->item);
384 xge_list_insert(&channel->item, &device->fifo_channels);
387 xge_list_remove(&channel->item);
388 xge_list_insert(&channel->item, &device->ring_channels);
524 xge_list_t *item; local
533 xge_list_for_each(item,
[all...]
/illumos-gate/usr/src/common/exacct/
H A Dexacct_core.c236 ea_item_t *item = &obj->eo_item; local
249 item->ei_u.ei_u_uint8 = *(uint8_t *)value;
250 item->ei_size = sizeof (uint8_t);
253 item->ei_u.ei_u_uint16 = *(uint16_t *)value;
254 item->ei_size = sizeof (uint16_t);
257 item->ei_u.ei_u_uint32 = *(uint32_t *)value;
258 item->ei_size = sizeof (uint32_t);
261 item->ei_u.ei_u_uint64 = *(uint64_t *)value;
262 item->ei_size = sizeof (uint64_t);
265 item
[all...]
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dinfcover.c59 struct mem_item *next; /* pointer to next item in list, or NULL */
64 struct mem_item *first; /* pointer to first item in list, or NULL */
74 struct mem_item *item; local
89 /* create a new item for the list */
90 item = malloc(sizeof(struct mem_item));
91 if (item == NULL) {
95 item->ptr = ptr;
96 item->size = len;
98 /* insert item at the beginning of the list */
99 item
114 struct mem_item *item, *next; local
203 struct mem_item *item, *next; local
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dutil.c313 * item_name - String describing item for which value is being read.
508 elfedit_optarg_item_t item; local
554 elfedit_next_optarg(&optarg, &item);
555 need_value = item.oai_flags & ELFEDIT_CMDOA_F_VALUE;
563 if ((item.oai_name[2] == '\0') && need_value &&
564 (argstr[1] == item.oai_name[1]) &&
576 sgl_with_value.ret.gor_idmask = item.oai_idmask;
577 sgl_with_value.excmask = item.oai_excmask;
584 if (strcmp(argstr, item.oai_name) == 0) {
589 if (item
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/dbm/
H A Ddbm.c105 datum item; local
109 item.dptr = 0;
110 return (item);
118 datum item; local
122 item.dptr = 0;
123 return (item);
132 datum item; local
138 item.dptr = 0;
139 return (item);
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_msgbuf.c159 smb_msgbuf_mlist_t *item = mb->mlist.next; local
162 while (item) {
163 tmp = item;
164 item = item->next;
679 smb_msgbuf_mlist_t *item; local
684 if ((item = malloc(size)) == NULL)
687 item = kmem_alloc(size, KM_SLEEP);
689 item->next = mb->mlist.next;
690 item
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_get/
H A Dzfs_get_001_pos.ksh95 typeset item
96 item=$(echo $line | awk '{print $2}' 2>&1)
98 if [[ $item == $p ]]; then
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_pq.c67 void *item = p->dtpq_items[index]; local
68 return (p->dtpq_value(item, p->dtpq_arg));
72 dt_pq_insert(dt_pq_t *p, void *item) argument
79 p->dtpq_items[i] = item;
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dsharemgr.h107 void *item; member in struct:list
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_decl.c48 item2hash(inj_itemtype_t item) argument
52 assert(item >= 0 && item < sizeof (inj_decls) / sizeof (inj_hash_t));
60 return (&inj_decls[item]);
/illumos-gate/usr/src/cmd/format/
H A Dmenu.c39 static int (*find_enabled_menu_item())(struct menu_item *menu, int item);
114 find_enabled_menu_item(menu, item))()
116 int item;
122 if (item-- == 0) {
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_define.c482 struct acc_log_elem *item,
498 edp->offset + item->offset, /* offset into the regset */
499 item->size, /* corrupt addrs from offset to offset+size */
513 struct acc_log_elem *item, ulong_t nttime, ulong_t interval, char *type,
523 if (item->access_type & BOFI_INTR)
535 if (item->access_type != BOFI_DMA_W &&
536 ((item->access_type & BOFI_PIO_W) == 0 || !atype_is_default)) {
571 if ((item->access_type == BOFI_DMA_W ||
572 item->access_type == BOFI_DMA_R) &&
573 item
479 define_one_error( FILE *fp, struct bofi_errdef *edp, struct acc_log_elem *item, ulong_t nttime, ulong_t interval, char *type, int fon, size_t fcnt, uint_t acc_chk, char *opname, uint64_t operand) argument
512 define_op_err(FILE *fp, int *ecnt, struct bofi_errdef *edp, struct acc_log_elem *item, ulong_t nttime, ulong_t interval, char *type, int fon, size_t fcnt) argument
678 struct acc_log_elem *item; local
884 struct acc_log_elem *items, *item, *elem; local
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Drsend_012_pos.ksh68 for item in $props ; do
69 if [[ $item == "mlslabel" ]] && \
73 zfs get -H -o property,value $item $ds >> \
77 "$item $ds > $backfile"
/illumos-gate/usr/src/lib/libxcurses/src/tic/
H A Dticparse.c185 struct use_item *item; local
187 item = (struct use_item *) malloc(sizeof(struct use_item));
189 if (item == NULL)
192 item->offset = offset;
196 item->bptr = use_list.tail;
197 use_list.tail->fptr = item;
198 item->fptr = NULL;
199 use_list.tail = item;
203 use_list.tail = use_list.head = item;
204 item
[all...]

Completed in 115 milliseconds

1234567891011