Home
last modified time | relevance | path

Searched refs:ab (Results 1 – 25 of 157) sorted by relevance

1234567

/Linux-v5.15/drivers/usb/phy/
Dphy-ab8500-usb.c150 static void ab8500_usb_wd_workaround(struct ab8500_usb *ab) in ab8500_usb_wd_workaround() argument
152 abx500_set_register_interruptible(ab->dev, in ab8500_usb_wd_workaround()
159 abx500_set_register_interruptible(ab->dev, in ab8500_usb_wd_workaround()
167 abx500_set_register_interruptible(ab->dev, in ab8500_usb_wd_workaround()
173 static void ab8500_usb_regulator_enable(struct ab8500_usb *ab) in ab8500_usb_regulator_enable() argument
177 ret = regulator_enable(ab->v_ape); in ab8500_usb_regulator_enable()
179 dev_err(ab->dev, "Failed to enable v-ape\n"); in ab8500_usb_regulator_enable()
181 if (ab->flags & AB8500_USB_FLAG_REGULATOR_SET_VOLTAGE) { in ab8500_usb_regulator_enable()
182 ab->saved_v_ulpi = regulator_get_voltage(ab->v_ulpi); in ab8500_usb_regulator_enable()
183 if (ab->saved_v_ulpi < 0) in ab8500_usb_regulator_enable()
[all …]
/Linux-v5.15/drivers/net/wireless/ath/ath11k/
Dcore.c236 int ath11k_core_suspend(struct ath11k_base *ab) in ath11k_core_suspend() argument
240 if (!ab->hw_params.supports_suspend) in ath11k_core_suspend()
248 ret = ath11k_dp_rx_pktlog_stop(ab, true); in ath11k_core_suspend()
250 ath11k_warn(ab, "failed to stop dp rx (and timer) pktlog during suspend: %d\n", in ath11k_core_suspend()
255 ret = ath11k_wow_enable(ab); in ath11k_core_suspend()
257 ath11k_warn(ab, "failed to enable wow during suspend: %d\n", ret); in ath11k_core_suspend()
261 ret = ath11k_dp_rx_pktlog_stop(ab, false); in ath11k_core_suspend()
263 ath11k_warn(ab, "failed to stop dp rx pktlog during suspend: %d\n", in ath11k_core_suspend()
268 ath11k_ce_stop_shadow_timers(ab); in ath11k_core_suspend()
269 ath11k_dp_stop_shadow_timers(ab); in ath11k_core_suspend()
[all …]
Dpci.c135 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window() local
143 ab->mem + WINDOW_REG_ADDRESS); in ath11k_pci_select_window()
144 ioread32(ab->mem + WINDOW_REG_ADDRESS); in ath11k_pci_select_window()
157 iowrite32(WINDOW_ENABLE_BIT | window, ab_pci->ab->mem + WINDOW_REG_ADDRESS); in ath11k_pci_select_static_window()
160 static inline u32 ath11k_pci_get_window_start(struct ath11k_base *ab, in ath11k_pci_get_window_start() argument
177 void ath11k_pci_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_pci_write32() argument
179 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_write32()
190 iowrite32(value, ab->mem + offset); in ath11k_pci_write32()
192 if (ab->bus_params.static_window_map) in ath11k_pci_write32()
193 window_start = ath11k_pci_get_window_start(ab, offset); in ath11k_pci_write32()
[all …]
Dahb.c137 static inline u32 ath11k_ahb_read32(struct ath11k_base *ab, u32 offset) in ath11k_ahb_read32() argument
139 return ioread32(ab->mem + offset); in ath11k_ahb_read32()
142 static inline void ath11k_ahb_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_ahb_write32() argument
144 iowrite32(value, ab->mem + offset); in ath11k_ahb_write32()
147 static void ath11k_ahb_kill_tasklets(struct ath11k_base *ab) in ath11k_ahb_kill_tasklets() argument
151 for (i = 0; i < ab->hw_params.ce_count; i++) { in ath11k_ahb_kill_tasklets()
152 struct ath11k_ce_pipe *ce_pipe = &ab->ce.ce_pipe[i]; in ath11k_ahb_kill_tasklets()
154 if (ath11k_ce_get_attr_flags(ab, i) & CE_ATTR_DIS_INTR) in ath11k_ahb_kill_tasklets()
166 disable_irq_nosync(irq_grp->ab->irq_num[irq_grp->irqs[i]]); in ath11k_ahb_ext_grp_disable()
169 static void __ath11k_ahb_ext_irq_disable(struct ath11k_base *ab) in __ath11k_ahb_ext_irq_disable() argument
[all …]
Dhal.h46 (ab->hw_params.regs->hal_seq_wcss_umac_ce0_src_reg)
48 (ab->hw_params.regs->hal_seq_wcss_umac_ce0_dst_reg)
50 (ab->hw_params.regs->hal_seq_wcss_umac_ce1_src_reg)
52 (ab->hw_params.regs->hal_seq_wcss_umac_ce1_dst_reg)
61 #define HAL_TCL1_RING_BASE_LSB(ab) ab->hw_params.regs->hal_tcl1_ring_base_lsb argument
62 #define HAL_TCL1_RING_BASE_MSB(ab) ab->hw_params.regs->hal_tcl1_ring_base_msb argument
63 #define HAL_TCL1_RING_ID(ab) ab->hw_params.regs->hal_tcl1_ring_id argument
64 #define HAL_TCL1_RING_MISC(ab) ab->hw_params.regs->hal_tcl1_ring_misc argument
65 #define HAL_TCL1_RING_TP_ADDR_LSB(ab) \ argument
66 ab->hw_params.regs->hal_tcl1_ring_tp_addr_lsb
[all …]
Ddp.c15 static void ath11k_dp_htt_htc_tx_complete(struct ath11k_base *ab, in ath11k_dp_htt_htc_tx_complete() argument
23 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_cleanup() local
28 spin_lock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup()
29 peer = ath11k_peer_find(ab, vdev_id, addr); in ath11k_dp_peer_cleanup()
31 ath11k_warn(ab, "failed to lookup peer %pM on vdev %d\n", in ath11k_dp_peer_cleanup()
33 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup()
39 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup()
44 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_setup() local
56 ath11k_warn(ab, "failed to set default routing %d peer :%pM vdev_id :%d\n", in ath11k_dp_peer_setup()
65 ath11k_warn(ab, "failed to setup rxd tid queue for tid %d: %d\n", in ath11k_dp_peer_setup()
[all …]
Dce.c251 void ath11k_ce_stop_shadow_timers(struct ath11k_base *ab) in ath11k_ce_stop_shadow_timers() argument
255 if (!ab->hw_params.supports_shadow_regs) in ath11k_ce_stop_shadow_timers()
258 for (i = 0; i < ab->hw_params.ce_count; i++) in ath11k_ce_stop_shadow_timers()
260 ath11k_dp_shadow_stop_timer(ab, &ab->ce.hp_timer[i]); in ath11k_ce_stop_shadow_timers()
266 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe() local
274 lockdep_assert_held(&ab->ce.ce_lock); in ath11k_ce_rx_buf_enqueue_pipe()
278 srng = &ab->hal.srng_list[ring->hal_ring_id]; in ath11k_ce_rx_buf_enqueue_pipe()
282 ath11k_hal_srng_access_begin(ab, srng); in ath11k_ce_rx_buf_enqueue_pipe()
284 if (unlikely(ath11k_hal_srng_src_num_free(ab, srng, false) < 1)) { in ath11k_ce_rx_buf_enqueue_pipe()
289 desc = ath11k_hal_srng_src_get_next_entry(ab, srng); in ath11k_ce_rx_buf_enqueue_pipe()
[all …]
Dhal.c192 static int ath11k_hal_alloc_cont_rdp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_rdp() argument
194 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_rdp()
198 hal->rdp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->rdp.paddr, in ath11k_hal_alloc_cont_rdp()
206 static void ath11k_hal_free_cont_rdp(struct ath11k_base *ab) in ath11k_hal_free_cont_rdp() argument
208 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_free_cont_rdp()
215 dma_free_coherent(ab->dev, size, in ath11k_hal_free_cont_rdp()
220 static int ath11k_hal_alloc_cont_wrp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_wrp() argument
222 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_wrp()
226 hal->wrp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->wrp.paddr, in ath11k_hal_alloc_cont_wrp()
234 static void ath11k_hal_free_cont_wrp(struct ath11k_base *ab) in ath11k_hal_free_cont_wrp() argument
[all …]
Dpeer.c10 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id, in ath11k_peer_find() argument
15 lockdep_assert_held(&ab->base_lock); in ath11k_peer_find()
17 list_for_each_entry(peer, &ab->peers, list) { in ath11k_peer_find()
29 static struct ath11k_peer *ath11k_peer_find_by_pdev_idx(struct ath11k_base *ab, in ath11k_peer_find_by_pdev_idx() argument
34 lockdep_assert_held(&ab->base_lock); in ath11k_peer_find_by_pdev_idx()
36 list_for_each_entry(peer, &ab->peers, list) { in ath11k_peer_find_by_pdev_idx()
48 struct ath11k_peer *ath11k_peer_find_by_addr(struct ath11k_base *ab, in ath11k_peer_find_by_addr() argument
53 lockdep_assert_held(&ab->base_lock); in ath11k_peer_find_by_addr()
55 list_for_each_entry(peer, &ab->peers, list) { in ath11k_peer_find_by_addr()
65 struct ath11k_peer *ath11k_peer_find_by_id(struct ath11k_base *ab, in ath11k_peer_find_by_id() argument
[all …]
Dhif.h20 int (*suspend)(struct ath11k_base *ab);
21 int (*resume)(struct ath11k_base *ab);
24 int (*get_user_msi_vector)(struct ath11k_base *ab, char *user_name,
27 void (*get_msi_address)(struct ath11k_base *ab, u32 *msi_addr_lo,
29 void (*ce_irq_enable)(struct ath11k_base *ab);
30 void (*ce_irq_disable)(struct ath11k_base *ab);
31 void (*get_ce_msi_idx)(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx);
34 static inline void ath11k_hif_ce_irq_enable(struct ath11k_base *ab) in ath11k_hif_ce_irq_enable() argument
36 if (ab->hif.ops->ce_irq_enable) in ath11k_hif_ce_irq_enable()
37 ab->hif.ops->ce_irq_enable(ab); in ath11k_hif_ce_irq_enable()
[all …]
Dqmi.c1513 static int ath11k_qmi_host_cap_send(struct ath11k_base *ab) in ath11k_qmi_host_cap_send() argument
1525 req.mem_cfg_mode = ab->qmi.target_mem_mode; in ath11k_qmi_host_cap_send()
1530 if (ab->bus_params.m3_fw_support) { in ath11k_qmi_host_cap_send()
1543 req.cal_done = ab->qmi.cal_done; in ath11k_qmi_host_cap_send()
1545 if (ab->hw_params.internal_sleep_clock) { in ath11k_qmi_host_cap_send()
1559 ath11k_dbg(ab, ATH11K_DBG_QMI, "qmi host cap request\n"); in ath11k_qmi_host_cap_send()
1561 ret = qmi_txn_init(&ab->qmi.handle, &txn, in ath11k_qmi_host_cap_send()
1566 ret = qmi_send_request(&ab->qmi.handle, NULL, &txn, in ath11k_qmi_host_cap_send()
1571 ath11k_warn(ab, "failed to send host capability request: %d\n", ret); in ath11k_qmi_host_cap_send()
1580 ath11k_warn(ab, "host capability request failed: %d %d\n", in ath11k_qmi_host_cap_send()
[all …]
Ddp_rx.c23 static u8 *ath11k_dp_rx_h_80211_hdr(struct ath11k_base *ab, struct hal_rx_desc *desc) in ath11k_dp_rx_h_80211_hdr() argument
25 return ab->hw_params.hw_ops->rx_desc_get_hdr_status(desc); in ath11k_dp_rx_h_80211_hdr()
28 static enum hal_encrypt_type ath11k_dp_rx_h_mpdu_start_enctype(struct ath11k_base *ab, in ath11k_dp_rx_h_mpdu_start_enctype() argument
31 if (!ab->hw_params.hw_ops->rx_desc_encrypt_valid(desc)) in ath11k_dp_rx_h_mpdu_start_enctype()
34 return ab->hw_params.hw_ops->rx_desc_get_encrypt_type(desc); in ath11k_dp_rx_h_mpdu_start_enctype()
37 static u8 ath11k_dp_rx_h_msdu_start_decap_type(struct ath11k_base *ab, in ath11k_dp_rx_h_msdu_start_decap_type() argument
40 return ab->hw_params.hw_ops->rx_desc_get_decap_type(desc); in ath11k_dp_rx_h_msdu_start_decap_type()
43 static u8 ath11k_dp_rx_h_msdu_start_mesh_ctl_present(struct ath11k_base *ab, in ath11k_dp_rx_h_msdu_start_mesh_ctl_present() argument
46 return ab->hw_params.hw_ops->rx_desc_get_mesh_ctl(desc); in ath11k_dp_rx_h_msdu_start_mesh_ctl_present()
49 static bool ath11k_dp_rx_h_mpdu_start_seq_ctrl_valid(struct ath11k_base *ab, in ath11k_dp_rx_h_mpdu_start_seq_ctrl_valid() argument
[all …]
Dhtc.c11 struct sk_buff *ath11k_htc_alloc_skb(struct ath11k_base *ab, int size) in ath11k_htc_alloc_skb() argument
23 ath11k_warn(ab, "Unaligned HTC tx skb\n"); in ath11k_htc_alloc_skb()
28 static void ath11k_htc_control_tx_complete(struct ath11k_base *ab, in ath11k_htc_control_tx_complete() argument
34 static struct sk_buff *ath11k_htc_build_tx_ctrl_skb(void *ab) in ath11k_htc_build_tx_ctrl_skb() argument
49 ath11k_dbg(ab, ATH11K_DBG_HTC, "%s: skb %pK\n", __func__, skb); in ath11k_htc_build_tx_ctrl_skb()
80 struct device *dev = htc->ab->dev; in ath11k_htc_send()
81 struct ath11k_base *ab = htc->ab; in ath11k_htc_send() local
86 ath11k_warn(ab, "Invalid endpoint id: %d\n", eid); in ath11k_htc_send()
96 ath11k_dbg(ab, ATH11K_DBG_HTC, in ath11k_htc_send()
104 ath11k_dbg(ab, ATH11K_DBG_HTC, in ath11k_htc_send()
[all …]
Dwow.c15 int ath11k_wow_enable(struct ath11k_base *ab) in ath11k_wow_enable() argument
17 struct ath11k *ar = ath11k_ab_to_ar(ab, 0); in ath11k_wow_enable()
20 clear_bit(ATH11K_FLAG_HTC_SUSPEND_COMPLETE, &ab->dev_flags); in ath11k_wow_enable()
23 reinit_completion(&ab->htc_suspend); in ath11k_wow_enable()
27 ath11k_warn(ab, "failed to issue wow enable: %d\n", ret); in ath11k_wow_enable()
31 ret = wait_for_completion_timeout(&ab->htc_suspend, 3 * HZ); in ath11k_wow_enable()
33 ath11k_warn(ab, in ath11k_wow_enable()
38 if (test_bit(ATH11K_FLAG_HTC_SUSPEND_COMPLETE, &ab->dev_flags)) in ath11k_wow_enable()
42 ath11k_warn(ab, "htc suspend not complete, retrying (try %d)\n", in ath11k_wow_enable()
47 ath11k_warn(ab, "htc suspend not complete, failing after %d tries\n", i); in ath11k_wow_enable()
[all …]
Dmhi.c200 void ath11k_mhi_set_mhictrl_reset(struct ath11k_base *ab) in ath11k_mhi_set_mhictrl_reset() argument
204 val = ath11k_pci_read32(ab, MHISTATUS); in ath11k_mhi_set_mhictrl_reset()
206 ath11k_dbg(ab, ATH11K_DBG_PCI, "MHISTATUS 0x%x\n", val); in ath11k_mhi_set_mhictrl_reset()
212 ath11k_pci_write32(ab, MHICTRL, MHICTRL_RESET_MASK); in ath11k_mhi_set_mhictrl_reset()
217 static void ath11k_mhi_reset_txvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_txvecdb() argument
219 ath11k_pci_write32(ab, PCIE_TXVECDB, 0); in ath11k_mhi_reset_txvecdb()
222 static void ath11k_mhi_reset_txvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_txvecstatus() argument
224 ath11k_pci_write32(ab, PCIE_TXVECSTATUS, 0); in ath11k_mhi_reset_txvecstatus()
227 static void ath11k_mhi_reset_rxvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecdb() argument
229 ath11k_pci_write32(ab, PCIE_RXVECDB, 0); in ath11k_mhi_reset_rxvecdb()
[all …]
Ddp_tx.c17 struct ath11k_base *ab = arvif->ar->ab; in ath11k_dp_tx_get_encap_type() local
19 if (test_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags)) in ath11k_dp_tx_get_encap_type()
83 struct ath11k_base *ab = ar->ab; in ath11k_dp_tx() local
84 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_tx()
98 if (test_bit(ATH11K_FLAG_CRASH_FLUSH, &ar->ab->dev_flags)) in ath11k_dp_tx()
119 if (ar->ab->hw_params.tcl_0_only) in ath11k_dp_tx()
135 atomic_inc(&ab->soc_stats.tx_err.misc_fail); in ath11k_dp_tx()
192 if (!test_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags)) { in ath11k_dp_tx()
204 atomic_inc(&ab->soc_stats.tx_err.misc_fail); in ath11k_dp_tx()
208 ti.paddr = dma_map_single(ab->dev, skb->data, skb->len, DMA_TO_DEVICE); in ath11k_dp_tx()
[all …]
Ddbring.c14 struct ath11k_base *ab = ar->ab; in ath11k_dbring_bufs_replenish() local
22 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_bufs_replenish()
26 ath11k_hal_srng_access_begin(ab, srng); in ath11k_dbring_bufs_replenish()
30 paddr = dma_map_single(ab->dev, ptr_aligned, ring->buf_sz, in ath11k_dbring_bufs_replenish()
33 ret = dma_mapping_error(ab->dev, paddr); in ath11k_dbring_bufs_replenish()
45 desc = ath11k_hal_srng_src_get_next_entry(ab, srng); in ath11k_dbring_bufs_replenish()
58 ath11k_hal_srng_access_end(ab, srng); in ath11k_dbring_bufs_replenish()
67 dma_unmap_single(ab->dev, paddr, ring->buf_sz, in ath11k_dbring_bufs_replenish()
70 ath11k_hal_srng_access_end(ab, srng); in ath11k_dbring_bufs_replenish()
84 srng = &ar->ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_fill_bufs()
[all …]
Dwmi.c148 ath11k_wmi_tlv_iter(struct ath11k_base *ab, const void *ptr, size_t len, in ath11k_wmi_tlv_iter() argument
149 int (*iter)(struct ath11k_base *ab, u16 tag, u16 len, in ath11k_wmi_tlv_iter() argument
160 ath11k_err(ab, "wmi tlv parse failure at byte %zd (%zu bytes left, %zu expected)\n", in ath11k_wmi_tlv_iter()
172 ath11k_err(ab, "wmi tlv parse failure of tag %u at byte %zd (%zu bytes left, %u expected)\n", in ath11k_wmi_tlv_iter()
180 …ath11k_err(ab, "wmi tlv parse failure of tag %u at byte %zd (%u bytes is less than min length %zu)… in ath11k_wmi_tlv_iter()
186 ret = iter(ab, tlv_tag, tlv_len, ptr, data); in ath11k_wmi_tlv_iter()
197 static int ath11k_wmi_tlv_iter_parse(struct ath11k_base *ab, u16 tag, u16 len, in ath11k_wmi_tlv_iter_parse() argument
216 ath11k_wmi_tlv_parse_alloc(struct ath11k_base *ab, const void *ptr, in ath11k_wmi_tlv_parse_alloc() argument
226 ret = ath11k_wmi_tlv_parse(ab, tb, ptr, len); in ath11k_wmi_tlv_parse_alloc()
239 struct ath11k_base *ab = wmi->wmi_ab->ab; in ath11k_wmi_cmd_send_nowait() local
[all …]
Ddp_rx.h59 void ath11k_dp_htt_htc_t2h_msg_handler(struct ath11k_base *ab,
61 int ath11k_dp_pdev_reo_setup(struct ath11k_base *ab);
62 void ath11k_dp_pdev_reo_cleanup(struct ath11k_base *ab);
63 int ath11k_dp_rx_pdev_alloc(struct ath11k_base *ab, int pdev_idx);
64 void ath11k_dp_rx_pdev_free(struct ath11k_base *ab, int pdev_idx);
65 void ath11k_dp_reo_cmd_list_cleanup(struct ath11k_base *ab);
66 void ath11k_dp_process_reo_status(struct ath11k_base *ab);
67 int ath11k_dp_process_rxdma_err(struct ath11k_base *ab, int mac_id, int budget);
68 int ath11k_dp_rx_process_wbm_err(struct ath11k_base *ab,
70 int ath11k_dp_process_rx_err(struct ath11k_base *ab, struct napi_struct *napi,
[all …]
/Linux-v5.15/include/linux/mfd/abx500/
Dab8500.h391 static inline int is_ab8500(struct ab8500 *ab) in is_ab8500() argument
393 return ab->version == AB8500_VERSION_AB8500; in is_ab8500()
396 static inline int is_ab8505(struct ab8500 *ab) in is_ab8505() argument
398 return ab->version == AB8500_VERSION_AB8505; in is_ab8505()
401 static inline int is_ab9540(struct ab8500 *ab) in is_ab9540() argument
403 return ab->version == AB8500_VERSION_AB9540; in is_ab9540()
406 static inline int is_ab8540(struct ab8500 *ab) in is_ab8540() argument
408 return ab->version == AB8500_VERSION_AB8540; in is_ab8540()
412 static inline int is_ab8500_1p0_or_earlier(struct ab8500 *ab) in is_ab8500_1p0_or_earlier() argument
414 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab8500_1p0_or_earlier()
[all …]
/Linux-v5.15/security/
Dlsm_audit.c184 static inline void print_ipv6_addr(struct audit_buffer *ab, in print_ipv6_addr() argument
189 audit_log_format(ab, " %s=%pI6c", name1, addr); in print_ipv6_addr()
191 audit_log_format(ab, " %s=%d", name2, ntohs(port)); in print_ipv6_addr()
194 static inline void print_ipv4_addr(struct audit_buffer *ab, __be32 addr, in print_ipv4_addr() argument
198 audit_log_format(ab, " %s=%pI4", name1, &addr); in print_ipv4_addr()
200 audit_log_format(ab, " %s=%d", name2, ntohs(port)); in print_ipv4_addr()
208 static void dump_common_audit_data(struct audit_buffer *ab, in dump_common_audit_data() argument
220 audit_log_format(ab, " pid=%d comm=", task_tgid_nr(current)); in dump_common_audit_data()
221 audit_log_untrustedstring(ab, memcpy(comm, current->comm, sizeof(comm))); in dump_common_audit_data()
227 audit_log_format(ab, " key=%d ", a->u.ipc_id); in dump_common_audit_data()
[all …]
/Linux-v5.15/kernel/
Daudit.c389 struct audit_buffer *ab; in audit_log_config_change() local
392 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_CONFIG_CHANGE); in audit_log_config_change()
393 if (unlikely(!ab)) in audit_log_config_change()
395 audit_log_format(ab, "op=set %s=%u old=%u ", function_name, new, old); in audit_log_config_change()
396 audit_log_session_info(ab); in audit_log_config_change()
397 rc = audit_log_task_context(ab); in audit_log_config_change()
400 audit_log_format(ab, " res=%d", allow_changes); in audit_log_config_change()
401 audit_log_end(ab); in audit_log_config_change()
1057 struct audit_buffer **ab, u16 msg_type) in audit_log_common_recv_msg() argument
1063 *ab = NULL; in audit_log_common_recv_msg()
[all …]
/Linux-v5.15/arch/x86/crypto/
Dtwofish-x86_64-asm_64-3way.S77 #define do16bit_ror(rot, op1, op2, T0, T1, tmp1, tmp2, ab, dst) \ argument
78 movzbl ab ## bl, tmp2 ## d; \
79 movzbl ab ## bh, tmp1 ## d; \
80 rorq $(rot), ab; \
84 #define swap_ab_with_cd(ab, cd, tmp) \ argument
86 movq ab, cd; \
87 movq tmp, ab;
93 #define g1g2_3(ab, cd, Tx0, Tx1, Tx2, Tx3, Ty0, Ty1, Ty2, Ty3, x, y) \ argument
95 do16bit_ror(32, mov, xor, Tx0, Tx1, RT0, x ## 0, ab ## 0, x ## 0); \
96 do16bit_ror(48, mov, xor, Ty1, Ty2, RT0, y ## 0, ab ## 0, y ## 0); \
[all …]
/Linux-v5.15/drivers/md/persistent-data/
Ddm-array.c96 static void *element_at(struct dm_array_info *info, struct array_block *ab, in element_at() argument
99 unsigned char *entry = (unsigned char *) (ab + 1); in element_at()
110 static void on_entries(struct dm_array_info *info, struct array_block *ab, in on_entries() argument
113 unsigned nr_entries = le32_to_cpu(ab->nr_entries); in on_entries()
114 fn(info->value_type.context, element_at(info, ab, 0), nr_entries); in on_entries()
120 static void inc_ablock_entries(struct dm_array_info *info, struct array_block *ab) in inc_ablock_entries() argument
125 on_entries(info, ab, vt->inc); in inc_ablock_entries()
131 static void dec_ablock_entries(struct dm_array_info *info, struct array_block *ab) in dec_ablock_entries() argument
136 on_entries(info, ab, vt->dec); in dec_ablock_entries()
152 struct dm_block **block, struct array_block **ab) in alloc_ablock() argument
[all …]
/Linux-v5.15/security/integrity/
Dintegrity_audit.c41 struct audit_buffer *ab; in integrity_audit_message() local
47 ab = audit_log_start(audit_context(), GFP_KERNEL, audit_msgno); in integrity_audit_message()
48 audit_log_format(ab, "pid=%d uid=%u auid=%u ses=%u", in integrity_audit_message()
53 audit_log_task_context(ab); in integrity_audit_message()
54 audit_log_format(ab, " op=%s cause=%s comm=", op, cause); in integrity_audit_message()
55 audit_log_untrustedstring(ab, get_task_comm(name, current)); in integrity_audit_message()
57 audit_log_format(ab, " name="); in integrity_audit_message()
58 audit_log_untrustedstring(ab, fname); in integrity_audit_message()
61 audit_log_format(ab, " dev="); in integrity_audit_message()
62 audit_log_untrustedstring(ab, inode->i_sb->s_id); in integrity_audit_message()
[all …]

1234567