Home
last modified time | relevance | path

Searched refs:ace (Results 1 – 25 of 26) sorted by relevance

12

/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_acl.c83 void *ace; in smb_acl_free() local
91 while ((ace = list_head(&acl->sl_sorted)) != NULL) in smb_acl_free()
92 list_remove(&acl->sl_sorted, ace); in smb_acl_free()
170 smb_ace_t *ace; in smb_acl_sort() local
189 for (i = 0, ace = acl->sl_aces; i < acl->sl_acecnt; ++i, ace++) { in smb_acl_sort()
190 ace_flags = ace->se_hdr.se_flags; in smb_acl_sort()
192 switch (ace->se_hdr.se_type) { in smb_acl_sort()
213 list_insert_tail(&ace_grps[ag], ace); in smb_acl_sort()
222 while ((ace = list_head(alist)) != NULL) { in smb_acl_sort()
223 list_remove(alist, ace); in smb_acl_sort()
[all …]
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsrvsvc_sd.c216 smb_ace_t *ace) in srvsvc_ace_set_relative() argument
218 if ((m_ace == NULL) || (ace == NULL)) in srvsvc_ace_set_relative()
221 bcopy(&ace->se_hdr, &m_ace->header, sizeof (mslm_ace_hdr_t)); in srvsvc_ace_set_relative()
222 m_ace->mask = ace->se_mask; in srvsvc_ace_set_relative()
224 if ((ace->se_sid == NULL) || (m_sid == NULL)) in srvsvc_ace_set_relative()
226 bcopy(ace->se_sid, m_sid, smb_sid_len(ace->se_sid)); in srvsvc_ace_set_relative()
268 smb_ace_t *ace; in srvsvc_sd_set_relative() local
316 ace = sd->sd_sacl->sl_aces; in srvsvc_sd_set_relative()
320 for (i = 0; i < ace_cnt; i++, ace++) { in srvsvc_sd_set_relative()
327 status = srvsvc_ace_set_relative(m_ace, m_sid, ace); in srvsvc_sd_set_relative()
[all …]
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_nt_transact_security.c311 smb_ace_t *ace; in smb_encode_sacl() local
321 for (i = 0, ace = acl->sl_aces; i < acl->sl_acecnt; i++, ace++) { in smb_encode_sacl()
323 ace->se_hdr.se_type, ace->se_hdr.se_flags, in smb_encode_sacl()
324 ace->se_hdr.se_bsize, ace->se_mask); in smb_encode_sacl()
326 smb_encode_sid(xa, ace->se_sid); in smb_encode_sacl()
338 smb_ace_t *ace; in smb_encode_dacl() local
347 ace = list_head(&acl->sl_sorted); in smb_encode_dacl()
348 while (ace) { in smb_encode_dacl()
350 ace->se_hdr.se_type, ace->se_hdr.se_flags, in smb_encode_dacl()
351 ace->se_hdr.se_bsize, ace->se_mask); in smb_encode_dacl()
[all …]
H A Dsmb_acl.c129 void *ace; in smb_acl_free() local
137 while ((ace = list_head(&acl->sl_sorted)) != NULL) in smb_acl_free()
138 list_remove(&acl->sl_sorted, ace); in smb_acl_free()
223 smb_ace_t *ace; in smb_acl_sort() local
242 for (i = 0, ace = acl->sl_aces; i < acl->sl_acecnt; ++i, ace++) { in smb_acl_sort()
243 ace_flags = ace->se_hdr.se_flags; in smb_acl_sort()
245 switch (ace->se_hdr.se_type) { in smb_acl_sort()
266 list_insert_tail(&ace_grps[ag], ace); in smb_acl_sort()
275 while ((ace = list_head(alist)) != NULL) { in smb_acl_sort()
276 list_remove(alist, ace); in smb_acl_sort()
[all …]
/titanic_41/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd_cm.c125 ibd_ace_t *ace; in ibd_async_rc_close_act_chan() local
128 ace = rc_chan->ace; in ibd_async_rc_close_act_chan()
129 ASSERT(ace != NULL); in ibd_async_rc_close_act_chan()
133 ASSERT(ace->ac_ref != 0); in ibd_async_rc_close_act_chan()
134 atomic_dec_32(&ace->ac_ref); in ibd_async_rc_close_act_chan()
135 ace->ac_chan = NULL; in ibd_async_rc_close_act_chan()
136 if ((ace->ac_ref == 0) || (ace->ac_ref == CYCLEVAL)) { in ibd_async_rc_close_act_chan()
137 IBD_ACACHE_INSERT_FREE(state, ace); in ibd_async_rc_close_act_chan()
138 ace->ac_ref = 0; in ibd_async_rc_close_act_chan()
140 ace->ac_ref |= CYCLEVAL; in ibd_async_rc_close_act_chan()
[all …]
H A Dibd.c841 ibd_rc_chan_s::ace in _NOTE()
1937 ibd_ace_t *ace, *pace; in ibd_async_link() local
1997 ace = list_head(&state->id_ah_active); in ibd_async_link()
1998 while ((pace = ace) != NULL) { in ibd_async_link()
2001 ace = list_next(&state->id_ah_active, ace); in ibd_async_link()
6938 ibd_ace_t *ace; in ibd_send() local
6972 ace = ibd_acache_lookup(state, dest, &ret, 1); in ibd_send()
6973 if (state->id_enable_rc && (ace != NULL) && in ibd_send()
6974 (ace->ac_mac.ipoib_qpn != htonl(IB_MC_QPN))) { in ibd_send()
6975 if (ace->ac_chan == NULL) { in ibd_send()
[all …]
/titanic_41/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_rwx_001_pos.ksh69 typeset ace=$3
83 log_must usr_exec $CHMOD "$opt$ace" "$node"
95 if [[ "$num:$ace" != "$cur_ace" ]]; then
96 log_fail "FAIL: $CHMOD $opt$ace $node"
109 for ace in $file_ACEs; do
112 test_chmod_ACE_list $opt $num $ace $testfile
115 for ace in $dir_ACEs; do
118 test_chmod_ACE_list $opt $num $ace $testdir
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_byteswap.c34 zfs_oldace_byteswap(ace_t *ace, int ace_cnt) in zfs_oldace_byteswap() argument
38 for (i = 0; i != ace_cnt; i++, ace++) { in zfs_oldace_byteswap()
39 ace->a_who = BSWAP_32(ace->a_who); in zfs_oldace_byteswap()
40 ace->a_access_mask = BSWAP_32(ace->a_access_mask); in zfs_oldace_byteswap()
41 ace->a_flags = BSWAP_16(ace->a_flags); in zfs_oldace_byteswap()
42 ace->a_type = BSWAP_16(ace->a_type); in zfs_oldace_byteswap()
H A Dzfs_replay.c818 ace_t *ace = (ace_t *)(lr + 1); /* ace array follows lr_acl_t */ in zfs_replay_acl_v0() local
825 zfs_oldace_byteswap(ace, lr->lr_aclcnt); in zfs_replay_acl_v0()
836 vsa.vsa_aclentp = ace; in zfs_replay_acl_v0()
862 ace_t *ace = (ace_t *)(lr + 1); in zfs_replay_acl() local
869 zfs_ace_byteswap(ace, lr->lr_acl_bytes, B_FALSE); in zfs_replay_acl()
871 byteswap_uint64_array((caddr_t)ace + in zfs_replay_acl()
883 vsa.vsa_aclentp = ace; in zfs_replay_acl()
888 void *fuidstart = (caddr_t)ace + in zfs_replay_acl()
/titanic_41/usr/src/lib/libsmbfs/smb/
H A Dacl_print.c75 fprint_ntace(FILE *fp, i_ntace_t *ace) in fprint_ntace() argument
77 if (ace == NULL) { in fprint_ntace()
84 ace->ace_hdr.ace_type, ace->ace_hdr.ace_flags, in fprint_ntace()
85 ace->ace_v2.ace_rights); in fprint_ntace()
88 fprint_sid(fp, ace->ace_v2.ace_sid); in fprint_ntace()
/titanic_41/usr/src/uts/common/sys/ib/clients/ibd/
H A Dibd.h307 #define CLEAR_REFCYCLE(ace) (ace)->ac_ref = 0 argument
308 #define CYCLE_SET(ace) (((ace)->ac_ref & CYCLEVAL) == CYCLEVAL) argument
309 #define GET_REF(ace) ((ace)->ac_ref) argument
310 #define GET_REF_CYCLE(ace) ( \ argument
314 ASSERT(CYCLE_SET(ace)), \
315 ((ace)->ac_ref & ~(CYCLEVAL)) \
317 #define INC_REF(ace, num) { \ argument
318 atomic_add_32(&(ace)->ac_ref, num); \
320 #define SET_CYCLE_IF_REF(ace) ( \ argument
321 CYCLE_SET(ace) ? B_TRUE : \
[all …]
/titanic_41/usr/src/cmd/praudit/
H A Dformat.c3005 pa_ace_flags(pr_context_t *context, ace_t *ace, int status, int flag) in pa_ace_flags() argument
3021 switch (ace->a_flags & ACE_TYPE_FLAGS) { in pa_ace_flags()
3039 uval.uint32_val = ace->a_flags; in pa_ace_flags()
3043 uval.uint32_val = ace->a_flags; in pa_ace_flags()
3051 pa_ace_who(pr_context_t *context, ace_t *ace, int status, int flag) in pa_ace_who() argument
3064 switch (ace->a_flags & ACE_TYPE_FLAGS) { in pa_ace_who()
3066 returnstat = pa_print_gid(context, ace->a_who, returnstat, in pa_ace_who()
3070 returnstat = pa_print_uid(context, ace->a_who, returnstat, in pa_ace_who()
3117 pa_ace_access_mask(pr_context_t *context, ace_t *ace, int status, int flag) in pa_ace_access_mask() argument
3138 if (ace->a_access_mask & ACE_READ_DATA) in pa_ace_access_mask()
[all …]
/titanic_41/usr/src/common/smbclnt/
H A Dsmbfs_ntacl.c168 ifree_ace(i_ntace_t *ace) in ifree_ace() argument
171 if (ace == NULL) in ifree_ace()
174 switch (ace->ace_hdr.ace_type) { in ifree_ace()
179 ifree_sid(ace->ace_v2.ace_sid); in ifree_ace()
180 FREESZ(ace, sizeof (i_ntace_v2_t)); in ifree_ace()
193 i_ntace_t *ace = NULL; in md_get_ace() local
218 if ((ace = MALLOC(alloc_size)) == NULL) in md_get_ace()
220 bzero(ace, alloc_size); in md_get_ace()
222 ace->ace_hdr.ace_type = ace_hdr.ace_type; in md_get_ace()
223 ace->ace_hdr.ace_flags = ace_hdr.ace_flags; in md_get_ace()
[all …]
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_acl.c1659 acet_to_ace4(ace_t *ace, nfsace4 *nfsace4, int isserver) in acet_to_ace4() argument
1663 if (ace == NULL) { in acet_to_ace4()
1676 switch (ace->a_type) { in acet_to_ace4()
1685 "acet_to_ace4: unsupported type: %x", ace->a_type)); in acet_to_ace4()
1692 acet_mask_to_ace4_mask(ace->a_access_mask, &nfsace4->access_mask); in acet_to_ace4()
1693 acet_flags_to_ace4_flags(ace->a_flags, &nfsace4->flag); in acet_to_ace4()
1695 if (ace->a_flags & ACE_GROUP) { in acet_to_ace4()
1698 } else if (ace->a_flags & ACE_IDENTIFIER_GROUP) { in acet_to_ace4()
1708 if (ace->a_who == GID_UNKNOWN && !isserver) { in acet_to_ace4()
1716 error = nfs_idmap_gid_str(ace->a_who, &nfsace4->who, isserver); in acet_to_ace4()
[all …]
H A Dnfs4_srv_deleg.c1368 nfsace4 *ace, int recall) in rfs4_set_deleg_response() argument
1384 if (ace == NULL) { in rfs4_set_deleg_response()
1396 nace.type = ace->type; in rfs4_set_deleg_response()
1397 nace.flag = ace->flag; in rfs4_set_deleg_response()
1398 nace.access_mask = ace->access_mask; in rfs4_set_deleg_response()
1399 (void) utf8_copy(&ace->who, &nace.who); in rfs4_set_deleg_response()
H A Dnfs4_srv.c7155 nfsace4 *ace; in rfs4_do_opendelprev() local
7219 ace = &rv->permissions; in rfs4_do_opendelprev()
7226 ace = &rv->permissions; in rfs4_do_opendelprev()
7232 ace->type = ACE4_ACCESS_ALLOWED_ACE_TYPE; in rfs4_do_opendelprev()
7233 ace->flag = 0; in rfs4_do_opendelprev()
7234 ace->access_mask = 0; in rfs4_do_opendelprev()
7235 ace->who.utf8string_len = 0; in rfs4_do_opendelprev()
7236 ace->who.utf8string_val = 0; in rfs4_do_opendelprev()
/titanic_41/usr/src/lib/libsec/common/
H A Dacl.y37 ace_t ace; member
53 %type <ace> ace
79 acl_entry: ace
150 ace: entry_type idname ace_perms access_type
/titanic_41/usr/src/cmd/mdb/common/modules/smbsrv/
H A Dsmbsrv.c2048 smb_ace_t ace; in smb_ace() local
2063 if (mdb_vread(&ace, sizeof (ace), addr) != sizeof (ace)) { in smb_ace()
2069 if (ace.se_hdr.se_type < ACE_TYPE_TABLEN) in smb_ace()
2070 ptr = ace_types[ace.se_hdr.se_type].ace_type_sting; in smb_ace()
2074 mdb_printf("ACE Type: 0x%02x (%s)\n", ace.se_hdr.se_type, ptr); in smb_ace()
2075 mdb_printf("ACE Flags: %b\n", (int)ace.se_hdr.se_flags, in smb_ace()
2077 mdb_printf("ACE Wire Size: 0x%04x\n", ace.se_hdr.se_bsize); in smb_ace()
2078 mdb_printf("ACE Mask: 0x%08x\n", ace.se_mask); in smb_ace()
2086 ace.se_hdr.se_type, ace.se_hdr.se_flags, ace.se_mask); in smb_ace()
2088 rc = smb_sid_print((uintptr_t)ace.se_sid); in smb_ace()
/titanic_41/usr/src/common/acl/
H A Dacl_common.c803 acevals_find(ace_t *ace, avl_tree_t *avl, int *num) in acevals_find() argument
808 key.key = ace->a_who; in acevals_find()
817 acevals_init(rc, ace->a_who); in acevals_find()
1265 ln_ace_to_aent(ace_t *ace, int n, uid_t owner, gid_t group, in ln_ace_to_aent() argument
1286 if (ace == NULL) { in ln_ace_to_aent()
1314 acep = &ace[i]; in ln_ace_to_aent()
/titanic_41/usr/src/uts/common/sys/
H A Dacl.h47 typedef struct ace { struct
/titanic_41/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c2937 ace_t ace; in zfs_ace0_print() local
2948 if (mdb_vread(&ace, sizeof (ace_t), addr) == -1) { in zfs_ace0_print()
2953 if ((ace.a_flags & ACE_TYPE_FLAGS) == 0 || in zfs_ace0_print()
2954 (ace.a_flags & ACE_TYPE_FLAGS) == ACE_IDENTIFIER_GROUP) in zfs_ace0_print()
2955 id = ace.a_who; in zfs_ace0_print()
2959 return (zfs_ace_print_common(addr, flags, id, ace.a_access_mask, in zfs_ace0_print()
2960 ace.a_flags, ace.a_type, verbose)); in zfs_ace0_print()
/titanic_41/usr/src/data/hwdata/
H A Dpci.ids12820 5ace 5010 Behold TV 501
12821 5ace 5050 Behold TV 505 FM
12880 5ace 5030 Behold TV 503 FM
12881 5ace 5090 Behold TV 509 FM
12882 5ace 6090 Behold TV 609 FM
12883 5ace 6091 Behold TV 609 FM
12884 5ace 6092 Behold TV 609 RDS
12885 5ace 6093 Behold TV 609 RDS
12886 5ace 6190 Behold TV M6
12887 5ace 6191 Behold TV M63
[all …]
/titanic_41/usr/src/uts/common/smbsrv/ndl/
H A Dsrvsvc.ndl601 mslm_ace_t ace[ANY_SIZE_ARRAY];
/titanic_41/usr/src/cmd/look/
H A Dwords188 ace
/titanic_41/usr/src/cmd/spell/
H A Dlist187 ace

12