Searched refs:smb_niclist (Results 1 – 1 of 1) sorted by relevance
136 static smb_niclist_t smb_niclist; variable148 (void) rw_wrlock(&smb_niclist.nl_rwl); in smb_nic_init()151 (void) rw_unlock(&smb_niclist.nl_rwl); in smb_nic_init()164 (void) rw_wrlock(&smb_niclist.nl_rwl); in smb_nic_fini()166 (void) rw_unlock(&smb_niclist.nl_rwl); in smb_nic_fini()182 (void) rw_rdlock(&smb_niclist.nl_rwl); in smb_nic_getnum()185 for (i = 0; i < smb_niclist.nl_cnt; i++) { in smb_nic_getnum()187 if (strncasecmp(smb_niclist.nl_nics[i].nic_nbname, in smb_nic_getnum()192 n = smb_niclist.nl_cnt; in smb_nic_getnum()195 (void) rw_unlock(&smb_niclist.nl_rwl); in smb_nic_getnum()[all …]