/kernel/linux/linux-5.10/include/linux/ |
D | string.h | 295 size_t p_size = __builtin_object_size(p, 0); in strncpy() local 296 if (__builtin_constant_p(size) && p_size < size) in strncpy() 298 if (p_size < size) in strncpy() 305 size_t p_size = __builtin_object_size(p, 0); in strcat() local 306 if (p_size == (size_t)-1) in strcat() 308 if (strlcat(p, q, p_size) >= p_size) in strcat() 316 size_t p_size = __builtin_object_size(p, 0); in strlen() local 319 if (p_size == (size_t)-1 || in strlen() 320 (__builtin_constant_p(p[p_size - 1]) && p[p_size - 1] == '\0')) in strlen() 322 ret = strnlen(p, p_size); in strlen() [all …]
|
/kernel/linux/linux-5.10/crypto/ |
D | dh_helper.c | 31 return p->key_size + p->p_size + p->q_size + p->g_size; in dh_data_size() 55 ptr = dh_pack_data(ptr, end, ¶ms->p_size, sizeof(params->p_size)); in crypto_dh_encode_key() 59 ptr = dh_pack_data(ptr, end, params->p, params->p_size); in crypto_dh_encode_key() 81 ptr = dh_unpack_data(¶ms->p_size, ptr, sizeof(params->p_size)); in crypto_dh_decode_key() 91 if (params->key_size > params->p_size || in crypto_dh_decode_key() 92 params->g_size > params->p_size || params->q_size > params->p_size) in crypto_dh_decode_key() 100 params->q = (void *)(ptr + params->key_size + params->p_size); in crypto_dh_decode_key() 101 params->g = (void *)(ptr + params->key_size + params->p_size + in crypto_dh_decode_key() 109 if (memchr_inv(params->p, 0, params->p_size) == NULL) in crypto_dh_decode_key()
|
D | dh.c | 55 if (dh_check_params_length(params->p_size << 3)) in dh_set_params() 58 ctx->p = mpi_read_raw_data(params->p, params->p_size); in dh_set_params()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
D | qat_asym_algs.c | 109 unsigned int p_size; member 152 dma_free_coherent(dev, req->ctx.dh->p_size, in qat_dh_cb() 156 req->ctx.dh->p_size, DMA_TO_DEVICE); in qat_dh_cb() 159 areq->dst_len = req->ctx.dh->p_size; in qat_dh_cb() 164 dma_free_coherent(dev, req->ctx.dh->p_size, req->dst_align, in qat_dh_cb() 167 dma_unmap_single(dev, req->out.dh.r, req->ctx.dh->p_size, in qat_dh_cb() 227 if (req->dst_len < ctx->p_size) { in qat_dh_compute_value() 228 req->dst_len = ctx->p_size; in qat_dh_compute_value() 235 msg->pke_hdr.cd_pars.func_id = qat_dh_fn_id(ctx->p_size, in qat_dh_compute_value() 277 if (sg_is_last(req->src) && req->src_len == ctx->p_size) { in qat_dh_compute_value() [all …]
|
/kernel/linux/linux-5.10/block/partitions/ |
D | karma.c | 28 __le32 p_size; in karma_partition() member 50 if (p->p_fstype == 0x4d && le32_to_cpu(p->p_size)) { in karma_partition() 52 le32_to_cpu(p->p_size)); in karma_partition()
|
D | osf.c | 46 __le32 p_size; in osf_partition() member 78 if (le32_to_cpu(partition->p_size)) in osf_partition() 81 le32_to_cpu(partition->p_size)); in osf_partition()
|
D | msdos.c | 340 __le32 p_size; /* number of sectors in partition */ member 384 bsd_size = le32_to_cpu(p->p_size); in parse_bsd()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
D | ttm_range_manager.c | 117 unsigned long p_size) in ttm_range_man_init() argument 131 ttm_resource_manager_init(man, p_size); in ttm_range_man_init() 133 drm_mm_init(&rman->mm, 0, p_size); in ttm_range_man_init()
|
D | ttm_resource.c | 64 unsigned long p_size) in ttm_resource_manager_init() argument 69 man->size = p_size; in ttm_resource_manager_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_cxt.c | 286 return ILT_PAGE_IN_BYTES(p_cli->p_size.val); in qed_cxt_get_ilt_page_size() 319 u32 page_sz = p_mgr->clients[ILT_CLI_CDUC].p_size.val; in qed_cxt_set_proto_cid_count() 372 u32 ilt_size = ILT_PAGE_IN_BYTES(p_cli->p_size.val); in qed_ilt_cli_blk_fill() 418 cxts_per_p = ILT_PAGE_IN_BYTES(p_cli->p_size.val) / in qed_ilt_get_dynamic_line_cnt() 753 ilt_page_size = ILT_PAGE_IN_BYTES(p_cli->p_size.val); in qed_cxt_cfg_ilt_compute_excess() 843 psz = ILT_PAGE_IN_BYTES(p_src->p_size.val); in qed_cxt_src_t2_alloc() 1129 clients[ILT_CLI_CDUC].p_size.reg = ILT_CFG_REG(CDUC, P_SIZE); in qed_cxt_mngr_alloc() 1133 clients[ILT_CLI_QM].p_size.reg = ILT_CFG_REG(QM, P_SIZE); in qed_cxt_mngr_alloc() 1137 clients[ILT_CLI_TM].p_size.reg = ILT_CFG_REG(TM, P_SIZE); in qed_cxt_mngr_alloc() 1141 clients[ILT_CLI_SRC].p_size.reg = ILT_CFG_REG(SRC, P_SIZE); in qed_cxt_mngr_alloc() [all …]
|
D | qed_cxt.h | 273 struct ilt_cfg_pair p_size; member
|
D | qed_debug.c | 4645 (clients[ILT_CLI_CDUC].p_size.val + PXP_ILT_PAGE_SIZE_NUM_BITS_MIN); in qed_ilt_dump() 4647 (clients[ILT_CLI_CDUT].p_size.val + PXP_ILT_PAGE_SIZE_NUM_BITS_MIN); in qed_ilt_dump() 5212 u32 needed_buf_size_in_dwords, *p_size = &needed_buf_size_in_dwords; in qed_dbg_protection_override_dump() local 5220 p_size); in qed_dbg_protection_override_dump() 5266 u32 needed_buf_size_in_dwords, *p_size = &needed_buf_size_in_dwords; in qed_dbg_fw_asserts_dump() local 5274 p_size); in qed_dbg_fw_asserts_dump()
|
/kernel/linux/linux-5.10/include/crypto/ |
D | dh.h | 40 unsigned int p_size; member
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/microcode/ |
D | amd.c | 160 u32 p_type, p_size; in __verify_patch_section() local 172 p_size = hdr[1]; in __verify_patch_section() 182 if (p_size < sizeof(struct microcode_header_amd)) { in __verify_patch_section() 184 pr_debug("Patch of size %u too short.\n", p_size); in __verify_patch_section() 189 *sh_psize = p_size; in __verify_patch_section()
|
/kernel/linux/linux-5.10/include/drm/ttm/ |
D | ttm_resource.h | 229 unsigned long p_size);
|
D | ttm_bo_driver.h | 712 unsigned long p_size);
|
/kernel/linux/linux-5.10/arch/alpha/boot/tools/ |
D | mkbb.c | 60 u32 p_size; member
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/hpre/ |
D | hpre_crypto.c | 582 if (params->p_size > HPRE_DH_MAX_P_SZ) in hpre_dh_set_params() 585 if (hpre_is_dh_params_length_valid(params->p_size << in hpre_dh_set_params() 589 sz = ctx->key_sz = params->p_size; in hpre_dh_set_params()
|
/kernel/linux/linux-5.10/security/keys/ |
D | dh.c | 289 dh_inputs.p_size = dlen; in __keyctl_dh_compute()
|
/kernel/linux/linux-5.10/drivers/block/drbd/ |
D | drbd_nl.c | 1096 sector_t p_size = device->p_size; /* partner's disk size. */ in drbd_new_dev_size() local 1105 p_size = m_size; in drbd_new_dev_size() 1108 if (p_size && m_size) { in drbd_new_dev_size() 1109 size = min_t(sector_t, p_size, m_size); in drbd_new_dev_size() 1115 if (p_size && p_size < size) in drbd_new_dev_size() 1116 size = p_size; in drbd_new_dev_size() 1120 if (p_size) in drbd_new_dev_size() 1121 size = p_size; in drbd_new_dev_size()
|
D | drbd_receiver.c | 4111 sector_t p_size, p_usize, p_csize, my_usize; in receive_sizes() local 4122 p_size = be64_to_cpu(p->d_size); in receive_sizes() 4128 device->p_size = p_size; in receive_sizes() 4136 p_size, drbd_get_max_capacity(device->ldev)); in receive_sizes() 4217 sector_t new_size = p_csize ?: p_usize ?: p_size; in receive_sizes() 4223 } else if (cur_size != 0 && p_size == 0) { in receive_sizes()
|
D | drbd_int.h | 842 sector_t p_size; /* partner's disk size */ member
|
D | drbd_main.c | 2062 device->p_size = in drbd_device_cleanup()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | ctree.c | 1198 unsigned long p_size = sizeof(struct btrfs_key_ptr); in __tree_mod_log_rewind() local 1235 tm->move.nr_items * p_size); in __tree_mod_log_rewind()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0020_linux_drivers_gpu.patch | 16853 + u32 pitch, p_size, p_freq, bpp; 16862 + p_size = PSIZE_256; 16868 + p_freq = ((u64)bclk_rate * dcss_wrscl_psize_map[p_size]) / 16875 + wrscl->ctrl_status |= p_size << WRSCL_P_SIZE_POS;
|