| /linux-6.15/drivers/clk/ti/ |
| H A D | apll.c | 36 struct dpll_data *ad; in dra7_apll_enable() local 41 ad = clk->dpll_data; in dra7_apll_enable() 42 if (!ad) in dra7_apll_enable() 56 v &= ~ad->enable_mask; in dra7_apll_enable() 86 struct dpll_data *ad; in dra7_apll_disable() local 90 ad = clk->dpll_data; in dra7_apll_disable() 106 ad = clk->dpll_data; in dra7_apll_is_enabled() 186 ad = kzalloc(sizeof(*ad), GFP_KERNEL); in of_dra7_apll_setup() 226 kfree(ad); in of_dra7_apll_setup() 350 ad = kzalloc(sizeof(*ad), GFP_KERNEL); in of_omap2_apll_setup() [all …]
|
| /linux-6.15/sound/soc/ti/ |
| H A D | omap-hdmi.c | 53 if (ad->current_stream && ad->current_stream->runtime && in hdmi_dai_abort() 93 ret = ad->ops->audio_startup(ad->dssdev, hdmi_dai_abort); in hdmi_dai_startup() 227 return ad->ops->audio_config(ad->dssdev, &ad->dss_audio); in hdmi_dai_hw_params() 242 err = ad->ops->audio_start(ad->dssdev); in hdmi_dai_trigger() 247 ad->ops->audio_stop(ad->dssdev); in hdmi_dai_trigger() 262 ad->ops->audio_shutdown(ad->dssdev); in hdmi_dai_shutdown() 324 ad = devm_kzalloc(dev, sizeof(*ad), GFP_KERNEL); in omap_hdmi_audio_probe() 325 if (!ad) in omap_hdmi_audio_probe() 327 ad->dssdev = ha->dev; in omap_hdmi_audio_probe() 328 ad->ops = ha->ops; in omap_hdmi_audio_probe() [all …]
|
| /linux-6.15/drivers/dma/ |
| H A D | apple-admac.c | 156 ad->txcache.size = readl_relaxed(ad->base + REG_TX_SRAM_SIZE); in admac_alloc_sram_carveout() 157 ad->rxcache.size = readl_relaxed(ad->base + REG_RX_SRAM_SIZE); in admac_alloc_sram_carveout() 417 ad->base + REG_CHAN_INTSTATUS(adchan->no, ad->irq_index)); in admac_start_chan() 419 ad->base + REG_CHAN_INTMASK(adchan->no, ad->irq_index)); in admac_start_chan() 640 admac_modify(ad, REG_CHAN_INTMASK(channo, ad->irq_index), in admac_handle_status_err() 652 ad->base + REG_CHAN_INTSTATUS(channo, ad->irq_index)); in admac_handle_status_desc_done() 818 if (!ad) in admac_probe() 840 ad->irq = irq; in admac_probe() 851 dma = &ad->dma; in admac_probe() 922 free_irq(ad->irq, ad); in admac_probe() [all …]
|
| /linux-6.15/security/apparmor/ |
| H A D | audit.c | 101 if (ad->op) in audit_pre() 104 if (ad->class) in audit_pre() 110 if (ad->info) { in audit_pre() 112 if (ad->error) in audit_pre() 116 if (ad->subj_label) { in audit_pre() 136 if (ad->name) { in audit_pre() 151 ad->type = type; in aa_audit_msg() 173 if (likely(!ad->error)) { in aa_audit() 185 return ad->error; in aa_audit() 197 ad->common.u.tsk ? ad->common.u.tsk : current); in aa_audit() [all …]
|
| H A D | ipc.c | 65 if (ad->signal == SIGUNKNOWN) in audit_signal_cb() 67 ad->unmappedsig); in audit_signal_cb() 72 ad->signal - SIGRT_BASE); in audit_signal_cb() 74 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_signal_cb() 92 ad->subj_cred = cred; in profile_signal_perm() 93 ad->peer = peer; in profile_signal_perm() 97 ad->signal); in profile_signal_perm() 110 ad.signal = map_signal_num(sig); in aa_may_signal() 111 ad.unmappedsig = sig; in aa_may_signal() 114 MAY_WRITE, &ad), in aa_may_signal() [all …]
|
| H A D | task.c | 212 audit_ptrace_mask(ad->request)); in audit_ptrace_cb() 220 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_ptrace_cb() 235 ad->subj_cred = cred; in profile_ptrace_perm() 236 ad->peer = peer; in profile_ptrace_perm() 270 ad->subj_label = &tracer->label; in profile_tracer_perm() 271 ad->peer = tracee; in profile_tracer_perm() 272 ad->request = 0; in profile_tracer_perm() 309 if (ad->request & AA_USERNS_CREATE) in audit_ns_cb() 312 if (ad->denied & AA_USERNS_CREATE) in audit_ns_cb() 323 ad->subj_label = &profile->label; in aa_profile_ns_perm() [all …]
|
| H A D | net.c | 82 if (sock_type_names[ad->net.type]) in audit_net_cb() 84 sock_type_names[ad->net.type]); in audit_net_cb() 87 ad->net.type); in audit_net_cb() 90 if (ad->request & NET_PERMS_MASK) { in audit_net_cb() 95 if (ad->denied & NET_PERMS_MASK) { in audit_net_cb() 101 if (ad->peer) { in audit_net_cb() 103 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_net_cb() 162 DEFINE_AUDIT_SK(ad, op, sk); in aa_label_sk_perm() 164 ad.subj_cred = subj_cred; in aa_label_sk_perm() 260 DEFINE_AUDIT_SK(ad, op, sk); in apparmor_secmark_check() [all …]
|
| H A D | file.c | 48 kuid_t fsuid = ad->subj_cred ? ad->subj_cred->fsuid : current_fsuid(); in file_audit_cb() 68 if (ad->peer) { in file_audit_cb() 70 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in file_audit_cb() 105 ad.name = name; in aa_audit_file() 107 ad.peer = tlabel; in aa_audit_file() 108 ad.fs.ouid = ouid; in aa_audit_file() 109 ad.info = info; in aa_audit_file() 110 ad.error = error; in aa_audit_file() 127 ad.request = ad.request & ~perms->allow; in aa_audit_file() 139 if (!ad.request) in aa_audit_file() [all …]
|
| H A D | capability.c | 66 static int audit_caps(struct apparmor_audit_data *ad, struct aa_profile *profile, in audit_caps() argument 76 ad->error = error; in audit_caps() 104 ent->ad_subj_cred = get_cred(ad->subj_cred); in audit_caps() 109 return aa_audit(type, profile, ad, audit_cb); in audit_caps() 122 unsigned int opts, struct apparmor_audit_data *ad) in profile_capable() argument 140 ad->info = "optional: no audit"; in profile_capable() 143 return audit_caps(ad, profile, cap, error); in profile_capable() 162 DEFINE_AUDIT_DATA(ad, LSM_AUDIT_DATA_CAP, AA_CLASS_CAP, OP_CAPABLE); in aa_capable() 164 ad.subj_cred = subj_cred; in aa_capable() 165 ad.common.u.cap = cap; in aa_capable() [all …]
|
| H A D | resource.c | 33 struct apparmor_audit_data *ad = aad(sa); in audit_cb() local 36 rlim_names[ad->rlim.rlim], ad->rlim.max); in audit_cb() 37 if (ad->peer) { in audit_cb() 39 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_cb() 61 DEFINE_AUDIT_DATA(ad, LSM_AUDIT_DATA_NONE, AA_CLASS_RLIMITS, in audit_resource() 64 ad.subj_cred = subj_cred; in audit_resource() 65 ad.rlim.rlim = resource; in audit_resource() 66 ad.rlim.max = value; in audit_resource() 67 ad.peer = peer; in audit_resource() 68 ad.info = info; in audit_resource() [all …]
|
| H A D | lib.c | 112 ad.info = str; in aa_info_message() 113 aa_audit_msg(AUDIT_APPARMOR_STATUS, &ad, NULL); in aa_info_message() 305 u32 request, struct apparmor_audit_data *ad, in aa_check_perms() argument 314 if (!request || !ad) in aa_check_perms() 333 if (!ad || !denied) in aa_check_perms() 337 if (ad) { in aa_check_perms() 338 ad->subj_label = &profile->label; in aa_check_perms() 339 ad->request = request; in aa_check_perms() 340 ad->denied = denied; in aa_check_perms() 341 ad->error = error; in aa_check_perms() [all …]
|
| H A D | mount.c | 93 if (ad->mnt.type) { in audit_cb() 101 if (ad->mnt.trans) { in audit_cb() 105 if (ad->mnt.flags) { in audit_cb() 110 if (ad->mnt.data) { in audit_cb() 174 ad.name = name; in audit_mount() 176 ad.mnt.type = type; in audit_mount() 177 ad.mnt.trans = trans; in audit_mount() 178 ad.mnt.flags = flags; in audit_mount() 180 ad.mnt.data = data; in audit_mount() 181 ad.info = info; in audit_mount() [all …]
|
| /linux-6.15/security/smack/ |
| H A D | smack_lsm.c | 426 saip = &ad; in smk_ptrace_rule_check() 882 struct smk_audit_info ad; in smack_sb_statfs() local 1060 struct smk_audit_info ad; in smack_inode_link() local 1091 struct smk_audit_info ad; in smack_inode_unlink() local 1124 struct smk_audit_info ad; in smack_inode_rmdir() local 1167 struct smk_audit_info ad; in smack_inode_rename() local 1197 struct smk_audit_info ad; in smack_inode_permission() local 1234 struct smk_audit_info ad; in smack_inode_setattr() local 1258 struct smk_audit_info ad; in smack_inode_getattr() local 1313 struct smk_audit_info ad; in smack_inode_setxattr() local [all …]
|
| /linux-6.15/drivers/crypto/ |
| H A D | sa2ul.c | 512 mci = ad->mci_enc; in sa_set_sc_enc() 545 if (ad->keyed_mac) in sa_set_sc_auth() 546 ad->prep_iopad(ad, key, key_sz, ipad, opad); in sa_set_sc_auth() 740 ad->hash_size = roundup(ad->hash_size, 8); in sa_init_sc() 742 } else if (ad->enc_eng.eng_id && !ad->auth_eng.eng_id) { in sa_init_sc() 746 ad->hash_size = ad->iv_out_size; in sa_init_sc() 959 ad.inv_key = true; in sa_aes_cbc_setkey() 961 ad.iv_idx = 4; in sa_aes_cbc_setkey() 979 ad.inv_key = true; in sa_aes_ecb_setkey() 993 ad.iv_idx = 6; in sa_3des_cbc_setkey() [all …]
|
| /linux-6.15/security/selinux/ |
| H A D | hooks.c | 236 ad->u.net = net; in __ad_net_init() 1752 &ad); in file_has_perm() 1822 &ad); in may_create() 2076 &ad); in selinux_binder_transfer_file() 2092 &ad); in selinux_binder_transfer_file() 3010 &ad); in selinux_inode_init_security_anon() 3278 &ad); in selinux_inode_setxattr() 3689 &ad); in ioctl_has_perm() 4680 &ad); in sock_has_perm() 5112 &ad); in selinux_socket_unix_may_send() [all …]
|
| /linux-6.15/drivers/video/fbdev/ |
| H A D | fsl-diu-fb.c | 503 struct diu_ad *ad = mfbi->ad; in fsl_diu_enable_panel() local 515 ad->next_ad = in fsl_diu_enable_panel() 539 pmfbi->ad->next_ad = cpu_to_le32(ad->paddr); in fsl_diu_enable_panel() 547 pmfbi->ad->next_ad = cpu_to_le32(ad->paddr); in fsl_diu_enable_panel() 555 struct diu_ad *ad = mfbi->ad; in fsl_diu_disable_panel() local 911 struct diu_ad *ad = mfbi->ad; in fsl_diu_set_aoi() local 1133 struct diu_ad *ad = mfbi->ad; in fsl_diu_set_par() local 1270 struct diu_ad *ad = mfbi->ad; in fsl_diu_ioctl() local 1329 ad->src_size_g_alpha = (ad->src_size_g_alpha & (~0xff)) | in fsl_diu_ioctl() 1723 data->ad[i].paddr = DMA_ADDR(data, ad[i]); in fsl_diu_probe() [all …]
|
| /linux-6.15/security/ |
| H A D | lsm_audit.c | 60 ad->u.net->sport = th->source; in ipv4_skb_to_auditdata() 61 ad->u.net->dport = th->dest; in ipv4_skb_to_auditdata() 67 ad->u.net->sport = uh->source; in ipv4_skb_to_auditdata() 68 ad->u.net->dport = uh->dest; in ipv4_skb_to_auditdata() 81 ad->u.net->sport = sh->source; in ipv4_skb_to_auditdata() 82 ad->u.net->dport = sh->dest; in ipv4_skb_to_auditdata() 128 ad->u.net->sport = th->source; in ipv6_skb_to_auditdata() 129 ad->u.net->dport = th->dest; in ipv6_skb_to_auditdata() 139 ad->u.net->sport = uh->source; in ipv6_skb_to_auditdata() 140 ad->u.net->dport = uh->dest; in ipv6_skb_to_auditdata() [all …]
|
| /linux-6.15/lib/crypto/ |
| H A D | chacha20poly1305.c | 69 poly1305_update(&poly1305_state, ad, ad_len); in __chacha20poly1305_encrypt() 90 const u8 *ad, const size_t ad_len, in chacha20poly1305_encrypt() argument 112 const u8 *ad, const size_t ad_len, in xchacha20poly1305_encrypt() argument 143 poly1305_update(&poly1305_state, ad, ad_len); in __chacha20poly1305_decrypt() 168 const u8 *ad, const size_t ad_len, in chacha20poly1305_decrypt() argument 194 const u8 *ad, const size_t ad_len, in xchacha20poly1305_decrypt() argument 209 const u8 *ad, const size_t ad_len, in chacha20poly1305_crypt_sg_inplace() argument 248 poly1305_update(&poly1305_state, ad, ad_len); in chacha20poly1305_crypt_sg_inplace() 333 const u8 *ad, const size_t ad_len, in chacha20poly1305_encrypt_sg_inplace() argument 343 const u8 *ad, const size_t ad_len, in chacha20poly1305_decrypt_sg_inplace() argument [all …]
|
| /linux-6.15/include/crypto/ |
| H A D | chacha20poly1305.h | 19 const u8 *ad, const size_t ad_len, 25 const u8 *ad, const size_t ad_len, const u64 nonce, 29 const u8 *ad, const size_t ad_len, 34 u8 *dst, const u8 *src, const size_t src_len, const u8 *ad, 39 const u8 *ad, const size_t ad_len, 44 const u8 *ad, const size_t ad_len,
|
| /linux-6.15/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | q_in_q_veto.sh | 75 protocol 802.1ad id 100 2>/dev/null 79 protocol 802.1ad id 100 2>&1 >/dev/null \ 98 protocol 802.1ad id 100 2>/dev/null 102 protocol 802.1ad id 100 2>&1 >/dev/null \ 115 ip link add name bond1 type bond mode 802.3ad 120 protocol 802.1ad id 100 2>/dev/null 124 protocol 802.1ad id 100 2>&1 >/dev/null \ 159 vlan_protocol 802.1ad vlan_default_pvid 0 mcast_snooping 0 182 vlan_protocol 802.1ad vlan_default_pvid 0 mcast_snooping 0 186 ip link add name bond1 type bond mode 802.3ad [all …]
|
| /linux-6.15/tools/testing/selftests/net/forwarding/ |
| H A D | bridge_vlan_aware.sh | 115 local mac=de:ad:be:ef:13:37 121 bridge fdb add de:ad:be:ef:13:37 dev $swp1 master extern_learn vlan 1 123 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37 131 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37 136 bridge fdb show brport $swp2 | grep -q de:ad:be:ef:13:37 141 bridge fdb del de:ad:be:ef:13:37 dev $swp2 master vlan 1 &> /dev/null 142 bridge fdb del de:ad:be:ef:13:37 dev $swp1 master vlan 1 &> /dev/null 147 local mac=de:ad:be:ef:13:37 200 local mac=de:ad:be:ef:13:37
|
| /linux-6.15/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
| H A D | vxlan_flooding_ipv6.sh | 229 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1 245 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1 259 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1 273 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1 284 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1 293 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1 302 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1 311 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1 320 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
|
| /linux-6.15/include/linux/ |
| H A D | audit.h | 423 extern void __audit_ntp_log(const struct audit_ntp_data *ad); 544 static inline void audit_ntp_init(struct audit_ntp_data *ad) in audit_ntp_init() argument 546 memset(ad, 0, sizeof(*ad)); in audit_ntp_init() 549 static inline void audit_ntp_set_old(struct audit_ntp_data *ad, in audit_ntp_set_old() argument 552 ad->vals[type].oldval = val; in audit_ntp_set_old() 555 static inline void audit_ntp_set_new(struct audit_ntp_data *ad, in audit_ntp_set_new() argument 558 ad->vals[type].newval = val; in audit_ntp_set_new() 564 __audit_ntp_log(ad); in audit_ntp_log() 690 static inline void audit_ntp_init(struct audit_ntp_data *ad) in audit_ntp_init() argument 693 static inline void audit_ntp_set_old(struct audit_ntp_data *ad, in audit_ntp_set_old() argument [all …]
|
| /linux-6.15/security/selinux/include/ |
| H A D | xfrm.h | 42 struct common_audit_data *ad); 44 struct common_audit_data *ad, u8 proto); 64 struct common_audit_data *ad) in selinux_xfrm_sock_rcv_skb() argument 70 struct common_audit_data *ad, in selinux_xfrm_postroute_last() argument
|
| /linux-6.15/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
| H A D | vxlan_flooding_ipv6.sh | 169 flower skip_hw dst_mac de:ad:be:ef:13:37 action pass 246 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1 261 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1 274 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1 287 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1 298 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1 307 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1 316 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1 325 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
|