/linux-6.1.9/fs/xfs/ |
D | xfs_buf.c | 54 static int __xfs_buf_submit(struct xfs_buf *bp, bool wait); 58 struct xfs_buf *bp) in xfs_buf_submit() argument 60 return __xfs_buf_submit(bp, !(bp->b_flags & XBF_ASYNC)); in xfs_buf_submit() 65 struct xfs_buf *bp) in xfs_buf_is_vmapped() argument 74 return bp->b_addr && bp->b_page_count > 1; in xfs_buf_is_vmapped() 79 struct xfs_buf *bp) in xfs_buf_vmap_len() argument 81 return (bp->b_page_count * PAGE_SIZE); in xfs_buf_vmap_len() 99 struct xfs_buf *bp) in xfs_buf_ioacct_inc() argument 101 if (bp->b_flags & XBF_NO_IOACCT) in xfs_buf_ioacct_inc() 104 ASSERT(bp->b_flags & XBF_ASYNC); in xfs_buf_ioacct_inc() [all …]
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 307 static int bnx2x_set_storm_rx_mode(struct bnx2x *bp); 313 static int bnx2x_hwtstamp_ioctl(struct bnx2x *bp, struct ifreq *ifr); 315 static void __storm_memset_dma_mapping(struct bnx2x *bp, in __storm_memset_dma_mapping() argument 318 REG_WR(bp, addr, U64_LO(mapping)); in __storm_memset_dma_mapping() 319 REG_WR(bp, addr + 4, U64_HI(mapping)); in __storm_memset_dma_mapping() 322 static void storm_memset_spq_addr(struct bnx2x *bp, in storm_memset_spq_addr() argument 328 __storm_memset_dma_mapping(bp, addr, mapping); in storm_memset_spq_addr() 331 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf() argument 334 REG_WR8(bp, BAR_XSTRORM_INTMEM + XSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() 336 REG_WR8(bp, BAR_CSTRORM_INTMEM + CSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() [all …]
|
D | bnx2x.h | 53 #define BNX2X_MIN_MSIX_VEC_CNT(bp) ((bp)->min_msix_vec_cnt) argument 94 bp->dev ? (bp->dev->name) : "?", \ 99 if (unlikely(bp->msg_enable & (__mask))) \ 105 if (unlikely((bp->msg_enable & (__mask)) == __mask)) \ 111 if (unlikely(bp->msg_enable & (__mask))) \ 118 if (unlikely(netif_msg_probe(bp))) \ 121 bp->dev ? (bp->dev->name) : "?", \ 130 bp->dev ? (bp->dev->name) : "?", \ 140 if (unlikely(netif_msg_probe(bp))) \ 141 dev_info(&bp->pdev->dev, fmt, ##__VA_ARGS__); \ [all …]
|
D | bnx2x_cmn.h | 39 dma_free_coherent(&bp->pdev->dev, size, (void *)x, y); \ 55 void *x = dma_alloc_coherent(&bp->pdev->dev, size, y, GFP_KERNEL); \ 64 void *x = dma_alloc_coherent(&bp->pdev->dev, size, y, GFP_KERNEL); \ 87 u32 bnx2x_send_unload_req(struct bnx2x *bp, int unload_mode); 95 void bnx2x_send_unload_done(struct bnx2x *bp, bool keep_link); 106 int bnx2x_rss(struct bnx2x *bp, struct bnx2x_rss_config_obj *rss_obj, 118 void bnx2x__init_func_obj(struct bnx2x *bp); 128 int bnx2x_setup_queue(struct bnx2x *bp, struct bnx2x_fastpath *fp, 136 int bnx2x_setup_leading(struct bnx2x *bp); 147 u32 bnx2x_fw_command(struct bnx2x *bp, u32 command, u32 param); [all …]
|
D | bnx2x_cmn.c | 36 static void bnx2x_free_fp_mem_cnic(struct bnx2x *bp); 37 static int bnx2x_alloc_fp_mem_cnic(struct bnx2x *bp); 38 static int bnx2x_alloc_fp_mem(struct bnx2x *bp); 41 static void bnx2x_add_all_napi_cnic(struct bnx2x *bp) in bnx2x_add_all_napi_cnic() argument 46 for_each_rx_queue_cnic(bp, i) { in bnx2x_add_all_napi_cnic() 47 netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), bnx2x_poll); in bnx2x_add_all_napi_cnic() 51 static void bnx2x_add_all_napi(struct bnx2x *bp) in bnx2x_add_all_napi() argument 56 for_each_eth_queue(bp, i) { in bnx2x_add_all_napi() 57 netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), bnx2x_poll); in bnx2x_add_all_napi() 61 static int bnx2x_calc_num_queues(struct bnx2x *bp) in bnx2x_calc_num_queues() argument [all …]
|
D | bnx2x_ethtool.c | 192 static int bnx2x_get_port_type(struct bnx2x *bp) in bnx2x_get_port_type() argument 195 u32 phy_idx = bnx2x_get_cur_phy_idx(bp); in bnx2x_get_port_type() 196 switch (bp->link_params.phy[phy_idx].media_type) { in bnx2x_get_port_type() 224 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_vf_link_ksettings() local 232 if (bp->state == BNX2X_STATE_OPEN) { in bnx2x_get_vf_link_ksettings() 234 &bp->vf_link_vars.link_report_flags)) in bnx2x_get_vf_link_ksettings() 239 cmd->base.speed = bp->vf_link_vars.line_speed; in bnx2x_get_vf_link_ksettings() 264 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_link_ksettings() local 265 int cfg_idx = bnx2x_get_link_cfg_idx(bp); in bnx2x_get_link_ksettings() 273 supported = bp->port.supported[cfg_idx] | in bnx2x_get_link_ksettings() [all …]
|
D | bnx2x_stats.c | 46 static inline u16 bnx2x_get_port_stats_dma_len(struct bnx2x *bp) in bnx2x_get_port_stats_dma_len() argument 51 if (SHMEM2_HAS(bp, sizeof_port_stats)) { in bnx2x_get_port_stats_dma_len() 52 u32 size = SHMEM2_RD(bp, sizeof_port_stats); in bnx2x_get_port_stats_dma_len() 68 if (bp->flags & BC_SUPPORTS_PFC_STATS) { in bnx2x_get_port_stats_dma_len() 86 static void bnx2x_dp_stats(struct bnx2x *bp) in bnx2x_dp_stats() argument 98 bp->fw_stats_req->hdr.cmd_num, in bnx2x_dp_stats() 99 bp->fw_stats_req->hdr.reserved0, in bnx2x_dp_stats() 100 bp->fw_stats_req->hdr.drv_stats_counter, in bnx2x_dp_stats() 101 bp->fw_stats_req->hdr.reserved1, in bnx2x_dp_stats() 102 bp->fw_stats_req->hdr.stats_counters_addrs.hi, in bnx2x_dp_stats() [all …]
|
D | bnx2x_init_ops.h | 22 #define BP_ILT(bp) NULL argument 26 #define BP_FUNC(bp) 0 argument 30 #define BP_PORT(bp) 0 argument 45 static int bnx2x_gunzip(struct bnx2x *bp, const u8 *zbuf, int len); 46 static void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val); 47 static void bnx2x_write_dmae_phys_len(struct bnx2x *bp, 51 static void bnx2x_init_str_wr(struct bnx2x *bp, u32 addr, in bnx2x_init_str_wr() argument 57 REG_WR(bp, addr + i*4, data[i]); in bnx2x_init_str_wr() 60 static void bnx2x_init_ind_wr(struct bnx2x *bp, u32 addr, in bnx2x_init_ind_wr() argument 66 bnx2x_reg_wr_ind(bp, addr + i*4, data[i]); in bnx2x_init_ind_wr() [all …]
|
D | bnx2x_sriov.h | 219 #define BNX2X_NR_VIRTFN(bp) ((bp)->vfdb->sriov.nr_virtfn) argument 221 #define for_each_vf(bp, var) \ argument 222 for ((var) = 0; (var) < BNX2X_NR_VIRTFN(bp); (var)++) 232 #define HW_VF_HANDLE(bp, abs_vfid) \ argument 233 (u16)(BP_ABS_FUNC((bp)) | (1<<3) | ((u16)(abs_vfid) << 4)) 240 #define GET_NUM_VFS_PER_PATH(bp) 64 /* use max possible value */ argument 241 #define GET_NUM_VFS_PER_PF(bp) ((bp)->vfdb ? (bp)->vfdb->sriov.total \ argument 247 void bnx2x_lock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, 250 void bnx2x_unlock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, 318 #define BP_VFDB(bp) ((bp)->vfdb) argument [all …]
|
D | bnx2x_sriov.c | 29 static int bnx2x_vf_op_prep(struct bnx2x *bp, int vfidx, 35 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf() argument 38 REG_WR8(bp, BAR_XSTRORM_INTMEM + XSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() 40 REG_WR8(bp, BAR_CSTRORM_INTMEM + CSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() 42 REG_WR8(bp, BAR_TSTRORM_INTMEM + TSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() 44 REG_WR8(bp, BAR_USTRORM_INTMEM + USTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() 48 static void storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, in storm_memset_func_en() argument 51 REG_WR8(bp, BAR_XSTRORM_INTMEM + XSTORM_FUNC_EN_OFFSET(abs_fid), in storm_memset_func_en() 53 REG_WR8(bp, BAR_CSTRORM_INTMEM + CSTORM_FUNC_EN_OFFSET(abs_fid), in storm_memset_func_en() 55 REG_WR8(bp, BAR_TSTRORM_INTMEM + TSTORM_FUNC_EN_OFFSET(abs_fid), in storm_memset_func_en() [all …]
|
/linux-6.1.9/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 244 static void bnx2_init_napi(struct bnx2 *bp); 245 static void bnx2_del_napi(struct bnx2 *bp); 247 static inline u32 bnx2_tx_avail(struct bnx2 *bp, struct bnx2_tx_ring_info *txr) in bnx2_tx_avail() argument 260 return bp->tx_ring_size - diff; in bnx2_tx_avail() 264 bnx2_reg_rd_ind(struct bnx2 *bp, u32 offset) in bnx2_reg_rd_ind() argument 269 spin_lock_irqsave(&bp->indirect_lock, flags); in bnx2_reg_rd_ind() 270 BNX2_WR(bp, BNX2_PCICFG_REG_WINDOW_ADDRESS, offset); in bnx2_reg_rd_ind() 271 val = BNX2_RD(bp, BNX2_PCICFG_REG_WINDOW); in bnx2_reg_rd_ind() 272 spin_unlock_irqrestore(&bp->indirect_lock, flags); in bnx2_reg_rd_ind() 277 bnx2_reg_wr_ind(struct bnx2 *bp, u32 offset, u32 val) in bnx2_reg_wr_ind() argument [all …]
|
D | b44.c | 164 static inline unsigned long br32(const struct b44 *bp, unsigned long reg) in br32() argument 166 return ssb_read32(bp->sdev, reg); in br32() 169 static inline void bw32(const struct b44 *bp, in bw32() argument 172 ssb_write32(bp->sdev, reg, val); in bw32() 175 static int b44_wait_bit(struct b44 *bp, unsigned long reg, in b44_wait_bit() argument 181 u32 val = br32(bp, reg); in b44_wait_bit() 191 netdev_err(bp->dev, "BUG! Timeout waiting for bit %08x of register %lx to %s\n", in b44_wait_bit() 199 static inline void __b44_cam_read(struct b44 *bp, unsigned char *data, int index) in __b44_cam_read() argument 203 bw32(bp, B44_CAM_CTRL, (CAM_CTRL_READ | in __b44_cam_read() 206 b44_wait_bit(bp, B44_CAM_CTRL, CAM_CTRL_BUSY, 100, 1); in __b44_cam_read() [all …]
|
/linux-6.1.9/drivers/net/fddi/ |
D | defxx.c | 258 #define dfx_use_mmio bp->mmio 267 static void dfx_bus_config_check(DFX_board_t *bp); 272 static int dfx_adap_init(DFX_board_t *bp, int get_buffers); 277 static void dfx_int_pr_halt_id(DFX_board_t *bp); 278 static void dfx_int_type_0_process(DFX_board_t *bp); 285 static int dfx_ctl_update_cam(DFX_board_t *bp); 286 static int dfx_ctl_update_filters(DFX_board_t *bp); 288 static int dfx_hw_dma_cmd_req(DFX_board_t *bp); 289 static int dfx_hw_port_ctrl_req(DFX_board_t *bp, PI_UINT32 command, PI_UINT32 data_a, PI_UINT32 da… 290 static void dfx_hw_adap_reset(DFX_board_t *bp, PI_UINT32 type); [all …]
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 261 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ | RING_CMP(idx), \ 268 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ_ARM | RING_CMP(idx),\ 271 static void bnxt_db_nq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_nq() argument 273 if (bp->flags & BNXT_FLAG_CHIP_P5) in bnxt_db_nq() 279 static void bnxt_db_nq_arm(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_nq_arm() argument 281 if (bp->flags & BNXT_FLAG_CHIP_P5) in bnxt_db_nq_arm() 287 static void bnxt_db_cq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_cq() argument 289 if (bp->flags & BNXT_FLAG_CHIP_P5) in bnxt_db_cq() 290 bnxt_writeq(bp, db->db_key64 | DBR_TYPE_CQ_ARMALL | in bnxt_db_cq() 328 static void bnxt_txr_db_kick(struct bnxt *bp, struct bnxt_tx_ring_info *txr, in bnxt_txr_db_kick() argument [all …]
|
D | bnxt_dcb.c | 25 static int bnxt_queue_to_tc(struct bnxt *bp, u8 queue_id) in bnxt_queue_to_tc() argument 29 for (i = 0; i < bp->max_tc; i++) { in bnxt_queue_to_tc() 30 if (bp->q_info[i].queue_id == queue_id) { in bnxt_queue_to_tc() 31 for (j = 0; j < bp->max_tc; j++) { in bnxt_queue_to_tc() 32 if (bp->tc_to_qidx[j] == i) in bnxt_queue_to_tc() 40 static int bnxt_hwrm_queue_pri2cos_cfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_pri2cos_cfg() argument 46 rc = hwrm_req_init(bp, req, HWRM_QUEUE_PRI2COS_CFG); in bnxt_hwrm_queue_pri2cos_cfg() 60 qidx = bp->tc_to_qidx[ets->prio_tc[i]]; in bnxt_hwrm_queue_pri2cos_cfg() 61 pri2cos[i] = bp->q_info[qidx].queue_id; in bnxt_hwrm_queue_pri2cos_cfg() 63 return hwrm_req_send(bp, req); in bnxt_hwrm_queue_pri2cos_cfg() [all …]
|
D | bnxt_sriov.c | 27 static int bnxt_hwrm_fwd_async_event_cmpl(struct bnxt *bp, in bnxt_hwrm_fwd_async_event_cmpl() argument 34 rc = hwrm_req_init(bp, req, HWRM_FWD_ASYNC_EVENT_CMPL); in bnxt_hwrm_fwd_async_event_cmpl() 48 rc = hwrm_req_send(bp, req); in bnxt_hwrm_fwd_async_event_cmpl() 51 netdev_err(bp->dev, "hwrm_fwd_async_event_cmpl failed. rc:%d\n", in bnxt_hwrm_fwd_async_event_cmpl() 56 static int bnxt_vf_ndo_prep(struct bnxt *bp, int vf_id) in bnxt_vf_ndo_prep() argument 58 if (!bp->pf.active_vfs) { in bnxt_vf_ndo_prep() 59 netdev_err(bp->dev, "vf ndo called though sriov is disabled\n"); in bnxt_vf_ndo_prep() 62 if (vf_id >= bp->pf.active_vfs) { in bnxt_vf_ndo_prep() 63 netdev_err(bp->dev, "Invalid VF id %d\n", vf_id); in bnxt_vf_ndo_prep() 71 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_spoofchk() local [all …]
|
/linux-6.1.9/drivers/sbus/char/ |
D | bbc_i2c.c | 54 static void set_device_claimage(struct bbc_i2c_bus *bp, struct platform_device *op, int val) in set_device_claimage() argument 59 if (bp->devs[i].device == op) { in set_device_claimage() 60 bp->devs[i].client_claimed = val; in set_device_claimage() 69 struct platform_device *bbc_i2c_getdev(struct bbc_i2c_bus *bp, int index) in bbc_i2c_getdev() argument 75 if (!(op = bp->devs[i].device)) in bbc_i2c_getdev() 89 struct bbc_i2c_client *bbc_i2c_attach(struct bbc_i2c_bus *bp, struct platform_device *op) in bbc_i2c_attach() argument 97 client->bp = bp; in bbc_i2c_attach() 109 claim_device(bp, op); in bbc_i2c_attach() 116 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_detach() local 119 release_device(bp, op); in bbc_i2c_detach() [all …]
|
/linux-6.1.9/drivers/net/ethernet/sun/ |
D | sunbmac.c | 98 static void qec_init(struct bigmac *bp) in qec_init() argument 100 struct platform_device *qec_op = bp->qec_op; in qec_init() 101 void __iomem *gregs = bp->gregs; in qec_init() 102 u8 bsizes = bp->bigmac_bursts; in qec_init() 165 static void bigmac_stop(struct bigmac *bp) in bigmac_stop() argument 167 bigmac_tx_reset(bp->bregs); in bigmac_stop() 168 bigmac_rx_reset(bp->bregs); in bigmac_stop() 171 static void bigmac_get_counters(struct bigmac *bp, void __iomem *bregs) in bigmac_get_counters() argument 173 struct net_device_stats *stats = &bp->dev->stats; in bigmac_get_counters() 193 static void bigmac_clean_rings(struct bigmac *bp) in bigmac_clean_rings() argument [all …]
|
/linux-6.1.9/drivers/media/usb/pvrusb2/ |
D | pvrusb2-io.c | 22 #define BUFFER_CHECK(bp) do { \ argument 23 if ((bp)->signature != BUFFER_SIG) { \ 26 (bp), __FILE__, __LINE__); \ 27 pvr2_buffer_describe(bp, "BadSig"); \ 32 #define BUFFER_CHECK(bp) do {} while (0) argument 99 static void pvr2_buffer_describe(struct pvr2_buffer *bp, const char *msg) in pvr2_buffer_describe() argument 105 bp, in pvr2_buffer_describe() 106 (bp ? pvr2_buffer_state_decode(bp->state) : "(invalid)"), in pvr2_buffer_describe() 107 (bp ? bp->id : 0), in pvr2_buffer_describe() 108 (bp ? bp->status : 0), in pvr2_buffer_describe() [all …]
|
/linux-6.1.9/kernel/debug/kdb/ |
D | kdb_bp.c | 40 static char *kdb_bptype(kdb_bp_t *bp) in kdb_bptype() argument 42 if (bp->bp_type < 0 || bp->bp_type > 4) in kdb_bptype() 45 return kdb_rwtypes[bp->bp_type]; in kdb_bptype() 48 static int kdb_parsebp(int argc, const char **argv, int *nextargp, kdb_bp_t *bp) in kdb_parsebp() argument 53 bp->bph_length = 1; in kdb_parsebp() 56 bp->bp_type = BP_ACCESS_WATCHPOINT; in kdb_parsebp() 58 bp->bp_type = BP_WRITE_WATCHPOINT; in kdb_parsebp() 60 bp->bp_type = BP_HARDWARE_BREAKPOINT; in kdb_parsebp() 64 bp->bph_length = 1; in kdb_parsebp() 80 bp->bph_length = len; in kdb_parsebp() [all …]
|
/linux-6.1.9/drivers/net/ethernet/cadence/ |
D | macb_main.c | 57 #define RX_RING_BYTES(bp) (macb_dma_desc_get_size(bp) \ argument 58 * (bp)->rx_ring_size) 63 #define TX_RING_BYTES(bp) (macb_dma_desc_get_size(bp) \ argument 64 * (bp)->tx_ring_size) 67 #define MACB_TX_WAKEUP_THRESH(bp) (3 * (bp)->tx_ring_size / 4) argument 130 static unsigned int macb_dma_desc_get_size(struct macb *bp) in macb_dma_desc_get_size() argument 135 switch (bp->hw_dma_cap) { in macb_dma_desc_get_size() 157 static unsigned int macb_adj_dma_desc_idx(struct macb *bp, unsigned int desc_idx) in macb_adj_dma_desc_idx() argument 160 switch (bp->hw_dma_cap) { in macb_adj_dma_desc_idx() 176 static struct macb_dma_desc_64 *macb_64b_desc(struct macb *bp, struct macb_dma_desc *desc) in macb_64b_desc() argument [all …]
|
/linux-6.1.9/drivers/net/ethernet/ |
D | dnet.c | 27 static u16 dnet_readw_mac(struct dnet *bp, u16 reg) in dnet_readw_mac() argument 32 dnet_writel(bp, reg, MACREG_ADDR); in dnet_readw_mac() 39 data_read = dnet_readl(bp, MACREG_DATA); in dnet_readw_mac() 46 static void dnet_writew_mac(struct dnet *bp, u16 reg, u16 val) in dnet_writew_mac() argument 49 dnet_writel(bp, val, MACREG_DATA); in dnet_writew_mac() 52 dnet_writel(bp, reg | DNET_INTERNAL_WRITE, MACREG_ADDR); in dnet_writew_mac() 59 static void __dnet_set_hwaddr(struct dnet *bp) in __dnet_set_hwaddr() argument 63 tmp = be16_to_cpup((const __be16 *)bp->dev->dev_addr); in __dnet_set_hwaddr() 64 dnet_writew_mac(bp, DNET_INTERNAL_MAC_ADDR_0_REG, tmp); in __dnet_set_hwaddr() 65 tmp = be16_to_cpup((const __be16 *)(bp->dev->dev_addr + 2)); in __dnet_set_hwaddr() [all …]
|
/linux-6.1.9/drivers/net/fddi/skfp/ |
D | skfddi.c | 382 skfddi_priv *bp = &smc->os; in skfp_driver_init() local 388 bp->base_addr = dev->base_addr; in skfp_driver_init() 393 spin_lock_init(&bp->DriverLock); in skfp_driver_init() 396 bp->LocalRxBuffer = dma_alloc_coherent(&bp->pdev.dev, MAX_FRAME_SIZE, in skfp_driver_init() 397 &bp->LocalRxBufferDMA, in skfp_driver_init() 399 if (!bp->LocalRxBuffer) { in skfp_driver_init() 406 bp->SharedMemSize = mac_drv_check_space(); in skfp_driver_init() 407 pr_debug("Memory for HWM: %ld\n", bp->SharedMemSize); in skfp_driver_init() 408 if (bp->SharedMemSize > 0) { in skfp_driver_init() 409 bp->SharedMemSize += 16; // for descriptor alignment in skfp_driver_init() [all …]
|
/linux-6.1.9/fs/afs/ |
D | fsclient.c | 23 const __be32 *bp = *_bp; in xdr_decode_AFSFid() local 25 fid->vid = ntohl(*bp++); in xdr_decode_AFSFid() 26 fid->vnode = ntohl(*bp++); in xdr_decode_AFSFid() 27 fid->unique = ntohl(*bp++); in xdr_decode_AFSFid() 28 *_bp = bp; in xdr_decode_AFSFid() 34 static void xdr_dump_bad(const __be32 *bp) in xdr_dump_bad() argument 41 memcpy(x, bp, 16); in xdr_dump_bad() 42 bp += 4; in xdr_dump_bad() 47 memcpy(x, bp, 4); in xdr_dump_bad() 142 const __be32 *bp = *_bp; in xdr_decode_AFSCallBack() local [all …]
|
/linux-6.1.9/kernel/events/ |
D | hw_breakpoint.c | 108 static inline struct mutex *get_task_bps_mutex(struct perf_event *bp) in get_task_bps_mutex() argument 110 struct task_struct *tsk = bp->hw.target; in get_task_bps_mutex() 115 static struct mutex *bp_constraints_lock(struct perf_event *bp) in bp_constraints_lock() argument 117 struct mutex *tsk_mtx = get_task_bps_mutex(bp); in bp_constraints_lock() 149 static bool bp_constraints_is_locked(struct perf_event *bp) in bp_constraints_is_locked() argument 151 struct mutex *tsk_mtx = get_task_bps_mutex(bp); in bp_constraints_is_locked() 158 static inline void assert_bp_constraints_lock_held(struct perf_event *bp) in assert_bp_constraints_lock_held() argument 160 struct mutex *tsk_mtx = get_task_bps_mutex(bp); in assert_bp_constraints_lock_held() 285 static inline int hw_breakpoint_weight(struct perf_event *bp) in hw_breakpoint_weight() argument 322 static int task_bp_pinned(int cpu, struct perf_event *bp, enum bp_type_idx type) in task_bp_pinned() argument [all …]
|