Home
last modified time | relevance | path

Searched refs:acl (Results 1 – 25 of 91) sorted by relevance

1234

/f-stack/dpdk/lib/librte_table/
H A Drte_table_acl.c110 acl->action_table = &acl->memory[0]; in rte_table_acl_create()
121 acl->acl_params.name = acl->name[acl->name_id]; in rte_table_acl_create()
136 return acl; in rte_table_acl_create()
289 *entry_ptr = &acl->memory[i * acl->entry_size]; in rte_table_acl_entry_add()
312 acl->acl_params.name = acl->name[acl->name_id]; in rte_table_acl_entry_add()
392 acl->acl_params.name = acl->name[acl->name_id]; in rte_table_acl_entry_delete()
409 memcpy(entry, &acl->memory[pos * acl->entry_size], in rte_table_acl_entry_delete()
564 acl->acl_params.name = acl->name[acl->name_id]; in rte_table_acl_entry_add_bulk()
682 acl->acl_params.name = acl->name[acl->name_id]; in rte_table_acl_entry_delete_bulk()
781 memcpy(stats, &acl->stats, sizeof(acl->stats)); in rte_table_acl_stats_read()
[all …]
/f-stack/freebsd/kern/
H A Dsubr_acl_posix1e.c60 struct acl *acl, accmode_t accmode, struct ucred *cred) in vaccess_acl_posix1e() argument
122 for (i = 0; i < acl->acl_cnt; i++) { in vaccess_acl_posix1e()
123 switch (acl->acl_entry[i].ae_tag) { in vaccess_acl_posix1e()
148 acl_mask = &acl->acl_entry[i]; in vaccess_acl_posix1e()
152 acl_other = &acl->acl_entry[i]; in vaccess_acl_posix1e()
197 for (i = 0; i < acl->acl_cnt; i++) { in vaccess_acl_posix1e()
198 switch (acl->acl_entry[i].ae_tag) { in vaccess_acl_posix1e()
475 acl_posix1e_acl_to_mode(struct acl *acl) in acl_posix1e_acl_to_mode() argument
495 acl_other = &acl->acl_entry[i]; in acl_posix1e_acl_to_mode()
499 acl_mask = &acl->acl_entry[i]; in acl_posix1e_acl_to_mode()
[all …]
H A Dvfs_acl.c229 const struct acl *aclp) in vacl_set_acl()
231 struct acl *inkernelacl; in vacl_set_acl()
267 struct acl *aclp) in vacl_get_acl()
269 struct acl *inkernelacl; in vacl_get_acl()
330 const struct acl *aclp) in vacl_aclcheck()
332 struct acl *inkernelacl; in vacl_aclcheck()
375 struct acl *aclp, int follow) in kern___acl_get_path()
546 struct acl *aclp, int follow) in kern___acl_aclcheck_path()
580 struct acl *
583 struct acl *aclp; in acl_alloc()
[all …]
H A Dsubr_acl_nfs4.c174 struct acl *aclp, accmode_t accmode, struct ucred *cred) in vaccess_acl_nfs4()
323 _acl_append(struct acl *aclp, acl_tag_t tag, acl_perm_t perm, in _acl_append()
344 _acl_duplicate_entry(struct acl *aclp, unsigned entry_index) in _acl_duplicate_entry()
707 acl_nfs4_sync_acl_from_mode(struct acl *aclp, mode_t mode, in acl_nfs4_sync_acl_from_mode()
847 struct acl *child_aclp, mode_t mode, int file_owner_id, in acl_nfs4_compute_inherited_acl_draft()
1009 acl_nfs4_inherit_entries(const struct acl *parent_aclp, in acl_nfs4_inherit_entries()
1010 struct acl *child_aclp, mode_t mode, int file_owner_id, in acl_nfs4_inherit_entries()
1209 acl_nfs4_trivial_from_mode(struct acl *aclp, mode_t mode) in acl_nfs4_trivial_from_mode()
1235 _acls_are_equal(const struct acl *a, const struct acl *b) in _acls_are_equal()
1267 struct acl *tmpaclp; in acl_nfs4_is_trivial()
[all …]
/f-stack/freebsd/net80211/
H A Dieee80211_acl.c75 struct acl { struct
135 struct acl *acl; in _find_acl() local
141 return acl; in _find_acl()
147 _acl_free(struct aclstate *as, struct acl *acl) in _acl_free() argument
178 struct acl *acl, *new; in acl_add() local
181 new = (struct acl *) IEEE80211_MALLOC(sizeof(struct acl), in acl_add()
217 struct acl *acl; in acl_remove() local
221 if (acl != NULL) in acl_remove()
222 _acl_free(as, acl); in acl_remove()
236 struct acl *acl; in acl_free_all() local
[all …]
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_xattr.c945 if (acl) { in zpl_set_acl()
980 if (acl) { in zpl_set_acl()
996 if (acl) in zpl_set_acl()
1044 acl = NULL; in zpl_get_acl()
1058 return (acl); in zpl_get_acl()
1074 if (!acl) { in zpl_init_acl()
1082 if (acl) { in zpl_init_acl()
1119 if (IS_ERR(acl) || !acl) in zpl_chmod_acl()
1251 acl = NULL; in __zpl_xattr_acl_set_access()
1291 acl = NULL; in __zpl_xattr_acl_set_default()
[all …]
/f-stack/freebsd/sys/
H A Dacl.h119 struct acl { struct
131 struct acl ats_acl;
296 mode_t acl_posix1e_acl_to_mode(struct acl *acl);
298 struct acl *dacl);
299 struct acl *acl_alloc(int flags);
300 void acl_free(struct acl *aclp);
305 const struct acl *aclp);
313 struct acl *dest);
324 int acl_posix1e_check(struct acl *acl);
338 struct acl *_aclp);
[all …]
/f-stack/freebsd/contrib/openzfs/include/os/linux/kernel/linux/
H A Dvfs_compat.h193 zpl_posix_acl_release(struct posix_acl *acl) in zpl_posix_acl_release() argument
195 if ((acl == NULL) || (acl == ACL_NOT_CACHED)) in zpl_posix_acl_release()
198 if (refcount_dec_and_test(&acl->a_refcount)) in zpl_posix_acl_release()
199 zpl_posix_acl_release_impl(acl); in zpl_posix_acl_release()
201 if (atomic_dec_and_test(&acl->a_refcount)) in zpl_posix_acl_release()
202 zpl_posix_acl_release_impl(acl); in zpl_posix_acl_release()
253 #define __posix_acl_chmod(acl, gfp, mode) posix_acl_chmod(acl, gfp, mode) argument
254 #define __posix_acl_create(acl, gfp, mode) posix_acl_create(acl, gfp, mode) argument
266 #define zpl_posix_acl_valid(ip, acl) posix_acl_valid(ip->i_sb->s_user_ns, acl) argument
268 #define zpl_posix_acl_valid(ip, acl) posix_acl_valid(acl) argument
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/
H A Dacl_common.c1309 acl = dfacl; in ln_ace_to_aent()
1311 acl = normacl; in ln_ace_to_aent()
1320 acl->seen |= USER_OBJ; in ln_ace_to_aent()
1321 vals = &acl->user_obj; in ln_ace_to_aent()
1338 acl->seen |= GROUP; in ln_ace_to_aent()
1340 &acl->numgroups); in ln_ace_to_aent()
1353 acl->state = ace_user; in ln_ace_to_aent()
1354 acl->seen |= USER; in ln_ace_to_aent()
1356 &acl->numusers); in ln_ace_to_aent()
1389 if (! acl->hasmask) { in ln_ace_to_aent()
[all …]
/f-stack/freebsd/netgraph/bluetooth/hci/
H A Dng_hci_ulpi.c172 if (hook == unit->acl) in ng_hci_lp_acl_con_req()
296 if (hook == unit->acl) in ng_hci_lp_acl_con_req()
771 if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) { in ng_hci_lp_con_cfm()
783 unit->acl, 0); in ng_hci_lp_con_cfm()
828 if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) { in ng_hci_lp_enc_change()
838 unit->acl, 0); in ng_hci_lp_enc_change()
867 hook = unit->acl; in ng_hci_lp_con_ind()
1108 if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) { in ng_hci_lp_discon_ind()
1272 if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) { in ng_hci_lp_qos_cfm()
1281 unit->acl, 0); in ng_hci_lp_qos_cfm()
[all …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/acl/posix/
H A Dposix_002_pos.ksh29 . $STF_SUITE/tests/functional/acl/acl_common.kshlib
73 acl=$(getfacl $TESTDIR/dir.0 2> /dev/null)
74 log_note $acl
H A Dposix_001_pos.ksh29 . $STF_SUITE/tests/functional/acl/acl_common.kshlib
82 acl=$(getfacl $TESTDIR/dir.0 2> /dev/null)
83 log_note $acl
/f-stack/dpdk/examples/ip_pipeline/examples/
H A Dfirewall.cli46 pipeline PIPELINE0 table match acl ipv4 offset 270 size 4K action AP0
56 pipeline PIPELINE0 table 0 rule add match acl priority 0 ipv4 0.0.0.0 0 100.0.0.0 10 0 65535 0 6553…
57 pipeline PIPELINE0 table 0 rule add match acl priority 0 ipv4 0.0.0.0 0 100.64.0.0 10 0 65535 0 655…
58 pipeline PIPELINE0 table 0 rule add match acl priority 0 ipv4 0.0.0.0 0 100.128.0.0 10 0 65535 0 65…
59 pipeline PIPELINE0 table 0 rule add match acl priority 0 ipv4 0.0.0.0 0 100.192.0.0 10 0 65535 0 65…
/f-stack/freebsd/contrib/openzfs/config/
H A Dkernel-acl.m450 struct posix_acl *acl = posix_acl_alloc(1, 0);
51 set_cached_acl(ip, ACL_TYPE_ACCESS, acl);
143 const struct posix_acl *acl = NULL;
146 error = posix_acl_valid(user_ns, acl);
196 int set_acl_fn(struct inode *inode, struct posix_acl *acl,
243 dnl # 4.16 kernel: check if struct posix_acl acl.a_refcount is a refcount_t.
252 struct posix_acl acl;
253 refcount_t *r __attribute__ ((unused)) = &acl.a_refcount;
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dacl.h40 #include_next <sys/acl.h>
204 extern void aces_from_acl(ace_t *aces, int *nentries, const struct acl *aclp);
205 extern int acl_from_aces(struct acl *aclp, const ace_t *aces, int nentries);
209 extern int acl(const char *path, int cmd, int cnt, void *buf);
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/acl/
H A DMakefile.am1 pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/acl
3 acl.cfg \
/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_thread.c2231 mh->match.acl.sp0; in match_convert()
2233 mh->match.acl.sp1; in match_convert()
2236 mh->match.acl.dp0; in match_convert()
2238 mh->match.acl.dp1; in match_convert()
2259 mh->match.acl.sp0; in match_convert()
2261 mh->match.acl.sp1; in match_convert()
2264 mh->match.acl.dp0; in match_convert()
2266 mh->match.acl.dp1; in match_convert()
2328 mh->match.acl.sp0; in match_convert()
2330 mh->match.acl.sp1; in match_convert()
[all …]
H A Drte_eth_softnic_flow.c702 rule_match->match.acl.ipv4.sa = in flow_rule_match_acl_get()
704 rule_match->match.acl.ipv4.da = in flow_rule_match_acl_get()
812 rule_match->match.acl.sp0 = sp0; in flow_rule_match_acl_get()
813 rule_match->match.acl.sp1 = sp1; in flow_rule_match_acl_get()
814 rule_match->match.acl.dp0 = dp0; in flow_rule_match_acl_get()
815 rule_match->match.acl.dp1 = dp1; in flow_rule_match_acl_get()
853 rule_match->match.acl.sp0 = sp0; in flow_rule_match_acl_get()
854 rule_match->match.acl.sp1 = sp1; in flow_rule_match_acl_get()
855 rule_match->match.acl.dp0 = dp0; in flow_rule_match_acl_get()
856 rule_match->match.acl.dp1 = dp1; in flow_rule_match_acl_get()
[all …]
H A Drte_eth_softnic_pipeline.c811 struct rte_table_acl_params acl; in softnic_pipeline_table_create() member
856 if (params->match.acl.n_rules == 0) in softnic_pipeline_table_create()
859 pp.acl.name = name; in softnic_pipeline_table_create()
860 pp.acl.n_rules = params->match.acl.n_rules; in softnic_pipeline_table_create()
861 if (params->match.acl.ip_version) { in softnic_pipeline_table_create()
862 memcpy(&pp.acl.field_format, in softnic_pipeline_table_create()
865 pp.acl.n_rule_fields = in softnic_pipeline_table_create()
868 memcpy(&pp.acl.field_format, in softnic_pipeline_table_create()
871 pp.acl.n_rule_fields = in softnic_pipeline_table_create()
875 for (i = 0; i < pp.acl.n_rule_fields; i++) in softnic_pipeline_table_create()
[all …]
/f-stack/dpdk/examples/ip_pipeline/
H A Dthread.c2377 mh->match.acl.sp0; in match_convert()
2379 mh->match.acl.sp1; in match_convert()
2382 mh->match.acl.dp0; in match_convert()
2384 mh->match.acl.dp1; in match_convert()
2405 mh->match.acl.sp0; in match_convert()
2407 mh->match.acl.sp1; in match_convert()
2410 mh->match.acl.dp0; in match_convert()
2412 mh->match.acl.dp1; in match_convert()
2475 mh->match.acl.sp0; in match_convert()
2477 mh->match.acl.sp1; in match_convert()
[all …]
H A Dpipeline.c786 struct rte_table_acl_params acl; in pipeline_table_create() member
830 if (params->match.acl.n_rules == 0) in pipeline_table_create()
833 pp.acl.name = name; in pipeline_table_create()
834 pp.acl.n_rules = params->match.acl.n_rules; in pipeline_table_create()
835 if (params->match.acl.ip_version) { in pipeline_table_create()
836 memcpy(&pp.acl.field_format, in pipeline_table_create()
839 pp.acl.n_rule_fields = in pipeline_table_create()
842 memcpy(&pp.acl.field_format, in pipeline_table_create()
845 pp.acl.n_rule_fields = in pipeline_table_create()
849 for (i = 0; i < pp.acl.n_rule_fields; i++) in pipeline_table_create()
[all …]
/f-stack/freebsd/contrib/openzfs/lib/libspl/include/sys/
H A Dacl.h41 typedef struct acl { struct
281 extern int acl_set(const char *, acl_t *acl);
282 extern int facl_set(int, acl_t *acl);
296 extern int acl(const char *path, int cmd, int cnt, void *buf);
/f-stack/dpdk/examples/l3fwd-acl/
H A Dmain.c680 acl->data_ipv4[acl->num_ipv4] = MBUF_IPV4_2PROTO(pkt); in prepare_one_packet()
681 acl->m_ipv4[(acl->num_ipv4)++] = pkt; in prepare_one_packet()
689 acl->data_ipv6[acl->num_ipv6] = MBUF_IPV6_2PROTO(pkt); in prepare_one_packet()
690 acl->m_ipv6[(acl->num_ipv6)++] = pkt; in prepare_one_packet()
707 acl->data_ipv4[acl->num_ipv4] = MBUF_IPV4_2PROTO(pkt); in prepare_one_packet()
708 acl->m_ipv4[(acl->num_ipv4)++] = pkt; in prepare_one_packet()
712 acl->data_ipv6[acl->num_ipv6] = MBUF_IPV6_2PROTO(pkt); in prepare_one_packet()
713 acl->m_ipv6[(acl->num_ipv6)++] = pkt; in prepare_one_packet()
727 acl->num_ipv4 = 0; in prepare_acl_parameter()
728 acl->num_ipv6 = 0; in prepare_acl_parameter()
[all …]
/f-stack/dpdk/drivers/net/ice/
H A Dice_acl_filter.c149 if (pf->acl.slots) { in ice_deinit_acl()
150 rte_free(pf->acl.slots); in ice_deinit_acl()
151 pf->acl.slots = NULL; in ice_deinit_acl()
444 pf->acl.hw_entry_id[slot_id] = hw_entry; in ice_acl_hw_set_conf()
463 rte_bitmap_set(pf->acl.slots, slot_id); in ice_acl_hw_rem_conf()
465 pf->acl.hw_entry_id[slot_id]); in ice_acl_hw_rem_conf()
573 rte_bitmap_set(pf->acl.slots, slot_id); in ice_acl_destroy_filter()
575 pf->acl.hw_entry_id[slot_id]); in ice_acl_destroy_filter()
582 rte_bitmap_set(pf->acl.slots, slot_id); in ice_acl_destroy_filter()
584 pf->acl.hw_entry_id[slot_id]); in ice_acl_destroy_filter()
[all …]
/f-stack/freebsd/contrib/openzfs/tests/runfiles/
H A Dlinux.run25 [tests/functional/acl/posix:Linux]
27 tags = ['functional', 'acl', 'posix']
29 [tests/functional/acl/posix-sa:Linux]
31 tags = ['functional', 'acl', 'posix-sa']

1234