Home
last modified time | relevance | path

Searched refs:size (Results 18251 - 18275 of 39675) sorted by relevance

1...<<731732733734735736737738739740>>...1587

/kernel/linux/linux-5.10/tools/perf/util/
H A Dhist.h168 int hist_entry__sort_snprintf(struct hist_entry *he, char *bf, size_t size,
251 size_t size; member
420 hpp->size -= inc; in advance_hpp()
579 int __hists__scnprintf_title(struct hists *hists, char *bf, size_t size, bool show_freq);
581 static inline int hists__scnprintf_title(struct hists *hists, char *bf, size_t size) in hists__scnprintf_title() argument
583 return __hists__scnprintf_title(hists, bf, size, true); in hists__scnprintf_title()
/kernel/linux/linux-5.10/fs/notify/fanotify/
H A Dfanotify.c314 * Check size needed to encode fanotify_fh.
316 * Return size of encoded fh without fanotify_fh header.
334 * Return total size of encoded fh including fanotify_fh header.
352 * !gpf means preallocated variable size fh, but fh_len could in fanotify_encode_fh()
359 /* No external buffer in a variable size allocated fh */ in fanotify_encode_fh()
496 unsigned int size; in fanotify_alloc_name_event() local
498 size = sizeof(*fne) + FANOTIFY_FH_HDR_LEN + dir_fh_len; in fanotify_alloc_name_event()
500 size += FANOTIFY_FH_HDR_LEN + child_fh_len; in fanotify_alloc_name_event()
502 size += file_name->len + 1; in fanotify_alloc_name_event()
503 fne = kmalloc(size, gf in fanotify_alloc_name_event()
[all...]
/kernel/linux/linux-5.10/include/trace/events/
H A Dbcache.h46 __field(u32, size )
55 __entry->size = KEY_SIZE(k);
60 __entry->offset, __entry->size, __entry->dirty)
341 __field(u32, size )
352 __entry->size = KEY_SIZE(k);
362 __entry->size, __entry->dirty)
/kernel/linux/linux-5.10/drivers/virt/
H A Dfsl_hypervisor.c141 * The FH_MEMCPY hypercall takes an array of address/address/size structures
145 * address/address/size array for the hypercall.
269 sg_list[0].size = min_t(uint64_t, param.count, PAGE_SIZE - lb_offset); in ioctl_memcpy()
271 remote_paddr = param.remote_paddr + sg_list[0].size; in ioctl_memcpy()
272 count = param.count - sg_list[0].size; in ioctl_memcpy()
284 sg_list[i].size = min_t(uint64_t, count, PAGE_SIZE); in ioctl_memcpy()
286 remote_paddr += sg_list[i].size; in ioctl_memcpy()
287 count -= sg_list[i].size; in ioctl_memcpy()
444 pr_debug("fsl-hv: bad ioctl dir=%u type=%u cmd=%u size=%u\n", in fsl_hv_ioctl()
459 /* The size o
[all...]
/kernel/linux/linux-5.10/fs/afs/
H A Dproc.c88 static int afs_proc_cells_write(struct file *file, char *buf, size_t size) in afs_proc_cells_write() argument
96 name = memchr(buf, '\n', size); in afs_proc_cells_write()
172 static int afs_proc_rootcell_write(struct file *file, char *buf, size_t size) in afs_proc_rootcell_write() argument
182 if (memchr(buf, '/', size)) in afs_proc_rootcell_write()
186 s = memchr(buf, '\n', size); in afs_proc_rootcell_write()
490 static int afs_proc_sysname_write(struct file *file, char *buf, size_t size) in afs_proc_sysname_write() argument
/kernel/linux/linux-5.10/fs/ext4/
H A Ddir.c69 struct buffer_head *bh, char *buf, int size, in __ext4_check_dir_entry()
83 else if (unlikely(next_offset > size)) in __ext4_check_dir_entry()
85 else if (unlikely(next_offset > size - EXT4_DIR_REC_LEN(1) && in __ext4_check_dir_entry()
86 next_offset != size)) in __ext4_check_dir_entry()
97 "inode=%u, rec_len=%d, name_len=%d, size=%d", in __ext4_check_dir_entry()
99 rlen, de->name_len, size); in __ext4_check_dir_entry()
103 "inode=%u, rec_len=%d, name_len=%d, size=%d", in __ext4_check_dir_entry()
105 rlen, de->name_len, size); in __ext4_check_dir_entry()
194 /* corrupt size? Maybe no more blocks to read */ in ext4_readdir()
66 __ext4_check_dir_entry(const char *function, unsigned int line, struct inode *dir, struct file *filp, struct ext4_dir_entry_2 *de, struct buffer_head *bh, char *buf, int size, unsigned int offset) __ext4_check_dir_entry() argument
/kernel/linux/linux-5.10/kernel/bpf/
H A Dbpf_iter.c76 * . fixed buffer size (PAGE_SIZE)
80 static ssize_t bpf_seq_read(struct file *file, char __user *buf, size_t size, in bpf_seq_read() argument
91 seq->size = PAGE_SIZE << 3; in bpf_seq_read()
92 seq->buf = kvmalloc(seq->size, GFP_KERNEL); in bpf_seq_read()
100 n = min(seq->count, size); in bpf_seq_read()
157 if (seq->count >= size) in bpf_seq_read()
200 n = min(seq->count, size); in bpf_seq_read()
/kernel/linux/linux-5.10/kernel/power/
H A Dhibernate.c1214 unsigned long size; in image_size_store() local
1216 if (sscanf(buf, "%lu", &size) == 1) { in image_size_store()
1217 image_size = size; in image_size_store()
1236 unsigned long size; in reserved_size_store() local
1238 if (sscanf(buf, "%lu", &size) == 1) { in reserved_size_store()
1239 reserved_size = size; in reserved_size_store()
/kernel/linux/linux-5.10/kernel/locking/
H A Dlocktorture.c718 int size = cxt.nrealwriters_stress * 200 + 8192; in lock_torture_stats_print() local
722 size += cxt.nrealreaders_stress * 200 + 8192; in lock_torture_stats_print()
724 buf = kmalloc(size, GFP_KERNEL); in lock_torture_stats_print()
727 size); in lock_torture_stats_print()
736 buf = kmalloc(size, GFP_KERNEL); in lock_torture_stats_print()
739 size); in lock_torture_stats_print()
/kernel/linux/linux-5.10/net/bluetooth/
H A Daf_bluetooth.c338 size_t size, int flags) in bt_sock_stream_recvmsg()
348 BT_DBG("sk %p size %zu", sk, size); in bt_sock_stream_recvmsg()
352 target = sock_rcvlowat(sk, flags & MSG_WAITALL, size); in bt_sock_stream_recvmsg()
383 chunk = min_t(unsigned int, skb->len, size); in bt_sock_stream_recvmsg()
391 size -= chunk; in bt_sock_stream_recvmsg()
434 } while (size); in bt_sock_stream_recvmsg()
337 bt_sock_stream_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, int flags) bt_sock_stream_recvmsg() argument
/kernel/linux/linux-5.10/net/9p/
H A Dtrans_virtio.c143 req->rc.size = len; in req_done()
268 VIRTQUEUE_NUM, req->tc.sdata, req->tc.size); in p9_virtio_request()
381 * @inlen: read buffer size
382 * @outlen: write buffer size
383 * @in_hdr_len: reader header size, This is the size of response protocol data
414 memcpy(&req->tc.sdata[req->tc.size - 4], &v, 4); in p9_virtio_zc_request()
417 /* The size field of the message must include the length of the in p9_virtio_zc_request()
421 sz = cpu_to_le32(req->tc.size + outlen); in p9_virtio_zc_request()
433 memcpy(&req->tc.sdata[req->tc.size in p9_virtio_zc_request()
[all...]
/kernel/linux/linux-5.10/net/core/
H A Dbpf_sk_storage.c305 void *owner, u32 size) in sk_storage_charge()
311 if (size <= optmem_max && in sk_storage_charge()
312 atomic_read(&sk->sk_omem_alloc) + size < optmem_max) { in sk_storage_charge()
313 atomic_add(size, &sk->sk_omem_alloc); in sk_storage_charge()
321 void *owner, u32 size) in sk_storage_uncharge()
325 atomic_sub(size, &sk->sk_omem_alloc); in sk_storage_uncharge()
304 sk_storage_charge(struct bpf_local_storage_map *smap, void *owner, u32 size) sk_storage_charge() argument
320 sk_storage_uncharge(struct bpf_local_storage_map *smap, void *owner, u32 size) sk_storage_uncharge() argument
/kernel/linux/linux-5.10/net/netfilter/ipvs/
H A Dip_vs_lblcr.c93 atomic_t size; /* set size */ member
119 atomic_inc(&set->size); in ip_vs_dest_set_insert()
141 atomic_dec(&set->size); in ip_vs_dest_set_erase()
275 int max_size; /* maximum size of entries */
377 atomic_set(&(en->set.size), 0); in ip_vs_lblcr_new()
450 * exceeds the maximum size of the table.
454 * if the number of entries doesn't exceed the maximum size
663 if (atomic_read(&en->set.size) > 1 && in ip_vs_lblcr_schedule()
667 if (atomic_read(&en->set.size) > in ip_vs_lblcr_schedule()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead907d.c286 head907d_olut_load(struct drm_color_lut *in, int size, void __iomem *mem) in head907d_olut_load() argument
288 for (; size--; in++, mem += 8) { in head907d_olut_load()
303 head907d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) in head907d_olut() argument
305 if (size != 256 && size != 1024) in head907d_olut()
308 if (size == 1024) in head907d_olut()
/kernel/linux/linux-5.10/drivers/gpu/drm/xen/
H A Dxen_drm_front.c160 u32 bpp, u64 size, u32 offset, in xen_drm_front_dbuf_create()
182 buf_cfg.num_pages = DIV_ROUND_UP(size, PAGE_SIZE); in xen_drm_front_dbuf_create()
197 req->op.dbuf_create.buffer_sz = size; in xen_drm_front_dbuf_create()
402 args->size = args->pitch * args->height; in xen_drm_drv_dumb_create()
404 obj = xen_drm_front_gem_create(dev, args->size); in xen_drm_drv_dumb_create()
413 args->size, 0, in xen_drm_drv_dumb_create()
158 xen_drm_front_dbuf_create(struct xen_drm_front_info *front_info, u64 dbuf_cookie, u32 width, u32 height, u32 bpp, u64 size, u32 offset, struct page **pages) xen_drm_front_dbuf_create() argument
/kernel/linux/linux-5.10/drivers/media/usb/stk1160/
H A Dstk1160-v4l.c190 stk1160_dbg("minimum isoc packet size: %u (alt=%d)\n", in stk1160_set_alternate()
380 /* Minimum width and height is 5% the frame size */ in stk1160_try_fmt()
598 reg->size = 1; in vidioc_g_register()
655 unsigned long size; in queue_setup() local
657 size = dev->width * dev->height * 2; in queue_setup()
667 return sizes[0] < size ? -EINVAL : 0; in queue_setup()
672 sizes[0] = size; in queue_setup()
675 __func__, *nbuffers, size); in queue_setup()
/kernel/linux/linux-5.10/drivers/ntb/hw/intel/
H A Dntb_hw_gen3.c444 dma_addr_t addr, resource_size_t size) in intel_ntb3_mw_set_trans()
470 /* hardware requires that addr is aligned to bar size */ in intel_ntb3_mw_set_trans()
474 /* make sure the range fits in the usable mw size */ in intel_ntb3_mw_set_trans()
475 if (size > mw_size) in intel_ntb3_mw_set_trans()
483 /* Set the limit if supported, if size is not mw_size */ in intel_ntb3_mw_set_trans()
484 if (limit_reg && size != mw_size) in intel_ntb3_mw_set_trans()
485 limit = base + size; in intel_ntb3_mw_set_trans()
515 if (limit_reg && size != mw_size) in intel_ntb3_mw_set_trans()
516 limit = base + size; in intel_ntb3_mw_set_trans()
443 intel_ntb3_mw_set_trans(struct ntb_dev *ntb, int pidx, int idx, dma_addr_t addr, resource_size_t size) intel_ntb3_mw_set_trans() argument
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/
H A Daic94xx_task.c57 sg_arr[0].size = cpu_to_le32(task->total_xfer_len); in asd_map_scatterlist()
86 sg->size = cpu_to_le32((u32)sg_dma_len(sc)); in asd_map_scatterlist()
94 sg_arr[i].size = cpu_to_le32((u32)sg_dma_len(sc)); in asd_map_scatterlist()
106 sg_arr[i].size = cpu_to_le32((u32)sg_dma_len(sc)); in asd_map_scatterlist()
156 /* int size = ((resp_sb->flags & 7) << 8) | resp_sb->len_lsb; */ in asd_get_response_tasklet()
437 scb->smp_task.smp_req.size = in asd_build_smp_ascb()
442 scb->smp_task.smp_resp.size = in asd_build_smp_ascb()
/kernel/linux/linux-5.10/drivers/staging/kpc2000/
H A Dkpc2000_i2c.c344 "Illegal SMBus block read size %d\n", in i801_block_transaction_byte_by_byte()
438 int size, union i2c_smbus_data *data) in i801_access()
447 size != I2C_SMBUS_QUICK && size != I2C_SMBUS_I2C_BLOCK_DATA; in i801_access()
449 switch (size) { in i801_access()
514 " [acc] Unsupported transaction %d\n", size); in i801_access()
529 ret = i801_block_transaction(priv, data, read_write, size, in i801_access()
436 i801_access(struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data *data) i801_access() argument
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/include/linux/
H A Datomisp.h154 unsigned int size; member
277 u32 *effective_width; /* mipi packets valid data size */
286 u32 *effective_width; /* mipi packets valid data size */
442 /* GDC source image size [BQ] */
444 /* GDC output image size [BQ] */
446 /* GDC effective envelope size [BQ] */
448 /* isp pipe filter size [BQ] */
450 /* GDC shit size [BQ] */
668 unsigned int output_width; /* input size to ISP after binning/scaling */
842 unsigned int size; /* Siz member
852 size_t size; global() member
872 unsigned int size; global() member
883 __u32 size; /* Firmware binary size */ global() member
946 __u32 size; global() member
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dfb.h89 __u8 max_x; /* Maximum horizontal size (cm) */
90 __u8 max_y; /* Maximum vertical size (cm) */
187 u32 size; /* size of buffer in bytes */ member
198 void (*writeio)(struct fb_info *info, void __iomem *dst, void *src, unsigned int size);
199 void (*readio) (struct fb_info *info, void *dst, void __iomem *src, unsigned int size);
492 /* we need the PCI or similar aperture base/size not
493 smem_start/size as smem_start may just be an object
499 resource_size_t size; member
614 extern char* fb_get_buffer_offset(struct fb_info *info, struct fb_pixmap *buf, u32 size);
[all...]
/kernel/linux/linux-5.10/drivers/ssb/
H A Dpcmcia.c65 /* PCMCIA SPROM size. */
538 /* Write the SPROM image. size is in 16bit words. */
543 size_t size = SSB_PCMCIA_SPROM_SIZE; in ssb_pcmcia_sprom_write_all() local
553 for (i = 0; i < size; i++) { in ssb_pcmcia_sprom_write_all()
554 if (i == size / 4) in ssb_pcmcia_sprom_write_all()
556 else if (i == size / 2) in ssb_pcmcia_sprom_write_all()
558 else if (i == (size * 3) / 4) in ssb_pcmcia_sprom_write_all()
583 static int ssb_pcmcia_sprom_check_crc(const u16 *sprom, size_t size) in ssb_pcmcia_sprom_check_crc() argument
626 "id tpl size"); in ssb_pcmcia_do_get_invariants()
632 "boardrev tpl size"); in ssb_pcmcia_do_get_invariants()
[all...]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Dgsc_hpdi.c149 unsigned int size; in gsc_hpdi_drain_dma() local
160 size = devpriv->block_size / sizeof(u32); in gsc_hpdi_drain_dma()
162 if (size > devpriv->dio_count) in gsc_hpdi_drain_dma()
163 size = devpriv->dio_count; in gsc_hpdi_drain_dma()
164 devpriv->dio_count -= size; in gsc_hpdi_drain_dma()
167 size); in gsc_hpdi_drain_dma()
/kernel/linux/linux-5.10/fs/gfs2/
H A Daops.c128 * in multiples of the page size. For a file that is not a multiple of in gfs2_write_jdata_page()
129 * the page size, the remaining memory is zeroed when mapped, and in gfs2_write_jdata_page()
504 * @size: The amount to read
509 unsigned size) in gfs2_internal_read()
520 amt = size - copied; in gfs2_internal_read()
521 if (offset + size > PAGE_SIZE) in gfs2_internal_read()
533 } while(copied < size); in gfs2_internal_read()
534 (*pos) += size; in gfs2_internal_read()
535 return size; in gfs2_internal_read()
508 gfs2_internal_read(struct gfs2_inode *ip, char *buf, loff_t *pos, unsigned size) gfs2_internal_read() argument
/kernel/linux/linux-5.10/fs/hfs/
H A Dextent.c481 u32 size; in hfs_file_truncate() local
493 size = inode->i_size - 1; in hfs_file_truncate()
494 res = pagecache_write_begin(NULL, mapping, size+1, 0, 0, in hfs_file_truncate()
497 res = pagecache_write_end(NULL, mapping, size+1, 0, 0, in hfs_file_truncate()
505 size = inode->i_size + HFS_SB(sb)->alloc_blksz - 1; in hfs_file_truncate()
506 blk_cnt = size / HFS_SB(sb)->alloc_blksz; in hfs_file_truncate()

Completed in 42 milliseconds

1...<<731732733734735736737738739740>>...1587