Home
last modified time | relevance | path

Searched refs:item (Results 1 – 25 of 315) sorted by relevance

12345678910>>...13

/titanic_41/usr/src/uts/common/sys/
H A Dtnf_writer.h128 #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_41/usr/src/lib/libnisdb/
H A Dnis_hashitem.c271 __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 Ddb_item_c.x42 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 );
/titanic_41/usr/src/cmd/lvm/metassist/common/
H A Dvolume_dlist.c96 dlist_t *item, in dlist_insert_ordered() argument
107 head = item; in dlist_insert_ordered()
115 result = (compare)(item->obj, iter->obj); in dlist_insert_ordered()
121 head = item; in dlist_insert_ordered()
122 item->next = iter; in dlist_insert_ordered()
123 iter->prev = item; in dlist_insert_ordered()
125 item->prev = iter->prev; in dlist_insert_ordered()
126 item->prev->next = item; in dlist_insert_ordered()
127 iter->prev = item; in dlist_insert_ordered()
128 item->next = iter; in dlist_insert_ordered()
[all …]
/titanic_41/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_list.c69 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_41/usr/src/lib/libast/common/port/
H A Dastlicense.c182 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_41/usr/src/lib/libnsl/yp/
H A Ddbm.c143 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_41/usr/src/ucblib/libdbm/
H A Ddbm.c54 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_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_ht.c135 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_41/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_cache.c47 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_41/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_ip_route.c210 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_41/usr/src/cmd/lp/lib/lp/
H A Dsearchlist.c40 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_41/usr/src/lib/libshare/common/
H A Dlibsharecore.c142 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_41/usr/src/lib/libumem/common/
H A Denvvar.c62 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_41/usr/src/lib/libbc/libc/gen/common/
H A Dndbm.c190 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 Dhsearch.c120 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_41/usr/src/lib/libeti/menu/common/
H A Dnewitem.c43 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_41/usr/src/lib/libc/port/gen/
H A Dndbm.c254 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 …]
/titanic_41/usr/src/cmd/fs.d/cachefs/cachefspack/
H A Drules.c55 struct item *add_item(); in read_rules()
56 struct item *fitem, *sitem; in read_rules()
60 gign_hd.i_next = (struct item *)0; in read_rules()
62 list_hd.i_next = (struct item *)0; in read_rules()
79 if (lign_hd.i_next != (struct item *)0) { in read_rules()
93 if (fitem != (struct item *)0) { in read_rules()
94 while (fitem != (struct item *)0) { in read_rules()
105 if (fitem != (struct item *)0) { in read_rules()
106 while (fitem != (struct item *)0) { in read_rules()
113 last_gign->i_next = (struct item *)0; in read_rules()
[all …]
H A Drules.h45 struct item { struct
48 struct item *i_next; argument
58 EXTERN struct item list_hd;
59 EXTERN struct item gign_hd;
60 EXTERN struct item lign_hd;
61 EXTERN struct item *last_list;
62 EXTERN struct item *last_gign;
63 EXTERN struct item *last_lign;
/titanic_41/usr/src/cmd/fm/fminject/common/
H A Dinj_util.c34 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_41/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg_test.out25 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_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dmpapi_impl.c594 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_41/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_device_cache.c229 dlist_t *item; in add_cached_descriptor() local
257 if ((item = dlist_new_item((void *)dcp)) == NULL) { in add_cached_descriptor()
262 _desc_cache = dlist_append(item, _desc_cache, AT_HEAD); in add_cached_descriptor()
289 ENTRY item; in find_cached_descriptor() local
295 item.key = buf; in find_cached_descriptor()
298 if ((cached_item = hsearch(item, FIND)) != NULL) { in find_cached_descriptor()
368 dlist_t *item; in add_cached_name() local
401 if ((item = dlist_new_item((void *)ncp)) == NULL) { in add_cached_name()
408 _name_cache = dlist_append(item, _name_cache, AT_HEAD); in add_cached_name()
431 ENTRY item; in find_cached_name() local
[all …]
/titanic_41/usr/src/uts/common/tnf/
H A Dtnf_types.h251 #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 …]

12345678910>>...13