Home
last modified time | relevance | path

Searched refs:hsize (Results 1 – 25 of 82) sorted by relevance

1234

/OK3568_Linux_fs/kernel/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()
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 …]
/OK3568_Linux_fs/kernel/fs/verity/
H A Dverify.c44 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 …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
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 …]
/OK3568_Linux_fs/kernel/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() argument
661 if (hsize) in pipeline_composition_size()
662 *hsize = m->hdisplay; in pipeline_composition_size()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/aldch/
H A Drk_aiq_ldch_generate_mesh.cpp107 unsigned short hpic, vpic, hsize, vsize, hstep, vstep = 0; in read_mesh_from_file() local
112 fread(&hsize, sizeof(unsigned short), 1, ofp); in read_mesh_from_file()
117 lut_size = hsize * vsize * sizeof(uint16_t); in read_mesh_from_file()
118 LOGW_ALDCH("lut info: [%d-%d-%d-%d-%d-%d]", hpic, vpic, hsize, vsize, hstep, vstep); in read_mesh_from_file()
133 ldchCtx->lut_h_size = hsize; in read_mesh_from_file()
136 ldchCtx->lut_h_size = hsize / 2; //word unit in read_mesh_from_file()
H A Drk_aiq_algo_aldch_v21_itf.cpp160 uint16_t hpic, vpic, hsize, vsize, hstep, vstep; in update_custom_lut_from_external_buffer() local
166 hsize = *addr++; in update_custom_lut_from_external_buffer()
171 lut_size = hsize * vsize * sizeof(uint16_t); in update_custom_lut_from_external_buffer()
172 LOGD_ALDCH("lut info: [%d-%d-%d-%d-%d-%d]", hpic, vpic, hsize, vsize, hstep, vstep); in update_custom_lut_from_external_buffer()
184 ldchCtx->lut_h_size = hsize; in update_custom_lut_from_external_buffer()
187 ldchCtx->lut_h_size = hsize / 2; //word unit in update_custom_lut_from_external_buffer()
/OK3568_Linux_fs/external/xserver/hw/xfree86/ddc/
H A Dinterpret_edid.c135 if ((m->features.hsize == 16 && m->features.vsize == 9) || in encode_aspect_ratio()
136 (m->features.hsize == 16 && m->features.vsize == 10) || in encode_aspect_ratio()
137 (m->features.hsize == 4 && m->features.vsize == 3) || in encode_aspect_ratio()
138 (m->features.hsize == 5 && m->features.vsize == 4)) { in encode_aspect_ratio()
144 p.target_aspect = (float) m->features.hsize / m->features.vsize; in encode_aspect_ratio()
149 m->features.hsize = m->features.vsize = 0; in encode_aspect_ratio()
151 else if ((m->features.hsize * 10 == p.real_hsize) && in encode_aspect_ratio()
154 m->features.hsize = m->features.vsize = 0; in encode_aspect_ratio()
158 m->features.hsize = (p.real_hsize + 5) / 10; in encode_aspect_ratio()
163 m->features.hsize, m->features.vsize); in encode_aspect_ratio()
[all …]
H A Dprint_edid.c212 if (disp->hsize && disp->vsize) { in print_display()
214 xf86ErrorF("horiz.: %i ", disp->hsize); in print_display()
217 else if (v->revision >= 4 && (disp->hsize || disp->vsize)) { in print_display()
218 if (disp->hsize) in print_display()
220 (disp->hsize + 99) / 100.0); in print_display()
293 if (t[i].hsize > 256) { /* sanity check */ in print_std_timings()
300 i, t[i].hsize, t[i].vsize, t[i].refresh, t[i].id); in print_std_timings()
388 p->m->features.hsize, p->m->features.vsize); in handle_detailed_print()
478 "vid: %i\n", p->index, det_mon->section.std_t[j].hsize, in handle_detailed_print()
H A Dxf86DDC.h55 FindDMTMode(int hsize, int vsize, int refresh, Bool rb);
93 ddc_quirk_t quirks, int hsize, int vsize);
/OK3568_Linux_fs/external/xserver/hw/xfree86/modes/
H A Dxf86EdidModes.c428 FindDMTMode(int hsize, int vsize, int refresh, Bool rb) in FindDMTMode() argument
439 if (ret->HDisplay == hsize && in FindDMTMode()
470 int i, hsize, vsize, refresh; in DDCModesFromStandardTiming() local
474 hsize = timing[i].hsize; in DDCModesFromStandardTiming()
480 ((hsize == 1360 && vsize == 765) || in DDCModesFromStandardTiming()
481 (hsize == 1368 && vsize == 769))) { in DDCModesFromStandardTiming()
482 hsize = 1366; in DDCModesFromStandardTiming()
488 if (p->HDisplay == hsize && p->VDisplay == vsize && in DDCModesFromStandardTiming()
496 if (refresh == 60 && hsize == 1366 && vsize == 768) { in DDCModesFromStandardTiming()
502 else if (hsize && vsize && refresh) { in DDCModesFromStandardTiming()
[all …]
/OK3568_Linux_fs/kernel/drivers/mcb/
H A Dmcb-parse.c187 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()
/OK3568_Linux_fs/kernel/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
[all …]
/OK3568_Linux_fs/kernel/net/xfrm/
H A Dxfrm_device.c23 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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/algos/acac/
H A Drk_aiq_types_acac_hw.h52 uint32_t hsize; member
83 uint32_t hsize; member
/OK3568_Linux_fs/kernel/fs/pstore/
H A Dplatform.c354 static size_t copy_kmsg_to_buffer(int hsize, size_t len) in copy_kmsg_to_buffer() argument
359 total_len = hsize + len; in copy_kmsg_to_buffer()
362 diff = total_len - psinfo->bufsize + hsize; in copy_kmsg_to_buffer()
363 memcpy(psinfo->buf, big_oops_buf, hsize); in copy_kmsg_to_buffer()
364 memcpy(psinfo->buf + hsize, big_oops_buf + diff, in copy_kmsg_to_buffer()
365 psinfo->bufsize - hsize); in copy_kmsg_to_buffer()
/OK3568_Linux_fs/kernel/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()
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 …]
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Daiff.c650 int hsize = in aiffwriteheader() local
662 hsize += 8 /* MARK hdr */ + 2 + 16*ft->oob.instr.nloops; in aiffwriteheader()
663 hsize += 8 /* INST hdr */ + 20; /* INST chunk */ in aiffwriteheader()
696 hsize += 8 /* COMT hdr */ + comment_chunk_size; in aiffwriteheader()
701 size = hsize + nframes * (ft->encoding.bits_per_sample >> 3) * ft->signal.channels; in aiffwriteheader()
847 unsigned hsize; in aifcwriteheader() local
899 hsize = 12 /*FVER*/ + 8 /*COMM hdr*/ + comm_len+comm_padding /*COMM chunk*/ + in aifcwriteheader()
904 size = hsize + nframes * (ft->encoding.bits_per_sample >> 3) * ft->signal.channels; in aifcwriteheader()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/security/apparmor/
H A Dmatch.c308 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()
/OK3568_Linux_fs/kernel/drivers/macintosh/
H A Dwindfarm_rm31.c298 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/arm/display/komeda/d71/
H A Dd71_component.c279 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()
/OK3568_Linux_fs/kernel/net/tipc/
H A Dmsg.c84 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()

1234