/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | map.c | 381 size_t size = sizeof(struct map); in map__clone() local 385 size += sizeof(struct kmap); in map__clone() 387 map = memdup(from, size); in map__clone()
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | bnode.c | 405 int size, block, i, hash; in __hfs_bnode_create() local 414 size = sizeof(struct hfs_bnode) + tree->pages_per_bnode * in __hfs_bnode_create() 416 node = kzalloc(size, GFP_KERNEL); in __hfs_bnode_create()
|
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | super.h | 59 /* max size of osd read request, limited by libceph */ 61 /* osd has a configurable limitaion of max write size. 81 unsigned int wsize; /* max write size */ 82 unsigned int rsize; /* max read size */ 213 u64 size; member 377 * reduce the tid to 8 bits if we're concerned about inode size. */ 394 u32 i_truncate_seq; /* last truncate to smaller size */ 395 u64 i_truncate_size; /* and the size we last truncated down to */ 398 u64 i_max_size; /* max file size authorized by mds */ 399 u64 i_reported_size; /* (max_)size reporte [all...] |
/kernel/linux/linux-5.10/fs/jffs2/ |
H A D | summary.c | 108 int jffs2_sum_add_padding_mem(struct jffs2_summary *s, uint32_t size) in jffs2_sum_add_padding_mem() argument 110 dbg_summary("called with %u\n", size); in jffs2_sum_add_padding_mem() 111 s->sum_padded += size; in jffs2_sum_add_padding_mem() 656 JFFS2_WARNING("Free size 0x%x bytes in eraseblock @0x%08x with summary?\n", in jffs2_sum_scan_sumnode()
|
/kernel/linux/linux-5.10/fs/autofs/ |
H A D | root.c | 535 size_t size = strlen(symname); in autofs_dir_symlink() local 556 cp = kmalloc(size + 1, GFP_KERNEL); in autofs_dir_symlink() 568 inode->i_size = size; in autofs_dir_symlink()
|
/kernel/linux/linux-5.10/drivers/virtio/ |
H A D | virtio_pci_modern.c | 69 u32 start, u32 size, in map_capability() 116 if (length > size) in map_capability() 117 length = size; in map_capability() 332 dev_warn(&vp_dev->pci_dev->dev, "bad queue size %u", num); in setup_vq() 466 dev_err(&dev->dev, "%s: shm cap with bad size offset:" in virtio_pci_find_shm_cap() 467 " %d size: %d\n", __func__, pos, cap_len); in virtio_pci_find_shm_cap() 66 map_capability(struct pci_dev *dev, int off, size_t minlen, u32 align, u32 start, u32 size, size_t *len) map_capability() argument
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | space-info.c | 37 * determine the size of the block reserves, and then use the actual bytes 410 btrfs_info(fs_info, #rsv_name ": size %llu reserved %llu", \ 411 __rsv->size, __rsv->reserved); \ 829 min_bytes = div_factor(global_rsv->size, 1); in steal_from_global_rsv() 839 if (global_rsv->reserved < global_rsv->size) in steal_from_global_rsv()
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | cifsproto.h | 123 unsigned int size, unsigned int *num, 369 const char *file_name, __u64 size, 372 struct cifsFileInfo *cfile, __u64 size,
|
H A D | misc.c | 170 * We could use negotiated size instead of max_msgsize - in cifs_buf_get() 171 * but it may be more efficient to always alloc same size in cifs_buf_get() 206 /* We could use negotiated size instead of max_msgsize - in cifs_small_buf_get() 207 but it may be more efficient to always alloc same size in cifs_small_buf_get() 353 cifs_dbg(VFS, "Length less than smb header size\n"); in checkSMB() 381 cifs_dbg(FYI, "Calculated size %u vs length %u mismatch for mid=%u\n", in checkSMB() 385 cifs_dbg(VFS, "RFC1001 size %u smaller than SMB for mid=%u\n", in checkSMB() 398 cifs_dbg(VFS, "RFC1001 size %u more than 512 bytes larger than SMB for mid=%u\n", in checkSMB() 934 size_t size; in cifs_alloc_hash() local 948 size in cifs_alloc_hash() [all...] |
/kernel/linux/linux-5.10/drivers/xen/ |
H A D | gntdev-dmabuf.c | 387 exp_info.size = args->count << PAGE_SHIFT; in dmabuf_exp_from_pages() 619 if (attach->dmabuf->size != gntdev_dmabuf->nr_pages << PAGE_SHIFT) { in dmabuf_imp_to_refs() 622 attach->dmabuf->size, gntdev_dmabuf->nr_pages); in dmabuf_imp_to_refs()
|
/kernel/linux/linux-5.10/kernel/cgroup/ |
H A D | cgroup-v1.c | 994 if (!param->size) 996 if (param->size > MAX_CGROUP_ROOT_NAMELEN - 1) 999 for (i = 0; i < param->size; i++) {
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_attr.c | 101 * indication whether the attribute exists and the size of the value if it 102 * exists. The size is returned in args.valuelen. 109 * If the attribute is found, but exceeds the size limit set by the caller in 110 * args->valuelen, return -ERANGE with the size of the attribute that was found 148 int size; in xfs_attr_calc_size() local 155 size = xfs_attr_leaf_newentsize(args, local); in xfs_attr_calc_size() 158 if (size > (args->geo->blksize / 2)) { in xfs_attr_calc_size() 695 * maximum size of a transaction and/or hit a deadlock. in xfs_attr_leaf_addname() 895 * External routines when attribute list size > geo->blksize 1023 * maximum size o in xfs_attr_node_addname() [all...] |
/kernel/linux/linux-5.10/net/dccp/ |
H A D | proto.c | 750 int rc, size; in dccp_sendmsg() local 771 size = sk->sk_prot->max_header + len; in dccp_sendmsg() 773 skb = sock_alloc_send_skb(sk, size, noblock, &rc); in dccp_sendmsg()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_mst_types.c | 58 if (WARN_ON(msg->size > 16)) in dm_dp_aux_transfer() 63 payload.length = msg->size; in dm_dp_aux_transfer() 74 result = msg->size; in dm_dp_aux_transfer()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_fb.c | 394 size_t size, struct vmw_buffer_object **out) in vmw_fb_create_bo() 407 ret = vmw_bo_init(vmw_priv, vmw_bo, size, in vmw_fb_create_bo() 740 info->apertures->ranges[0].size = vmw_priv->vram_size; in vmw_fb_init() 393 vmw_fb_create_bo(struct vmw_private *vmw_priv, size_t size, struct vmw_buffer_object **out) vmw_fb_create_bo() argument
|
H A D | vmwgfx_resource.c | 357 unsigned long size = in vmw_resource_buf_alloc() local 363 BUG_ON(res->backup->base.num_pages * PAGE_SIZE < size); in vmw_resource_buf_alloc() 614 "of size %lu. bytes\n", in vmw_resource_reserve() 835 cmd->header.size = sizeof(cmd->body); in vmw_query_readback_all()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | iqs62x.c | 224 while (pos < fw->size) { in iqs62x_firmware_parse() 225 if (pos + sizeof(*fw_rec) > fw->size) { in iqs62x_firmware_parse() 232 if (pos + fw_rec->len - 1 > fw->size) { in iqs62x_firmware_parse()
|
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/ |
H A D | af9005.c | 526 st->data[3] = 12; /* size */ in af9005_read_eeprom() 559 u8 *buf, int size) in af9005_boot_packet() 564 memset(buf, 0, size); in af9005_boot_packet() 635 err("boot bad config size."); in af9005_boot_packet() 660 err("boot bad confirm size."); in af9005_boot_packet() 685 err("boot bad boot size."); in af9005_boot_packet() 733 packets = fw->size / FW_BULKOUT_SIZE; in af9005_download_firmware() 1050 .buffersize = 4096, /* actual size seen is 3948 */ 558 af9005_boot_packet(struct usb_device *udev, int type, u8 *reply, u8 *buf, int size) af9005_boot_packet() argument
|
/kernel/linux/linux-5.10/include/kunit/ |
H A D | test.h | 46 * size_t size; 53 * res->data = kmalloc(params->size, params->gfp); 66 * void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) 70 * params.size = size; 552 * @size: The size in bytes of the desired memory. 559 void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp); 571 * @size: The size i 576 kunit_kzalloc(struct kunit *test, size_t size, gfp_t gfp) kunit_kzalloc() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_h264.c | 179 size_t size; in _cedrus_write_ref_list() local 210 size = min_t(size_t, ALIGN(num_ref, 4), sizeof(sram_array)); in _cedrus_write_ref_list() 211 cedrus_h264_write_sram(dev, sram, &sram_array, size); in _cedrus_write_ref_list() 523 /* Formula for picture buffer size is taken from CedarX source. */ in cedrus_h264_start() 548 * That buffer is supposed to be 16kiB in size, and be aligned in cedrus_h264_start() 552 * size, so we don't have to overallocate. in cedrus_h264_start()
|
/kernel/linux/linux-5.10/drivers/staging/media/zoran/ |
H A D | zoran_device.c | 251 * Set the registers for the size we have specified. Don't bother 868 unsigned int size = 0; in zoran_reap_stat_com() local 891 size = (stat_com & GENMASK(22, 1)) >> 1; in zoran_reap_stat_com() 902 vb2_set_plane_payload(&buf->vbuf.vb2_buf, 0, size); in zoran_reap_stat_com()
|
/kernel/linux/linux-5.10/drivers/staging/qlge/ |
H A D | qlge_mpi.c | 281 * size information, and fix it if it's not in ql_link_up() 438 * change tx/rx max frame size, change pause in ql_mpi_handler() 711 /* Get link settings and maximum frame size settings 746 u32 size) in ql_mb_dump_ram() 761 mbcp->mbox_in[4] = MSW(size); in ql_mb_dump_ram() 762 mbcp->mbox_in[5] = LSW(size); in ql_mb_dump_ram() 801 /* Get link settings and maximum frame size settings 1094 * maximum frame size values to match MTU. 1111 /* This thread gets the maximum TX and RX frame size values 745 ql_mb_dump_ram(struct ql_adapter *qdev, u64 req_dma, u32 addr, u32 size) ql_mb_dump_ram() argument
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | jbd2.h | 67 extern void *jbd2_alloc(size_t size, gfp_t flags); 68 extern void jbd2_free(void *ptr, size_t size); 996 * @j_blocksize: Block size for the location where we store the journal. 1453 size_t size);
|
/kernel/linux/linux-5.10/drivers/staging/media/hantro/ |
H A D | hantro_jpeg.c | 332 ctx->jpeg_enc.bounce_buffer.size = in hantro_jpeg_enc_init() 338 ctx->jpeg_enc.bounce_buffer.size, in hantro_jpeg_enc_init() 351 ctx->jpeg_enc.bounce_buffer.size, in hantro_jpeg_enc_exit()
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
H A D | ni_660x.c | 95 char size; /* 2 or 4 bytes */ member 277 if (ni_660x_reg_data[reg].size == 2) in ni_660x_write() 289 if (ni_660x_reg_data[reg].size == 2) in ni_660x_read()
|