/linux-master/arch/x86/boot/compressed/ |
H A D | sev.c | 451 void sev_enable(struct boot_params *bp) argument 458 * bp->cc_blob_address should only be set by boot/compressed kernel. 462 if (bp) 463 bp->cc_blob_address = 0; 481 snp = snp_init(bp); 539 static struct cc_blob_sev_info *find_cc_blob_efi(struct boot_params *bp) argument 545 ret = efi_get_conf_table(bp, &cfg_table_pa, &cfg_table_len); 549 return (struct cc_blob_sev_info *)efi_find_vendor_table(bp, cfg_table_pa, 564 static struct cc_blob_sev_info *find_cc_blob(struct boot_params *bp) argument 568 cc_info = find_cc_blob_efi(bp); 587 snp_init(struct boot_params *bp) argument [all...] |
/linux-master/drivers/tty/vt/ |
H A D | selection.c | 200 char *bp, *obp; local 205 bp = kmalloc_array((vc_sel.end - vc_sel.start) / 2 + 1, unicode ? 4 : 1, 207 if (!bp) { 213 vc_sel.buffer = bp; 215 obp = bp; 219 bp += store_utf8(c, bp); 221 *bp++ = c; 223 obp = bp; 227 if (obp != bp) { [all...] |
/linux-master/drivers/sbus/char/ |
H A D | bbc_envctrl.c | 446 static void attach_one_temp(struct bbc_i2c_bus *bp, struct platform_device *op, argument 458 tp->client = bbc_i2c_attach(bp, op); 468 list_add(&tp->bp_list, &bp->temps); 494 static void attach_one_fan(struct bbc_i2c_bus *bp, struct platform_device *op, argument 506 fp->client = bbc_i2c_attach(bp, op); 515 list_add(&fp->bp_list, &bp->fans); 538 static void destroy_all_temps(struct bbc_i2c_bus *bp) argument 542 list_for_each_entry_safe(tp, tpos, &bp->temps, bp_list) { 555 static void destroy_all_fans(struct bbc_i2c_bus *bp) argument 559 list_for_each_entry_safe(fp, fpos, &bp 566 bbc_envctrl_init(struct bbc_i2c_bus *bp) argument 594 bbc_envctrl_cleanup(struct bbc_i2c_bus *bp) argument [all...] |
/linux-master/arch/arm64/kernel/ |
H A D | hw_breakpoint.c | 161 static int is_compat_bp(struct perf_event *bp) argument 163 struct task_struct *tsk = bp->hw.target; 181 * @bp: perf_event to setup 190 struct perf_event *bp, 201 *slot = bp; 206 if (*slot == bp) { 212 if (*slot == bp) 223 static int hw_breakpoint_control(struct perf_event *bp, argument 226 struct arch_hw_breakpoint *info = counter_arch_bp(bp); 249 i = hw_breakpoint_slot_setup(slots, max_slots, bp, op 189 hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, struct perf_event *bp, enum hw_breakpoint_ops ops) argument 289 arch_install_hw_breakpoint(struct perf_event *bp) argument 294 arch_uninstall_hw_breakpoint(struct perf_event *bp) argument 413 arch_build_bp_info(struct perf_event *bp, const struct perf_event_attr *attr, struct arch_hw_breakpoint *hw) argument 508 hw_breakpoint_arch_parse(struct perf_event *bp, const struct perf_event_attr *attr, struct arch_hw_breakpoint *hw) argument 627 struct perf_event *bp, **slots; local 1013 hw_breakpoint_pmu_read(struct perf_event *bp) argument [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_sb.c | 234 struct xfs_buf *bp, 247 if (xfs_buf_daddr(bp) == XFS_SB_DADDR && !sbp->sb_inprogress && 309 struct xfs_buf *bp, 312 struct xfs_dsb *dsb = bp->b_addr; 317 if (!xfs_verify_magic(bp, dsb->sb_magicnum)) { 534 xfs_buf_daddr(bp) == XFS_SB_DADDR, false)) 844 struct xfs_buf *bp) 847 struct xfs_mount *mp = bp->b_mount; 848 struct xfs_dsb *dsb = bp->b_addr; 860 if (!xfs_buf_verify_cksum(bp, XFS_SB_CRC_OF 232 xfs_validate_sb_write( struct xfs_mount *mp, struct xfs_buf *bp, struct xfs_sb *sbp) argument 307 xfs_validate_sb_common( struct xfs_mount *mp, struct xfs_buf *bp, struct xfs_sb *sbp) argument 843 xfs_sb_read_verify( struct xfs_buf *bp) argument 894 xfs_sb_quiet_read_verify( struct xfs_buf *bp) argument 909 xfs_sb_write_verify( struct xfs_buf *bp) argument 1020 struct xfs_buf *bp = xfs_trans_getsb(tp); local 1100 struct xfs_buf *bp; local 1161 struct xfs_buf *bp; local 1287 struct xfs_buf *bp; local 1311 struct xfs_buf *bp; local [all...] |
H A D | xfs_ialloc_btree.c | 165 struct xfs_buf *bp, 171 fsbno = XFS_DADDR_TO_FSB(cur->bc_mp, xfs_buf_daddr(bp)); 179 struct xfs_buf *bp) 181 return __xfs_inobt_free_block(cur, bp, XFS_AG_RESV_NONE); 187 struct xfs_buf *bp) 190 return xfs_inobt_free_block(cur, bp); 191 return __xfs_inobt_free_block(cur, bp, XFS_AG_RESV_METADATA); 291 struct xfs_buf *bp) 293 struct xfs_mount *mp = bp->b_mount; 294 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); 163 __xfs_inobt_free_block( struct xfs_btree_cur *cur, struct xfs_buf *bp, enum xfs_ag_resv_type resv) argument 177 xfs_inobt_free_block( struct xfs_btree_cur *cur, struct xfs_buf *bp) argument 185 xfs_finobt_free_block( struct xfs_btree_cur *cur, struct xfs_buf *bp) argument 290 xfs_inobt_verify( struct xfs_buf *bp) argument 327 xfs_inobt_read_verify( struct xfs_buf *bp) argument 345 xfs_inobt_write_verify( struct xfs_buf *bp) argument [all...] |
H A D | xfs_ag.c | 473 struct xfs_buf *bp; local 476 error = xfs_buf_get_uncached(mp->m_ddev_targp, numblks, 0, &bp); 480 bp->b_maps[0].bm_bn = blkno; 481 bp->b_ops = ops; 483 *bpp = bp; 493 struct xfs_buf *bp, 496 xfs_btree_init_buf(mp, bp, id->bc_ops, 0, 0, id->agno); 503 struct xfs_buf *bp, 507 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); 509 arec = XFS_ALLOC_REC_ADDR(mp, XFS_BUF_TO_BLOCK(bp), 491 xfs_btroot_init( struct xfs_mount *mp, struct xfs_buf *bp, struct aghdr_init_data *id) argument 501 xfs_freesp_init_recs( struct xfs_mount *mp, struct xfs_buf *bp, struct aghdr_init_data *id) argument 557 xfs_bnoroot_init( struct xfs_mount *mp, struct xfs_buf *bp, struct aghdr_init_data *id) argument 570 xfs_rmaproot_init( struct xfs_mount *mp, struct xfs_buf *bp, struct aghdr_init_data *id) argument 649 xfs_sbblock_init( struct xfs_mount *mp, struct xfs_buf *bp, struct aghdr_init_data *id) argument 661 xfs_agfblock_init( struct xfs_mount *mp, struct xfs_buf *bp, struct aghdr_init_data *id) argument 708 xfs_agflblock_init( struct xfs_mount *mp, struct xfs_buf *bp, struct aghdr_init_data *id) argument 729 xfs_agiblock_init( struct xfs_mount *mp, struct xfs_buf *bp, struct aghdr_init_data *id) argument 771 struct xfs_buf *bp; local 1058 struct xfs_buf *bp; local [all...] |
H A D | xfs_dir2_priv.h | 73 extern void xfs_dir3_data_check(struct xfs_inode *dp, struct xfs_buf *bp); 75 #define xfs_dir3_data_check(dp,bp) 79 struct xfs_buf *bp); 105 struct xfs_dir3_icleaf_hdr *leafhdr, struct xfs_buf *bp); 112 struct xfs_dir3_icleaf_hdr *hdr, struct xfs_buf *bp, int first, 115 struct xfs_buf *bp); 139 struct xfs_buf *bp, int *count); 140 extern int xfs_dir2_leafn_lookup_int(struct xfs_buf *bp, 171 extern int xfs_dir2_block_to_sf(struct xfs_da_args *args, struct xfs_buf *bp,
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_object.c | 249 struct amdgpu_bo_param bp; local 258 memset(&bp, 0, sizeof(bp)); 259 bp.size = size; 260 bp.byte_align = align; 261 bp.domain = domain; 262 bp.flags = cpu_addr ? AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED 264 bp.flags |= AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS; 265 bp.type = ttm_bo_type_kernel; 266 bp 535 amdgpu_bo_create(struct amdgpu_device *adev, struct amdgpu_bo_param *bp, struct amdgpu_bo **bo_ptr) argument 671 amdgpu_bo_create_user(struct amdgpu_device *adev, struct amdgpu_bo_param *bp, struct amdgpu_bo_user **ubo_ptr) argument 700 amdgpu_bo_create_vm(struct amdgpu_device *adev, struct amdgpu_bo_param *bp, struct amdgpu_bo_vm **vmbo_ptr) argument [all...] |
/linux-master/arch/loongarch/kernel/ |
H A D | hw_breakpoint.c | 106 * @bp: perf_event to setup 116 struct perf_event *bp, enum hw_breakpoint_ops ops) 126 *slot = bp; 131 if (*slot == bp) { 174 static int hw_breakpoint_control(struct perf_event *bp, argument 180 struct arch_hw_breakpoint *info = counter_arch_bp(bp); 192 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); 234 int arch_install_hw_breakpoint(struct perf_event *bp) argument 236 return hw_breakpoint_control(bp, HW_BREAKPOINT_INSTALL); 239 void arch_uninstall_hw_breakpoint(struct perf_event *bp) argument 115 hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, struct perf_event *bp, enum hw_breakpoint_ops ops) argument 335 arch_build_bp_info(struct perf_event *bp, const struct perf_event_attr *attr, struct arch_hw_breakpoint *hw) argument 384 hw_breakpoint_arch_parse(struct perf_event *bp, const struct perf_event_attr *attr, struct arch_hw_breakpoint *hw) argument 469 struct perf_event *bp, **slots; local 538 hw_breakpoint_pmu_read(struct perf_event *bp) argument [all...] |
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | cnic.h | 369 #define BNX2X_CHIP_IS_E2_PLUS(bp) (CHIP_IS_E2(bp) || CHIP_IS_E3(bp)) 406 #define BNX2X_HW_CID(bp, x) ((BP_PORT(bp) << 23) | \ 407 (BP_VN(bp) << 17) | (x)) 411 #define BNX2X_CL_QZONE_ID(bp, cli) \ 412 (BNX2X_CHIP_IS_E2_PLUS(bp) ? cli : \ 413 cli + (BP_PORT(bp) * ETH_MAX_RX_CLIENTS_E1H)) 417 (CHIP_IS_E1H(bp) [all...] |
/linux-master/arch/xtensa/kernel/ |
H A D | ptrace.c | 364 static void ptrace_hbptriggered(struct perf_event *bp, argument 369 struct arch_hw_breakpoint *bkpt = counter_arch_bp(bp); 371 if (bp->attr.bp_type & HW_BREAKPOINT_X) { 373 if (current->thread.ptrace_bp[i] == bp) 378 if (current->thread.ptrace_wp[i] == bp) 417 struct perf_event *bp; local 427 bp = child->thread.ptrace_wp[idx]; 429 bp = child->thread.ptrace_bp[idx]; 431 if (bp) { 432 user_data[0] = bp 451 struct perf_event *bp; local [all...] |
/linux-master/scripts/dtc/ |
H A D | dtc.h | 61 const uint8_t *bp = (const uint8_t *)p; local 63 return ((uint16_t)bp[0] << 8) 64 | bp[1]; 69 const uint8_t *bp = (const uint8_t *)p; local 71 return ((uint32_t)bp[0] << 24) 72 | ((uint32_t)bp[1] << 16) 73 | ((uint32_t)bp[2] << 8) 74 | bp[3]; 79 const uint8_t *bp = (const uint8_t *)p; local 81 return ((uint64_t)bp[ [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_inode_item.c | 131 struct xfs_buf *bp; local 144 error = xfs_imap_to_bp(ip->i_mount, tp, &ip->i_imap, &bp); 155 xfs_buf_hold(bp); 157 iip->ili_item.li_buf = bp; 158 bp->b_flags |= _XBF_INODES; 159 list_add_tail(&iip->ili_item.li_bio_list, &bp->b_li_list); 160 xfs_trans_brelse(tp, bp); 696 struct xfs_buf *bp = lip->li_buf; variable in typeref:struct:xfs_buf 700 if (!bp || (ip->i_flags & XFS_ISTALE)) { 710 if (xfs_ipincount(ip) > 0 || xfs_buf_ispinned(bp)) 727 xfs_buf_hold(bp); variable 732 xfs_buf_relse(bp); variable 739 xfs_buf_relse(bp); variable 911 xfs_iflush_finish( struct xfs_buf *bp, struct list_head *list) argument 949 xfs_buf_inode_iodone( struct xfs_buf *bp) argument 989 xfs_buf_inode_io_fail( struct xfs_buf *bp) argument 1033 struct xfs_buf *bp; local 1080 struct xfs_buf *bp; local [all...] |
H A D | xfs_message.c | 115 struct xfs_buf *bp, 120 struct xfs_mount *mp = bp->b_mount; 125 if (!___ratelimit(&bp->b_target->bt_ioerror_rl, rlmsg)) 114 xfs_buf_alert_ratelimited( struct xfs_buf *bp, const char *rlmsg, const char *fmt, ...) argument
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_msg_arm64.h | 83 unsigned long bp, u32 w7dir, 94 register u64 x6 asm("x6") = bp; 118 #define VMW_PORT_HB_OUT(cmd, in_ecx, in_si, in_di, flags, magic, bp, eax, ebx, \ 120 vmw_port_hb(cmd, in_ecx, in_si, in_di, flags, magic, bp, \ 123 #define VMW_PORT_HB_IN(cmd, in_ecx, in_si, in_di, flags, magic, bp, eax, ebx, \ 125 vmw_port_hb(cmd, in_ecx, in_si, in_di, flags, magic, bp, \ 80 vmw_port_hb(unsigned long cmd, unsigned long in_ecx, unsigned long in_si, unsigned long in_di, unsigned long flags, unsigned long magic, unsigned long bp, u32 w7dir, unsigned long *eax, unsigned long *ebx, unsigned long *ecx, unsigned long *edx, unsigned long *si, unsigned long *di) argument
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_hmc.h | 43 struct i40e_hmc_bp bp; member in struct:i40e_hmc_pd_entry 64 struct i40e_hmc_bp bp; member in union:i40e_hmc_sd_entry::__anon309 89 #define I40E_INC_BP_REFCNT(bp) ((bp)->ref_cnt++) 93 #define I40E_DEC_BP_REFCNT(bp) ((bp)->ref_cnt--)
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | qsfp.h | 191 int offset, void *bp, int len); 193 int offset, void *bp, int len); 194 int qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, 196 int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, 198 int one_qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, 200 int one_qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
|
/linux-master/fs/bcachefs/ |
H A D | backpointers.h | 69 struct bch_backpointer bp, 74 return bch2_bucket_backpointer_mod_nowritebuffer(trans, bucket, bp, orig_k, insert); 79 bp_k.k.p = bucket_pos_to_bp(trans->c, bucket, bp.bucket_offset); 80 bp_k.v = bp; 121 struct bpos *bucket_pos, struct bch_backpointer *bp) 128 *bp = (struct bch_backpointer) { 67 bch2_bucket_backpointer_mod(struct btree_trans *trans, struct bpos bucket, struct bch_backpointer bp, struct bkey_s_c orig_k, bool insert) argument 117 bch2_extent_ptr_to_bp(struct bch_fs *c, enum btree_id btree_id, unsigned level, struct bkey_s_c k, struct extent_ptr_decoded p, const union bch_extent_entry *entry, struct bpos *bucket_pos, struct bch_backpointer *bp) argument
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.h | 54 int bnxt_hwrm_nvm_get_dev_info(struct bnxt *bp, 61 void bnxt_ethtool_init(struct bnxt *bp); 62 void bnxt_ethtool_free(struct bnxt *bp);
|
H A D | bnxt_dim.c | 29 bnxt_hwrm_set_ring_coal(bnapi->bp, bnapi);
|
/linux-master/arch/arm/include/asm/ |
H A D | hw_breakpoint.h | 125 extern int hw_breakpoint_arch_parse(struct perf_event *bp, 135 int arch_install_hw_breakpoint(struct perf_event *bp); 136 void arch_uninstall_hw_breakpoint(struct perf_event *bp); 137 void hw_breakpoint_pmu_read(struct perf_event *bp);
|
/linux-master/arch/arm/crypto/ |
H A D | curve25519-glue.c | 71 u8 const *bp; local 80 bp = public_key; 82 bp = curve25519_base_point; 85 curve25519_arch(buf, secret, bp);
|
/linux-master/arch/loongarch/include/asm/ |
H A D | hw_breakpoint.h | 106 extern int hw_breakpoint_arch_parse(struct perf_event *bp, 112 extern int arch_install_hw_breakpoint(struct perf_event *bp); 113 extern void arch_uninstall_hw_breakpoint(struct perf_event *bp); 115 extern void hw_breakpoint_pmu_read(struct perf_event *bp);
|
/linux-master/net/ipv6/ |
H A D | tcp_ao.c | 119 struct tcp6_pseudohdr *bp; local 122 bp = hp->scratch; 124 bp->saddr = *saddr; 125 bp->daddr = *daddr; 126 bp->len = cpu_to_be32(nbytes); 127 bp->protocol = cpu_to_be32(IPPROTO_TCP); 129 sg_init_one(&sg, bp, sizeof(*bp)); 130 ahash_request_set_crypt(hp->req, &sg, NULL, sizeof(*bp));
|