Home
last modified time | relevance | path

Searched refs:msize (Results 1 – 31 of 31) sorted by relevance

/linux-4.4.14/lib/mpi/
Dmpi-pow.c42 mpi_size_t esize, msize, bsize, rsize; in mpi_powm() local
53 msize = mod->nlimbs; in mpi_powm()
54 size = 2 * msize; in mpi_powm()
61 if (!msize) in mpi_powm()
68 res->nlimbs = (msize == 1 && mod->d[0] == 1) ? 0 : 1; in mpi_powm()
77 mp = mp_marker = mpi_alloc_limb_space(msize); in mpi_powm()
80 mod_shift_cnt = count_leading_zeros(mod->d[msize - 1]); in mpi_powm()
82 mpihelp_lshift(mp, mod->d, msize, mod_shift_cnt); in mpi_powm()
84 MPN_COPY(mp, mod->d, msize); in mpi_powm()
88 if (bsize > msize) { /* The base is larger than the module. Reduce it. */ in mpi_powm()
[all …]
/linux-4.4.14/drivers/mtd/devices/
Dpmc551.c649 static int msize = 0; variable
652 module_param(msize, int, 0);
653 MODULE_PARM_DESC(msize, "memory size in MiB [1 - 1024]");
668 if (msize) { in init_pmc551()
669 msize = (1 << (ffs(msize) - 1)) << 20; in init_pmc551()
670 if (msize > (1 << 30)) { in init_pmc551()
672 msize); in init_pmc551()
719 if (msize) { in init_pmc551()
720 length = msize; in init_pmc551()
724 msize = length; in init_pmc551()
[all …]
/linux-4.4.14/tools/testing/selftests/ipc/
Dmsgque.c13 int msize; member
66 msgque->messages[i].msize, IPC_NOWAIT) != 0) { in restore_queue()
95 if (ret != msgque->messages[cnt].msize) { in check_and_destroy_queue()
97 msgque->messages[cnt].msize); in check_and_destroy_queue()
166 msgque->messages[i].msize = ret; in dump_queue()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_dp_auxch.c68 int msize; in radeon_dp_aux_transfer_native() local
87 msize = 0; in radeon_dp_aux_transfer_native()
90 msize = msg->size - 1; in radeon_dp_aux_transfer_native()
132 byte = msize; in radeon_dp_aux_transfer_native()
/linux-4.4.14/net/9p/
Dclient.c132 clnt->msize = 8192; in parse_opts()
159 clnt->msize = option; in parse_opts()
240 int alloc_msize = min(c->msize, max_size); in p9_tag_alloc()
733 req = p9_client_prepare_req(c, type, c->msize, fmt, ap); in p9_client_rpc()
936 int msize; in p9_client_version() local
939 c->msize, c->proto_version); in p9_client_version()
944 c->msize, "9P2000.L"); in p9_client_version()
948 c->msize, "9P2000.u"); in p9_client_version()
952 c->msize, "9P2000"); in p9_client_version()
961 err = p9pdu_readf(req->rc, c->proto_version, "ds", &msize, &version); in p9_client_version()
[all …]
Dtrans_rdma.c295 ib_dma_unmap_single(rdma->cm_id->device, c->busa, client->msize, in handle_recv()
406 c->rc->sdata, client->msize, in post_recv()
412 sge.length = client->msize; in post_recv()
Dtrans_fd.c336 if (n >= m->client->msize) { in p9_read_work()
357 m->client->msize, GFP_NOFS); in p9_read_work()
584 p9_debug(P9_DEBUG_TRANS, "client %p msize %d\n", client, client->msize); in p9_conn_create()
/linux-4.4.14/drivers/net/ethernet/8390/
Dmcf8390.c413 resource_size_t msize; in mcf8390_probe() local
427 msize = resource_size(mem); in mcf8390_probe()
428 if (!request_mem_region(mem->start, msize, pdev->name)) in mcf8390_probe()
433 release_mem_region(mem->start, msize); in mcf8390_probe()
447 release_mem_region(mem->start, msize); in mcf8390_probe()
/linux-4.4.14/include/media/
Dvideobuf-dma-contig.h25 unsigned int msize,
Dvideobuf-vmalloc.h38 unsigned int msize,
Dvideobuf-core.h144 unsigned int msize; member
194 unsigned int msize,
Dvideobuf-dma-sg.h100 unsigned int msize,
/linux-4.4.14/fs/9p/
Dvfs_dir.c124 buflen = fid->clnt->msize - P9_IOHDRSZ; in v9fs_dir_readdir()
187 buflen = fid->clnt->msize - P9_READDIRHDRSZ; in v9fs_dir_readdir_dotl()
Dv9fs.c363 v9ses->maxdata = v9ses->clnt->msize - P9_IOHDRSZ; in v9fs_session_init()
/linux-4.4.14/drivers/media/v4l2-core/
Dvideobuf-vmalloc.c306 unsigned int msize, in videobuf_queue_vmalloc_init() argument
310 videobuf_queue_core_init(q, ops, dev, irqlock, type, field, msize, in videobuf_queue_vmalloc_init()
Dvideobuf-dma-contig.c357 unsigned int msize, in videobuf_queue_dma_contig_init() argument
361 videobuf_queue_core_init(q, ops, dev, irqlock, type, field, msize, in videobuf_queue_dma_contig_init()
Dvideobuf-dma-sg.c664 q.msize = size; in videobuf_sg_alloc()
676 unsigned int msize, in videobuf_queue_sg_init() argument
680 videobuf_queue_core_init(q, ops, dev, irqlock, type, field, msize, in videobuf_queue_sg_init()
Dvideobuf-core.c61 BUG_ON(q->msize < sizeof(*vb)); in videobuf_alloc_vb()
68 vb = q->int_ops->alloc_vb(q->msize); in videobuf_alloc_vb()
149 unsigned int msize, in videobuf_queue_core_init() argument
161 q->msize = msize; in videobuf_queue_core_init()
/linux-4.4.14/net/netfilter/
Dx_tables.c534 u_int16_t msize = cm->u.user.match_size; in xt_compat_match_from_user() local
542 memcpy(m->data, cm->data, msize - sizeof(*cm)); in xt_compat_match_from_user()
547 msize += off; in xt_compat_match_from_user()
548 m->u.user.match_size = msize; in xt_compat_match_from_user()
554 *dstptr += msize; in xt_compat_match_from_user()
564 u_int16_t msize = m->u.user.match_size - off; in xt_compat_match_to_user() local
567 put_user(msize, &cm->u.user.match_size) || in xt_compat_match_to_user()
576 if (copy_to_user(cm->data, m->data, msize - sizeof(*cm))) in xt_compat_match_to_user()
581 *dstptr += msize; in xt_compat_match_to_user()
/linux-4.4.14/arch/powerpc/kernel/
Dfadump.c886 unsigned long long mbase, msize; in fadump_create_elfcore_headers() local
888 msize = crash_memory_ranges[i].size; in fadump_create_elfcore_headers()
890 if (!msize) in fadump_create_elfcore_headers()
910 phdr->p_filesz = msize; in fadump_create_elfcore_headers()
911 phdr->p_memsz = msize; in fadump_create_elfcore_headers()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dbase.c279 u32 msize = size >> 12; in nvkm_vm_get() local
284 ret = nvkm_mm_head(&vm->mm, 0, page_shift, msize, msize, align, in nvkm_vm_get()
/linux-4.4.14/include/net/9p/
Dclient.h154 unsigned int msize; member
/linux-4.4.14/Documentation/video4linux/
Dvideobuf146 unsigned int msize,
155 unsigned int msize,
164 unsigned int msize,
173 progressive devices), msize is the size of any containing structure used
/linux-4.4.14/drivers/isdn/hardware/eicon/
Dio.h242 byte msize; member
/linux-4.4.14/net/ipv4/
Dip_sockglue.c1051 int msize, i, ifindex; in do_ip_setsockopt() local
1078 msize = IP_MSFILTER_SIZE(gsf->gf_numsrc); in do_ip_setsockopt()
1079 msf = kmalloc(msize, GFP_KERNEL); in do_ip_setsockopt()
/linux-4.4.14/Documentation/filesystems/
D9p.txt99 msize=n the number of bytes to use for 9p packet payload
/linux-4.4.14/net/bridge/netfilter/
Debtables.c1615 compat_uint_t msize = m->match_size - off; in compat_match_to_user() local
1620 strlen(match->name) + 1) || put_user(msize, &cm->match_size)) in compat_match_to_user()
1626 } else if (copy_to_user(cm->data, m->data, msize)) in compat_match_to_user()
1631 *dstptr += msize; in compat_match_to_user()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_sync.c1617 int msize; in ip_vs_send_sync_msg() local
1620 msize = ntohs(msg->size); in ip_vs_send_sync_msg()
1622 ret = ip_vs_send_async(sock, (char *)msg, msize); in ip_vs_send_sync_msg()
/linux-4.4.14/drivers/mmc/host/
Ddw_mmc.c867 u32 msize = 0, rx_wmark = 1, tx_wmark, tx_wmark_invers; in dw_mci_adjust_fifoth() local
882 msize = 0; in dw_mci_adjust_fifoth()
890 msize = idx; in dw_mci_adjust_fifoth()
900 fifoth_val = SDMMC_SET_FIFOTH(msize, rx_wmark, tx_wmark); in dw_mci_adjust_fifoth()
/linux-4.4.14/drivers/message/fusion/
Dmptbase.c1646 u32 msize; in mpt_mapresources() local
1702 mem_phys = msize = 0; in mpt_mapresources()
1712 if (msize) in mpt_mapresources()
1716 msize = pci_resource_len(pdev, ii); in mpt_mapresources()
1719 ioc->mem_size = msize; in mpt_mapresources()
1724 mem = ioremap(mem_phys, msize); in mpt_mapresources()
/linux-4.4.14/drivers/media/pci/bt8xx/
Dbttv-driver.c2986 fh->cap.read_buf = videobuf_sg_alloc(fh->cap.msize); in bttv_poll()