Home
last modified time | relevance | path

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

12

/linux-6.6.21/lib/crypto/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-6.6.21/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-6.6.21/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-6.6.21/net/9p/
Dclient.c71 if (clnt->msize != DEFAULT_MSIZE) in p9_show_client_options()
72 seq_printf(m, ",msize=%u", clnt->msize); in p9_show_client_options()
144 clnt->msize = DEFAULT_MSIZE; in parse_opts()
175 clnt->msize = option; in parse_opts()
228 if (likely(c->fcall_cache) && alloc_msize == c->msize) { in p9_fcall_init()
285 alloc_tsize = min_t(size_t, c->msize, in p9_tag_alloc()
289 alloc_rsize = min_t(size_t, c->msize, in p9_tag_alloc()
685 const uint rsize = c->trans_mod->pooled_rbuffers ? c->msize : 0; in p9_client_rpc()
912 int msize; in p9_client_version() local
915 c->msize, c->proto_version); in p9_client_version()
[all …]
Dtrans_rdma.c301 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()
410 client->msize, DMA_FROM_DEVICE); in post_recv()
/linux-6.6.21/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-6.6.21/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()
1128 u64 mbase, msize; in fadump_create_elfcore_headers() local
1131 msize = crash_mrange_info.mem_ranges[i].size; in fadump_create_elfcore_headers()
1132 if (!msize) in fadump_create_elfcore_headers()
1156 phdr->p_filesz = msize; in fadump_create_elfcore_headers()
[all …]
/linux-6.6.21/drivers/net/ethernet/8390/
Dmcf8390.c407 resource_size_t msize; in mcf8390_probe() local
419 msize = resource_size(mem); in mcf8390_probe()
420 if (!request_mem_region(mem->start, msize, pdev->name)) in mcf8390_probe()
425 release_mem_region(mem->start, msize); in mcf8390_probe()
437 release_mem_region(mem->start, msize); in mcf8390_probe()
/linux-6.6.21/include/media/
Dvideobuf-core.h141 unsigned int msize; member
191 unsigned int msize,
Dvideobuf-dma-contig.h22 unsigned int msize,
Dvideobuf-vmalloc.h35 unsigned int msize,
Dvideobuf-dma-sg.h97 unsigned int msize,
/linux-6.6.21/kernel/bpf/
Dbpf_struct_ops.c313 u32 i, moff, msize, prev_mend = 0; in check_zero_holes() local
323 mtype = btf_resolve_size(btf_vmlinux, mtype, &msize); in check_zero_holes()
326 prev_mend = moff + msize; in check_zero_holes()
452 u32 msize; in bpf_struct_ops_map_update_elem() local
455 mtype = btf_resolve_size(btf_vmlinux, mtype, &msize); in bpf_struct_ops_map_update_elem()
461 if (memchr_inv(udata + moff, 0, msize)) { in bpf_struct_ops_map_update_elem()
/linux-6.6.21/fs/9p/
Dvfs_dir.c97 buflen = fid->clnt->msize - P9_IOHDRSZ; in v9fs_dir_readdir()
158 buflen = fid->clnt->msize - P9_READDIRHDRSZ; in v9fs_dir_readdir_dotl()
/linux-6.6.21/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.c347 unsigned int msize, in videobuf_queue_dma_contig_init() argument
351 videobuf_queue_core_init(q, ops, dev, irqlock, type, field, msize, in videobuf_queue_dma_contig_init()
Dvideobuf-dma-sg.c661 q.msize = size; in videobuf_sg_alloc()
673 unsigned int msize, in videobuf_queue_sg_init() argument
677 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-6.6.21/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-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dctx_rewrite.c273 int msize = find_field_offset_aux(btf, m->type, field_name, in find_field_offset_aux() local
275 if (msize >= 0) in find_field_offset_aux()
276 return msize; in find_field_offset_aux()
/linux-6.6.21/include/net/9p/
Dclient.h104 unsigned int msize; member
/linux-6.6.21/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-6.6.21/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()
549 &buffer, msize, in fw_get_filesystem_firmware()
/linux-6.6.21/net/kcm/
Dkcmsock.c611 unsigned int msize; in kcm_write_msgs() local
635 msize = 0; in kcm_write_msgs()
637 msize += skb_frag_size(&skb_shinfo(skb)->frags[i]); in kcm_write_msgs()
641 msize); in kcm_write_msgs()
/linux-6.6.21/net/bridge/netfilter/
Debtables.c1642 compat_uint_t msize = m->match_size - off; in compat_match_to_user() local
1649 put_user(msize, &cm->match_size)) in compat_match_to_user()
1656 if (xt_data_to_user(cm->data, m->data, match->usersize, msize, in compat_match_to_user()
1657 COMPAT_XT_ALIGN(msize))) in compat_match_to_user()
1663 *dstptr += msize; in compat_match_to_user()

12