Home
last modified time | relevance | path

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

12

/linux-5.19.10/lib/mpi/
Dmpi-pow.c31 mpi_size_t esize, msize, bsize, rsize; in mpi_powm() local
42 msize = mod->nlimbs; in mpi_powm()
43 size = 2 * msize; in mpi_powm()
49 if (!msize) in mpi_powm()
55 res->nlimbs = (msize == 1 && mod->d[0] == 1) ? 0 : 1; in mpi_powm()
70 mp = mp_marker = mpi_alloc_limb_space(msize); in mpi_powm()
73 mod_shift_cnt = count_leading_zeros(mod->d[msize - 1]); in mpi_powm()
75 mpihelp_lshift(mp, mod->d, msize, mod_shift_cnt); in mpi_powm()
77 MPN_COPY(mp, mod->d, msize); in mpi_powm()
81 if (bsize > msize) { /* The base is larger than the module. Reduce it. */ in mpi_powm()
[all …]
/linux-5.19.10/drivers/mtd/devices/
Dpmc551.c640 static int msize = 0; variable
643 module_param(msize, int, 0);
644 MODULE_PARM_DESC(msize, "memory size in MiB [1 - 1024]");
659 if (msize) { in init_pmc551()
660 msize = (1 << (ffs(msize) - 1)) << 20; in init_pmc551()
661 if (msize > (1 << 30)) { in init_pmc551()
663 msize); in init_pmc551()
710 if (msize) { in init_pmc551()
711 length = msize; in init_pmc551()
715 msize = length; in init_pmc551()
[all …]
/linux-5.19.10/tools/testing/selftests/ipc/
Dmsgque.c15 int msize; member
68 msgque->messages[i].msize, IPC_NOWAIT) != 0) { in restore_queue()
97 if (ret != msgque->messages[cnt].msize) { in check_and_destroy_queue()
99 msgque->messages[cnt].msize); in check_and_destroy_queue()
168 msgque->messages[i].msize = ret; in dump_queue()
/linux-5.19.10/net/9p/
Dclient.c67 if (clnt->msize != DEFAULT_MSIZE) in p9_show_client_options()
68 seq_printf(m, ",msize=%u", clnt->msize); in p9_show_client_options()
140 clnt->msize = DEFAULT_MSIZE; in parse_opts()
171 clnt->msize = option; in parse_opts()
224 if (likely(c->fcall_cache) && alloc_msize == c->msize) { in p9_fcall_init()
267 int alloc_msize = min(c->msize, max_size); in p9_tag_alloc()
498 if (req->rc.size >= c->msize) { in p9_check_errors()
731 req = p9_client_prepare_req(c, type, c->msize, fmt, ap); in p9_client_rpc()
930 int msize; in p9_client_version() local
933 c->msize, c->proto_version); in p9_client_version()
[all …]
Dtrans_rdma.c302 ib_dma_unmap_single(rdma->cm_id->device, c->busa, client->msize, in recv_done()
391 c->rc.sdata, client->msize, in post_recv()
399 sge.length = client->msize; in post_recv()
Dtrans_fd.c322 if (m->rc.size >= m->client->msize) { in p9_read_work()
586 p9_debug(P9_DEBUG_TRANS, "client %p msize %d\n", client, client->msize); in p9_conn_create()
/linux-5.19.10/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-5.19.10/arch/powerpc/kernel/
Dfadump.c411 unsigned long msize) in add_boot_mem_regions() argument
417 max_size = fw_dump.max_copy_size ? fw_dump.max_copy_size : msize; in add_boot_mem_regions()
418 while (msize) { in add_boot_mem_regions()
419 if (msize > max_size) in add_boot_mem_regions()
422 rsize = msize; in add_boot_mem_regions()
428 msize -= rsize; in add_boot_mem_regions()
1127 u64 mbase, msize; in fadump_create_elfcore_headers() local
1130 msize = crash_mrange_info.mem_ranges[i].size; in fadump_create_elfcore_headers()
1131 if (!msize) in fadump_create_elfcore_headers()
1155 phdr->p_filesz = msize; in fadump_create_elfcore_headers()
[all …]
/linux-5.19.10/drivers/net/ethernet/8390/
Dmcf8390.c409 resource_size_t msize; in mcf8390_probe() local
421 msize = resource_size(mem); in mcf8390_probe()
422 if (!request_mem_region(mem->start, msize, pdev->name)) in mcf8390_probe()
427 release_mem_region(mem->start, msize); in mcf8390_probe()
439 release_mem_region(mem->start, msize); in mcf8390_probe()
/linux-5.19.10/kernel/bpf/
Dbpf_struct_ops.c296 u32 i, moff, msize, prev_mend = 0; in check_zero_holes() local
306 mtype = btf_resolve_size(btf_vmlinux, mtype, &msize); in check_zero_holes()
309 prev_mend = moff + msize; in check_zero_holes()
432 u32 msize; in bpf_struct_ops_map_update_elem() local
435 mtype = btf_resolve_size(btf_vmlinux, mtype, &msize); in bpf_struct_ops_map_update_elem()
441 if (memchr_inv(udata + moff, 0, msize)) { in bpf_struct_ops_map_update_elem()
/linux-5.19.10/include/media/
Dvideobuf-dma-contig.h22 unsigned int msize,
Dvideobuf-core.h141 unsigned int msize; member
191 unsigned int msize,
Dvideobuf-vmalloc.h35 unsigned int msize,
Dvideobuf-dma-sg.h97 unsigned int msize,
/linux-5.19.10/fs/9p/
Dvfs_dir.c99 buflen = fid->clnt->msize - P9_IOHDRSZ; in v9fs_dir_readdir()
160 buflen = fid->clnt->msize - P9_READDIRHDRSZ; in v9fs_dir_readdir_dotl()
Dv9fs.c428 v9ses->maxdata = v9ses->clnt->msize - P9_IOHDRSZ; in v9fs_session_init()
/linux-5.19.10/drivers/media/v4l2-core/
Dvideobuf-vmalloc.c283 unsigned int msize, in videobuf_queue_vmalloc_init() argument
287 videobuf_queue_core_init(q, ops, dev, irqlock, type, field, msize, in videobuf_queue_vmalloc_init()
Dvideobuf-dma-contig.c353 unsigned int msize, in videobuf_queue_dma_contig_init() argument
357 videobuf_queue_core_init(q, ops, dev, irqlock, type, field, msize, in videobuf_queue_dma_contig_init()
Dvideobuf-dma-sg.c665 q.msize = size; in videobuf_sg_alloc()
677 unsigned int msize, in videobuf_queue_sg_init() argument
681 videobuf_queue_core_init(q, ops, dev, irqlock, type, field, msize, in videobuf_queue_sg_init()
Dvideobuf-core.c59 BUG_ON(q->msize < sizeof(*vb)); in videobuf_alloc_vb()
66 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-5.19.10/net/netfilter/
Dx_tables.c757 u_int16_t msize = cm->u.user.match_size; in xt_compat_match_from_user() local
765 memcpy(m->data, cm->data, msize - sizeof(*cm)); in xt_compat_match_from_user()
767 msize += off; in xt_compat_match_from_user()
768 m->u.user.match_size = msize; in xt_compat_match_from_user()
774 *dstptr += msize; in xt_compat_match_from_user()
790 u_int16_t msize = m->u.user.match_size - off; in xt_compat_match_to_user() local
792 if (XT_OBJ_TO_USER(cm, m, match, msize)) in xt_compat_match_to_user()
799 if (COMPAT_XT_DATA_TO_USER(cm, m, match, msize - sizeof(*cm))) in xt_compat_match_to_user()
804 *dstptr += msize; in xt_compat_match_to_user()
/linux-5.19.10/include/net/9p/
Dclient.h103 unsigned int msize; member
/linux-5.19.10/Documentation/driver-api/media/
Dv4l2-videobuf.rst176 unsigned int msize,
185 unsigned int msize,
194 unsigned int msize,
203 progressive devices), msize is the size of any containing structure used
/linux-5.19.10/drivers/base/firmware_loader/
Dmain.c499 size_t msize = INT_MAX; in fw_get_filesystem_firmware() local
505 msize = fw_priv->allocated_size; in fw_get_filesystem_firmware()
540 &buffer, msize, in fw_get_filesystem_firmware()
/linux-5.19.10/net/bridge/netfilter/
Debtables.c1640 compat_uint_t msize = m->match_size - off; in compat_match_to_user() local
1647 put_user(msize, &cm->match_size)) in compat_match_to_user()
1654 if (xt_data_to_user(cm->data, m->data, match->usersize, msize, in compat_match_to_user()
1655 COMPAT_XT_ALIGN(msize))) in compat_match_to_user()
1661 *dstptr += msize; in compat_match_to_user()

12