Home
last modified time | relevance | path

Searched refs:llist (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dhot.c449 } *llist_head, *llist_tail, *llist, *llist1; in g_forcelip_all() local
502 if ((llist = (struct loop_list *) in g_forcelip_all()
505 (void) strncpy(llist->adp_name, dl->dev_path, len); in g_forcelip_all()
506 llist->adp_name[len] = '\0'; in g_forcelip_all()
510 llist_head = llist_tail = llist; in g_forcelip_all()
512 llist->prev = llist_tail; in g_forcelip_all()
513 llist_tail = llist_tail->next = llist; in g_forcelip_all()
522 (void) g_destroy_data(llist); in g_forcelip_all()
526 llist = llist_head; in g_forcelip_all()
528 (void) g_destroy_data((char *)llist); in g_forcelip_all()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_lock.c69 smb_llist_t *llist; in smb_lock_get_lock_count() local
75 llist = &node->n_lock_list; in smb_lock_get_lock_count()
77 smb_llist_enter(llist, RW_READER); in smb_lock_get_lock_count()
78 for (lock = smb_llist_head(llist); in smb_lock_get_lock_count()
80 lock = smb_llist_next(llist, lock)) { in smb_lock_get_lock_count()
84 smb_llist_exit(llist); in smb_lock_get_lock_count()
361 smb_llist_t *llist; in smb_lock_range_access() local
376 llist = &node->n_lock_list; in smb_lock_range_access()
377 smb_llist_enter(llist, RW_READER); in smb_lock_range_access()
379 for (lock = smb_llist_head(llist); in smb_lock_range_access()
[all …]
H A Dsmb2_durable.c1243 smb_llist_t *llist = &node->n_lock_list; in smb2_dh_update_locks() local
1250 smb_llist_enter(llist, RW_READER); in smb2_dh_update_locks()
1251 vec_sz = (llist->ll_count + 1) * sizeof (struct nvlk); in smb2_dh_update_locks()
1254 for (lock = smb_llist_head(llist); in smb2_dh_update_locks()
1256 lock = smb_llist_next(llist, lock)) { in smb2_dh_update_locks()
1266 smb_llist_exit(llist); in smb2_dh_update_locks()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_bind.c383 uchar_t *llist = NULL; in sctp_bind_add() local
417 llist = kmem_alloc(lsize, KM_SLEEP); in sctp_bind_add()
419 err = sctp_valid_addr_list(sctp, addrlist, addrcnt, llist, in sctp_bind_add()
422 (*cl_sctp_listen)(connp->conn_family, llist, in sctp_bind_add()
425 } else if (err != 0 && llist != NULL) { in sctp_bind_add()
426 kmem_free(llist, lsize); in sctp_bind_add()
/illumos-gate/usr/src/cmd/lp/lib/filters/
H A Dinsfilter.c616 register TYPE * llist; local
650 for (llist = pfl->output_types; llist->name;
651 llist++)
654 if (_instantiate(pp, llist,
657 pfl->outputp = llist;
/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/
H A Ddtlist.c110 Void_t* llist(Dt_t* dt, Dtlink_t* lnk, int type) in llist() function
112 Void_t* llist(dt, lnk, type) in llist()
185 DTRETURN(obj, llist(dt, (Dtlink_t*)obj, type));
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv.c4090 locklist_t *llist; in rfs4_op_release_lockowner() local
4148 llist = flk_get_active_locks(sysid, lo->rl_pid); in rfs4_op_release_lockowner()
4150 if (llist != NULL) { in rfs4_op_release_lockowner()
4154 flk_free_locklist(llist); in rfs4_op_release_lockowner()