Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_lgrp.c2102 smb_lgrp_plist_add(smb_lgplist_t *in_privs, smb_lgpid_t priv_id, in smb_lgrp_plist_add() argument
2111 for (i = 0; i < in_privs->p_cnt; i++) { in smb_lgrp_plist_add()
2112 if (in_privs->p_ids[i] == priv_id) in smb_lgrp_plist_add()
2116 size = (in_privs->p_cnt + 1) * sizeof (smb_lgpid_t) + 1; in smb_lgrp_plist_add()
2122 bcopy(in_privs->p_ids, pbuf, in_privs->p_cnt * sizeof (smb_lgpid_t)); in smb_lgrp_plist_add()
2123 pbuf[in_privs->p_cnt] = priv_id; in smb_lgrp_plist_add()
2125 out_privs->p_cnt = in_privs->p_cnt + 1; in smb_lgrp_plist_add()
2140 smb_lgrp_plist_del(smb_lgplist_t *in_privs, smb_lgpid_t priv_id, in smb_lgrp_plist_del() argument
2148 if ((in_privs == NULL) || (in_privs->p_cnt == 0)) in smb_lgrp_plist_del()
2151 size = (in_privs->p_cnt - 1) * sizeof (smb_lgpid_t) + 1; in smb_lgrp_plist_del()
[all …]