/titanic_50/usr/src/uts/common/sys/ |
H A D | tnf_writer.h | 128 #define tnf_char(ops, item, ref) (item) argument 131 #define tnf_int8(ops, item, ref) (item) argument 134 #define tnf_uint8(ops, item, ref) (item) argument 137 #define tnf_int16(ops, item, ref) (item) argument 140 #define tnf_uint16(ops, item, ref) (item) argument 143 #define tnf_int32(ops, item, ref) (item) argument 146 #define tnf_uint32(ops, item, ref) (item) argument 149 #define tnf_int64(ops, item, ref) (item) argument 152 #define tnf_uint64(ops, item, ref) (item) argument 155 #define tnf_float32(ops, item, ref) (item) argument [all …]
|
/titanic_50/usr/src/lib/libnisdb/ |
H A D | nis_hashitem.c | 271 __nis_hash_item_mt *item = arg; in __nis_insert_item_mt() local 275 if (item == 0 || __nis_lock_hash_table(table, 0, "nitmt") == 0) in __nis_insert_item_mt() 278 if ((*(pp = __find_item_mt(item->name, table, &key))) != 0) { in __nis_insert_item_mt() 283 (void) pthread_cond_init(&item->lock, 0); in __nis_insert_item_mt() 284 item->readers = item->writer = 0; in __nis_insert_item_mt() 285 item->last_reader_id = item->writer_id = INV_PTHREAD_ID; in __nis_insert_item_mt() 287 item->writer = 1; in __nis_insert_item_mt() 288 item->writer_id = pthread_self(); in __nis_insert_item_mt() 291 item->readers = 1; in __nis_insert_item_mt() 292 item->last_reader_id = pthread_self(); in __nis_insert_item_mt() [all …]
|
H A D | db_item_c.x | 42 struct item{ struct 50 %class item { 55 % item( char* str, int len); 58 % item( item* ); 61 % item() {len = 0; value = NULL;} 64 % ~item() {delete value;} 67 % bool_t equal( item *, bool_t casein = FALSE );
|
H A D | db_item.cc | 53 item::item(char *str, int n) in item() function in item 64 item::item(item *model) in item() function in item 76 item::print() in print() 85 item::equal(item* other, bool_t casein) in equal() 96 item::equal(char* other, int olen, bool_t casein) in equal() 106 item::get_hashval(bool_t casein) in get_hashval()
|
/titanic_50/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_list.c | 69 av1394_list_put_tail(av1394_list_t *lp, void *item) in av1394_list_put_tail() argument 71 ITEM(item)->i_next = NULL; in av1394_list_put_tail() 72 ITEM(item)->i_prev = lp->l_tail; in av1394_list_put_tail() 76 lp->l_head = lp->l_tail = item; in av1394_list_put_tail() 78 lp->l_tail->i_next = item; in av1394_list_put_tail() 79 lp->l_tail = item; in av1394_list_put_tail() 89 av1394_list_put_head(av1394_list_t *lp, void *item) in av1394_list_put_head() argument 91 ITEM(item)->i_next = lp->l_head; in av1394_list_put_head() 92 ITEM(item)->i_prev = NULL; in av1394_list_put_head() 96 lp->l_head = lp->l_tail = item; in av1394_list_put_head() [all …]
|
/titanic_50/usr/src/lib/libast/common/port/ |
H A D | astlicense.c | 182 Item_t item[ITEMS]; member 192 lookup(register const Item_t* item, const char* name, int size) in lookup() argument 198 for (i = 0; item[i].data; i++) in lookup() 199 if (c == item[i].data[0] && size == item[i].size && !strncmp(name, item[i].data, size)) in lookup() 278 expand(Notice_t* notice, register Buffer_t* b, const Item_t* item) in expand() argument 288 if (t = item->data) in expand() 290 q = item->quote; in expand() 291 e = t + item->size; in expand() 306 if ((c = lookup(key, x, t - x - 1)) >= 0 && (x = notice->item[c].data)) in expand() 308 z = x + notice->item[c].size; in expand() [all …]
|
/titanic_50/usr/src/lib/libnsl/yp/ |
H A D | dbm.c | 143 datum item; in fetch() local 147 item = makdatum(pagbuf, i); in fetch() 148 if (item.dptr == NULL) { in fetch() 149 return (item); in fetch() 151 if (cmpdatum(key, item) == 0) { in fetch() 152 item = makdatum(pagbuf, i+1); in fetch() 153 if (item.dptr == NULL) in fetch() 155 return (item); in fetch() 164 datum item; in delete() local 170 item = makdatum(pagbuf, i); in delete() [all …]
|
/titanic_50/usr/src/ucblib/libdbm/ |
H A D | dbm.c | 54 int additem(char buf[PBLKSIZ], datum item); 146 datum item; in fetch() local 150 item = makdatum(pagbuf, i); in fetch() 151 if (item.dptr == NULL) in fetch() 152 return (item); in fetch() 153 if (cmpdatum(key, item) == 0) { in fetch() 154 item = makdatum(pagbuf, i+1); in fetch() 155 if (item.dptr == NULL) in fetch() 157 return (item); in fetch() 166 datum item; in delete() local [all …]
|
/titanic_50/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_ht.c | 135 HT_ITEM *item; in ht_destroy_table() local 143 while ((item = ht_findfirst(handle, &iterator)) != 0) in ht_destroy_table() 144 (void) ht_remove_item(handle, item->hi_key); in ht_destroy_table() 234 HT_ITEM *item; in ht_add_item() local 253 if ((item = malloc(msize)) == 0) in ht_add_item() 256 item->hi_key = (char *)item + sizeof (HT_ITEM); in ht_add_item() 257 (void) memcpy(item->hi_key, key, key_len); in ht_add_item() 258 item->hi_data = (void *)data; in ht_add_item() 259 item->hi_flags = 0; in ht_add_item() 266 item->hi_next = handle->ht_table[h_index].he_head; in ht_add_item() [all …]
|
/titanic_50/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_cache.c | 47 static void hash_callback(HT_ITEM *item); 92 HT_ITEM *item; in smb_netbios_cache_getfirst() local 96 item = ht_findfirst(smb_netbios_cache, &iter->nbc_hti); in smb_netbios_cache_getfirst() 97 if (item == NULL || item->hi_data == NULL) { in smb_netbios_cache_getfirst() 102 entry = (struct name_entry *)item->hi_data; in smb_netbios_cache_getfirst() 115 HT_ITEM *item; in smb_netbios_cache_getnext() local 119 item = ht_findnext(&iter->nbc_hti); in smb_netbios_cache_getnext() 120 if (item == NULL || item->hi_data == NULL) { in smb_netbios_cache_getnext() 125 entry = (struct name_entry *)item->hi_data; in smb_netbios_cache_getnext() 145 HT_ITEM *item; in smb_netbios_cache_lookup() local [all …]
|
/titanic_50/usr/src/cmd/rpcsvc/rpc.bootparamd/ |
H A D | bootparam_ip_route.c | 210 mib_item_t *item; in free_itemlist() local 213 item = item_list; in free_itemlist() 214 item_list = item->next_item; in free_itemlist() 215 if (item->valp) in free_itemlist() 216 free(item->valp); in free_itemlist() 217 free(item); in free_itemlist() 235 mib_item_t *item; in get_ip_route() local 279 for (item = item_list; item; item = item->next_item) { in get_ip_route() 280 if ((item->group == MIB2_IP) && (item->mib_id == 0)) { in get_ip_route() 282 mip = (mib2_ip_t *)(void *)item->valp; in get_ip_route() [all …]
|
/titanic_50/usr/src/cmd/lp/lib/lp/ |
H A D | searchlist.c | 40 char * item, in searchlist() argument 44 searchlist (item, list) in searchlist() 45 register char *item; in searchlist() 52 else if (STREQU(item, NAME_ANY) || STREQU(item, NAME_ALL)) 61 STREQU(*list, item) 78 char * item, in searchlist_with_terminfo() argument 82 searchlist_with_terminfo (item, list) in searchlist_with_terminfo() 83 register char *item; in searchlist_with_terminfo() 90 else if (STREQU(item, NAME_ANY) || STREQU(item, NAME_ALL)) 99 STREQU(*list, item) [all …]
|
/titanic_50/usr/src/lib/libshare/common/ |
H A D | libsharecore.c | 142 xfs_sharelist_t *item; in alloc_sharelist() local 144 item = (xfs_sharelist_t *)malloc(sizeof (xfs_sharelist_t)); in alloc_sharelist() 145 if (item != NULL) in alloc_sharelist() 146 (void) memset(item, '\0', sizeof (xfs_sharelist_t)); in alloc_sharelist() 147 return (item); in alloc_sharelist() 160 xfs_sharelist_t *item, *prev; in fix_notice() local 173 item = alloc_sharelist(); in fix_notice() 174 if (item != NULL) { in fix_notice() 175 item->description = strdup(notice[i]); in fix_notice() 177 item->next = list; in fix_notice() [all …]
|
/titanic_50/usr/src/lib/libumem/common/ |
H A D | envvar.c | 62 typedef int arg_process_t(const struct umem_env_item *item, const char *value); 296 item_uint_process(const umem_env_item_t *item, const char *item_arg) in item_uint_process() argument 322 (*item->item_uint_target) = (uint_t)result; in item_uint_process() 326 log_message("%s: %s: not a number\n", CURRENT, item->item_name); in item_uint_process() 330 log_message("%s: %s: overflowed\n", CURRENT, item->item_name); in item_uint_process() 335 item_size_process(const umem_env_item_t *item, const char *item_arg) in item_size_process() argument 391 (*item->item_size_target) = result; in item_size_process() 395 log_message("%s: %s: not a number\n", CURRENT, item->item_name); in item_size_process() 399 log_message("%s: %s: overflowed\n", CURRENT, item->item_name); in item_size_process() 404 umem_log_process(const umem_env_item_t *item, const char *item_arg) in umem_log_process() argument [all …]
|
/titanic_50/usr/src/lib/libbc/libc/gen/common/ |
H A D | ndbm.c | 190 datum item; in dbm_fetch() local 196 item = makdatum(db->dbm_pagbuf, i+1); in dbm_fetch() 197 if (item.dptr != NULL) in dbm_fetch() 198 return (item); in dbm_fetch() 201 item.dptr = NULL; in dbm_fetch() 202 item.dsize = 0; in dbm_fetch() 203 return (item); in dbm_fetch() 241 datum item, item1; in dbm_store() local 284 item = makdatum(db->dbm_pagbuf, i); in dbm_store() 285 if (item.dptr == NULL) in dbm_store() [all …]
|
H A D | hsearch.c | 120 ENTRY item; member 249 hsearch(ENTRY item, ACTION action) in hsearch() argument 257 i = HASH(item.key); /* Primary hash on key */ in hsearch() 266 else if(COMPARE(table[i].key, item.key) == 0) /* Match? */ in hsearch() 270 c = HASH2(item.key); /* No match => compute secondary hash */ in hsearch() 283 else if(COMPARE(table[i].key, item.key) == 0) /* Match? */ in hsearch() 300 { unsigned int p0 = HASH(item.key); /* First probe index */ in hsearch() 301 unsigned int c0 = HASH2(item.key); /* Main branch increment */ in hsearch() 336 table[i] = item; /* Save item */ in hsearch() 371 hsearch(ENTRY item, ACTION action) in hsearch() argument [all …]
|
/titanic_50/usr/src/lib/libeti/menu/common/ |
H A D | newitem.c | 43 ITEM *item; in new_item() local 45 if (item = (ITEM *) calloc(1, sizeof (ITEM))) { in new_item() 47 *item = *Dfl_Item; in new_item() 50 Name(item) = name; in new_item() 51 Description(item) = desc; in new_item() 54 NameLen(item) = strlen(name); in new_item() 56 free(item); /* Can't have a null name */ in new_item() 60 DescriptionLen(item) = strlen(desc); in new_item() 62 DescriptionLen(item) = 0; in new_item() 65 return (item); in new_item()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | ndbm.c | 254 datum item; in dbm_fetch() local 260 item = makdatum(db->dbm_pagbuf, i+1); in dbm_fetch() 261 if (item.dptr != NULL) in dbm_fetch() 262 return (item); in dbm_fetch() 265 item.dptr = NULL; in dbm_fetch() 266 item.dsize = 0; in dbm_fetch() 267 return (item); in dbm_fetch() 306 datum item, item1; in dbm_store() local 351 item = makdatum(db->dbm_pagbuf, i); in dbm_store() 352 if (item.dptr == NULL) in dbm_store() [all …]
|
H A D | hsearch.c | 118 ENTRY item; member 282 *hsearch(ENTRY item, ACTION action) in hsearch() argument 293 i = HASH(item.key); /* Primary hash on key */ in hsearch() 302 else if (COMPARE(table[i].key, item.key) == 0) /* Match? */ in hsearch() 306 c = HASH2(item.key); /* No match => compute secondary hash */ in hsearch() 319 else if (COMPARE(table[i].key, item.key) == 0) /* Match? */ in hsearch() 338 unsigned int p0 = HASH(item.key); /* First probe index */ in hsearch() 339 unsigned int c0 = HASH2(item.key); /* Main branch increment */ in hsearch() 378 table[i] = item; /* Save item */ in hsearch() 411 *hsearch(item, action) /* Chained search with sorted lists */ in hsearch() argument [all …]
|
/titanic_50/usr/src/cmd/fm/fminject/common/ |
H A D | inj_util.c | 34 inj_item2str(inj_itemtype_t item) in inj_item2str() argument 38 return (item >= 0 && in inj_item2str() 39 item < sizeof (names) / sizeof (char *) ? names[item] : "???"); in inj_item2str() 43 inj_item2mem(inj_itemtype_t item) in inj_item2mem() argument 49 assert(item >= 0 && item < sizeof (mems) / sizeof (inj_memtype_t)); in inj_item2mem() 50 return (mems[item]); in inj_item2mem()
|
/titanic_50/usr/src/lib/fm/libfmd_msg/common/ |
H A D | fmd_msg_test.out | 25 code TEST-8000-08 item 0 = <<Defect>> 26 code TEST-8000-08 item 1 = <<Minor>> 27 code TEST-8000-08 item 2 = <<This entry tests URL variable expansion - url = http://illumos.org/msg… 28 code TEST-8000-08 item 3 = <<This entry tests the percent character escape sequence: %>> 29 code TEST-8000-08 item 4 = <<This entry tests variable expansion for event payload members: uuid = … 30 code TEST-8000-08 item 5 = <<Variable expansion for arrays: index = %<test_arr[1].index>>> 31 code TEST-8000-08 item 6 = <<http://illumos.org/msg/TEST-8000-08>> 41 code TEST-8000-08 item 0 = <<Defect>> 42 code TEST-8000-08 item 1 = <<Minor>> 43 code TEST-8000-08 item 2 = <<This entry tests URL variable expansion - url = http://illumos.org/msg… [all …]
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | mpapi_impl.c | 594 oid_list[count] = (uint64_t)ilist->item->oid.raw_oid; in vhci_get_dev_prod_list() 636 while ((ilist != NULL) && (*oid != ilist->item->oid.raw_oid)) { in vhci_get_dev_prod_prop() 640 dev_prop = (mp_dev_prod_prop_t *)(ilist->item->idata); in vhci_get_dev_prod_prop() 681 oid_list[count] = (uint64_t)(ilist->item->oid.raw_oid); in vhci_get_lu_list() 685 ld = ilist->item->idata; in vhci_get_lu_list() 728 while ((ilist != NULL) && (*oid != ilist->item->oid.raw_oid)) in vhci_get_lu_list_from_tpg() 736 } else if (*oid == ilist->item->oid.raw_oid) { in vhci_get_lu_list_from_tpg() 737 mptpglu = (mpapi_tpg_data_t *)(ilist->item->idata); in vhci_get_lu_list_from_tpg() 753 item->oid.raw_oid; in vhci_get_lu_list_from_tpg() 760 ld = tpg_lu_list->item->idata; in vhci_get_lu_list_from_tpg() [all …]
|
/titanic_50/usr/src/uts/common/tnf/ |
H A D | tnf_types.h | 251 #define tnf_derived_base(ops, item, ref)\ argument 252 tnf_tag_element_1(ops, item, ref, tnf_derived_base_tag_data) 256 #define tnf_element_type(ops, item, ref)\ argument 257 tnf_tag_element_1(ops, item, ref, tnf_element_type_tag_data) 261 #define tnf_type_array(ops, item, ref) \ argument 262 tnf_tag_array_1(ops, item, ref, tnf_type_array_tag_data) 266 #define tnf_slot_types(ops, item, ref) \ argument 267 tnf_tag_array_1(ops, item, ref, tnf_slot_types_tag_data) 271 #define tnf_properties(ops, item, ref) \ argument 272 tnf_tag_properties_1(ops, item, ref, tnf_properties_tag_data) [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 141 static void mib_get_constants(mib_item_t *item); 142 static mib_item_t *mib_item_dup(mib_item_t *item); 145 static void mib_item_destroy(mib_item_t **item); 176 static void stat_report(mib_item_t *item); 177 static void mrt_stat_report(mib_item_t *item); 178 static void arp_report(mib_item_t *item); 179 static void ndp_report(mib_item_t *item); 180 static void mrt_report(mib_item_t *item); 183 static void if_report(mib_item_t *item, char *ifname, 191 static void ire_report(const mib_item_t *item); [all …]
|
/titanic_50/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xge-queue.c | 35 void* xge_queue_item_data(xge_queue_item_t *item) in xge_queue_item_data() argument 37 return (char *)item + sizeof(xge_queue_item_t); in xge_queue_item_data() 47 __queue_consume(xge_queue_t *queue, int data_max_size, xge_queue_item_t *item) in __queue_consume() argument 59 xge_list_remove(&elem->item); in __queue_consume() 105 xge_os_memcpy(item, elem, sizeof(xge_queue_item_t)); in __queue_consume() 106 xge_os_memcpy(xge_queue_item_data(item), xge_queue_item_data(elem), in __queue_consume() 154 xge_queue_item_t *item = (xge_queue_item_t *)(void *)item_buf; in xge_queue_produce() local 160 item) != XGE_QUEUE_IS_EMPTY) in xge_queue_produce() 227 xge_list_insert_before(&elem->item, &queue->list_head); in xge_queue_produce() 325 xge_list_t *item; in __io_queue_grow() local [all …]
|