Home
last modified time | relevance | path

Searched refs:hsize (Results 1 - 25 of 84) sorted by relevance

1234

/kernel/linux/linux-5.10/lib/mpi/
H A Dmpih-mul.c133 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()
268 mpi_size_t hsize = size >> 1; mpih_sqr_n() local
[all...]
/kernel/linux/linux-6.6/lib/crypto/mpi/
H A Dmpih-mul.c133 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()
268 mpi_size_t hsize = size >> 1; mpih_sqr_n() local
[all...]
/kernel/linux/linux-5.10/fs/verity/
H A Dverify.c44 unsigned int hsize, u8 *out) in extract_hash()
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
139 extract_hash(hpage, hoffset, hsize, _want_hash); in verify_page()
144 hsize, want_hash); in verify_page()
154 params->hash_alg->name, hsize, want_has in verify_page()
43 extract_hash(struct page *hpage, unsigned int hoffset, unsigned int hsize, u8 *out) extract_hash() argument
[all...]
/kernel/linux/linux-5.10/security/integrity/platform_certs/
H A Defi_parser.c50 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-6.6/security/integrity/platform_certs/
H A Defi_parser.c50 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/drivers/net/ppp/
H A Dbsd_comp.c138 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()
388 /* hsize = 69001; */ /* and 69001 is too big for cptr */ 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 in bsd_alloc()
[all...]
/kernel/linux/linux-6.6/drivers/net/ppp/
H A Dbsd_comp.c138 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()
388 /* hsize = 69001; */ /* and 69001 is too big for cptr */ 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 in bsd_alloc()
[all...]
/kernel/linux/linux-6.6/fs/verity/
H A Dverify.c96 const unsigned int hsize = params->digest_size; in verify_data_block() local
190 memcpy(_want_hash, haddr + hoffset, hsize); in verify_data_block()
214 if (memcmp(want_hash, real_hash, hsize) != 0) in verify_data_block()
225 memcpy(_want_hash, haddr + hoffset, hsize); in verify_data_block()
234 if (memcmp(want_hash, real_hash, hsize) != 0) in verify_data_block()
242 params->hash_alg->name, hsize, want_hash, in verify_data_block()
243 params->hash_alg->name, hsize, real_hash); in verify_data_block()
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_pipeline.h245 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);
H A Dkomeda_pipeline_state.c363 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()
661 if (hsize) in pipeline_composition_size()
662 *hsize in pipeline_composition_size()
656 pipeline_composition_size(struct komeda_crtc_state *kcrtc_st, u16 *hsize, u16 *vsize) pipeline_composition_size() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_pipeline.h245 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);
H A Dkomeda_pipeline_state.c363 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 (!malidp_in_range(&scaler->hsize, hsize_in) || in komeda_scaler_check_cfg()
456 !malidp_in_range(&scaler->hsize, hsize_out)) { in komeda_scaler_check_cfg()
577 if (!malidp_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()
661 if (hsize) in pipeline_composition_size()
662 *hsize in pipeline_composition_size()
656 pipeline_composition_size(struct komeda_crtc_state *kcrtc_st, u16 *hsize, u16 *vsize) pipeline_composition_size() argument
[all...]
/kernel/linux/linux-5.10/drivers/mcb/
H A Dmcb-parse.c185 u32 hsize; in chameleon_parse_cells() local
188 hsize = sizeof(struct chameleon_fpga_header); in chameleon_parse_cells()
190 header = kzalloc(hsize, GFP_KERNEL); in chameleon_parse_cells()
195 memcpy_fromio(header, p, hsize); in chameleon_parse_cells()
204 p += hsize; in chameleon_parse_cells()
/kernel/linux/linux-6.6/drivers/mcb/
H A Dmcb-parse.c185 u32 hsize; in chameleon_parse_cells() local
188 hsize = sizeof(struct chameleon_fpga_header); in chameleon_parse_cells()
190 header = kzalloc(hsize, GFP_KERNEL); in chameleon_parse_cells()
195 memcpy_fromio(header, p, hsize); in chameleon_parse_cells()
204 p += hsize; in chameleon_parse_cells()
/kernel/linux/linux-5.10/fs/gfs2/
H A Ddir.c339 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
1477 gfs2_dir_readahead(struct inode *inode, unsigned hsize, u32 index, struct file_ra_state *f_ra) gfs2_dir_readahead() argument
1530 u32 hsize, len = 0; dir_e_read() local
2100 u32 hsize, len; gfs2_dir_exhash_dealloc() local
[all...]
/kernel/linux/linux-6.6/fs/gfs2/
H A Ddir.c338 u32 hsize; in gfs2_dir_get_hash_table() local
347 hsize = BIT(ip->i_depth); in gfs2_dir_get_hash_table()
348 hsize *= sizeof(__be64); in gfs2_dir_get_hash_table()
349 if (hsize != i_size_read(&ip->i_inode)) { in gfs2_dir_get_hash_table()
354 hc = kmalloc(hsize, GFP_NOFS | __GFP_NOWARN); in gfs2_dir_get_hash_table()
356 hc = __vmalloc(hsize, GFP_NOFS); in gfs2_dir_get_hash_table()
361 ret = gfs2_dir_read_data(ip, hc, hsize); in gfs2_dir_get_hash_table()
817 unsigned int hsize = BIT(ip->i_depth); in gfs2_dirent_search() local
820 if (hsize * sizeof(u64) != i_size_read(inode)) { in gfs2_dirent_search()
1150 u32 hsize; in dir_double_exhash() local
1479 gfs2_dir_readahead(struct inode *inode, unsigned hsize, u32 index, struct file_ra_state *f_ra) gfs2_dir_readahead() argument
1532 u32 hsize, len = 0; dir_e_read() local
2104 u32 hsize, len; gfs2_dir_exhash_dealloc() local
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/
H A Dsolo6x10-v4l2.c115 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-6.6/drivers/media/pci/solo6x10/
H A Dsolo6x10-v4l2.c115 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/net/xfrm/
H A Dxfrm_device.c23 unsigned int hsize) in __xfrm_transport_prep()
35 unsigned int hsize) in __xfrm_mode_tunnel_prep()
41 skb->transport_header = skb->network_header + hsize; in __xfrm_mode_tunnel_prep()
48 unsigned int hsize) in __xfrm_mode_beet_prep()
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()
22 __xfrm_transport_prep(struct xfrm_state *x, struct sk_buff *skb, unsigned int hsize) __xfrm_transport_prep() argument
34 __xfrm_mode_tunnel_prep(struct xfrm_state *x, struct sk_buff *skb, unsigned int hsize) __xfrm_mode_tunnel_prep() argument
47 __xfrm_mode_beet_prep(struct xfrm_state *x, struct sk_buff *skb, unsigned int hsize) __xfrm_mode_beet_prep() argument
/kernel/linux/linux-6.6/net/xfrm/
H A Dxfrm_device.c24 unsigned int hsize) in __xfrm_transport_prep()
36 unsigned int hsize) in __xfrm_mode_tunnel_prep()
42 skb->transport_header = skb->network_header + hsize; in __xfrm_mode_tunnel_prep()
49 unsigned int hsize) in __xfrm_mode_beet_prep()
55 skb->transport_header = skb->network_header + hsize; in __xfrm_mode_beet_prep()
64 pskb_pull(skb, skb->mac_len + hsize + (x->props.header_len - phlen)); in __xfrm_mode_beet_prep()
23 __xfrm_transport_prep(struct xfrm_state *x, struct sk_buff *skb, unsigned int hsize) __xfrm_transport_prep() argument
35 __xfrm_mode_tunnel_prep(struct xfrm_state *x, struct sk_buff *skb, unsigned int hsize) __xfrm_mode_tunnel_prep() argument
48 __xfrm_mode_beet_prep(struct xfrm_state *x, struct sk_buff *skb, unsigned int hsize) __xfrm_mode_beet_prep() argument
/kernel/linux/linux-5.10/mm/
H A Dhugetlb_cgroup.c578 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/fs/pstore/
H A Dplatform.c357 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/drivers/media/platform/xilinx/
H A Dxilinx-vtc.h25 unsigned int hsize; member
/kernel/linux/linux-6.6/drivers/media/platform/xilinx/
H A Dxilinx-vtc.h25 unsigned int hsize; member
/kernel/linux/linux-5.10/net/netfilter/ipset/
H A Dip_set_hash_gen.h133 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()
641 size_t hsize, dsize = set->dsize; in mtype_resize() local
667 hsize = htable_size(htable_bits); in mtype_resize()
668 if (!hsize) in mtype_resize()
670 t = ip_set_alloc(hsize); in mtype_resize()
1461 size_t hsize; in IPSET_TOKEN() local
1517 hsize in IPSET_TOKEN()
[all...]

Completed in 22 milliseconds

1234