Lines Matching refs:head

2291 	_ii_lsthead_t *oldhead, **head;
2318 for (head = &_ii_group_top; *head;
2319 head = &((*head)->lst_next)) {
2320 if ((hash == (*head)->lst_hash) &&
2321 strncmp((*head)->lst_name, uparms.shadow_vol,
2326 if (!*head) {
2333 for (np = (*head)->lst_start; np; np = np->lst_next) {
2340 for (np = (*head)->lst_start; np; np = np->lst_next) {
2348 xnp = &(*head)->lst_start;
2364 (*xnp)->lst_ip->bi_group = (*head)->lst_name;
2388 /* no errors, all sets disabled, OK to free list head */
2389 oldhead = *head;
2390 *head = (*head)->lst_next;
5153 _ii_lsthead_t *head;
5161 for (head = _ii_group_top; head; head = head->lst_next) {
5162 if (hash == head->lst_hash && strncmp(head->lst_name,
5167 if (!head) {
5174 for (ucopy->count = 0, np = head->lst_start; np; np = np->lst_next)
5190 np = head->lst_start;
6217 if (ip->bi_head == ip) { /* removing head of list */
9961 _ii_lsthead_t *head;
9966 for (head = _ii_group_top; head; head = head->lst_next) {
9967 if (hash == head->lst_hash && strncmp(head->lst_name,
9972 if (!head) {
9977 for (nip = 0, np = head->lst_start; np; np = np->lst_next)
9984 np = head->lst_start;
10232 _ii_lsthead_t **head;
10251 for (head = lst; *head; head = &((*head)->lst_next)) {
10252 if (((*head)->lst_hash == hash) &&
10253 strncmp(name, (*head)->lst_name, DSW_NAMELEN) == 0) {
10254 node->lst_next = (*head)->lst_start;
10255 (*head)->lst_start = node;
10260 if (!*head) {
10262 *head = kmem_zalloc(sizeof (_ii_lsthead_t), KM_SLEEP);
10263 if (!*head) {
10270 (*head)->lst_hash = hash;
10271 (void) strncpy((*head)->lst_name, name, DSW_NAMELEN);
10272 (*head)->lst_start = node;
10276 *key = (*head)->lst_name;
10284 _ii_lsthead_t **head, *oldhead = 0;
10295 for (head = lst; *head; head = &((*head)->lst_next)) {
10296 if (((*head)->lst_hash == hash) &&
10297 strncmp(*key, (*head)->lst_name, DSW_NAMELEN) == 0)
10300 if (!*head) {
10307 for (node = &(*head)->lst_start; *node; node = &((*node)->lst_next)) {
10325 if (!(*head)->lst_start) {
10326 oldhead = *head;
10327 *head = (*head)->lst_next;