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

12

/linux-master/lib/crypto/mpi/
H A Dmpih-mul.c133 mpi_size_t hsize = size >> 1; local
142 MPN_MUL_N_RECURSE(prodp + size, up + hsize, vp + hsize, hsize,
148 if (mpihelp_cmp(up + hsize, up, hsize) >= 0) {
149 mpihelp_sub_n(prodp, up + hsize, up, hsize);
152 mpihelp_sub_n(prodp, up, up + hsize, hsize);
268 mpi_size_t hsize = size >> 1; local
[all...]
/linux-master/security/integrity/platform_certs/
H A Defi_parser.c50 size_t lsize, esize, hsize, elsize; local
62 hsize = list.signature_header_size;
64 elsize = lsize - sizeof(list) - hsize;
73 lsize - sizeof(list) < hsize ||
89 data += sizeof(list) + hsize;
90 size -= sizeof(list) + hsize;
91 offs += sizeof(list) + hsize;
/linux-master/drivers/media/platform/xilinx/
H A Dxilinx-vtc.h25 unsigned int hsize; member in struct:xvtc_config
/linux-master/fs/verity/
H A Dverify.c96 const unsigned int hsize = params->digest_size; local
183 memcpy(_want_hash, haddr + hoffset, hsize);
207 if (memcmp(want_hash, real_hash, hsize) != 0)
218 memcpy(_want_hash, haddr + hoffset, hsize);
227 if (memcmp(want_hash, real_hash, hsize) != 0)
235 params->hash_alg->name, hsize, want_hash,
236 params->hash_alg->name, hsize, real_hash);
/linux-master/drivers/net/ppp/
H A Dbsd_comp.c138 unsigned int hsize; /* size of the hash table */ member in struct:bsd_db
355 unsigned int hsize, hshift, maxmaxcode; local
372 hsize = 5003;
376 hsize = 9001;
380 hsize = 18013;
384 hsize = 35023;
388 /* hsize = 69001; */ /* and 69001 is too big for cptr */
409 db->dict = vmalloc(array_size(hsize, sizeof(struct bsd_dict)));
439 (sizeof (struct bsd_dict) * hsize);
441 db->hsize
[all...]
/linux-master/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_pipeline.h245 u16 hsize, vsize; member in struct:komeda_layer_state
256 struct malidp_range hsize, vsize; member in struct:komeda_scaler
279 struct malidp_range hsize, vsize; member in struct:komeda_compiz
283 u16 hsize, vsize; member in struct:komeda_compiz_input_cfg
291 u16 hsize, vsize; member in struct:komeda_compiz_state
309 struct malidp_range hsize, vsize; member in struct:komeda_splitter
314 u16 hsize, vsize; member in struct:komeda_splitter_state
330 u16 hsize, vsize; member in struct:komeda_improc_state
528 u16 *hsize, u16 *vsize);
H A Dkomeda_pipeline_state.c363 st->hsize = kfb->aligned_w;
370 st->hsize = dflow->in_w;
419 st->hsize = dflow->out_w;
455 if (!malidp_in_range(&scaler->hsize, hsize_in) ||
456 !malidp_in_range(&scaler->hsize, hsize_out)) {
577 if (!malidp_in_range(&splitter->hsize, dflow->in_w)) {
599 st->hsize = dflow->in_w;
657 u16 *hsize, u16 *vsize)
661 if (hsize)
662 *hsize
656 pipeline_composition_size(struct komeda_crtc_state *kcrtc_st, u16 *hsize, u16 *vsize) argument
[all...]
/linux-master/drivers/mcb/
H A Dmcb-parse.c185 u32 hsize; local
188 hsize = sizeof(struct chameleon_fpga_header);
190 header = kzalloc(hsize, GFP_KERNEL);
195 memcpy_fromio(header, p, hsize);
204 p += hsize;
/linux-master/fs/gfs2/
H A Ddir.c338 u32 hsize; local
347 hsize = BIT(ip->i_depth);
348 hsize *= sizeof(__be64);
349 if (hsize != i_size_read(&ip->i_inode)) {
354 hc = kmalloc(hsize, GFP_NOFS | __GFP_NOWARN);
356 hc = __vmalloc(hsize, GFP_NOFS);
361 ret = gfs2_dir_read_data(ip, hc, hsize);
817 unsigned int hsize = BIT(ip->i_depth); local
820 if (hsize * sizeof(u64) != i_size_read(inode)) {
1150 u32 hsize; local
1479 gfs2_dir_readahead(struct inode *inode, unsigned hsize, u32 index, struct file_ra_state *f_ra) argument
1532 u32 hsize, len = 0; local
2104 u32 hsize, len; local
[all...]
/linux-master/drivers/media/pci/solo6x10/
H A Dsolo6x10-v4l2.c115 int sy, ysize, hsize, i; local
127 hsize = solo_dev->video_hsize / 4;
130 solo_win_setup(solo_dev, i * 4, 0, sy, hsize,
132 solo_win_setup(solo_dev, (i * 4) + 1, hsize, sy,
133 hsize * 2, sy + ysize, 5);
134 solo_win_setup(solo_dev, (i * 4) + 2, hsize * 2, sy,
135 hsize * 3, sy + ysize, 5);
136 solo_win_setup(solo_dev, (i * 4) + 3, hsize * 3, sy,
/linux-master/net/xfrm/
H A Dxfrm_device.c24 unsigned int hsize)
36 unsigned int hsize)
42 skb->transport_header = skb->network_header + hsize;
49 unsigned int hsize)
55 skb->transport_header = skb->network_header + hsize;
64 pskb_pull(skb, skb->mac_len + hsize + (x->props.header_len - phlen));
23 __xfrm_transport_prep(struct xfrm_state *x, struct sk_buff *skb, unsigned int hsize) argument
35 __xfrm_mode_tunnel_prep(struct xfrm_state *x, struct sk_buff *skb, unsigned int hsize) argument
48 __xfrm_mode_beet_prep(struct xfrm_state *x, struct sk_buff *skb, unsigned int hsize) argument
/linux-master/net/netfilter/ipset/
H A Dip_set_hash_gen.h109 size_t hsize; local
114 hsize = jhash_size(hbits);
116 < hsize)
119 return hsize * sizeof(struct hbucket *) + sizeof(struct htable);
627 size_t hsize, dsize = set->dsize; local
653 hsize = htable_size(htable_bits);
654 if (!hsize)
656 t = ip_set_alloc(hsize);
1471 size_t hsize; local
1553 hsize
[all...]
/linux-master/security/apparmor/
H A Dmatch.c264 int hsize; local
283 hsize = ntohl(*(__be32 *) (data + 4));
284 if (size < hsize)
294 * if (hsize < 16 + 4)
305 data += hsize;
306 size -= hsize;
/linux-master/include/video/
H A Dili9320.h178 unsigned short hsize; member in struct:ili9320_platdata
/linux-master/drivers/macintosh/
H A Dwindfarm_pm72.c397 int fmin, fmax, hsize; local
417 hsize = min_t(int, mpu->tguardband, WF_PID_MAX_HISTORY);
418 DBG("wf_72: CPU%d history size = %d\n", cpu, hsize);
422 pid.history_len = hsize;
H A Dwindfarm_rm31.c298 int fmin, fmax, hsize; local
318 hsize = min_t(int, mpu->tguardband, WF_PID_MAX_HISTORY);
319 DBG("wf_72: CPU%d history size = %d\n", cpu, hsize);
323 pid.history_len = hsize;
/linux-master/include/net/netfilter/
H A Dnf_conntrack.h339 nf_conntrack_get_ht(struct hlist_nulls_head **hash, unsigned int *hsize) argument
351 *hsize = hsz;
/linux-master/include/drm/
H A Ddrm_edid.h63 u8 hsize; /* need to multiply by 8 then add 248 */ member in struct:std_timing
435 int hsize, int vsize, int fresh,
/linux-master/mm/
H A Dhugetlb_cgroup.c665 static char *mem_fmt(char *buf, int size, unsigned long hsize) argument
667 if (hsize >= SZ_1G)
668 snprintf(buf, size, "%luGB", hsize / SZ_1G);
669 else if (hsize >= SZ_1M)
670 snprintf(buf, size, "%luMB", hsize / SZ_1M);
672 snprintf(buf, size, "%luKB", hsize / SZ_1K);
/linux-master/drivers/gpu/drm/arm/display/komeda/d71/
H A Dd71_component.c279 malidp_write32(reg, BLK_IN_SIZE, HV_SIZE(st->hsize, st->vsize));
369 line_sz = st->hsize - st->afbc_crop_l - st->afbc_crop_r;
479 malidp_write32(reg, BLK_IN_SIZE, HV_SIZE(st->hsize, st->vsize));
594 HV_SIZE(cin->hsize, cin->vsize));
621 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, st->vsize));
687 set_range(&compiz->hsize, 64, get_blk_line_size(d71, reg));
857 set_range(&scaler->hsize, 4, __get_blk_line_size(d71, reg, 2048));
917 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, st->vsize));
966 set_range(&splitter->hsize, 4, get_blk_line_size(d71, reg));
1057 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, s
[all...]
/linux-master/net/tipc/
H A Dmsg.c82 u32 hsize, u32 dnode)
84 memset(m, 0, hsize);
87 msg_set_hdr_sz(m, hsize);
88 msg_set_size(m, hsize);
91 if (hsize > SHORT_H_SIZE) {
81 tipc_msg_init(u32 own_node, struct tipc_msg *m, u32 user, u32 type, u32 hsize, u32 dnode) argument
/linux-master/drivers/dma/xilinx/
H A Dxilinx_dpdma.c690 size_t hsize = xt->sgl[0].size; local
691 size_t stride = hsize + xt->sgl[0].icg;
714 hsize = ALIGN(hsize, XILINX_DPDMA_LINESIZE_ALIGN_BITS / 8);
715 hw_desc->xfer_size = hsize * xt->numf;
717 FIELD_PREP(XILINX_DPDMA_DESC_HSIZE_STRIDE_HSIZE_MASK, hsize) |
/linux-master/drivers/gpu/drm/
H A Ddrm_edid.c2982 * @hsize: Mode width
2992 int hsize, int vsize, int fresh,
3000 if (hsize != ptr->hdisplay)
3270 int hsize, int vsize, int vrefresh_rate)
3279 mode = drm_gtf_mode(dev, hsize, vsize, vrefresh_rate, 0, 0);
3285 mode = drm_gtf_mode_complex(dev, hsize, vsize,
3306 int hsize, vsize; local
3314 if (bad_std_timing(t->hsize, t->vfreq_aspect))
3317 /* According to the EDID spec, the hdisplay = hsize * 8 + 248 */
3318 hsize
2991 drm_mode_find_dmt(struct drm_device *dev, int hsize, int vsize, int fresh, bool rb) argument
3268 drm_gtf2_mode(struct drm_device *dev, const struct drm_edid *drm_edid, int hsize, int vsize, int vrefresh_rate) argument
[all...]
/linux-master/drivers/video/backlight/
H A Dili9320.c211 if (cfg->hsize <= 0 || cfg->vsize <= 0 || cfg->reset == NULL) {
H A Dvgg2432a4.c168 ili9320_write(lcd, ILI9320_HORIZ_END, cfg->hsize - 1);

Completed in 301 milliseconds

12