Lines Matching defs:msg_elem
3083 struct fcip_sendup_elem *msg_elem;
3088 msg_elem = kmem_cache_alloc(fptr->fcip_sendup_cache, KM_NOSLEEP);
3089 if (msg_elem == NULL) {
3094 msg_elem->fcipsu_mp = mp;
3095 msg_elem->fcipsu_func = f;
3099 fptr->fcip_sendup_head = fptr->fcip_sendup_tail = msg_elem;
3101 fptr->fcip_sendup_tail->fcipsu_next = msg_elem;
3102 fptr->fcip_sendup_tail = msg_elem;
3176 struct fcip_sendup_elem *msg_elem;
3201 msg_elem = fptr->fcip_sendup_head;
3202 fptr->fcip_sendup_head = msg_elem->fcipsu_next;
3203 msg_elem->fcipsu_next = NULL;
3206 if (msg_elem->fcipsu_func == NULL) {
3216 putnext(ip4q, msg_elem->fcipsu_mp);
3219 freemsg(msg_elem->fcipsu_mp);
3222 fcip_sendup(fptr, msg_elem->fcipsu_mp,
3223 msg_elem->fcipsu_func);
3236 kmem_cache_free(fptr->fcip_sendup_cache, (void *)msg_elem);
7615 struct fcip_sendup_elem *msg_elem = (struct fcip_sendup_elem *)buf;
7620 msg_elem->fcipsu_mp = NULL;
7621 msg_elem->fcipsu_func = NULL;
7622 msg_elem->fcipsu_next = NULL;