/linux-4.4.14/lib/mpi/ |
D | mpih-mul.c | 146 mpi_size_t hsize = size >> 1; in mul_n() local 155 MPN_MUL_N_RECURSE(prodp + size, up + hsize, vp + hsize, hsize, in mul_n() 161 if (mpihelp_cmp(up + hsize, up, hsize) >= 0) { in mul_n() 162 mpihelp_sub_n(prodp, up + hsize, up, hsize); in mul_n() 165 mpihelp_sub_n(prodp, up, up + hsize, hsize); in mul_n() 168 if (mpihelp_cmp(vp + hsize, vp, hsize) >= 0) { in mul_n() 169 mpihelp_sub_n(prodp + hsize, vp + hsize, vp, hsize); in mul_n() 172 mpihelp_sub_n(prodp + hsize, vp, vp + hsize, hsize); in mul_n() 179 MPN_MUL_N_RECURSE(tspace, prodp, prodp + hsize, hsize, in mul_n() 183 MPN_COPY(prodp + hsize, prodp + size, hsize); in mul_n() [all …]
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_rotator.c | 167 static void rotator_align_size(struct rot_context *rot, u32 fmt, u32 *hsize, in rotator_align_size() argument 184 val = ROT_ALIGN(*hsize, limit->align, mask); in rotator_align_size() 186 *hsize = ROT_MIN(limit->min_w, mask); in rotator_align_size() 188 *hsize = ROT_MAX(limit->max_w, mask); in rotator_align_size() 190 *hsize = val; in rotator_align_size() 241 u32 fmt, hsize, vsize; in rotator_src_set_size() local 252 hsize = sz->hsize; in rotator_src_set_size() 254 rotator_align_size(rot, fmt, &hsize, &vsize); in rotator_src_set_size() 257 val = ROT_SET_BUF_SIZE_H(vsize) | ROT_SET_BUF_SIZE_W(hsize); in rotator_src_set_size() 275 u32 val, fmt, hsize, vsize; in rotator_src_set_addr() local [all …]
|
D | exynos_drm_fimc.c | 599 h2 = sz->hsize - pos->w - pos->x; in fimc_set_window() 604 pos->x, pos->y, pos->w, pos->h, sz->hsize, sz->vsize); in fimc_set_window() 635 swap, sz->hsize, sz->vsize); in fimc_src_set_size() 638 cfg = (EXYNOS_ORGISIZE_HORIZONTAL(img_sz.hsize) | in fimc_src_set_size() 648 img_sz.hsize = sz->vsize; in fimc_src_set_size() 649 img_sz.vsize = sz->hsize; in fimc_src_set_size() 665 EXYNOS_CISRCFMT_SOURCEHSIZE(img_sz.hsize) | in fimc_src_set_size() 1058 swap, sz->hsize, sz->vsize); in fimc_dst_set_size() 1061 cfg = (EXYNOS_ORGOSIZE_HORIZONTAL(img_sz.hsize) | in fimc_dst_set_size() 1072 if (sz->hsize >= FIMC_WIDTH_ITU_709) in fimc_dst_set_size() [all …]
|
D | exynos_drm_gsc.c | 636 DRM_DEBUG_KMS("hsize[%d]vsize[%d]\n", sz->hsize, sz->vsize); in gsc_src_set_size() 643 cfg |= (GSC_SRCIMG_WIDTH(sz->hsize) | in gsc_src_set_size() 1061 DRM_DEBUG_KMS("hsize[%d]vsize[%d]\n", sz->hsize, sz->vsize); in gsc_dst_set_size() 1067 cfg |= (GSC_DSTIMG_WIDTH(sz->hsize) | in gsc_dst_set_size() 1359 prop_list->crop_max.hsize = GSC_CROP_MAX; in gsc_init_prop_list() 1361 prop_list->crop_min.hsize = GSC_CROP_MIN; in gsc_init_prop_list() 1364 prop_list->scale_max.hsize = GSC_SCALE_MAX; in gsc_init_prop_list() 1366 prop_list->scale_min.hsize = GSC_SCALE_MIN; in gsc_init_prop_list() 1429 if ((pos->x + pos->w > sz->hsize) || in gsc_ippdrv_check_property() 1438 if ((pos->h < pp->crop_min.hsize) || in gsc_ippdrv_check_property() [all …]
|
D | exynos_drm_ipp.c | 291 sz->hsize, sz->vsize, config->flip, config->degree); in ipp_print_property() 473 width = ipp_cfg->sz.hsize; in ipp_validate_mem_node()
|
/linux-4.4.14/fs/pstore/ |
D | platform.c | 255 static size_t copy_kmsg_to_buffer(int hsize, size_t len) in copy_kmsg_to_buffer() argument 260 total_len = hsize + len; in copy_kmsg_to_buffer() 263 diff = total_len - psinfo->bufsize + hsize; in copy_kmsg_to_buffer() 264 memcpy(psinfo->buf, big_oops_buf, hsize); in copy_kmsg_to_buffer() 265 memcpy(psinfo->buf + hsize, big_oops_buf + diff, in copy_kmsg_to_buffer() 266 psinfo->bufsize - hsize); in copy_kmsg_to_buffer() 304 int hsize; in pstore_dump() local 312 hsize = sprintf(dst, "%s#%d Part%u\n", why, in pstore_dump() 314 size = big_oops_buf_sz - hsize; in pstore_dump() 316 if (!kmsg_dump_get_buffer(dumper, true, dst + hsize, in pstore_dump() [all …]
|
/linux-4.4.14/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(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 …]
|
/linux-4.4.14/drivers/mcb/ |
D | mcb-parse.c | 96 u32 hsize; in chameleon_parse_cells() local 98 hsize = sizeof(struct chameleon_fpga_header); in chameleon_parse_cells() 100 header = kzalloc(hsize, GFP_KERNEL); in chameleon_parse_cells() 105 memcpy_fromio(header, p, hsize); in chameleon_parse_cells() 114 p += hsize; in chameleon_parse_cells()
|
/linux-4.4.14/drivers/isdn/i4l/ |
D | isdn_bsdcomp.c | 117 unsigned int hsize; /* size of the hash table */ member 307 unsigned int hsize, hshift, maxmaxcode; in bsd_alloc() local 325 hsize = htab[bits - 9][0]; in bsd_alloc() 343 db->dict = vmalloc(hsize * sizeof(struct bsd_dict)); in bsd_alloc() 366 db->totlen = sizeof(struct bsd_db) + (sizeof(struct bsd_dict) * hsize); in bsd_alloc() 367 db->hsize = hsize; in bsd_alloc() 403 indx = db->hsize; in bsd_init() 438 if ((unsigned int) idx >= (unsigned int) db->hsize) { in dict_ptr() 531 if (hval >= db->hsize) in bsd_compress() 532 hval -= db->hsize; in bsd_compress() [all …]
|
/linux-4.4.14/mm/ |
D | hugetlb_cgroup.c | 325 static char *mem_fmt(char *buf, int size, unsigned long hsize) in mem_fmt() argument 327 if (hsize >= (1UL << 30)) in mem_fmt() 328 snprintf(buf, size, "%luGB", hsize >> 30); in mem_fmt() 329 else if (hsize >= (1UL << 20)) in mem_fmt() 330 snprintf(buf, size, "%luMB", hsize >> 20); in mem_fmt() 332 snprintf(buf, size, "%luKB", hsize >> 10); in mem_fmt()
|
/linux-4.4.14/fs/gfs2/ |
D | dir.c | 343 u32 hsize; in gfs2_dir_get_hash_table() local 352 hsize = 1 << ip->i_depth; in gfs2_dir_get_hash_table() 353 hsize *= sizeof(__be64); in gfs2_dir_get_hash_table() 354 if (hsize != i_size_read(&ip->i_inode)) { in gfs2_dir_get_hash_table() 359 hc = kmalloc(hsize, GFP_NOFS | __GFP_NOWARN); in gfs2_dir_get_hash_table() 361 hc = __vmalloc(hsize, GFP_NOFS, PAGE_KERNEL); in gfs2_dir_get_hash_table() 366 ret = gfs2_dir_read_data(ip, hc, hsize); in gfs2_dir_get_hash_table() 781 unsigned hsize = 1 << ip->i_depth; in gfs2_dirent_search() local 784 if (hsize * sizeof(u64) != i_size_read(inode)) { in gfs2_dirent_search() 1117 u32 hsize; in dir_double_exhash() local [all …]
|
/linux-4.4.14/security/apparmor/ |
D | match.c | 205 int hsize; in aa_dfa_unpack() local 224 hsize = ntohl(*(u32 *) (data + 4)); in aa_dfa_unpack() 225 if (size < hsize) in aa_dfa_unpack() 229 data += hsize; in aa_dfa_unpack() 230 size -= hsize; in aa_dfa_unpack()
|
/linux-4.4.14/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2.c | 124 int sy, ysize, hsize, i; in solo_v4l2_ch_ext_16up() local 136 hsize = solo_dev->video_hsize / 4; in solo_v4l2_ch_ext_16up() 139 solo_win_setup(solo_dev, i * 4, 0, sy, hsize, in solo_v4l2_ch_ext_16up() 141 solo_win_setup(solo_dev, (i * 4) + 1, hsize, sy, in solo_v4l2_ch_ext_16up() 142 hsize * 2, sy + ysize, 5); in solo_v4l2_ch_ext_16up() 143 solo_win_setup(solo_dev, (i * 4) + 2, hsize * 2, sy, in solo_v4l2_ch_ext_16up() 144 hsize * 3, sy + ysize, 5); in solo_v4l2_ch_ext_16up() 145 solo_win_setup(solo_dev, (i * 4) + 3, hsize * 3, sy, in solo_v4l2_ch_ext_16up()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_edid.c | 1522 int hsize, int vsize, int fresh, in drm_mode_find_dmt() argument 1529 if (hsize != ptr->hdisplay) in drm_mode_find_dmt() 1713 int hsize, vsize; in drm_mode_std() local 1721 if (bad_std_timing(t->hsize, t->vfreq_aspect)) in drm_mode_std() 1725 hsize = t->hsize * 8 + 248; in drm_mode_std() 1731 vsize = hsize; in drm_mode_std() 1733 vsize = (hsize * 10) / 16; in drm_mode_std() 1735 vsize = (hsize * 3) / 4; in drm_mode_std() 1737 vsize = (hsize * 4) / 5; in drm_mode_std() 1739 vsize = (hsize * 9) / 16; in drm_mode_std() [all …]
|
/linux-4.4.14/net/tipc/ |
D | msg.c | 74 u32 hsize, u32 dnode) in tipc_msg_init() argument 76 memset(m, 0, hsize); in tipc_msg_init() 79 msg_set_hdr_sz(m, hsize); in tipc_msg_init() 80 msg_set_size(m, hsize); in tipc_msg_init() 83 if (hsize > SHORT_H_SIZE) { in tipc_msg_init()
|
D | msg.h | 786 u32 hsize, u32 destnode);
|
/linux-4.4.14/drivers/media/platform/xilinx/ |
D | xilinx-vtc.h | 28 unsigned int hsize; member
|
D | xilinx-vtc.c | 209 xvtc_gen_write(xvtc, XVTC_HSIZE, config->hsize); in xvtc_generator_start()
|
D | xilinx-tpg.c | 206 config.hsize = htotal; in xtpg_s_stream()
|
/linux-4.4.14/net/netfilter/ipset/ |
D | ip_set_hash_gen.h | 103 size_t hsize; in htable_size() local 108 hsize = jhash_size(hbits); in htable_size() 110 < hsize) in htable_size() 113 return hsize * sizeof(struct hbucket *) + sizeof(struct htable); in htable_size() 1237 size_t hsize; in IPSET_TOKEN() local 1294 hsize = sizeof(*h); in IPSET_TOKEN() 1296 hsize += sizeof(struct net_prefixes) * NLEN(set->family); in IPSET_TOKEN() 1298 h = kzalloc(hsize, GFP_KERNEL); in IPSET_TOKEN() 1313 hsize = htable_size(hbits); in IPSET_TOKEN() 1314 if (hsize == 0) { in IPSET_TOKEN() [all …]
|
/linux-4.4.14/drivers/macintosh/ |
D | windfarm_rm31.c | 299 int fmin, fmax, hsize; in cpu_setup_pid() local 319 hsize = min_t(int, mpu->tguardband, WF_PID_MAX_HISTORY); in cpu_setup_pid() 320 DBG("wf_72: CPU%d history size = %d\n", cpu, hsize); in cpu_setup_pid() 324 pid.history_len = hsize; in cpu_setup_pid()
|
D | windfarm_pm72.c | 398 int fmin, fmax, hsize; in cpu_setup_pid() local 418 hsize = min_t(int, mpu->tguardband, WF_PID_MAX_HISTORY); in cpu_setup_pid() 419 DBG("wf_72: CPU%d history size = %d\n", cpu, hsize); in cpu_setup_pid() 423 pid.history_len = hsize; in cpu_setup_pid()
|
/linux-4.4.14/fs/f2fs/ |
D | xattr.c | 325 static inline int write_all_xattrs(struct inode *inode, __u32 hsize, in write_all_xattrs() argument 337 if (hsize > inline_size && !F2FS_I(inode)->i_xattr_nid) in write_all_xattrs() 362 if (hsize <= inline_size) { in write_all_xattrs()
|
/linux-4.4.14/include/video/ |
D | ili9320.h | 181 unsigned short hsize; member
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec_plain.c | 253 unsigned int hsize = 4; in plain_ctx_verify() local 258 NULL, 0, (unsigned char *)&cksum, &hsize); in plain_ctx_verify() 867 unsigned int hsize = 4; in plain_authorize() local 872 NULL, 0, (unsigned char *)&msg->lm_cksum, &hsize); in plain_authorize()
|
D | pack_generic.c | 1205 unsigned int hsize = 4; in lustre_msg_calc_cksum() local 1209 NULL, 0, (unsigned char *)&crc, &hsize); in lustre_msg_calc_cksum()
|
/linux-4.4.14/include/uapi/drm/ |
D | exynos_drm.h | 127 __u32 hsize; member
|
/linux-4.4.14/net/core/ |
D | skbuff.c | 3036 int hsize; in skb_segment() local 3043 hsize = skb_headlen(head_skb) - offset; in skb_segment() 3044 if (hsize < 0) in skb_segment() 3045 hsize = 0; in skb_segment() 3046 if (hsize > len || !sg) in skb_segment() 3047 hsize = len; in skb_segment() 3049 if (!hsize && i >= nfrags && skb_headlen(list_skb) && in skb_segment() 3082 hsize = skb_end_offset(nskb); in skb_segment() 3088 nskb->truesize += skb_end_offset(nskb) - hsize; in skb_segment() 3092 nskb = __alloc_skb(hsize + doffset + headroom, in skb_segment() [all …]
|
/linux-4.4.14/drivers/video/backlight/ |
D | vgg2432a4.c | 171 ili9320_write(lcd, ILI9320_HORIZ_END, cfg->hsize - 1); in vgg2432a4_lcd_init()
|
D | ili9320.c | 214 if (cfg->hsize <= 0 || cfg->vsize <= 0 || cfg->reset == NULL) { in ili9320_probe_spi()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_ioctl.c | 69 int hsize; in xfs_find_handle() local 112 hsize = sizeof(xfs_fsid_t); in xfs_find_handle() 120 hsize = XFS_HSIZE(handle); in xfs_find_handle() 124 if (copy_to_user(hreq->ohandle, &handle, hsize) || in xfs_find_handle() 125 copy_to_user(hreq->ohandlen, &hsize, sizeof(__s32))) in xfs_find_handle()
|
/linux-4.4.14/drivers/dma/xilinx/ |
D | xilinx_vdma.c | 158 u32 hsize; member 713 vdma_desc_write(chan, XILINX_VDMA_REG_HSIZE, last->hw.hsize); in xilinx_vdma_start_transfer() 965 hw->hsize = xt->sgl[0].size; in xilinx_vdma_dma_prep_interleaved()
|
/linux-4.4.14/include/drm/ |
D | drm_edid.h | 54 u8 hsize; /* need to multiply by 8 then add 248 */ member
|
D | drm_crtc.h | 1470 int hsize, int vsize, int fresh,
|
/linux-4.4.14/drivers/media/usb/hdpvr/ |
D | hdpvr-video.c | 689 unsigned hsize; in vidioc_query_dv_timings() local 693 hsize = V4L2_DV_BT_FRAME_WIDTH(bt); in vidioc_query_dv_timings() 695 fps = (unsigned)bt->pixelclock / (hsize * vsize); in vidioc_query_dv_timings()
|
/linux-4.4.14/arch/arm/mach-s3c24xx/ |
D | mach-jive.c | 370 .hsize = LCD_XRES,
|
/linux-4.4.14/drivers/media/pci/ttpci/ |
D | av7110_av.c | 367 int hsize, vsize; in get_video_format() local 381 hsize = ((p[1] &0xF0) >> 4) | (p[0] << 4); in get_video_format() 386 dprintk(2, "playback %dx%d fr=%d\n", hsize, vsize, sw); in get_video_format()
|
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd.c | 1882 unsigned int hsize = ksocknal_data.ksnd_peer_hash_size; in ksocknal_push() local 1886 end = &ksocknal_data.ksnd_peers[hsize - 1]; in ksocknal_push()
|