/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | upd78f0730.c | 129 const void *data, int size) in upd78f0730_send_ctl() 135 if (size <= 0 || !data) in upd78f0730_send_ctl() 138 buf = kmemdup(data, size, GFP_KERNEL); in upd78f0730_send_ctl() 144 0x0000, 0x0000, buf, size, USB_CTRL_SET_TIMEOUT); in upd78f0730_send_ctl() 148 if (res != size) { in upd78f0730_send_ctl() 334 dev_warn(dev, "data size is not supported, using 8 bits\n"); in upd78f0730_set_termios() 128 upd78f0730_send_ctl(struct usb_serial_port *port, const void *data, int size) upd78f0730_send_ctl() argument
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | act_sample.c | 169 int size; in tcf_sample_act() local 193 size = s->truncate ? s->trunc_size : skb->len; in tcf_sample_act() 194 psample_sample_packet(psample_group, skb, size, iif, oif, in tcf_sample_act() 296 .size = sizeof(struct tcf_sample), 315 .size = sizeof(struct tc_action_net),
|
/kernel/linux/linux-5.10/include/media/ |
H A D | videobuf2-core.h | 57 * gfp_flags field of vb2_queue. The size argument to this function 120 unsigned long size, 127 unsigned long size, 136 unsigned long size, 156 * @length: size of this plane (NOT the payload) in bytes. 157 * @min_length: minimum required size of this plane (NOT the payload) in bytes. 334 * buffer in \*num_planes, the size of each plane should be 369 * also validate the buffer size; if an error is returned, 519 * @buf_struct_size: size of the driver-specific buffer structure; 779 * @requested_sizes: array with the size o 1145 vb2_set_plane_payload(struct vb2_buffer *vb, unsigned int plane_no, unsigned long size) vb2_set_plane_payload() argument [all...] |
H A D | cec.h | 379 * @size: size in bytes of the EDID data 386 u16 cec_get_edid_phys_addr(const u8 *edid, unsigned int size, 418 static inline u16 cec_get_edid_phys_addr(const u8 *edid, unsigned int size, in cec_get_edid_phys_addr() argument 457 * @size: the size of the EDID 463 * The returned location is guaranteed to be <= size-2. 470 unsigned int size) in cec_get_edid_spa_location() 472 unsigned int blocks = size / 128; in cec_get_edid_spa_location() 476 /* Sanity check: at least 2 blocks and a multiple of the block size */ in cec_get_edid_spa_location() 469 cec_get_edid_spa_location(const u8 *edid, unsigned int size) cec_get_edid_spa_location() argument [all...] |
/kernel/linux/linux-5.10/include/linux/usb/ |
H A D | serial.h | 41 * @interrupt_out_size: the size of the interrupt_out_buffer, in bytes. 46 * @bulk_in_size: the size of the bulk_in_buffer, in bytes. 54 * @bulk_out_size: the size of the bulk_out_buffer, in bytes. 201 * (0 = end-point size) 202 * @bulk_out_size: bytes to allocate for bulk-out buffer (0 = end-point size) 313 void *dest, size_t size); 359 int usb_serial_generic_prepare_write_buffer(struct usb_serial_port *port, void *dest, size_t size); 386 const char *function, int size, in usb_serial_debug_data() 390 function, size, size, dat in usb_serial_debug_data() 385 usb_serial_debug_data(struct device *dev, const char *function, int size, const unsigned char *data) usb_serial_debug_data() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | net.h | 180 * a minimum size of sizeof(struct sockaddr_storage). 187 int offset, size_t size, int flags); 199 int offset, size_t size, int flags); 201 size_t size); 320 size_t size, int flags); 322 size_t size, int flags);
|
H A D | remoteproc.h | 198 * the physical address we want to map, @len should specify the size of 229 * its size, and @name may contain a human readable name of the trace buffer. 275 * @config_len is the size of the virtio config space of this vdev. The config 299 * spec). the size of the config space is specified by @config_len. 461 * @size: size of the segment 470 size_t size; member 474 void *dest, size_t offset, size_t size); 507 * @table_sz: size of @cached_table 657 int rproc_coredump_add_segment(struct rproc *rproc, dma_addr_t da, size_t size); [all...] |
H A D | ioport.h | 51 #define IORESOURCE_SIZEALIGN 0x00040000 /* size indicates alignment */ 199 resource_size_t size, resource_size_t min, 208 resource_size_t size); 283 extern int iomem_map_sanity_check(resource_size_t addr, unsigned long size); 306 struct resource *base, unsigned long size); 308 unsigned long size, const char *name);
|
/kernel/linux/linux-5.10/security/integrity/evm/ |
H A D | evm_crypto.c | 41 * @size: length of the key data 196 int size; in evm_calc_hmac_or_hash() local 225 size = vfs_getxattr_alloc(dentry, xattr->name, in evm_calc_hmac_or_hash() 227 if (size == -ENOMEM) { in evm_calc_hmac_or_hash() 231 if (size < 0) in evm_calc_hmac_or_hash() 235 xattr_size = size; in evm_calc_hmac_or_hash()
|
/kernel/linux/linux-5.10/scripts/ |
H A D | sorttable.c | 75 static void *mmap_file(char const *fname, size_t *size) in mmap_file() argument 101 *size = sb.st_size; in mmap_file() 430 size_t size = 0; in main() local 440 addr = mmap_file(argv[i], &size); in main() 449 munmap(addr, size); in main()
|
/kernel/linux/linux-5.10/sound/soc/sof/ |
H A D | trace.c | 76 size_t avail, buffer_size = dfse->size; in sof_dfsentry_trace_read() 148 dfse->size = sdev->dmatb.bytes; in trace_debugfs_create() 175 params.hdr.size = sizeof(struct sof_ipc_dma_trace_params_ext); in snd_sof_init_trace_ipc() 179 params.hdr.size = sizeof(struct sof_ipc_dma_trace_params); in snd_sof_init_trace_ipc() 183 params.buffer.size = sdev->dmatb.bytes; in snd_sof_init_trace_ipc()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | vdso.c | 76 size_t size; in get_file() local 85 size = end - start; in get_file() 87 buf = memdup(start, size); in get_file() 95 if (size == (size_t) write(fd, buf, size)) in get_file()
|
/kernel/linux/linux-5.10/drivers/xen/ |
H A D | efi.c | 129 efi_data(op).u.get_variable.size = *data_size; in xen_efi_get_variable() 135 *data_size = efi_data(op).u.get_variable.size; in xen_efi_get_variable() 148 efi_data(op).u.get_next_variable_name.size = *name_size; in xen_efi_get_next_variable() 158 *name_size = efi_data(op).u.get_next_variable_name.size; in xen_efi_get_next_variable() 176 efi_data(op).u.set_variable.size = data_size; in xen_efi_set_variable()
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | attributes.c | 70 * the size of the key_len field itself. in hfsplus_attr_build_key() 97 u32 cnid, const void *value, size_t size) in hfsplus_attr_build_record() 118 if (size <= HFSPLUS_MAX_INLINE_DATA_SIZE) in hfsplus_attr_build_record() 119 len = size; in hfsplus_attr_build_record() 196 const void *value, size_t size) in hfsplus_create_attr() 239 value, size); in hfsplus_create_attr() 96 hfsplus_attr_build_record(hfsplus_attr_entry *entry, int record_type, u32 cnid, const void *value, size_t size) hfsplus_attr_build_record() argument 194 hfsplus_create_attr(struct inode *inode, const char *name, const void *value, size_t size) hfsplus_create_attr() argument
|
/kernel/linux/linux-5.10/fs/adfs/ |
H A D | dir_f.c | 141 static int adfs_f_read(struct super_block *sb, u32 indaddr, unsigned int size, in adfs_f_read() argument 147 if (size && size != ADFS_NEWDIR_SIZE) in adfs_f_read() 191 obj->size = adfs_readval(de->dirlen, 4); in adfs_dir2obj() 206 adfs_writeval(de->dirlen, 4, obj->size); in adfs_obj2dir()
|
/kernel/linux/linux-5.10/fs/fuse/ |
H A D | control.c | 51 size_t size; in fuse_conn_waiting_read() local 63 size = sprintf(tmp, "%ld\n", (long)file->private_data); in fuse_conn_waiting_read() 64 return simple_read_from_buffer(buf, len, ppos, tmp, size); in fuse_conn_waiting_read() 71 size_t size = sprintf(tmp, "%u\n", val); in fuse_conn_limit_read() local 73 return simple_read_from_buffer(buf, len, ppos, tmp, size); in fuse_conn_limit_read()
|
/kernel/linux/linux-5.10/mm/ |
H A D | page_ext.c | 47 * extra memory through size in struct page_ext_operations. If it is non-zero, 83 page_ext_size += page_ext_ops[i]->size; in invoke_need_callbacks() 211 static void *__meminit alloc_page_ext(size_t size, int nid) in alloc_page_ext() argument 216 addr = alloc_pages_exact_nid(nid, size, flags); in alloc_page_ext() 218 kmemleak_alloc(addr, size, 1, flags); in alloc_page_ext() 222 addr = vzalloc_node(size, nid); in alloc_page_ext()
|
/kernel/linux/linux-5.10/lib/ |
H A D | bootconfig.c | 214 * @size: The size of the @buf. 227 char *buf, size_t size) in xbc_node_compose_key_after() 249 ret = snprintf(buf, size, "%s%s", xbc_node_get_data(node), in xbc_node_compose_key_after() 253 if (ret > size) { in xbc_node_compose_key_after() 254 size = 0; in xbc_node_compose_key_after() 256 size -= ret; in xbc_node_compose_key_after() 225 xbc_node_compose_key_after(struct xbc_node *root, struct xbc_node *node, char *buf, size_t size) xbc_node_compose_key_after() argument
|
/kernel/linux/linux-5.10/mm/kasan/ |
H A D | quarantine.c | 40 * Each queue is a signle-linked list, which also stores the total size of 64 size_t size) in qlist_put() 72 q->bytes += size; in qlist_put() 107 /* Total size of all objects in global_quarantine across all batches. */ 112 /* Maximum size of the global queue. */ 116 * Target size of a batch in global_quarantine. 197 qlist_put(q, &info->quarantine_link, cache->size); in quarantine_put() 244 * Update quarantine size in case of hotplug. Allocate a fraction of in quarantine_reduce() 287 qlist_put(to, curr, obj_cache->size); in qlist_move_cache() 289 qlist_put(from, curr, obj_cache->size); in qlist_move_cache() 63 qlist_put(struct qlist_head *q, struct qlist_node *qlink, size_t size) qlist_put() argument [all...] |
/kernel/linux/linux-5.10/fs/sharefs/ |
H A D | config.c | 235 size_t size; \ 243 size = -EINVAL; \ 249 size = err; \ 253 size = count; \ 255 return size; \
|
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/ |
H A D | usb-urb.c | 111 static int usb_allocate_stream_buffers(struct usb_data_stream *stream, int num, unsigned long size) in usb_allocate_stream_buffers() argument 114 stream->buf_size = size; in usb_allocate_stream_buffers() 116 deb_mem("all in all I will use %lu bytes for streaming\n",num*size); in usb_allocate_stream_buffers() 121 usb_alloc_coherent(stream->udev, size, GFP_KERNEL, in usb_allocate_stream_buffers() 130 memset(stream->buf_list[stream->buf_num],0,size); in usb_allocate_stream_buffers()
|
/kernel/linux/linux-5.10/drivers/media/usb/stk1160/ |
H A D | stk1160-core.c | 14 * 1. Support stream at lower speed: lower frame rate or lower frame size. 177 int i, e, sizedescr, size, ifnum; in stk1160_scan_usb() local 193 size = sizedescr & 0x7ff; in stk1160_scan_usb() 196 size = size * hb_mult(sizedescr); in stk1160_scan_usb() 206 max_pkt_size[i] = size; in stk1160_scan_usb()
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
H A D | vivid-radio-rx.c | 26 size_t size, loff_t *offset) in vivid_radio_rx_read() 38 if (size < sizeof(*data)) in vivid_radio_rx_read() 40 size = sizeof(*data) * (size / sizeof(*data)); in vivid_radio_rx_read() 90 for (i = 0; i < size && blk > dev->radio_rx_rds_last_block; in vivid_radio_rx_read() 25 vivid_radio_rx_read(struct file *file, char __user *buf, size_t size, loff_t *offset) vivid_radio_rx_read() argument
|
/kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
H A D | sq905.c | 39 /* Maximum transfer size to use. */ 158 sq905_read_data(struct gspca_dev *gspca_dev, u8 *data, int size, int need_lock) in sq905_read_data() argument 170 SQ905_BULK_READ, size, gspca_dev->usb_buf, in sq905_read_data() 180 data, size, &act_len, SQ905_DATA_TIMEOUT); in sq905_read_data() 183 if (ret < 0 || act_len != size) { in sq905_read_data() 184 pr_err("bulk read fail (%d) len %d/%d\n", ret, act_len, size); in sq905_read_data() 203 int data_len; /* size to use for the next read. */ in sq905_dostream() 359 /* "Open the shutter" and set size, to start capture */ in sd_start()
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | dell-smbios-wmi.c | 88 size_t size; in dell_smbios_wmi_call() local 98 size = sizeof(struct calling_interface_buffer); in dell_smbios_wmi_call() 99 difference = priv->req_buf_size - sizeof(u64) - size; in dell_smbios_wmi_call() 102 memcpy(&priv->buf->std, buffer, size); in dell_smbios_wmi_call() 104 memcpy(buffer, &priv->buf->std, size); in dell_smbios_wmi_call() 165 /* WMI buffer size will be either 4k or 32k depending on machine */ in dell_smbios_wmi_probe()
|