/osnet-11/usr/src/lib/libc/port/aio/ |
H A D | posix_aio.c | 110 _lio_listio_cleanup(aio_lio_t *head) argument 114 ASSERT(MUTEX_HELD(&head->lio_mutex)); 115 if (head->lio_refcnt == 0) { 116 ASSERT(head->lio_nent == 0); 119 head->lio_waiting = 0; 120 sig_mutex_unlock(&head->lio_mutex); 122 _aio_lio_free(head); 131 aio_lio_t *head = NULL; local 199 * If LIO_WAIT, or notification required, allocate a list head. 206 head 325 _lio_list_decr(aio_lio_t *head) argument 736 aio_lio_t *head; local 755 __aio_fsync_bar(aiocb_t *aiocbp, aio_lio_t *head, aio_worker_t *aiowp, int workerscnt) argument 781 aio_lio_t *head; local 1333 aio_lio_t *head = NULL; local 1631 __aio_fsync_bar64(aiocb64_t *aiocbp, aio_lio_t *head, aio_worker_t *aiowp, int workerscnt) argument 1657 aio_lio_t *head; local [all...] |
H A D | aio.c | 1340 aio_lio_t *head; local 1407 head = reqp->req_head; 1435 if (head != NULL) { 1440 sig_mutex_lock(&head->lio_mutex); 1441 ASSERT(head->lio_refcnt == head->lio_nent); 1442 if (head->lio_refcnt == 1) { 1444 if (head->lio_mode == LIO_WAIT) { 1445 if ((waiting = head->lio_waiting) != 0) 1446 (void) cond_signal(&head 1510 aio_lio_t *head = reqp->req_head; local [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getexecattr.c | 452 * head of list of exec_attrs or, in the case of nscd, we compute the 512 execattr_t *head = NULL; local 527 head = getexecattr(); 529 head = getexecattr(); 530 prev = head; 536 head = NULL; 539 return (head); 562 execattr_t *head = NULL; local 575 return (head); 578 head 662 execattr_t *head; member in struct:result [all...] |
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_trans.c | 1262 daddr_t blksinuse, head, tail, nblks, eblk, sblk; local 1278 head = mt->un_l_head; 1283 if (head <= tail) 1284 blksinuse = tail - head; 1286 blksinuse = (eblk - head) + (tail - sblk);
|
H A D | meta_metad.c | 280 o_md_drive_desc *new, *head; local 282 head = NULL; 289 new->dd_next = head; 290 head = new; 292 *v1_dd = head; 306 md_drive_desc *new, *head; local 309 head = NULL; 316 new->dd_next = head; 317 head = new; 319 *v2_dd = head; 327 o_md_drive_desc *o_dd, *head; local 345 md_drive_desc *dd, *head; local [all...] |
/osnet-11/usr/src/lib/nsswitch/nis/common/ |
H A D | getnetgrent.c | 214 * If we insert at the head, we get a depth-first search; insertion 222 * A netgrtab structure contains the hash-chain heads and the head/tail 264 struct netgrnam **head; local 272 head = &ngt->hash_heads[hashval % HASHMOD]; 273 for (cur = *head; cur != 0; cur = cur->hash_chain) { 289 cur->hash_chain = *head; 290 *head = cur;
|
/osnet-11/usr/src/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_tavor_wr.c | 129 uint32_t head, tail, size; local 143 * update the "head" and "full" indicators on the individual containers 166 * Grab the current "head", "tail" and "size" fields before 172 head = container->wl_head; 175 while ((head != tail) || (container->wl_full)) { 177 curr = &container->wl_wre[head]; 178 head = ((head + 1) & (size - 1)); 193 * "head == tail" condition can only mean that the container 199 if (head 571 uint32_t head; local [all...] |
H A D | dapl_arbel_hw.c | 1044 uint32_t head, tail, next_tail, qsize_msk; local 1065 head = qp->qp_sq_wqhdr->wq_head; 1082 if (next_tail == head) { 1182 uint32_t head, tail, next_tail, qsize_msk; local 1198 head = qp->qp_rq_wqhdr->wq_head; 1222 if (next_tail == head) { 1293 uint32_t head, next_head, qsize_msk; local 1320 head = srq->srq_wridlist->wl_freel_head; 1322 next_head = (head + 1) & qsize_msk; 1325 desc = srq->srq_wridlist->wl_free_list[head]; [all...] |
H A D | dapl_hermon_hw.c | 1082 uint32_t head, tail, next_tail, qsize_msk; local 1103 head = qp->qp_sq_wqhdr->wq_head; 1120 if (next_tail == head) { 1239 uint32_t head, tail, next_tail, qsize_msk; local 1255 head = qp->qp_rq_wqhdr->wq_head; 1279 if (next_tail == head) { 1348 uint32_t head, next_head, qsize_msk; local 1375 head = srq->srq_wridlist->wl_freel_head; 1377 next_head = (head + 1) & qsize_msk; 1380 desc = srq->srq_wridlist->wl_free_list[head]; [all...] |
H A D | dapl_tavor_hw.c | 1304 uint32_t head, tail, next_tail, qsize_msk; local 1325 head = qp->qp_sq_wqhdr->wq_head; 1342 if (next_tail == head) { 1437 uint32_t head, tail, next_tail, qsize_msk; local 1453 head = qp->qp_rq_wqhdr->wq_head; 1477 if (next_tail == head) { 1555 uint32_t head, next_head, qsize_msk; local 1582 head = srq->srq_wridlist->wl_freel_head; 1584 next_head = (head + 1) & qsize_msk; 1587 desc = srq->srq_wridlist->wl_free_list[head]; 1647 uint32_t head, tail, size; local [all...] |
H A D | dapl_tavor_ibtf_util.c | 1563 int head; local 1572 head = srqp->srq_freepr_events[srqp->srq_freepr_head]; 1578 (void) dapl_os_memcpy(&(srqp->srq_premature_events[head]),
|
/osnet-11/usr/src/lib/librcm/ |
H A D | librcm.c | 750 rcm_append_info(rcm_info_t **head, rcm_info_t *info) argument 754 if (head == NULL) { 759 if ((tuple = *head) == NULL) { 760 *head = info;
|
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | ServiceStoreInMemory.java | 306 List head = new List(null); // head of the list always null, field in class:ServiceStoreInMemory.RegRecord 319 return head.insertAfter(rec); 330 List l = head; 343 return "<RegRecord value="+value+"list="+head.next+">"; 624 if (rec.head.next == null) { 1446 List l = qRec.head.next;
|
/osnet-11/usr/src/lib/libparted/common/libparted/fs/jfs/ |
H A D | jfs_types.h | 251 * one to the head of the list and the other to the tail of the list. 255 * at the head of the list, or at the tail of the list. 280 struct type *head;\ 285 struct cdll_header *head; member in struct:cdll_header 313 (header)->head = (void *)(header);\ 329 * for (elm = header->head; elm != (void *)header; elm = elm->field.next) 333 * insert <elm> at head of list anchored at <header> 340 (elm)->field.next = (header)->head;\ 345 (header)->head->field.prev = (elm);\ 346 (header)->head [all...] |
/osnet-11/usr/src/lib/libiov/sparc/ |
H A D | libiov_hp.c | 1229 target_elem_t *head, *tmp; local 1230 head = cbarg->target_list; 1231 while (head != NULL) { 1232 tmp = head; 1233 head = head->next;
|
/osnet-11/usr/src/grub/grub2/grub-core/fs/ |
H A D | bfs.c | 416 struct grub_bfs_btree_header head; local 421 err = read_bfs_file (disk, sb, ino, 0, &head, sizeof (head), 0); 424 node_off = grub_bfs_to_cpu64 (head.root); 426 level = grub_bfs_to_cpu32 (head.level) - 1; 514 struct grub_bfs_btree_header head; local 519 err = read_bfs_file (disk, sb, ino, 0, &head, sizeof (head), 0); 522 node_off = grub_bfs_to_cpu64 (head.root); 524 level = grub_bfs_to_cpu32 (head [all...] |
H A D | hfs.c | 69 /* The head of the B*-Tree. */ 318 struct grub_hfs_treeheader head; 355 data->ext_root = grub_be_to_cpu32 (treehead.head.root_node); 356 data->ext_size = grub_be_to_cpu16 (treehead.head.node_size); 365 data->cat_root = grub_be_to_cpu32 (treehead.head.root_node); 366 data->cat_size = grub_be_to_cpu16 (treehead.head.node_size); 317 struct grub_hfs_treeheader head; member in struct:__anon397
|
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/ |
H A D | xnu.c | 428 struct grub_xnu_devprop_header *head; local 462 head = ptr; 463 ptr = head + 1; 464 head->length = total_length; 465 head->alwaysone = 1; 466 head->num_devices = numdevs; 530 struct grub_xnu_devprop_header *head; local 557 head = buf; 558 buf = head + 1; 559 for (i = 0; i < grub_le_to_cpu32 (head [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/loader/ |
H A D | xnu.c | 135 /* Write devtree in XNU format at curptr assuming the head is named NAME.*/ 774 struct grub_macho_fat_header head; local 789 if (grub_file_read (file, &head, sizeof (head)) 790 != (grub_ssize_t) (sizeof (head))) 801 if (grub_be_to_cpu32 (head.magic) == GRUB_MACHO_FAT_MAGIC) 803 narchs = grub_be_to_cpu32 (head.nfat_arch);
|
/osnet-11/usr/src/lib/auditd_plugins/binfile/ |
H A D | binfile.c | 173 freedirlist(dirlist_t *head) argument 179 if (head != NULL) { 180 n1 = head; 187 } while (n1 != head);
|
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | adt.c | 1049 struct export_header head; local 1059 adrm_int32(&context, (int *)&head, 4); 1061 if ((internal->as_check = head.ax_check) != ADT_VALID) { 1065 offset = head.ax_link.ax_offset; 1066 version = head.ax_link.ax_version; 1067 length = head.ax_buffer_length; 1091 adrm_start(&context, (char *)(p + sizeof (head))); 1172 struct export_header head; local 1184 head.ax_check = ADT_VALID; 1185 head [all...] |
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_common.c | 92 static void __s_api_deleteRefInfo(ns_ref_info_t *head); 1418 __s_api_addReferral(ns_referral_t **head, char **urls, argument 1435 if (head == NULL) 1608 if (*head == NULL) { 1609 *head = referral; 1611 for (tmp_referral = *head; tmp_referral->next; 1634 __s_api_deleteRefInfo(ns_ref_info_t *head) argument 1636 ns_ref_info_t *ref = head; 1658 __s_api_deleteReferral(ns_referral_t *head) argument 1660 ns_referral_t *referral = head; [all...] |
H A D | ns_connmgmt.c | 2123 * Start from the head of the cm linked 2440 ns_conn_waiter_t *head = &conn_mt->waiter; local 2445 mywait.next = head->next; 2446 mywait.prev = head; 2449 head->next = &mywait; 2466 ns_conn_waiter_t *head = &conn_mt->waiter; local 2467 ns_conn_waiter_t *tmp = head->next;
|
/osnet-11/usr/src/lib/libsmbns/common/ |
H A D | smbns_netbios.h | 617 struct name_entry head; member in struct:name_queue
|
/osnet-11/usr/src/lib/libnisdb/ |
H A D | db_dictionary.cc | 186 /* Delete list of db_table_desc pointed to by 'head.' */ 188 delete_bucket(db_table_desc *head) argument 192 for (current = head; current != NULL; current = nextone) { 274 * If the entry being removed is at the head of the list, then 275 * the head is updated to reflect the removal. The storage for the 280 db_table_desc_p *head, unsigned long hval, char *target, 299 *head = np->next; // deleting head of bucket 313 * is done. The entry is added to the head of the bucket. 316 add_to_bucket(db_table_desc_p bucket, db_table_desc **head, db_table_desc_ argument 279 remove_from_bucket(db_table_desc_p bucket, db_table_desc_p *head, unsigned long hval, char *target, bool_t free_storage) argument 346 print_bucket(db_table_desc *head) argument [all...] |