/linux-6.6.21/drivers/clk/ti/ |
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() 47 state <<= __ffs(ad->idlest_mask); in dra7_apll_enable() 50 v = ti_clk_ll_ops->clk_readl(&ad->idlest_reg); in dra7_apll_enable() 52 if ((v & ad->idlest_mask) == state) in dra7_apll_enable() 55 v = ti_clk_ll_ops->clk_readl(&ad->control_reg); in dra7_apll_enable() 56 v &= ~ad->enable_mask; in dra7_apll_enable() 57 v |= APLL_FORCE_LOCK << __ffs(ad->enable_mask); in dra7_apll_enable() 58 ti_clk_ll_ops->clk_writel(v, &ad->control_reg); in dra7_apll_enable() [all …]
|
/linux-6.6.21/sound/soc/ti/ |
D | omap-hdmi.c | 50 struct hdmi_audio_data *ad = dev_get_drvdata(dev); in hdmi_dai_abort() local 52 mutex_lock(&ad->current_stream_lock); in hdmi_dai_abort() 53 if (ad->current_stream && ad->current_stream->runtime && in hdmi_dai_abort() 54 snd_pcm_running(ad->current_stream)) { in hdmi_dai_abort() 56 snd_pcm_stream_lock_irq(ad->current_stream); in hdmi_dai_abort() 57 snd_pcm_stop(ad->current_stream, SNDRV_PCM_STATE_DISCONNECTED); in hdmi_dai_abort() 58 snd_pcm_stream_unlock_irq(ad->current_stream); in hdmi_dai_abort() 60 mutex_unlock(&ad->current_stream_lock); in hdmi_dai_abort() 66 struct hdmi_audio_data *ad = card_drvdata_substream(substream); in hdmi_dai_startup() local 87 snd_soc_dai_set_dma_data(dai, substream, &ad->dma_data); in hdmi_dai_startup() [all …]
|
/linux-6.6.21/drivers/dma/ |
D | apple-admac.c | 150 static int admac_alloc_sram_carveout(struct admac_data *ad, in admac_alloc_sram_carveout() argument 158 sram = &ad->txcache; in admac_alloc_sram_carveout() 160 sram = &ad->rxcache; in admac_alloc_sram_carveout() 162 mutex_lock(&ad->cache_alloc_lock); in admac_alloc_sram_carveout() 177 mutex_unlock(&ad->cache_alloc_lock); in admac_alloc_sram_carveout() 182 static void admac_free_sram_carveout(struct admac_data *ad, in admac_free_sram_carveout() argument 191 sram = &ad->txcache; in admac_free_sram_carveout() 193 sram = &ad->rxcache; in admac_free_sram_carveout() 198 mutex_lock(&ad->cache_alloc_lock); in admac_free_sram_carveout() 201 mutex_unlock(&ad->cache_alloc_lock); in admac_free_sram_carveout() [all …]
|
/linux-6.6.21/security/apparmor/ |
D | audit.c | 94 struct apparmor_audit_data *ad = aad_of_va(va); in audit_pre() local 98 aa_audit_type[ad->type]); in audit_pre() 101 if (ad->op) in audit_pre() 102 audit_log_format(ab, " operation=\"%s\"", ad->op); in audit_pre() 104 if (ad->class) in audit_pre() 106 ad->class <= AA_CLASS_LAST ? in audit_pre() 107 aa_class_names[ad->class] : in audit_pre() 110 if (ad->info) { in audit_pre() 111 audit_log_format(ab, " info=\"%s\"", ad->info); in audit_pre() 112 if (ad->error) in audit_pre() [all …]
|
D | ipc.c | 55 struct apparmor_audit_data *ad = aad(sa); in audit_signal_cb() local 57 if (ad->request & AA_SIGNAL_PERM_MASK) { in audit_signal_cb() 59 audit_signal_mask(ad->request)); in audit_signal_cb() 60 if (ad->denied & AA_SIGNAL_PERM_MASK) { in audit_signal_cb() 62 audit_signal_mask(ad->denied)); in audit_signal_cb() 65 if (ad->signal == SIGUNKNOWN) in audit_signal_cb() 67 ad->unmappedsig); in audit_signal_cb() 68 else if (ad->signal < MAXMAPPED_SIGNAME) in audit_signal_cb() 69 audit_log_format(ab, " signal=%s", sig_names[ad->signal]); in audit_signal_cb() 72 ad->signal - SIGRT_BASE); in audit_signal_cb() [all …]
|
D | net.c | 74 struct apparmor_audit_data *ad = aad(sa); in audit_net_cb() local 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() 88 audit_log_format(ab, " protocol=%d", ad->net.protocol); in audit_net_cb() 90 if (ad->request & NET_PERMS_MASK) { in audit_net_cb() 92 aa_audit_perm_mask(ab, ad->request, NULL, 0, in audit_net_cb() 95 if (ad->denied & NET_PERMS_MASK) { in audit_net_cb() 97 aa_audit_perm_mask(ab, ad->denied, NULL, 0, in audit_net_cb() 101 if (ad->peer) { in audit_net_cb() [all …]
|
D | task.c | 211 struct apparmor_audit_data *ad = aad(sa); in audit_ptrace_cb() local 213 if (ad->request & AA_PTRACE_PERM_MASK) { in audit_ptrace_cb() 215 audit_ptrace_mask(ad->request)); in audit_ptrace_cb() 217 if (ad->denied & AA_PTRACE_PERM_MASK) { in audit_ptrace_cb() 219 audit_ptrace_mask(ad->denied)); in audit_ptrace_cb() 223 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_ptrace_cb() 232 struct apparmor_audit_data *ad) in profile_ptrace_perm() argument 238 ad->subj_cred = cred; in profile_ptrace_perm() 239 ad->peer = peer; in profile_ptrace_perm() 243 return aa_check_perms(profile, &perms, request, ad, audit_ptrace_cb); in profile_ptrace_perm() [all …]
|
D | lib.c | 148 DEFINE_AUDIT_DATA(ad, LSM_AUDIT_DATA_NONE, AA_CLASS_NONE, NULL); in aa_info_message() 150 ad.info = str; in aa_info_message() 151 aa_audit_msg(AUDIT_APPARMOR_STATUS, &ad, NULL); in aa_info_message() 286 struct apparmor_audit_data *ad = aad(sa); in aa_audit_perms_cb() local 288 if (ad->request) { in aa_audit_perms_cb() 290 aa_audit_perm_mask(ab, ad->request, aa_file_perm_chrs, in aa_audit_perms_cb() 294 if (ad->denied) { in aa_audit_perms_cb() 296 aa_audit_perm_mask(ab, ad->denied, aa_file_perm_chrs, in aa_audit_perms_cb() 301 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in aa_audit_perms_cb() 355 struct apparmor_audit_data *ad) in aa_profile_label_perm() argument [all …]
|
D | file.c | 47 struct apparmor_audit_data *ad = aad(sa); in file_audit_cb() local 48 kuid_t fsuid = ad->subj_cred ? ad->subj_cred->fsuid : current_fsuid(); in file_audit_cb() 51 if (ad->request & AA_AUDIT_FILE_MASK) { in file_audit_cb() 53 map_mask_to_chr_mask(ad->request)); in file_audit_cb() 56 if (ad->denied & AA_AUDIT_FILE_MASK) { in file_audit_cb() 58 map_mask_to_chr_mask(ad->denied)); in file_audit_cb() 61 if (ad->request & AA_AUDIT_FILE_MASK) { in file_audit_cb() 65 from_kuid(&init_user_ns, ad->fs.ouid)); 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() [all …]
|
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 …]
|
D | capability.c | 64 static int audit_caps(struct apparmor_audit_data *ad, struct aa_profile *profile, in audit_caps() argument 72 ad->error = error; in audit_caps() 104 return aa_audit(type, profile, ad, audit_cb); in audit_caps() 117 unsigned int opts, struct apparmor_audit_data *ad) in profile_capable() argument 135 ad->info = "optional: no audit"; in profile_capable() 138 return audit_caps(ad, profile, cap, error); in profile_capable() 157 DEFINE_AUDIT_DATA(ad, LSM_AUDIT_DATA_CAP, AA_CLASS_CAP, OP_CAPABLE); in aa_capable() 159 ad.subj_cred = subj_cred; in aa_capable() 160 ad.common.u.cap = cap; in aa_capable() 162 profile_capable(profile, cap, opts, &ad)); in aa_capable()
|
D | mount.c | 89 struct apparmor_audit_data *ad = aad(sa); in audit_cb() local 91 if (ad->mnt.type) { in audit_cb() 93 audit_log_untrustedstring(ab, ad->mnt.type); in audit_cb() 95 if (ad->mnt.src_name) { in audit_cb() 97 audit_log_untrustedstring(ab, ad->mnt.src_name); in audit_cb() 99 if (ad->mnt.trans) { in audit_cb() 101 audit_log_untrustedstring(ab, ad->mnt.trans); in audit_cb() 103 if (ad->mnt.flags) { in audit_cb() 105 audit_mnt_flags(ab, ad->mnt.flags); in audit_cb() 108 if (ad->mnt.data) { in audit_cb() [all …]
|
/linux-6.6.21/security/smack/ |
D | smack_lsm.c | 432 struct smk_audit_info ad, *saip = NULL; in smk_ptrace_rule_check() local 438 smk_ad_init(&ad, func, LSM_AUDIT_DATA_TASK); in smk_ptrace_rule_check() 439 smk_ad_setfield_u_tsk(&ad, tracer); in smk_ptrace_rule_check() 440 saip = &ad; in smk_ptrace_rule_check() 896 struct smk_audit_info ad; in smack_sb_statfs() local 898 smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); in smack_sb_statfs() 899 smk_ad_setfield_u_fs_path_dentry(&ad, dentry); in smack_sb_statfs() 901 rc = smk_curacc(sbp->smk_floor, MAY_READ, &ad); in smack_sb_statfs() 1069 struct smk_audit_info ad; in smack_inode_link() local 1072 smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); in smack_inode_link() [all …]
|
/linux-6.6.21/drivers/crypto/ |
D | sa2ul.c | 503 static int sa_set_sc_enc(struct algo_data *ad, const u8 *key, u16 key_sz, in sa_set_sc_enc() argument 512 mci = ad->mci_enc; in sa_set_sc_enc() 514 mci = ad->mci_dec; in sa_set_sc_enc() 520 if (ad->inv_key && !enc) { in sa_set_sc_enc() 532 static void sa_set_sc_auth(struct algo_data *ad, const u8 *key, u16 key_sz, in sa_set_sc_auth() argument 542 sc_buf[1] |= ad->auth_ctrl; in sa_set_sc_auth() 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() 719 struct algo_data *ad, u8 enc, u32 *swinfo) in sa_init_sc() argument 729 if (ad->auth_eng.eng_id) { in sa_init_sc() [all …]
|
/linux-6.6.21/security/selinux/ |
D | hooks.c | 229 static void __ad_net_init(struct common_audit_data *ad, in __ad_net_init() argument 233 ad->type = LSM_AUDIT_DATA_NET; in __ad_net_init() 234 ad->u.net = net; in __ad_net_init() 240 static void ad_net_init_from_sk(struct common_audit_data *ad, in ad_net_init_from_sk() argument 244 __ad_net_init(ad, net, 0, sk, 0); in ad_net_init_from_sk() 247 static void ad_net_init_from_iif(struct common_audit_data *ad, in ad_net_init_from_iif() argument 251 __ad_net_init(ad, net, ifindex, NULL, family); in ad_net_init_from_iif() 1620 struct common_audit_data ad; in cred_has_capability() local 1627 ad.type = LSM_AUDIT_DATA_CAP; in cred_has_capability() 1628 ad.u.cap = cap; in cred_has_capability() [all …]
|
/linux-6.6.21/drivers/video/fbdev/ |
D | fsl-diu-fb.c | 336 struct diu_ad *ad; member 377 struct diu_ad ad[NUM_AOIS] __aligned(8); member 503 struct diu_ad *ad = mfbi->ad; in fsl_diu_enable_panel() local 509 wr_reg_wa(&hw->desc[0], ad->paddr); in fsl_diu_enable_panel() 513 if (hw->desc[1] != ad->paddr) { /* AOI0 closed */ in fsl_diu_enable_panel() 515 ad->next_ad = in fsl_diu_enable_panel() 516 cpu_to_le32(cmfbi->ad->paddr); in fsl_diu_enable_panel() 518 ad->next_ad = 0; in fsl_diu_enable_panel() 519 wr_reg_wa(&hw->desc[1], ad->paddr); in fsl_diu_enable_panel() 524 if (hw->desc[2] != ad->paddr) { /* AOI0 closed */ in fsl_diu_enable_panel() [all …]
|
/linux-6.6.21/security/ |
D | lsm_audit.c | 41 struct common_audit_data *ad, u8 *proto) in ipv4_skb_to_auditdata() argument 47 ad->u.net->v4info.saddr = ih->saddr; in ipv4_skb_to_auditdata() 48 ad->u.net->v4info.daddr = ih->daddr; in ipv4_skb_to_auditdata() 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() 74 ad->u.net->sport = dh->dccph_sport; in ipv4_skb_to_auditdata() 75 ad->u.net->dport = dh->dccph_dport; in ipv4_skb_to_auditdata() 81 ad->u.net->sport = sh->source; in ipv4_skb_to_auditdata() [all …]
|
/linux-6.6.21/lib/crypto/ |
D | chacha20poly1305.c | 58 const u8 *ad, const size_t ad_len, u32 *chacha_state) in __chacha20poly1305_encrypt() argument 70 poly1305_update(&poly1305_state, ad, ad_len); in __chacha20poly1305_encrypt() 91 const u8 *ad, const size_t ad_len, in chacha20poly1305_encrypt() argument 105 __chacha20poly1305_encrypt(dst, src, src_len, ad, ad_len, chacha_state); in chacha20poly1305_encrypt() 113 const u8 *ad, const size_t ad_len, in xchacha20poly1305_encrypt() argument 120 __chacha20poly1305_encrypt(dst, src, src_len, ad, ad_len, chacha_state); in xchacha20poly1305_encrypt() 126 const u8 *ad, const size_t ad_len, u32 *chacha_state) in __chacha20poly1305_decrypt() argument 144 poly1305_update(&poly1305_state, ad, ad_len); in __chacha20poly1305_decrypt() 169 const u8 *ad, const size_t ad_len, in chacha20poly1305_decrypt() argument 184 ret = __chacha20poly1305_decrypt(dst, src, src_len, ad, ad_len, in chacha20poly1305_decrypt() [all …]
|
/linux-6.6.21/include/crypto/ |
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.6.21/tools/testing/selftests/drivers/net/mlxsw/ |
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.6.21/arch/arm64/crypto/ |
D | crct10dif-ce-core.S | 78 ad .req v14 136 ext t4.8b, ad.8b, ad.8b, #1 // A1 137 ext t5.8b, ad.8b, ad.8b, #2 // A2 138 ext t6.8b, ad.8b, ad.8b, #3 // A3 141 pmull t8.8h, ad.8b, bd1.8b // E = A*B1 143 pmull t7.8h, ad.8b, bd2.8b // G = A*B2 145 pmull t9.8h, ad.8b, bd3.8b // I = A*B3 146 pmull t3.8h, ad.8b, bd4.8b // K = A*B4 150 tbl t4.16b, {ad.16b}, perm1.16b // A1 151 tbl t5.16b, {ad.16b}, perm2.16b // A2 [all …]
|
/linux-6.6.21/tools/testing/selftests/net/forwarding/ |
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
|
/linux-6.6.21/tools/testing/selftests/drivers/net/dsa/ |
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
|
/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
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.6.21/security/selinux/include/ |
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
|