Searched refs:head (Results 501 - 525 of 653) sorted by relevance

<<21222324252627

/illumos-gate/usr/src/uts/intel/io/drm/
H A Dradeon_drv.h237 drm_radeon_freelist_t *head; member in struct:drm_radeon_private
1096 u32 head = GET_RING_HEAD(dev_priv); \
1097 if (head == dev_priv->ring.tail) \
/illumos-gate/usr/src/cmd/pools/poolstat/
H A Dpoolstat.c326 poolstat_list_element_t *head = le; local
337 head = le;
348 return (head);
/illumos-gate/usr/src/uts/common/io/drm/
H A DdrmP.h310 #define idr_list_for_each(entry, head) \
312 list_for_each(entry, &(head)->next[key])
355 struct drm_magic_entry *head; member in struct:drm_magic_head
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dif.c169 * Add an element to the head of the list.
172 link_in(void **head, void *strp, size_t loffs) argument
178 hlp->hl_prev = head;
179 if ((hlp->hl_next = *head) != NULL) {
181 ((struct hlinkage *)((char *)*head + loffs))->hl_prev =
184 *head = strp;
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c1268 arrowp->head->myevent->enode->u.event.ename->u.name.s,
1269 arrowp->head->myevent->ipp);
1271 if (arrowp->head->myevent->enode->file == NULL) {
1275 envvalues[2] = STRDUP(arrowp->head->myevent->enode->file);
1280 arrowp->head->myevent->enode->line);
H A Ditree.c194 arrowp->head = G.tobp;
1524 arrowp->head = tobp;
1644 ASSERT(ap->arrowp->head == bp);
1657 ASSERT(ap->arrowp->head != NULL);
1658 ASSERT(ap->arrowp->head->myevent != NULL);
1661 itree_pevent_brief(flags, ap->arrowp->head->myevent);
2065 itree_delete_arrow(al->arrowp->head, al->arrowp);
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_subr.c446 mblk_t *head = NULL, **tail = &head; local
475 return (head);
487 freemsg(head);
496 return (head);
2043 * oob data to the STREAM head. We leave SS_HADOOBDATA since the oob
2051 * Move data to the STREAM head.
2126 * Queue data on the STREAM head.
2140 * SIGURG and a mark indicator to the STREAM head. The mark indicator
2427 * head change
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Ddevcfg.c2199 find_sibling(dev_info_t *head, char *cname, char *caddr, uint_t flag, argument
2229 if (head == NULL)
2231 ASSERT(DEVI_BUSY_OWNED(ddi_get_parent(head)));
2232 for (dip = head; dip; dip = ddi_get_next_sibling(dip)) {
3473 struct walk_elem *head = NULL; local
3483 free_list(head);
3488 append_node(&head, dip);
3499 append_node(&head, dip);
3507 while (head) {
3509 struct walk_elem *next = head
7205 diplist_to_parent_major(dev_info_t *head, char parents[]) argument
[all...]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnb.c1343 mblk_t *head, *tail; local
1348 head = tail = NULL;
1357 return (head);
1564 if (head == NULL) {
1566 head = mp;
/illumos-gate/usr/src/lib/hal/libhal/common/
H A Dlibhal.c3840 LibHalChangeSetElement *head; member in struct:LibHalChangeSet_s
3871 changeset->head = NULL;
3884 if (changeset->head == NULL) {
3885 changeset->head = elem;
4178 if (changeset->head == NULL) {
4201 for (elem = changeset->head; elem != NULL; elem = elem->next) {
4291 for (elem = changeset->head; elem != NULL; elem = elem2) {
/illumos-gate/usr/src/uts/common/io/
H A Dfdc.c990 " head load time 40", (void*)fcp,
1126 fdrw(struct fcu_obj *fjp, int funit, int rw, int cyl, int head, argument
1150 csb->csb_cmd[1] = (uchar_t)(unit | ((head & 0x1) << 2));
1152 csb->csb_cmd[3] = (uchar_t)head;
1246 fdtrkformat(struct fcu_obj *fjp, int funit, int cyl, int head, int filldata) argument
1260 (CE_NOTE, "fdformattrk unit %d cyl=%d, hd=%d", funit, cyl, head));
1267 csb->csb_cmd[1] = (head << 2) | unit;
1321 *dp++ = (uchar_t)head;
1816 specifycmd[1] = fcp->c_hutsrt |= 0x0F; /* use max head unload time */
1817 hlt = (hlt >= 256) ? 0 : (hlt >> 1); /* encode head loa
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dbuiltins.c1856 char *cylinder, *head, *sector, *total_sector;
1860 head = skip_to (0, cylinder);
1861 sector = skip_to (0, head);
1864 || ! safe_parse_maxint (&head, &num_head)
3320 int cylinder, head, sector;
3323 head = (lba / buf_geom.sectors) % buf_geom.heads;
3331 *dh = head;
1835 char *cylinder, *head, *sector, *total_sector; local
3282 int cylinder, head, sector; local
/illumos-gate/usr/src/uts/common/io/rsm/
H A Drsm.c1760 importing_token_t *head; local
1778 head = importer_list.bucket[index];
1780 new_token->next = head;
4893 msgbuf_elem_t *head; local
4903 /* use the head of the msgbuf_queue */
4904 head = rsmka_gethead_msgbuf(path);
4908 msg = (rsmipc_request_t *)&(head->msg);
5752 list_element_t *head = NULL; local
5775 tokp = head;
5792 tokp->next = head;
5840 list_element_t *elem, *head; local
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_reads.c1071 char *key, *tail, *head; local
1269 head = info[i]->veq_pos;
1270 for (head = info[i]->veq_pos + 1;
1271 *head && *head == SPACETOK; head++)
1275 if (!(*head))
1278 info[i]->name_start = head - filter_c +
1284 for (c = head; ; c++) {
1295 info[i]->from_name = head;
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c255 Posf *head; /* Heads of the hash chains or NIL. */ member in struct:deflate_state
558 * Insert string str in the dictionary and set match_head to the previous head
567 s->prev[(str) & s->w_mask] = match_head = s->head[s->ins_h], \
568 s->head[s->ins_h] = (str))
575 s->head[s->hash_size-1] = NIL; \
576 zmemzero((charf *)s->head, (unsigned)(s->hash_size-1)*sizeof(*s->head));
635 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
641 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
863 TRY_FREE(strm, state->head, stat
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_io.c1797 ((icmdp = isp->sess_queue_pending.head) != NULL)) {
2638 t_icmdp = icp->conn_queue_active.head;
3274 q.head = NULL;
3277 icmdp = isp->sess_queue_completion.head;
3289 sess_queue_completion.head,
3293 iscsi_enqueue_cmd_head(&q.head,
3301 icmdp = q.head;
3422 for (icmdp = isp->sess_queue_pending.head;
3466 for (icmdp = icp->conn_queue_active.head;
3604 t_icmdp = icp->conn_queue_active.head;
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvsw_ldc.c340 for (p = plist->head; p != NULL; p = p->p_next) {
386 pp = (vsw_port_t **)(&plist->head);
481 while ((port = plist->head) != NULL) {
1059 for (port = plist->head; port != NULL; port = port->p_next) {
1134 for (portp = plist->head; portp != NULL; portp = portp->p_next) {
1195 for (portp = plist->head; portp != NULL; portp = portp->p_next) {
1212 if (plist->head == NULL)
1215 curr_p = prev_p = plist->head;
1220 plist->head = curr_p->p_next;
3767 * np: head o
[all...]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Ddca.c423 dca_chain_t *head, int *n_chain);
1334 * Dequeue takes from the "head" of the list, i.e. just after
2006 dca_chain_t *head, int *n_chain)
2042 head->dc_buffer_paddr = 0;
2043 head->dc_next_paddr = 0;
2044 head->dc_buffer_length = 0;
2051 /* Remember the head of the chain */
2052 if (head->dc_buffer_paddr == 0) {
2053 head->dc_buffer_paddr = c.dmac_address;
2054 head
2004 dca_bindchains_one(dca_request_t *reqp, size_t cnt, int dr_offset, caddr_t kaddr, ddi_dma_handle_t handle, uint_t flags, dca_chain_t *head, int *n_chain) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd.c3805 * to and put it back at the head
6518 ibd_release_swqe(ibd_state_t *state, ibd_swqe_t *head, ibd_swqe_t *tail, int n) argument
6527 state->id_tx_rel_list.dl_head = SWQE_TO_WQE(head);
7508 ibd_swqe_t *head, *tail; local
7514 head = tail = NULL;
7538 if (head)
7541 head = WQE_TO_SWQE(wqe);
7545 ibd_tx_cleanup_list(state, head, tail);
7566 mblk_t *head, *tail, *mp; local
7569 head
7864 ibd_tx_cleanup_list(ibd_state_t *state, ibd_swqe_t *head, ibd_swqe_t *tail) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_cmd.c646 /* Update head and tail mailboxes */
658 /* Update head and tail indexes */
788 /* Make the "head" and "tail" entries point to each other */
864 uint_t next, prev, head; local
906 head = cmd_list->cml_head_indx;
907 *cmd_ptr = &cmd_list->cml_cmd[head];
956 /* Update head and tail commands */
968 /* Update head and tail indexes */
1163 uint_t num_outstanding_cmds, head, tail; local
1210 head
[all...]
/illumos-gate/usr/src/uts/sun4/ml/
H A Dinterrupt.s67 ! Grab the first or list head intr_vec_t off the intr_head[pil]
68 ! and panic immediately if list head is NULL. Otherwise, update
79 brnz,pt %g2, 0f ! check list head (iv) is NULL
81 ba ptl1_panic ! panic, list head (iv) is NULL
1593 ! no pending intr_vec_t; make intr_vec_t as new head
1667 ! no pending intr_vec_t; make intr_vec_t as new head
1802 ! no pending intr_vec_t; make intr_vec_t as new head
1915 ! no intr_vec_t's queued so make intr_vec_t as new head
/illumos-gate/usr/src/uts/sun4u/io/
H A Dopl_cfg.c1194 for (resp = rp->head; resp != NULL; resp = nresp) {
1352 for (resp = rp->head; resp != NULL; resp = resp->next) {
1421 for (resp = rp->head; resp != NULL; resp = resp->next) {
1554 for (resp = rp->head; resp != NULL; resp = resp->next) {
1706 for (resp = rp->head; resp != NULL; resp = resp->next) {
1758 for (resp = rp->head; resp != NULL; resp = resp->next) {
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_disk.c1752 * routines to load the cylinder/head/sector/count
1774 * dev/head register can use only 4 bits
1791 * device/head 111D0000 N/A
1846 uchar_t head; local
1854 head = (resid % drvheads) & 0xf;
1864 ata_drvp->ad_drive_bits | head);
2661 (ata_drvp->ad_phhd -1), /* max head (0-based) */
2724 0, /* head n/a */
2788 uchar_t head; local
2794 head
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dmountd.c1985 char *head, *p, *val; local
1990 head = strdup(opts);
1991 if (head == NULL) {
1996 p = head;
1999 free(head);
2004 free(head);
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/pvscsi/
H A Dpvscsi.c464 pvscsi_cmd_t *head = NULL; local
491 if (head == NULL) {
492 head = cmd;
493 head->tail_cmd = cmd;
495 head->tail_cmd = cmd;
510 return (head);

Completed in 279 milliseconds

<<21222324252627