/openbmc/linux/lib/crypto/mpi/ |
H A D | mpih-mul.c | 142 MPN_MUL_N_RECURSE(prodp + size, up + hsize, vp + hsize, hsize, 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() 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() 172 prodp + size + hsize, hsize); in mul_n() 197 prodp + hsize + size, hsize, cy); in mul_n() 200 cy = mpihelp_add_n(prodp + hsize, prodp + hsize, tspace + hsize, in mul_n() 294 prodp + size + hsize, hsize); in mpih_sqr_n() 310 prodp + hsize + size, hsize, cy); in mpih_sqr_n() [all …]
|
/openbmc/linux/security/integrity/platform_certs/ |
H A 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()
|
/openbmc/linux/drivers/net/ppp/ |
H A D | bsd_comp.c | 372 hsize = 5003; in bsd_alloc() 376 hsize = 9001; in bsd_alloc() 380 hsize = 18013; in bsd_alloc() 384 hsize = 35023; 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() 679 if (hval >= db->hsize) in bsd_compress() 681 hval -= db->hsize; in bsd_compress() 1069 if (hval >= db->hsize) in bsd_decompress() [all …]
|
/openbmc/linux/fs/verity/ |
H A D | verify.c | 96 const unsigned int hsize = params->digest_size; in verify_data_block() local 183 memcpy(_want_hash, haddr + hoffset, hsize); in verify_data_block() 207 if (memcmp(want_hash, real_hash, hsize) != 0) in verify_data_block() 218 memcpy(_want_hash, haddr + hoffset, hsize); in verify_data_block() 227 if (memcmp(want_hash, real_hash, hsize) != 0) in verify_data_block() 235 params->hash_alg->name, hsize, want_hash, in verify_data_block() 236 params->hash_alg->name, hsize, real_hash); in verify_data_block()
|
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/ |
H A 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);
|
H A 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 (!malidp_in_range(&scaler->hsize, hsize_in) || in komeda_scaler_check_cfg() 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() 699 cin->hsize = dflow->out_w; in komeda_compiz_set_input() 742 dflow->in_w = st->hsize; in komeda_compiz_validate() [all …]
|
/openbmc/linux/drivers/mcb/ |
H A D | mcb-parse.c | 185 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()
|
/openbmc/linux/fs/gfs2/ |
H A D | dir.c | 338 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() 1150 u32 hsize; in dir_double_exhash() local 1157 hsize = BIT(dip->i_depth); in dir_double_exhash() 1532 u32 hsize, len = 0; in dir_e_read() local 1539 hsize = BIT(dip->i_depth); in dir_e_read() 1551 while (index < hsize) { in dir_e_read() 2104 u32 hsize, len; in gfs2_dir_exhash_dealloc() local 2116 while (index < hsize) { in gfs2_dir_exhash_dealloc() [all …]
|
/openbmc/linux/drivers/media/pci/solo6x10/ |
H A 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()
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_device.c | 24 unsigned int hsize) in __xfrm_transport_prep() argument 36 unsigned int hsize) in __xfrm_mode_tunnel_prep() argument 42 skb->transport_header = skb->network_header + hsize; in __xfrm_mode_tunnel_prep() 49 unsigned int hsize) in __xfrm_mode_beet_prep() argument 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()
|
/openbmc/u-boot/common/spl/ |
H A D | spl_fit.c | 362 int base_offset, hsize, align_len = ARCH_DMA_MINALIGN - 1; in spl_load_simple_fit() local 393 hsize = (size + info->bl_len + align_len) & ~align_len; in spl_load_simple_fit() 394 fit = spl_get_load_buffer(-hsize, hsize); in spl_load_simple_fit()
|
/openbmc/linux/drivers/media/platform/xilinx/ |
H A D | xilinx-vtc.h | 25 unsigned int hsize; member
|
/openbmc/linux/security/apparmor/ |
H A 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()
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | ip_set_hash_gen.h | 108 size_t hsize; in htable_size() local 113 hsize = jhash_size(hbits); in htable_size() 115 < hsize) in htable_size() 653 if (!hsize) in mtype_resize() 655 t = ip_set_alloc(hsize); in mtype_resize() 1470 size_t hsize; in IPSET_TOKEN() local 1552 hsize = sizeof(*h); in IPSET_TOKEN() 1553 h = kzalloc(hsize, GFP_KERNEL); in IPSET_TOKEN() 1562 hsize = htable_size(hbits); in IPSET_TOKEN() 1563 if (hsize == 0) { in IPSET_TOKEN() [all …]
|
/openbmc/linux/mm/ |
H A D | hugetlb_cgroup.c | 674 static char *mem_fmt(char *buf, int size, unsigned long hsize) in mem_fmt() argument 676 if (hsize >= SZ_1G) in mem_fmt() 677 snprintf(buf, size, "%luGB", hsize / SZ_1G); in mem_fmt() 678 else if (hsize >= SZ_1M) in mem_fmt() 679 snprintf(buf, size, "%luMB", hsize / SZ_1M); in mem_fmt() 681 snprintf(buf, size, "%luKB", hsize / SZ_1K); in mem_fmt()
|
/openbmc/linux/drivers/macintosh/ |
H A 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()
|
H A 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()
|
/openbmc/linux/net/tipc/ |
H A D | msg.c | 82 u32 hsize, u32 dnode) in tipc_msg_init() argument 84 memset(m, 0, hsize); in tipc_msg_init() 87 msg_set_hdr_sz(m, hsize); in tipc_msg_init() 88 msg_set_size(m, hsize); in tipc_msg_init() 91 if (hsize > SHORT_H_SIZE) { in tipc_msg_init()
|
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/d71/ |
H A 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()
|
/openbmc/linux/include/net/netfilter/ |
H A D | nf_conntrack.h | 333 nf_conntrack_get_ht(struct hlist_nulls_head **hash, unsigned int *hsize) in nf_conntrack_get_ht() argument 345 *hsize = hsz; in nf_conntrack_get_ht()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_edid.c | 2989 int hsize, int vsize, int fresh, in drm_mode_find_dmt() argument 2997 if (hsize != ptr->hdisplay) in drm_mode_find_dmt() 3303 int hsize, vsize; in drm_mode_std() local 3315 hsize = t->hsize * 8 + 248; in drm_mode_std() 3321 vsize = hsize; in drm_mode_std() 3323 vsize = (hsize * 10) / 16; in drm_mode_std() 3325 vsize = (hsize * 3) / 4; in drm_mode_std() 3327 vsize = (hsize * 4) / 5; in drm_mode_std() 3329 vsize = (hsize * 9) / 16; in drm_mode_std() 3333 ((hsize == 1360 && vsize == 765) || in drm_mode_std() [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_core.c | 741 unsigned int bucket, hsize; in ____nf_conntrack_find() local 744 nf_conntrack_get_ht(&ct_hash, &hsize); in ____nf_conntrack_find() 745 bucket = reciprocal_scale(hash, hsize); in ____nf_conntrack_find() 1300 unsigned int hash, hsize; in nf_conntrack_tuple_taken() local 1308 nf_conntrack_get_ht(&ct_hash, &hsize); in nf_conntrack_tuple_taken() 1309 hash = __hash_conntrack(net, tuple, nf_ct_zone_id(zone, IP_CT_DIR_REPLY), hsize); in nf_conntrack_tuple_taken() 1412 unsigned int hsize, drops; in early_drop() local 1415 nf_conntrack_get_ht(&ct_hash, &hsize); in early_drop() 1417 bucket = reciprocal_scale(hash, hsize); in early_drop() 1419 bucket = (bucket + 1) % hsize; in early_drop()
|
/openbmc/linux/include/video/ |
H A D | ili9320.h | 178 unsigned short hsize; member
|
/openbmc/linux/drivers/dma/xilinx/ |
H A D | xilinx_dpdma.c | 691 size_t hsize = xt->sgl[0].size; in xilinx_dpdma_chan_prep_interleaved_dma() local 692 size_t stride = hsize + xt->sgl[0].icg; in xilinx_dpdma_chan_prep_interleaved_dma() 715 hsize = ALIGN(hsize, XILINX_DPDMA_LINESIZE_ALIGN_BITS / 8); in xilinx_dpdma_chan_prep_interleaved_dma() 716 hw_desc->xfer_size = hsize * xt->numf; in xilinx_dpdma_chan_prep_interleaved_dma() 718 FIELD_PREP(XILINX_DPDMA_DESC_HSIZE_STRIDE_HSIZE_MASK, hsize) | in xilinx_dpdma_chan_prep_interleaved_dma()
|
/openbmc/linux/include/drm/ |
H A D | drm_edid.h | 60 u8 hsize; /* need to multiply by 8 then add 248 */ member 592 int hsize, int vsize, int fresh,
|