/kernel/linux/linux-5.10/lib/mpi/ |
D | mpih-mul.c | 133 mpi_size_t hsize = size >> 1; in mul_n() local 142 MPN_MUL_N_RECURSE(prodp + size, up + hsize, vp + hsize, hsize, in mul_n() 148 if (mpihelp_cmp(up + hsize, up, hsize) >= 0) { in mul_n() 149 mpihelp_sub_n(prodp, up + hsize, up, hsize); in mul_n() 152 mpihelp_sub_n(prodp, up, up + hsize, hsize); in mul_n() 155 if (mpihelp_cmp(vp + hsize, vp, hsize) >= 0) { in mul_n() 156 mpihelp_sub_n(prodp + hsize, vp + hsize, vp, hsize); in mul_n() 159 mpihelp_sub_n(prodp + hsize, vp, vp + hsize, hsize); in mul_n() 166 MPN_MUL_N_RECURSE(tspace, prodp, prodp + hsize, hsize, in mul_n() 170 MPN_COPY(prodp + hsize, prodp + size, hsize); in mul_n() [all …]
|
/kernel/linux/linux-5.10/security/integrity/platform_certs/ |
D | efi_parser.c | 50 size_t lsize, esize, hsize, elsize; in parse_efi_signature_list() local 62 hsize = list.signature_header_size; in parse_efi_signature_list() 64 elsize = lsize - sizeof(list) - hsize; in parse_efi_signature_list() 73 lsize - sizeof(list) < hsize || in parse_efi_signature_list() 89 data += sizeof(list) + hsize; in parse_efi_signature_list() 90 size -= sizeof(list) + hsize; in parse_efi_signature_list() 91 offs += sizeof(list) + hsize; in parse_efi_signature_list()
|
/kernel/linux/linux-5.10/fs/verity/ |
D | verify.c | 44 unsigned int hsize, u8 *out) in extract_hash() argument 48 memcpy(out, virt + hoffset, hsize); in extract_hash() 56 const unsigned int hsize = vi->tree_params.digest_size; in cmp_hashes() local 58 if (memcmp(want_hash, real_hash, hsize) == 0) in cmp_hashes() 64 vi->tree_params.hash_alg->name, hsize, want_hash, in cmp_hashes() 65 vi->tree_params.hash_alg->name, hsize, real_hash); in cmp_hashes() 91 const unsigned int hsize = params->digest_size; in verify_page() local 132 extract_hash(hpage, hoffset, hsize, _want_hash); in verify_page() 137 hsize, want_hash); in verify_page() 147 params->hash_alg->name, hsize, want_hash); in verify_page() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ppp/ |
D | bsd_comp.c | 138 unsigned int hsize; /* size of the hash table */ member 355 unsigned int hsize, hshift, maxmaxcode; in bsd_alloc() local 372 hsize = 5003; in bsd_alloc() 376 hsize = 9001; in bsd_alloc() 380 hsize = 18013; in bsd_alloc() 384 hsize = 35023; in bsd_alloc() 409 db->dict = vmalloc(array_size(hsize, sizeof(struct bsd_dict))); in bsd_alloc() 439 (sizeof (struct bsd_dict) * hsize); in bsd_alloc() 441 db->hsize = hsize; in bsd_alloc() 487 indx = db->hsize; in bsd_init() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_pipeline.h | 245 u16 hsize, vsize; member 256 struct malidp_range hsize, vsize; member 279 struct malidp_range hsize, vsize; member 283 u16 hsize, vsize; member 291 u16 hsize, vsize; member 309 struct malidp_range hsize, vsize; member 314 u16 hsize, vsize; member 330 u16 hsize, vsize; member 528 u16 *hsize, u16 *vsize);
|
D | komeda_pipeline_state.c | 363 st->hsize = kfb->aligned_w; in komeda_layer_validate() 370 st->hsize = dflow->in_w; in komeda_layer_validate() 419 st->hsize = dflow->out_w; in komeda_wb_layer_validate() 455 if (!in_range(&scaler->hsize, hsize_in) || in komeda_scaler_check_cfg() 456 !in_range(&scaler->hsize, hsize_out)) { in komeda_scaler_check_cfg() 577 if (!in_range(&splitter->hsize, dflow->in_w)) { in komeda_splitter_validate() 599 st->hsize = dflow->in_w; in komeda_splitter_validate() 657 u16 *hsize, u16 *vsize) in pipeline_composition_size() argument 661 if (hsize) in pipeline_composition_size() 662 *hsize = m->hdisplay; in pipeline_composition_size() [all …]
|
/kernel/linux/linux-5.10/drivers/mcb/ |
D | mcb-parse.c | 187 u32 hsize; in chameleon_parse_cells() local 189 hsize = sizeof(struct chameleon_fpga_header); in chameleon_parse_cells() 191 header = kzalloc(hsize, GFP_KERNEL); in chameleon_parse_cells() 196 memcpy_fromio(header, p, hsize); in chameleon_parse_cells() 205 p += hsize; in chameleon_parse_cells()
|
/kernel/linux/linux-5.10/fs/gfs2/ |
D | dir.c | 339 u32 hsize; in gfs2_dir_get_hash_table() local 348 hsize = BIT(ip->i_depth); in gfs2_dir_get_hash_table() 349 hsize *= sizeof(__be64); in gfs2_dir_get_hash_table() 350 if (hsize != i_size_read(&ip->i_inode)) { in gfs2_dir_get_hash_table() 355 hc = kmalloc(hsize, GFP_NOFS | __GFP_NOWARN); in gfs2_dir_get_hash_table() 357 hc = __vmalloc(hsize, GFP_NOFS); in gfs2_dir_get_hash_table() 362 ret = gfs2_dir_read_data(ip, hc, hsize); in gfs2_dir_get_hash_table() 819 unsigned int hsize = BIT(ip->i_depth); in gfs2_dirent_search() local 822 if (hsize * sizeof(u64) != i_size_read(inode)) { in gfs2_dirent_search() 1153 u32 hsize; in dir_double_exhash() local [all …]
|
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_device.c | 23 unsigned int hsize) in __xfrm_transport_prep() argument 35 unsigned int hsize) in __xfrm_mode_tunnel_prep() argument 41 skb->transport_header = skb->network_header + hsize; in __xfrm_mode_tunnel_prep() 48 unsigned int hsize) in __xfrm_mode_beet_prep() argument 54 skb->transport_header = skb->network_header + hsize; in __xfrm_mode_beet_prep() 63 pskb_pull(skb, skb->mac_len + hsize + (x->props.header_len - phlen)); in __xfrm_mode_beet_prep()
|
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2.c | 115 int sy, ysize, hsize, i; in solo_v4l2_ch_ext_16up() local 127 hsize = solo_dev->video_hsize / 4; in solo_v4l2_ch_ext_16up() 130 solo_win_setup(solo_dev, i * 4, 0, sy, hsize, in solo_v4l2_ch_ext_16up() 132 solo_win_setup(solo_dev, (i * 4) + 1, hsize, sy, in solo_v4l2_ch_ext_16up() 133 hsize * 2, sy + ysize, 5); in solo_v4l2_ch_ext_16up() 134 solo_win_setup(solo_dev, (i * 4) + 2, hsize * 2, sy, in solo_v4l2_ch_ext_16up() 135 hsize * 3, sy + ysize, 5); in solo_v4l2_ch_ext_16up() 136 solo_win_setup(solo_dev, (i * 4) + 3, hsize * 3, sy, in solo_v4l2_ch_ext_16up()
|
/kernel/linux/linux-5.10/fs/pstore/ |
D | platform.c | 357 static size_t copy_kmsg_to_buffer(int hsize, size_t len) in copy_kmsg_to_buffer() argument 362 total_len = hsize + len; in copy_kmsg_to_buffer() 365 diff = total_len - psinfo->bufsize + hsize; in copy_kmsg_to_buffer() 366 memcpy(psinfo->buf, big_oops_buf, hsize); in copy_kmsg_to_buffer() 367 memcpy(psinfo->buf + hsize, big_oops_buf + diff, in copy_kmsg_to_buffer() 368 psinfo->bufsize - hsize); in copy_kmsg_to_buffer()
|
/kernel/linux/linux-5.10/net/netfilter/ipset/ |
D | ip_set_hash_gen.h | 133 size_t hsize; in htable_size() local 138 hsize = jhash_size(hbits); in htable_size() 140 < hsize) in htable_size() 143 return hsize * sizeof(struct hbucket *) + sizeof(struct htable); in htable_size() 633 size_t hsize, dsize = set->dsize; in mtype_resize() local 659 hsize = htable_size(htable_bits); in mtype_resize() 660 if (!hsize) in mtype_resize() 662 t = ip_set_alloc(hsize); in mtype_resize() 1452 size_t hsize; in IPSET_TOKEN() local 1508 hsize = sizeof(*h); in IPSET_TOKEN() [all …]
|
/kernel/linux/linux-5.10/drivers/media/platform/xilinx/ |
D | xilinx-vtc.h | 25 unsigned int hsize; member
|
/kernel/linux/linux-5.10/security/apparmor/ |
D | match.c | 308 int hsize; in aa_dfa_unpack() local 327 hsize = ntohl(*(__be32 *) (data + 4)); in aa_dfa_unpack() 328 if (size < hsize) in aa_dfa_unpack() 349 data += hsize; in aa_dfa_unpack() 350 size -= hsize; in aa_dfa_unpack()
|
/kernel/linux/linux-5.10/mm/ |
D | hugetlb_cgroup.c | 578 static char *mem_fmt(char *buf, int size, unsigned long hsize) in mem_fmt() argument 580 if (hsize >= (1UL << 30)) in mem_fmt() 581 snprintf(buf, size, "%luGB", hsize >> 30); in mem_fmt() 582 else if (hsize >= (1UL << 20)) in mem_fmt() 583 snprintf(buf, size, "%luMB", hsize >> 20); in mem_fmt() 585 snprintf(buf, size, "%luKB", hsize >> 10); in mem_fmt()
|
/kernel/linux/linux-5.10/drivers/macintosh/ |
D | windfarm_rm31.c | 298 int fmin, fmax, hsize; in cpu_setup_pid() local 318 hsize = min_t(int, mpu->tguardband, WF_PID_MAX_HISTORY); in cpu_setup_pid() 319 DBG("wf_72: CPU%d history size = %d\n", cpu, hsize); in cpu_setup_pid() 323 pid.history_len = hsize; in cpu_setup_pid()
|
D | windfarm_pm72.c | 397 int fmin, fmax, hsize; in cpu_setup_pid() local 417 hsize = min_t(int, mpu->tguardband, WF_PID_MAX_HISTORY); in cpu_setup_pid() 418 DBG("wf_72: CPU%d history size = %d\n", cpu, hsize); in cpu_setup_pid() 422 pid.history_len = hsize; in cpu_setup_pid()
|
/kernel/linux/linux-5.10/net/tipc/ |
D | msg.c | 84 u32 hsize, u32 dnode) in tipc_msg_init() argument 86 memset(m, 0, hsize); in tipc_msg_init() 89 msg_set_hdr_sz(m, hsize); in tipc_msg_init() 90 msg_set_size(m, hsize); in tipc_msg_init() 93 if (hsize > SHORT_H_SIZE) { in tipc_msg_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/d71/ |
D | d71_component.c | 279 malidp_write32(reg, BLK_IN_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_layer_update() 369 line_sz = st->hsize - st->afbc_crop_l - st->afbc_crop_r; in d71_layer_validate() 479 malidp_write32(reg, BLK_IN_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_wb_layer_update() 594 HV_SIZE(cin->hsize, cin->vsize)); in compiz_enable_input() 621 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_compiz_update() 687 set_range(&compiz->hsize, 64, get_blk_line_size(d71, reg)); in d71_compiz_init() 857 set_range(&scaler->hsize, 4, __get_blk_line_size(d71, reg, 2048)); in d71_scaler_init() 917 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_splitter_update() 966 set_range(&splitter->hsize, 4, get_blk_line_size(d71, reg)); in d71_splitter_init() 1057 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_improc_update()
|
/kernel/linux/linux-5.10/include/net/netfilter/ |
D | nf_conntrack.h | 306 nf_conntrack_get_ht(struct hlist_nulls_head **hash, unsigned int *hsize) in nf_conntrack_get_ht() argument 318 *hsize = hsz; in nf_conntrack_get_ht()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_edid.c | 2227 int hsize, int vsize, int fresh, in drm_mode_find_dmt() argument 2235 if (hsize != ptr->hdisplay) in drm_mode_find_dmt() 2456 int hsize, vsize; in drm_mode_std() local 2464 if (bad_std_timing(t->hsize, t->vfreq_aspect)) in drm_mode_std() 2468 hsize = t->hsize * 8 + 248; in drm_mode_std() 2474 vsize = hsize; in drm_mode_std() 2476 vsize = (hsize * 10) / 16; in drm_mode_std() 2478 vsize = (hsize * 3) / 4; in drm_mode_std() 2480 vsize = (hsize * 4) / 5; in drm_mode_std() 2482 vsize = (hsize * 9) / 16; in drm_mode_std() [all …]
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_edid.h | 59 u8 hsize; /* need to multiply by 8 then add 248 */ member 511 int hsize, int vsize, int fresh,
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nf_conntrack_core.c | 740 unsigned int bucket, hsize; in ____nf_conntrack_find() local 743 nf_conntrack_get_ht(&ct_hash, &hsize); in ____nf_conntrack_find() 744 bucket = reciprocal_scale(hash, hsize); in ____nf_conntrack_find() 1199 unsigned int hash, hsize; in nf_conntrack_tuple_taken() local 1207 nf_conntrack_get_ht(&ct_hash, &hsize); in nf_conntrack_tuple_taken() 1208 hash = __hash_conntrack(net, tuple, hsize); in nf_conntrack_tuple_taken() 1311 unsigned int hsize, drops; in early_drop() local 1314 nf_conntrack_get_ht(&ct_hash, &hsize); in early_drop() 1316 bucket = reciprocal_scale(hash, hsize); in early_drop() 1318 bucket = (bucket + 1) % hsize; in early_drop()
|
/kernel/linux/linux-5.10/drivers/dma/xilinx/ |
D | xilinx_dpdma.c | 702 size_t hsize = xt->sgl[0].size; in xilinx_dpdma_chan_prep_interleaved_dma() local 703 size_t stride = hsize + xt->sgl[0].icg; in xilinx_dpdma_chan_prep_interleaved_dma() 725 hsize = ALIGN(hsize, XILINX_DPDMA_LINESIZE_ALIGN_BITS / 8); in xilinx_dpdma_chan_prep_interleaved_dma() 726 hw_desc->xfer_size = hsize * xt->numf; in xilinx_dpdma_chan_prep_interleaved_dma() 728 FIELD_PREP(XILINX_DPDMA_DESC_HSIZE_STRIDE_HSIZE_MASK, hsize) | in xilinx_dpdma_chan_prep_interleaved_dma()
|
/kernel/linux/linux-5.10/drivers/net/ |
D | gtp.c | 635 static int gtp_hashtable_new(struct gtp_dev *gtp, int hsize); 758 static int gtp_hashtable_new(struct gtp_dev *gtp, int hsize) in gtp_hashtable_new() argument 762 gtp->addr_hash = kmalloc_array(hsize, sizeof(struct hlist_head), in gtp_hashtable_new() 767 gtp->tid_hash = kmalloc_array(hsize, sizeof(struct hlist_head), in gtp_hashtable_new() 772 gtp->hash_size = hsize; in gtp_hashtable_new() 774 for (i = 0; i < hsize; i++) { in gtp_hashtable_new()
|