lib/libposix1e/acl_from_text.c
120
acl_t acl;
lib/libposix1e/acl_from_text.c
133
acl = acl_init(3);
lib/libposix1e/acl_from_text.c
134
if (!acl) {
lib/libposix1e/acl_from_text.c
223
error = acl_add_entry(acl, t, id, p);
lib/libposix1e/acl_from_text.c
232
if (acl_valid(acl) == -1) {
lib/libposix1e/acl_from_text.c
238
return(acl);
lib/libposix1e/acl_from_text.c
241
acl_free(acl);
lib/libposix1e/acl_get.c
43
struct acl *aclp;
lib/libposix1e/acl_get.c
63
struct acl *aclp;
lib/libposix1e/acl_get.c
83
struct acl *aclp;
lib/libposix1e/acl_init.c
43
struct acl *acl;
lib/libposix1e/acl_init.c
50
acl = (struct acl *) malloc(sizeof(struct acl));
lib/libposix1e/acl_init.c
51
bzero(acl, sizeof(struct acl));
lib/libposix1e/acl_init.c
53
return (acl);
lib/libposix1e/acl_init.c
57
acl_dup(acl_t acl)
lib/libposix1e/acl_init.c
59
struct acl *acl_new;
lib/libposix1e/acl_init.c
65
*acl_new = *acl;
lib/libposix1e/acl_set.c
46
acl_set_file(const char *path_p, acl_type_t type, acl_t acl)
lib/libposix1e/acl_set.c
50
if (acl_posix1e(acl, type)) {
lib/libposix1e/acl_set.c
51
error = acl_sort(acl);
lib/libposix1e/acl_set.c
58
return (__acl_set_file(path_p, type, acl));
lib/libposix1e/acl_set.c
62
acl_set_fd(int fd, acl_t acl)
lib/libposix1e/acl_set.c
66
error = acl_sort(acl);
lib/libposix1e/acl_set.c
72
return (__acl_set_fd(fd, ACL_TYPE_ACCESS, acl));
lib/libposix1e/acl_set.c
76
acl_set_fd_np(int fd, acl_t acl, acl_type_t type)
lib/libposix1e/acl_set.c
80
if (acl_posix1e(acl, type)) {
lib/libposix1e/acl_set.c
81
error = acl_sort(acl);
lib/libposix1e/acl_set.c
88
return (__acl_set_fd(fd, type, acl));
lib/libposix1e/acl_support.c
111
acl_posix1e(acl_t acl, acl_type_t type)
lib/libposix1e/acl_support.c
132
acl_check(struct acl *acl)
lib/libposix1e/acl_support.c
142
while (i < acl->acl_cnt) {
lib/libposix1e/acl_support.c
144
entry = &acl->acl_entry[i];
lib/libposix1e/acl_support.c
394
acl_add_entry(acl_t acl, acl_tag_t tag, uid_t id, acl_perm_t perm)
lib/libposix1e/acl_support.c
398
if (acl->acl_cnt >= ACL_MAX_ENTRIES) {
lib/libposix1e/acl_support.c
403
e = &(acl->acl_entry[acl->acl_cnt]);
lib/libposix1e/acl_support.c
407
acl->acl_cnt++;
lib/libposix1e/acl_support.c
96
acl_sort(acl_t acl)
lib/libposix1e/acl_support.c
99
qsort(&acl->acl_entry[0], acl->acl_cnt, sizeof(struct acl_entry),
lib/libposix1e/acl_support.h
38
int acl_check(struct acl *acl);
lib/libposix1e/acl_support.h
39
int acl_sort(acl_t acl);
lib/libposix1e/acl_support.h
40
int acl_posix1e(acl_t acl, acl_type_t type);
lib/libposix1e/acl_support.h
45
int acl_add_entry(acl_t acl, acl_tag_t tag, uid_t id, acl_perm_t perm);
lib/libposix1e/acl_to_text.c
50
acl_to_text(acl_t acl, ssize_t *len_p)
lib/libposix1e/acl_to_text.c
64
for (i = 0; i < acl->acl_cnt; i++)
lib/libposix1e/acl_to_text.c
65
if (acl->acl_entry[i].ae_tag == ACL_MASK)
lib/libposix1e/acl_to_text.c
66
mask_perm = acl->acl_entry[i].ae_perm;
lib/libposix1e/acl_to_text.c
68
for (i = 0; i < acl->acl_cnt; i++) {
lib/libposix1e/acl_to_text.c
69
ae_tag = acl->acl_entry[i].ae_tag;
lib/libposix1e/acl_to_text.c
70
ae_id = acl->acl_entry[i].ae_id;
lib/libposix1e/acl_to_text.c
71
ae_perm = acl->acl_entry[i].ae_perm;
lib/libposix1e/acl_valid.c
52
acl_valid(acl_t acl)
lib/libposix1e/acl_valid.c
56
acl_sort(acl);
lib/libposix1e/acl_valid.c
57
error = acl_check(acl);
lib/libposix1e/acl_valid.c
68
acl_valid_file_np(const char *pathp, acl_type_t type, acl_t acl)
lib/libposix1e/acl_valid.c
72
if (acl_posix1e(acl, type)) {
lib/libposix1e/acl_valid.c
73
error = acl_sort(acl);
lib/libposix1e/acl_valid.c
80
return (__acl_aclcheck_file(pathp, type, acl));
lib/libposix1e/acl_valid.c
85
acl_valid_fd_np(int fd, acl_type_t type, acl_t acl)
lib/libposix1e/acl_valid.c
89
if (acl_posix1e(acl, type)) {
lib/libposix1e/acl_valid.c
90
error = acl_sort(acl);
lib/libposix1e/acl_valid.c
97
return (__acl_aclcheck_fd(fd, type, acl));
sys/dev/sound/pci/envy24.c
109
u_int8_t scfg, acl, i2s, spdif;
sys/dev/sound/pci/envy24.c
2332
if ((sc->cfg->acl & PCIM_ACL_MTC) == 0) {
sys/dev/sound/pci/envy24.c
2334
if (sc->cfg->acl & PCIM_ACL_OMODE)
sys/dev/sound/pci/envy24.c
2339
if (sc->cfg->acl & PCIM_ACL_IMODE)
sys/dev/sound/pci/envy24.c
2435
pci_write_config(sc->dev, PCIR_ACL, sc->cfg->acl, 1);
sys/dev/sound/pci/envy24.c
608
buff->acl = envy24_rdrom(sc, ENVY24_E2PROM_ACL);
sys/dev/sound/pci/envy24ht.c
118
u_int8_t scfg, acl, i2s, spdif;
sys/dev/sound/pci/envy24ht.c
2239
if ((sc->cfg->acl & ENVY24HT_CCSM_ACL_MTC) == 0) {
sys/dev/sound/pci/envy24ht.c
2241
if (sc->cfg->acl & ENVY24HT_CCSM_ACL_OMODE)
sys/dev/sound/pci/envy24ht.c
2344
envy24ht_wrcs(sc, ENVY24HT_CCS_ACL, sc->cfg->acl, 1);
sys/dev/sound/pci/envy24ht.c
644
buff->acl = 0x80;
sys/dev/sound/pci/envy24ht.c
683
buff->acl = envy24ht_rdrom(sc, ENVY24HT_E2PROM_ACL);
sys/kern/kern_acl.c
124
vacl_aclcheck(struct vnode *vp, acl_type_t type, struct acl *aclp)
sys/kern/kern_acl.c
128
struct acl inkernelacl;
sys/kern/kern_acl.c
132
error = copyin(aclp, &inkernelacl, sizeof(struct acl));
sys/kern/kern_acl.c
50
static int vacl_set_acl(struct vnode *vp, acl_type_t type, struct acl *aclp);
sys/kern/kern_acl.c
51
static int vacl_get_acl(struct vnode *vp, acl_type_t type, struct acl *aclp);
sys/kern/kern_acl.c
52
static int vacl_aclcheck(struct vnode *vp, acl_type_t type, struct acl *aclp);
sys/kern/kern_acl.c
67
vacl_set_acl(struct vnode *vp, acl_type_t type, struct acl *aclp)
sys/kern/kern_acl.c
70
struct acl inkernacl;
sys/kern/kern_acl.c
74
error = copyin(aclp, &inkernacl, sizeof(struct acl));
sys/kern/kern_acl.c
89
vacl_get_acl(struct vnode *vp, acl_type_t type, struct acl *aclp)
sys/kern/kern_acl.c
92
struct acl inkernelacl;
sys/kern/kern_acl.c
99
error = copyout(&inkernelacl, aclp, sizeof(struct acl));
sys/kern/vfs_vopops.c
1167
struct acl *aclp, struct ucred *cred)
sys/kern/vfs_vopops.c
1192
struct acl *aclp, struct ucred *cred)
sys/kern/vfs_vopops.c
1217
struct acl *aclp, struct ucred *cred)
sys/netbt/hci_event.c
1050
int acl;
sys/netbt/hci_event.c
1063
for (acl = 0 ; acl < 2 ; acl++) {
sys/netbt/hci_event.c
1067
if (acl || link->hl_type != HCI_LINK_ACL)
sys/netbt/hci_link.c
765
struct hci_link *sco, *acl;
sys/netbt/hci_link.c
782
acl = hci_link_lookup_bdaddr(unit, bdaddr, HCI_LINK_ACL);
sys/netbt/hci_link.c
783
if (acl == NULL || acl->hl_state != HCI_LINK_OPEN)
sys/netbt/hci_link.c
811
KKASSERT(sco->hl_link == acl);
sys/netbt/hci_unit.c
222
int acl;
sys/netbt/hci_unit.c
238
for (acl = 0 ; acl < 2 ; acl++) {
sys/netbt/hci_unit.c
242
if (acl || link->hl_type != HCI_LINK_ACL)
sys/netbt/sco_upper.c
122
struct hci_link *acl, *sco;
sys/netbt/sco_upper.c
149
acl = hci_link_lookup_bdaddr(unit, &pcb->sp_raddr, HCI_LINK_ACL);
sys/netbt/sco_upper.c
150
if (acl == NULL || acl->hl_state != HCI_LINK_OPEN)
sys/netbt/sco_upper.c
161
KKASSERT(sco->hl_link == acl);
sys/netbt/sco_upper.c
163
cp.con_handle = htole16(acl->hl_handle);
sys/netgraph7/bluetooth/hci/ng_hci_cmds.c
704
ng_hci_node_is_up(unit->node, unit->acl, NULL, 0);
sys/netgraph7/bluetooth/hci/ng_hci_cmds.c
720
ng_hci_node_is_up(unit->node, unit->acl, NULL, 0);
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
353
hook = (con->link_type == NG_HCI_LINK_ACL)? unit->acl : unit->sco;
sys/netgraph7/bluetooth/hci/ng_hci_main.c
195
h = &unit->acl;
sys/netgraph7/bluetooth/hci/ng_hci_main.c
221
if (hook == unit->acl) {
sys/netgraph7/bluetooth/hci/ng_hci_main.c
248
if (hook == unit->acl)
sys/netgraph7/bluetooth/hci/ng_hci_main.c
249
unit->acl = NULL;
sys/netgraph7/bluetooth/hci/ng_hci_main.c
322
(unit->acl != NULL)? NG_HCI_HOOK_ACL : "",
sys/netgraph7/bluetooth/hci/ng_hci_main.c
361
ng_hci_node_is_up(unit->node, unit->acl, NULL, 0);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
717
unit->acl == NULL || NG_HOOK_NOT_VALID(unit->acl)) {
sys/netgraph7/bluetooth/hci/ng_hci_main.c
721
unit->state, unit->acl);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
725
NG_FWD_ITEM_HOOK(error, item, unit->acl);
sys/netgraph7/bluetooth/hci/ng_hci_misc.c
106
if (hook == unit->acl) {
sys/netgraph7/bluetooth/hci/ng_hci_misc.c
99
if (hook != unit->acl && hook != unit->sco)
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
1024
if (hook == unit->acl)
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
1055
if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) {
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
1064
unit->acl, 0);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
1069
__func__, NG_NODE_NAME(unit->node), unit->acl);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
1114
if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) {
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
1123
NG_SEND_MSG_HOOK(error, unit->node, msg, unit->acl, 0);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
1127
__func__, NG_NODE_NAME(unit->node), unit->acl);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
158
if (hook == unit->acl)
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
282
if (hook == unit->acl)
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
583
if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) {
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
595
unit->acl, 0);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
600
__func__, NG_NODE_NAME(unit->node), unit->acl);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
623
__func__, NG_NODE_NAME(unit->node), unit->acl);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
650
hook = unit->acl;
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
815
if (hook == unit->acl)
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
851
if (hook == unit->acl)
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
891
if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) {
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
902
NG_SEND_MSG_HOOK(error,unit->node,msg,unit->acl,0);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
906
__func__, NG_NODE_NAME(unit->node), unit->acl);
sys/netgraph7/bluetooth/hci/ng_hci_var.h
158
hook_p acl; /* upstream hook */
sys/netproto/802_11/ieee80211_dragonfly.h
318
_IEEE80211_POLICY_MODULE(acl, name, version); \
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1639
const struct ieee80211_aclator *acl = vap->iv_acl;
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1647
if (acl == NULL) {
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1648
acl = ieee80211_aclator_get("mac");
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1649
if (acl == NULL || !acl->iac_attach(vap))
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1651
vap->iv_acl = acl;
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1654
acl->iac_add(vap, mac);
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1656
acl->iac_remove(vap, mac);
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1663
const struct ieee80211_aclator *acl = vap->iv_acl;
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1670
if (acl == NULL) {
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1671
acl = ieee80211_aclator_get("mac");
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1672
if (acl == NULL || !acl->iac_attach(vap))
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1674
vap->iv_acl = acl;
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1676
acl->iac_setpolicy(vap, ireq->i_val);
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1679
if (acl != NULL)
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1680
acl->iac_flush(vap);
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1684
if (acl != NULL) {
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1686
acl->iac_detach(vap);
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1690
if (acl == NULL)
sys/netproto/802_11/wlan/ieee80211_ioctl.c
1693
return acl->iac_setioctl(vap, ireq);
sys/netproto/802_11/wlan/ieee80211_ioctl.c
609
const struct ieee80211_aclator *acl = vap->iv_acl;
sys/netproto/802_11/wlan/ieee80211_ioctl.c
611
return (acl == NULL ? EINVAL : acl->iac_getioctl(vap, ireq));
sys/netproto/802_11/wlan/ieee80211_proto.c
499
static const struct ieee80211_aclator *acl = NULL;
sys/netproto/802_11/wlan/ieee80211_proto.c
505
acl = iac;
sys/netproto/802_11/wlan/ieee80211_proto.c
511
if (acl == iac)
sys/netproto/802_11/wlan/ieee80211_proto.c
512
acl = NULL;
sys/netproto/802_11/wlan/ieee80211_proto.c
519
if (acl == NULL)
sys/netproto/802_11/wlan/ieee80211_proto.c
521
return acl != NULL && strcmp(acl->iac_name, name) == 0 ? acl : NULL;
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
136
static __inline struct acl *
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
139
struct acl *acl;
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
143
LIST_FOREACH(acl, &as->as_hash[hash], acl_hash) {
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
144
if (IEEE80211_ADDR_EQ(acl->acl_macaddr, macaddr))
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
145
return acl;
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
151
_acl_free(struct aclstate *as, struct acl *acl)
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
155
TAILQ_REMOVE(&as->as_list, acl, acl_list);
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
156
LIST_REMOVE(acl, acl_hash);
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
157
IEEE80211_FREE(acl, M_80211_ACL);
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
182
struct acl *acl, *new;
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
186
new = (struct acl *) kmalloc(sizeof(struct acl),
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
189
new = (struct acl *) IEEE80211_MALLOC(sizeof(struct acl),
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
201
LIST_FOREACH(acl, &as->as_hash[hash], acl_hash) {
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
202
if (IEEE80211_ADDR_EQ(acl->acl_macaddr, mac)) {
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
226
struct acl *acl;
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
229
acl = _find_acl(as, mac);
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
230
if (acl != NULL)
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
231
_acl_free(as, acl);
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
236
acl == NULL ? ", not present" : "");
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
238
return (acl == NULL ? ENOENT : 0);
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
245
struct acl *acl;
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
250
while ((acl = TAILQ_FIRST(&as->as_list)) != NULL)
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
251
_acl_free(as, acl);
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
303
struct acl *acl;
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
329
TAILQ_FOREACH(acl, &as->as_list, acl_list) {
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
330
IEEE80211_ADDR_COPY(ap[i].ml_macaddr, acl->acl_macaddr);
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
75
TAILQ_ENTRY(acl) acl_list;
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
76
LIST_ENTRY(acl) acl_hash;
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
83
TAILQ_HEAD(, acl) as_list; /* list of all ACL's */
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
84
LIST_HEAD(, acl) as_hash[ACL_HASHSIZE];
sys/sys/acl.h
104
int __acl_aclcheck_fd(int, acl_type_t, struct acl *);
sys/sys/acl.h
105
int __acl_aclcheck_file(const char *, acl_type_t, struct acl *);
sys/sys/acl.h
108
int __acl_get_fd(int, acl_type_t, struct acl *);
sys/sys/acl.h
109
int __acl_get_file(const char *, acl_type_t, struct acl *);
sys/sys/acl.h
110
int __acl_set_fd(int, acl_type_t, struct acl *);
sys/sys/acl.h
111
int __acl_set_file(const char *, acl_type_t, struct acl *);
sys/sys/acl.h
65
typedef struct acl *acl_t;
sys/sys/sysproto.h
872
struct acl * aclp; char aclp_[PAD_(struct acl *)];
sys/sys/sysproto.h
877
struct acl * aclp; char aclp_[PAD_(struct acl *)];
sys/sys/sysproto.h
882
struct acl * aclp; char aclp_[PAD_(struct acl *)];
sys/sys/sysproto.h
887
struct acl * aclp; char aclp_[PAD_(struct acl *)];
sys/sys/sysproto.h
900
struct acl * aclp; char aclp_[PAD_(struct acl *)];
sys/sys/sysproto.h
905
struct acl * aclp; char aclp_[PAD_(struct acl *)];
sys/sys/vfsops.h
395
struct acl *a_aclp;
sys/sys/vfsops.h
403
struct acl *a_aclp;
sys/sys/vfsops.h
411
struct acl *a_aclp;
sys/sys/vfsops.h
850
struct acl *aclp, struct ucred *cred);
sys/sys/vfsops.h
852
struct acl *aclp, struct ucred *cred);
sys/sys/vfsops.h
854
struct acl *aclp, struct ucred *cred);