Home
last modified time | relevance | path

Searched refs:p_size (Results 1 – 24 of 24) sorted by relevance

/linux/include/linux/
A Dfortify-string.h57 if (p_size < size) in strncpy()
68 if (strlcat(p, q, p_size) >= p_size) in strcat()
88 ret = __real_strnlen(p, maxlen < p_size ? maxlen : p_size); in strnlen()
104 if (p_size <= ret) in strlen()
124 if (len >= p_size) in strlcpy()
128 if (len >= p_size) in strlcpy()
172 if (len > p_size) in strscpy()
207 if (p_size < size) in memset()
251 if (p_size < size) in memscan()
278 if (p_size < size) in memchr()
[all …]
/linux/crypto/
A Ddh_helper.c31 return p->key_size + p->p_size + p->q_size + p->g_size; in dh_data_size()
55 ptr = dh_pack_data(ptr, end, &params->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(&params->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()
A Ddh.c55 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()
/linux/drivers/crypto/qat/qat_common/
A Dqat_asym_algs.c109 unsigned int p_size; member
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()
222 if (req->dst_len < ctx->p_size) { in qat_dh_compute_value()
223 req->dst_len = ctx->p_size; in qat_dh_compute_value()
286 ctx->p_size, in qat_dh_compute_value()
373 ctx->p_size, in qat_dh_compute_value()
399 ctx->p_size = params->p_size; in qat_dh_set_params()
434 ctx->p_size = 0; in qat_dh_clear_ctx()
476 return ctx->p_size; in qat_dh_max_size()
[all …]
/linux/include/drm/ttm/
A Dttm_range_manager.h39 unsigned long p_size);
44 unsigned long p_size) in ttm_range_man_init() argument
47 return ttm_range_man_init_nocheck(bdev, type, use_tt, p_size); in ttm_range_man_init()
A Dttm_resource.h272 unsigned long p_size);
/linux/block/partitions/
A Dkarma.c28 __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()
A Dosf.c46 __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()
A Dmsdos.c341 __le32 p_size; /* number of sectors in partition */ member
385 bsd_size = le32_to_cpu(p->p_size); in parse_bsd()
/linux/drivers/gpu/drm/ttm/
A Dttm_range_manager.c143 unsigned long p_size) in ttm_range_man_init_nocheck() argument
157 ttm_resource_manager_init(man, p_size); in ttm_range_man_init_nocheck()
159 drm_mm_init(&rman->mm, 0, p_size); in ttm_range_man_init_nocheck()
A Dttm_resource.c128 unsigned long p_size) in ttm_resource_manager_init() argument
133 man->size = p_size; in ttm_resource_manager_init()
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_cxt.c286 return ILT_PAGE_IN_BYTES(p_cli->p_size.val); in qed_cxt_get_ilt_page_size()
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()
1392 offset = (ILT_PAGE_IN_BYTES(p_cli->p_size.val) * in qed_cdu_init_pf()
1401 offset = (ILT_PAGE_IN_BYTES(p_cli->p_size.val) * in qed_cdu_init_pf()
1519 ilt_clients[i].p_size.reg, in qed_ilt_bounds_init()
1520 ilt_clients[i].p_size.val); in qed_ilt_bounds_init()
2234 hw_p_size = p_cli->p_size.val; in qed_cxt_dynamic_ilt_alloc()
[all …]
A Dqed_cxt.h285 struct ilt_cfg_pair p_size; member
A Dqed_debug.c5006 (clients[ILT_CLI_CDUC].p_size.val + PXP_ILT_PAGE_SIZE_NUM_BITS_MIN); in qed_ilt_dump()
5008 (clients[ILT_CLI_CDUT].p_size.val + PXP_ILT_PAGE_SIZE_NUM_BITS_MIN); in qed_ilt_dump()
5591 u32 needed_buf_size_in_dwords, *p_size = &needed_buf_size_in_dwords; in qed_dbg_protection_override_dump() local
5599 p_size); in qed_dbg_protection_override_dump()
5645 u32 needed_buf_size_in_dwords, *p_size = &needed_buf_size_in_dwords; in qed_dbg_fw_asserts_dump() local
5653 p_size); in qed_dbg_fw_asserts_dump()
/linux/arch/x86/kernel/cpu/microcode/
A Damd.c158 u32 p_type, p_size; in __verify_patch_section() local
170 p_size = hdr[1]; in __verify_patch_section()
180 if (p_size < sizeof(struct microcode_header_amd)) { in __verify_patch_section()
182 pr_debug("Patch of size %u too short.\n", p_size); in __verify_patch_section()
187 *sh_psize = p_size; in __verify_patch_section()
/linux/include/crypto/
A Ddh.h40 unsigned int p_size; member
/linux/arch/alpha/boot/tools/
A Dmkbb.c60 u32 p_size; member
/linux/drivers/block/drbd/
A Ddrbd_nl.c1096 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()
A Ddrbd_receiver.c4107 sector_t p_size, p_usize, p_csize, my_usize; in receive_sizes() local
4118 p_size = be64_to_cpu(p->d_size); in receive_sizes()
4124 device->p_size = p_size; in receive_sizes()
4132 p_size, drbd_get_max_capacity(device->ldev)); in receive_sizes()
4212 sector_t new_size = p_csize ?: p_usize ?: p_size; in receive_sizes()
4218 } else if (cur_size != 0 && p_size == 0) { in receive_sizes()
A Ddrbd_int.h842 sector_t p_size; /* partner's disk size */ member
A Ddrbd_main.c2044 device->p_size = in drbd_device_cleanup()
/linux/fs/btrfs/
A Dtree-mod-log.c663 unsigned long p_size = sizeof(struct btrfs_key_ptr); in tree_mod_log_rewind() local
700 tm->move.nr_items * p_size); in tree_mod_log_rewind()
/linux/security/keys/
A Ddh.c289 dh_inputs.p_size = dlen; in __keyctl_dh_compute()
/linux/drivers/crypto/hisilicon/hpre/
A Dhpre_crypto.c642 if (params->p_size > HPRE_DH_MAX_P_SZ) in hpre_dh_set_params()
645 if (hpre_is_dh_params_length_valid(params->p_size << in hpre_dh_set_params()
649 sz = ctx->key_sz = params->p_size; in hpre_dh_set_params()

Completed in 91 milliseconds