/Linux-v5.10/lib/mpi/ |
D | mpi-pow.c | 31 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-v5.10/drivers/mtd/devices/ |
D | pmc551.c | 640 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-v5.10/tools/testing/selftests/ipc/ |
D | msgque.c | 15 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-v5.10/drivers/gpu/drm/radeon/ |
D | radeon_dp_auxch.c | 68 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-v5.10/net/9p/ |
D | client.c | 68 if (clnt->msize != 8192) in p9_show_client_options() 69 seq_printf(m, ",msize=%u", clnt->msize); in p9_show_client_options() 142 clnt->msize = 8192; in parse_opts() 175 clnt->msize = option; in parse_opts() 228 if (likely(c->fcall_cache) && alloc_msize == c->msize) { in p9_fcall_init() 271 int alloc_msize = min(c->msize, max_size); in p9_tag_alloc() 504 if (req->rc.size >= c->msize) { in p9_check_errors() 736 req = p9_client_prepare_req(c, type, c->msize, fmt, ap); in p9_client_rpc() 938 int msize; in p9_client_version() local 941 c->msize, c->proto_version); in p9_client_version() [all …]
|
D | trans_rdma.c | 302 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()
|
D | trans_fd.c | 322 if (m->rc.size >= m->client->msize) { in p9_read_work() 585 p9_debug(P9_DEBUG_TRANS, "client %p msize %d\n", client, client->msize); in p9_conn_create()
|
/Linux-v5.10/arch/powerpc/kernel/ |
D | fadump.c | 399 unsigned long msize) in add_boot_mem_regions() argument 405 max_size = fw_dump.max_copy_size ? fw_dump.max_copy_size : msize; in add_boot_mem_regions() 406 while (msize) { in add_boot_mem_regions() 407 if (msize > max_size) in add_boot_mem_regions() 410 rsize = msize; in add_boot_mem_regions() 416 msize -= rsize; in add_boot_mem_regions() 1108 u64 mbase, msize; in fadump_create_elfcore_headers() local 1111 msize = crash_mrange_info.mem_ranges[i].size; in fadump_create_elfcore_headers() 1112 if (!msize) in fadump_create_elfcore_headers() 1136 phdr->p_filesz = msize; in fadump_create_elfcore_headers() [all …]
|
/Linux-v5.10/drivers/net/ethernet/8390/ |
D | mcf8390.c | 410 resource_size_t msize; in mcf8390_probe() local 424 msize = resource_size(mem); in mcf8390_probe() 425 if (!request_mem_region(mem->start, msize, pdev->name)) in mcf8390_probe() 430 release_mem_region(mem->start, msize); in mcf8390_probe() 442 release_mem_region(mem->start, msize); in mcf8390_probe()
|
/Linux-v5.10/kernel/bpf/ |
D | bpf_struct_ops.c | 291 u32 i, moff, msize, prev_mend = 0; in check_zero_holes() local 301 mtype = btf_resolve_size(btf_vmlinux, mtype, &msize); in check_zero_holes() 304 prev_mend = moff + msize; in check_zero_holes() 395 u32 msize; in bpf_struct_ops_map_update_elem() local 398 mtype = btf_resolve_size(btf_vmlinux, mtype, &msize); in bpf_struct_ops_map_update_elem() 404 if (memchr_inv(udata + moff, 0, msize)) { in bpf_struct_ops_map_update_elem()
|
/Linux-v5.10/include/media/ |
D | videobuf-dma-contig.h | 22 unsigned int msize,
|
D | videobuf-vmalloc.h | 35 unsigned int msize,
|
D | videobuf-core.h | 141 unsigned int msize; member 191 unsigned int msize,
|
D | videobuf-dma-sg.h | 97 unsigned int msize,
|
/Linux-v5.10/fs/9p/ |
D | vfs_dir.c | 99 buflen = fid->clnt->msize - P9_IOHDRSZ; in v9fs_dir_readdir() 159 buflen = fid->clnt->msize - P9_READDIRHDRSZ; in v9fs_dir_readdir_dotl()
|
D | v9fs.c | 426 v9ses->maxdata = v9ses->clnt->msize - P9_IOHDRSZ; in v9fs_session_init()
|
/Linux-v5.10/drivers/media/v4l2-core/ |
D | videobuf-vmalloc.c | 283 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()
|
D | videobuf-dma-contig.c | 353 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()
|
D | videobuf-dma-sg.c | 666 q.msize = size; in videobuf_sg_alloc() 678 unsigned int msize, in videobuf_queue_sg_init() argument 682 videobuf_queue_core_init(q, ops, dev, irqlock, type, field, msize, in videobuf_queue_sg_init()
|
D | videobuf-core.c | 59 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-v5.10/net/netfilter/ |
D | x_tables.c | 735 u_int16_t msize = cm->u.user.match_size; in xt_compat_match_from_user() local 743 memcpy(m->data, cm->data, msize - sizeof(*cm)); in xt_compat_match_from_user() 748 msize += off; in xt_compat_match_from_user() 749 m->u.user.match_size = msize; in xt_compat_match_from_user() 755 *dstptr += msize; in xt_compat_match_from_user() 771 u_int16_t msize = m->u.user.match_size - off; in xt_compat_match_to_user() local 773 if (XT_OBJ_TO_USER(cm, m, match, msize)) in xt_compat_match_to_user() 780 if (COMPAT_XT_DATA_TO_USER(cm, m, match, msize - sizeof(*cm))) in xt_compat_match_to_user() 785 *dstptr += msize; in xt_compat_match_to_user()
|
/Linux-v5.10/include/net/9p/ |
D | client.h | 105 unsigned int msize; member
|
/Linux-v5.10/Documentation/driver-api/media/ |
D | v4l2-videobuf.rst | 176 unsigned int msize, 185 unsigned int msize, 194 unsigned int msize, 203 progressive devices), msize is the size of any containing structure used
|
/Linux-v5.10/drivers/base/firmware_loader/ |
D | main.c | 494 size_t msize = INT_MAX; in fw_get_filesystem_firmware() local 500 msize = fw_priv->allocated_size; in fw_get_filesystem_firmware() 534 &buffer, msize, in fw_get_filesystem_firmware()
|
/Linux-v5.10/net/bridge/netfilter/ |
D | ebtables.c | 1508 compat_uint_t msize = m->match_size - off; in compat_match_to_user() local 1515 put_user(msize, &cm->match_size)) in compat_match_to_user() 1522 if (xt_data_to_user(cm->data, m->data, match->usersize, msize, in compat_match_to_user() 1523 COMPAT_XT_ALIGN(msize))) in compat_match_to_user() 1529 *dstptr += msize; in compat_match_to_user()
|