/kernel/linux/linux-5.10/drivers/usb/phy/ |
D | phy-ab8500-usb.c | 150 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 …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
D | core.c | 144 static int ath11k_core_create_board_name(struct ath11k_base *ab, char *name, in ath11k_core_create_board_name() argument 149 ath11k_bus_str(ab->hif.bus), in ath11k_core_create_board_name() 150 ab->qmi.target.chip_id, in ath11k_core_create_board_name() 151 ab->qmi.target.board_id); in ath11k_core_create_board_name() 153 ath11k_dbg(ab, ATH11K_DBG_BOOT, "boot using board name '%s'\n", name); in ath11k_core_create_board_name() 158 const struct firmware *ath11k_core_firmware_request(struct ath11k_base *ab, in ath11k_core_firmware_request() argument 168 ath11k_core_create_firmware_path(ab, file, path, sizeof(path)); in ath11k_core_firmware_request() 170 ret = firmware_request_nowarn(&fw, path, ab->dev); in ath11k_core_firmware_request() 174 ath11k_dbg(ab, ATH11K_DBG_BOOT, "boot firmware request %s size %zu\n", in ath11k_core_firmware_request() 180 void ath11k_core_free_bdf(struct ath11k_base *ab, struct ath11k_board_data *bd) in ath11k_core_free_bdf() argument [all …]
|
D | ahb.c | 137 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 …]
|
D | pci.c | 120 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window() local 128 ab->mem + WINDOW_REG_ADDRESS); in ath11k_pci_select_window() 133 void ath11k_pci_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_pci_write32() argument 135 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_write32() 145 iowrite32(value, ab->mem + offset); in ath11k_pci_write32() 149 iowrite32(value, ab->mem + WINDOW_START + (offset & WINDOW_RANGE_MASK)); in ath11k_pci_write32() 158 u32 ath11k_pci_read32(struct ath11k_base *ab, u32 offset) in ath11k_pci_read32() argument 160 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_read32() 171 val = ioread32(ab->mem + offset); in ath11k_pci_read32() 175 val = ioread32(ab->mem + WINDOW_START + (offset & WINDOW_RANGE_MASK)); in ath11k_pci_read32() [all …]
|
D | hal.h | 53 #define HAL_TCL1_RING_BASE_LSB(ab) ab->hw_params.regs->hal_tcl1_ring_base_lsb argument 54 #define HAL_TCL1_RING_BASE_MSB(ab) ab->hw_params.regs->hal_tcl1_ring_base_msb argument 55 #define HAL_TCL1_RING_ID(ab) ab->hw_params.regs->hal_tcl1_ring_id argument 56 #define HAL_TCL1_RING_MISC(ab) ab->hw_params.regs->hal_tcl1_ring_misc argument 57 #define HAL_TCL1_RING_TP_ADDR_LSB(ab) \ argument 58 ab->hw_params.regs->hal_tcl1_ring_tp_addr_lsb 59 #define HAL_TCL1_RING_TP_ADDR_MSB(ab) \ argument 60 ab->hw_params.regs->hal_tcl1_ring_tp_addr_msb 61 #define HAL_TCL1_RING_CONSUMER_INT_SETUP_IX0(ab) \ argument 62 ab->hw_params.regs->hal_tcl1_ring_consumer_int_setup_ix0 [all …]
|
D | ce.c | 198 static void ath11k_ce_stop_shadow_timers(struct ath11k_base *ab) in ath11k_ce_stop_shadow_timers() argument 202 if (!ab->hw_params.supports_shadow_regs) in ath11k_ce_stop_shadow_timers() 205 for (i = 0; i < ab->hw_params.ce_count; i++) in ath11k_ce_stop_shadow_timers() 207 ath11k_dp_shadow_stop_timer(ab, &ab->ce.hp_timer[i]); in ath11k_ce_stop_shadow_timers() 213 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe() local 221 lockdep_assert_held(&ab->ce.ce_lock); in ath11k_ce_rx_buf_enqueue_pipe() 225 srng = &ab->hal.srng_list[ring->hal_ring_id]; in ath11k_ce_rx_buf_enqueue_pipe() 229 ath11k_hal_srng_access_begin(ab, srng); in ath11k_ce_rx_buf_enqueue_pipe() 231 if (unlikely(ath11k_hal_srng_src_num_free(ab, srng, false) < 1)) { in ath11k_ce_rx_buf_enqueue_pipe() 236 desc = ath11k_hal_srng_src_get_next_entry(ab, srng); in ath11k_ce_rx_buf_enqueue_pipe() [all …]
|
D | dp.c | 15 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 …]
|
D | peer.c | 10 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 …]
|
D | hal.c | 246 static int ath11k_hal_alloc_cont_rdp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_rdp() argument 248 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_rdp() 252 hal->rdp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->rdp.paddr, in ath11k_hal_alloc_cont_rdp() 260 static void ath11k_hal_free_cont_rdp(struct ath11k_base *ab) in ath11k_hal_free_cont_rdp() argument 262 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_free_cont_rdp() 269 dma_free_coherent(ab->dev, size, in ath11k_hal_free_cont_rdp() 274 static int ath11k_hal_alloc_cont_wrp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_wrp() argument 276 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_wrp() 280 hal->wrp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->wrp.paddr, in ath11k_hal_alloc_cont_wrp() 288 static void ath11k_hal_free_cont_wrp(struct ath11k_base *ab) in ath11k_hal_free_cont_wrp() argument [all …]
|
D | qmi.c | 1507 static int ath11k_qmi_host_cap_send(struct ath11k_base *ab) in ath11k_qmi_host_cap_send() argument 1519 req.mem_cfg_mode = ab->qmi.target_mem_mode; in ath11k_qmi_host_cap_send() 1524 if (ab->bus_params.m3_fw_support) { in ath11k_qmi_host_cap_send() 1537 req.cal_done = ab->qmi.cal_done; in ath11k_qmi_host_cap_send() 1539 if (ab->hw_params.internal_sleep_clock) { in ath11k_qmi_host_cap_send() 1553 ret = qmi_txn_init(&ab->qmi.handle, &txn, in ath11k_qmi_host_cap_send() 1558 ret = qmi_send_request(&ab->qmi.handle, NULL, &txn, in ath11k_qmi_host_cap_send() 1563 ath11k_warn(ab, "Failed to send host capability request,err = %d\n", ret); in ath11k_qmi_host_cap_send() 1572 ath11k_warn(ab, "Host capability request failed, result: %d, err: %d\n", in ath11k_qmi_host_cap_send() 1582 static int ath11k_qmi_fw_ind_register_send(struct ath11k_base *ab) in ath11k_qmi_fw_ind_register_send() argument [all …]
|
D | dp_rx.c | 267 struct ath11k_base *ab = from_timer(ab, t, mon_reap_timer); in ath11k_dp_service_mon_ring() local 270 for (i = 0; i < ab->hw_params.num_rxmda_per_pdev; i++) in ath11k_dp_service_mon_ring() 271 ath11k_dp_rx_process_mon_rings(ab, i, NULL, DP_MON_SERVICE_BUDGET); in ath11k_dp_service_mon_ring() 273 mod_timer(&ab->mon_reap_timer, jiffies + in ath11k_dp_service_mon_ring() 278 int ath11k_dp_rxbufs_replenish(struct ath11k_base *ab, int mac_id, in ath11k_dp_rxbufs_replenish() argument 294 srng = &ab->hal.srng_list[rx_ring->refill_buf_ring.ring_id]; in ath11k_dp_rxbufs_replenish() 298 ath11k_hal_srng_access_begin(ab, srng); in ath11k_dp_rxbufs_replenish() 300 num_free = ath11k_hal_srng_src_num_free(ab, srng, true); in ath11k_dp_rxbufs_replenish() 320 paddr = dma_map_single(ab->dev, skb->data, in ath11k_dp_rxbufs_replenish() 323 if (dma_mapping_error(ab->dev, paddr)) in ath11k_dp_rxbufs_replenish() [all …]
|
D | mhi.c | 110 void ath11k_mhi_set_mhictrl_reset(struct ath11k_base *ab) in ath11k_mhi_set_mhictrl_reset() argument 114 val = ath11k_pci_read32(ab, MHISTATUS); in ath11k_mhi_set_mhictrl_reset() 116 ath11k_dbg(ab, ATH11K_DBG_PCI, "MHISTATUS 0x%x\n", val); in ath11k_mhi_set_mhictrl_reset() 122 ath11k_pci_write32(ab, MHICTRL, MHICTRL_RESET_MASK); in ath11k_mhi_set_mhictrl_reset() 127 static void ath11k_mhi_reset_txvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_txvecdb() argument 129 ath11k_pci_write32(ab, PCIE_TXVECDB, 0); in ath11k_mhi_reset_txvecdb() 132 static void ath11k_mhi_reset_txvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_txvecstatus() argument 134 ath11k_pci_write32(ab, PCIE_TXVECSTATUS, 0); in ath11k_mhi_reset_txvecstatus() 137 static void ath11k_mhi_reset_rxvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecdb() argument 139 ath11k_pci_write32(ab, PCIE_RXVECDB, 0); in ath11k_mhi_reset_rxvecdb() [all …]
|
D | htc.c | 11 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() 78 struct device *dev = htc->ab->dev; in ath11k_htc_send() 79 struct ath11k_base *ab = htc->ab; in ath11k_htc_send() local 84 ath11k_warn(ab, "Invalid endpoint id: %d\n", eid); in ath11k_htc_send() 94 ath11k_dbg(ab, ATH11K_DBG_HTC, in ath11k_htc_send() 102 ath11k_dbg(ab, ATH11K_DBG_HTC, in ath11k_htc_send() [all …]
|
D | dp_tx.c | 17 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() 114 ring_selector = atomic_inc_return(&ab->tcl_ring_selector); 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() 191 if (!test_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags)) { in ath11k_dp_tx() 203 atomic_inc(&ab->soc_stats.tx_err.misc_fail); in ath11k_dp_tx() [all …]
|
D | dbring.c | 13 struct ath11k_base *ab = ar->ab; in ath11k_dbring_bufs_replenish() local 21 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_bufs_replenish() 25 ath11k_hal_srng_access_begin(ab, srng); in ath11k_dbring_bufs_replenish() 29 paddr = dma_map_single(ab->dev, ptr_aligned, ring->buf_sz, in ath11k_dbring_bufs_replenish() 32 ret = dma_mapping_error(ab->dev, paddr); in ath11k_dbring_bufs_replenish() 44 desc = ath11k_hal_srng_src_get_next_entry(ab, srng); in ath11k_dbring_bufs_replenish() 57 ath11k_hal_srng_access_end(ab, srng); in ath11k_dbring_bufs_replenish() 66 dma_unmap_single(ab->dev, paddr, ring->buf_sz, in ath11k_dbring_bufs_replenish() 69 ath11k_hal_srng_access_end(ab, srng); in ath11k_dbring_bufs_replenish() 82 srng = &ar->ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_fill_bufs() [all …]
|
D | wmi.c | 142 ath11k_wmi_tlv_iter(struct ath11k_base *ab, const void *ptr, size_t len, in ath11k_wmi_tlv_iter() argument 143 int (*iter)(struct ath11k_base *ab, u16 tag, u16 len, in ath11k_wmi_tlv_iter() argument 154 ath11k_err(ab, "wmi tlv parse failure at byte %zd (%zu bytes left, %zu expected)\n", in ath11k_wmi_tlv_iter() 166 ath11k_err(ab, "wmi tlv parse failure of tag %hhu at byte %zd (%zu bytes left, %hhu expected)\n", in ath11k_wmi_tlv_iter() 174 …ath11k_err(ab, "wmi tlv parse failure of tag %hhu at byte %zd (%hhu bytes is less than min length … in ath11k_wmi_tlv_iter() 180 ret = iter(ab, tlv_tag, tlv_len, ptr, data); in ath11k_wmi_tlv_iter() 191 static int ath11k_wmi_tlv_iter_parse(struct ath11k_base *ab, u16 tag, u16 len, in ath11k_wmi_tlv_iter_parse() argument 210 ath11k_wmi_tlv_parse_alloc(struct ath11k_base *ab, const void *ptr, in ath11k_wmi_tlv_parse_alloc() argument 220 ret = ath11k_wmi_tlv_parse(ab, tb, ptr, len); in ath11k_wmi_tlv_parse_alloc() 233 struct ath11k_base *ab = wmi->wmi_ab->ab; in ath11k_wmi_cmd_send_nowait() local [all …]
|
D | dp_rx.h | 59 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 …]
|
D | debugfs.c | 92 void ath11k_debugfs_fw_stats_process(struct ath11k_base *ab, struct sk_buff *skb) in ath11k_debugfs_fw_stats_process() argument 106 ret = ath11k_wmi_pull_fw_stats(ab, skb, &stats); in ath11k_debugfs_fw_stats_process() 108 ath11k_warn(ab, "failed to pull fw stats: %d\n", ret); in ath11k_debugfs_fw_stats_process() 113 ar = ath11k_mac_get_ar_by_pdev_id(ab, stats.pdev_id); in ath11k_debugfs_fw_stats_process() 116 ath11k_warn(ab, "failed to get ar for pdev_id %d: %d\n", in ath11k_debugfs_fw_stats_process() 131 ath11k_warn(ab, "empty vdev stats"); in ath11k_debugfs_fw_stats_process() 137 for (i = 0; i < ab->num_radios; i++) { in ath11k_debugfs_fw_stats_process() 138 pdev = rcu_dereference(ab->pdevs_active[i]); in ath11k_debugfs_fw_stats_process() 157 ath11k_warn(ab, "empty bcn stats"); in ath11k_debugfs_fw_stats_process() 187 struct ath11k_base *ab = ar->ab; in ath11k_debugfs_fw_stats_request() local [all …]
|
/kernel/linux/linux-5.10/include/linux/mfd/abx500/ |
D | ab8500.h | 394 static inline int is_ab8500(struct ab8500 *ab) in is_ab8500() argument 396 return ab->version == AB8500_VERSION_AB8500; in is_ab8500() 399 static inline int is_ab8505(struct ab8500 *ab) in is_ab8505() argument 401 return ab->version == AB8500_VERSION_AB8505; in is_ab8505() 404 static inline int is_ab9540(struct ab8500 *ab) in is_ab9540() argument 406 return ab->version == AB8500_VERSION_AB9540; in is_ab9540() 409 static inline int is_ab8540(struct ab8500 *ab) in is_ab8540() argument 411 return ab->version == AB8500_VERSION_AB8540; in is_ab8540() 415 static inline int is_ab8500_1p0_or_earlier(struct ab8500 *ab) in is_ab8500_1p0_or_earlier() argument 417 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab8500_1p0_or_earlier() [all …]
|
/kernel/linux/linux-5.10/security/ |
D | lsm_audit.c | 185 static inline void print_ipv6_addr(struct audit_buffer *ab, in print_ipv6_addr() argument 190 audit_log_format(ab, " %s=%pI6c", name1, addr); in print_ipv6_addr() 192 audit_log_format(ab, " %s=%d", name2, ntohs(port)); in print_ipv6_addr() 195 static inline void print_ipv4_addr(struct audit_buffer *ab, __be32 addr, in print_ipv4_addr() argument 199 audit_log_format(ab, " %s=%pI4", name1, &addr); in print_ipv4_addr() 201 audit_log_format(ab, " %s=%d", name2, ntohs(port)); in print_ipv4_addr() 209 static void dump_common_audit_data(struct audit_buffer *ab, in dump_common_audit_data() argument 221 audit_log_format(ab, " pid=%d comm=", task_tgid_nr(current)); in dump_common_audit_data() 222 audit_log_untrustedstring(ab, memcpy(comm, current->comm, sizeof(comm))); in dump_common_audit_data() 228 audit_log_format(ab, " key=%d ", a->u.ipc_id); in dump_common_audit_data() [all …]
|
/kernel/linux/linux-5.10/kernel/ |
D | audit.c | 389 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() 1055 struct audit_buffer **ab, u16 msg_type) in audit_log_common_recv_msg() argument 1061 *ab = NULL; in audit_log_common_recv_msg() [all …]
|
/kernel/linux/linux-5.10/arch/x86/crypto/ |
D | twofish-x86_64-asm_64-3way.S | 77 #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 …]
|
/kernel/linux/linux-5.10/security/integrity/ |
D | integrity_audit.c | 41 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 …]
|
/kernel/linux/linux-5.10/drivers/md/persistent-data/ |
D | dm-array.c | 96 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 i, nr_entries = le32_to_cpu(ab->nr_entries); in on_entries() 116 fn(info->value_type.context, element_at(info, ab, i)); in on_entries() 122 static void inc_ablock_entries(struct dm_array_info *info, struct array_block *ab) in inc_ablock_entries() argument 127 on_entries(info, ab, vt->inc); in inc_ablock_entries() 133 static void dec_ablock_entries(struct dm_array_info *info, struct array_block *ab) in dec_ablock_entries() argument 138 on_entries(info, ab, vt->dec); in dec_ablock_entries() 154 struct dm_block **block, struct array_block **ab) in alloc_ablock() argument [all …]
|
/kernel/linux/linux-5.10/arch/arc/lib/ |
D | memcpy-archs.S | 25 # define LOADX(DST,RX) ldd.ab DST, [RX, 8] 26 # define STOREX(SRC,RX) std.ab SRC, [RX, 8] 30 # define LOADX(DST,RX) ld.ab DST, [RX, 4] 31 # define STOREX(SRC,RX) st.ab SRC, [RX, 4] 51 ldb.ab r5, [r1,1] 53 stb.ab r5, [r3,1] 79 ldb.ab r5, [r1,1] 80 stb.ab r5, [r3,1] 92 ldb.ab r5, [r1, 1] 97 ldh.ab r6, [r1, 2] [all …]
|