| /kernel/linux/linux-5.10/net/netfilter/ |
| H A D | nf_log.c | 418 void *buffer, size_t *lenp, loff_t *ppos) in nf_log_proc_dostring() 434 r = proc_dostring(&tmp, write, buffer, lenp, ppos); in nf_log_proc_dostring() 461 r = proc_dostring(&tmp, write, buffer, lenp, ppos); in nf_log_proc_dostring() 417 nf_log_proc_dostring(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) nf_log_proc_dostring() argument
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_msg.c | 198 * @reply: Pointer to buffer holding reply. 354 /* Receive buffer */ in vmw_recv_msg() 371 /* Ack buffer */ in vmw_recv_msg() 413 * @buffer: if NULL, *reply_len will contain reply size. 419 char *buffer, size_t *length) in vmw_host_get_guestinfo() 446 if (buffer && reply && reply_len > 0) { in vmw_host_get_guestinfo() 454 memcpy(buffer, reply + 2, reply_len); in vmw_host_get_guestinfo() 418 vmw_host_get_guestinfo(const char *guest_info_param, char *buffer, size_t *length) vmw_host_get_guestinfo() argument
|
| /kernel/linux/linux-5.10/drivers/media/radio/si470x/ |
| H A D | radio-si470x-i2c.c | 47 /* RDS buffer blocks */ 50 MODULE_PARM_DESC(rds_buf, "RDS buffer entries: *100*"); 296 /* Fill the V4L2 RDS buffer */ in si470x_i2c_interrupt() 305 /* copy RDS block to internal buffer */ in si470x_i2c_interrupt() 306 memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); in si470x_i2c_interrupt() 432 /* rds buffer allocation */ in si470x_i2c_probe() 434 radio->buffer = devm_kmalloc(&client->dev, radio->buf_size, GFP_KERNEL); in si470x_i2c_probe() 435 if (!radio->buffer) { in si470x_i2c_probe() 440 /* rds buffer configuration */ in si470x_i2c_probe()
|
| /kernel/linux/linux-5.10/drivers/media/usb/b2c2/ |
| H A D | flexcop-usb.c | 330 u8 *buffer, int buffer_length) in flexcop_usb_process_frame() 339 memcpy(fc_usb->tmp_buffer+fc_usb->tmp_buffer_length, buffer, in flexcop_usb_process_frame() 345 b=buffer; in flexcop_usb_process_frame() 505 /* use the alternate setting with the larges buffer */ in flexcop_usb_init() 329 flexcop_usb_process_frame(struct flexcop_usb *fc_usb, u8 *buffer, int buffer_length) flexcop_usb_process_frame() argument
|
| /kernel/linux/linux-5.10/drivers/platform/chrome/ |
| H A D | cros_ec_ishtp.c | 20 * ISH TX/RX ring buffer pool size 23 * serialized. We need 1 TX and 1 RX buffer for these. 26 * buffer for them. 90 * @max_size: Max size allocated for the @data buffer. If the received 155 * @out_msg: Message buffer to be sent to firmware 157 * @in_msg: Message buffer where the incoming data is copied. This buffer 211 * @rb_in_proc: Host interface message buffer 226 (struct cros_ish_in_msg *)rb_in_proc->buffer.data; in process_recv() 230 /* Free the buffer */ in process_recv() [all...] |
| /kernel/linux/linux-5.10/include/linux/ |
| H A D | ftrace.h | 43 /* Main tracing buffer and events set up */ 88 void *buffer, size_t *lenp, loff_t *ppos); 348 int stack_trace_sysctl(struct ctl_table *table, int write, void *buffer, 1030 void *buffer, size_t *lenp, loff_t *ppos);
|
| /kernel/linux/linux-5.10/fs/minix/ |
| H A D | dir.c | 136 const char * name, const char * buffer) in namecompare() 138 if (len < maxlen && buffer[len]) in namecompare() 140 return !memcmp(name, buffer, len); in namecompare() 147 * returns the cache buffer in which the entry was found, and the entry 135 namecompare(int len, int maxlen, const char * name, const char * buffer) namecompare() argument
|
| /kernel/linux/linux-6.6/drivers/misc/ibmasm/ |
| H A D | ibmasmfs.c | 287 if (copy_to_user(buf, cmd->buffer, len)) { in command_file_read() 317 if (copy_from_user(cmd->buffer, ubuff, count)) { in command_file_write() 332 ibmasm_wait_for_response(cmd, get_dot_command_timeout(cmd->buffer)); in command_file_write()
|
| /kernel/linux/linux-6.6/drivers/mmc/host/ |
| H A D | sdhci-esdhc-mcf.c | 303 u32 *buffer; in esdhc_mcf_request_done() local 317 buffer = (u32 *)sg_virt(sg); in esdhc_mcf_request_done() 318 esdhc_mcf_buffer_swap32(buffer, sg->length); in esdhc_mcf_request_done() 467 dev_err(&pdev->dev, "bounce buffer not allocated"); in sdhci_esdhc_mcf_probe()
|
| /kernel/linux/linux-6.6/drivers/media/radio/si470x/ |
| H A D | radio-si470x-i2c.c | 47 /* RDS buffer blocks */ 50 MODULE_PARM_DESC(rds_buf, "RDS buffer entries: *100*"); 296 /* Fill the V4L2 RDS buffer */ in si470x_i2c_interrupt() 305 /* copy RDS block to internal buffer */ in si470x_i2c_interrupt() 306 memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); in si470x_i2c_interrupt() 421 /* rds buffer allocation */ in si470x_i2c_probe() 423 radio->buffer = devm_kmalloc(&client->dev, radio->buf_size, GFP_KERNEL); in si470x_i2c_probe() 424 if (!radio->buffer) { in si470x_i2c_probe() 429 /* rds buffer configuration */ in si470x_i2c_probe()
|
| /kernel/linux/linux-6.6/drivers/acpi/x86/ |
| H A D | s2idle.c | 423 if (!obj || obj->type != ACPI_TYPE_BUFFER || obj->buffer.length == 0 || in validate_dsm() 424 obj->buffer.length > sizeof(u32)) { in validate_dsm() 430 ret = *(int *)obj->buffer.pointer; in validate_dsm()
|
| /kernel/linux/linux-6.6/fs/ |
| H A D | fsopen.c | 29 unsigned int logsize = ARRAY_SIZE(log->buffer); in fscontext_read() 45 p = log->buffer[index]; in fscontext_read() 47 log->buffer[index] = NULL; in fscontext_read()
|
| /kernel/linux/linux-6.6/fs/minix/ |
| H A D | dir.c | 142 const char * name, const char * buffer) in namecompare() 144 if (len < maxlen && buffer[len]) in namecompare() 146 return !memcmp(name, buffer, len); in namecompare() 153 * returns the cache buffer in which the entry was found, and the entry 141 namecompare(int len, int maxlen, const char * name, const char * buffer) namecompare() argument
|
| /kernel/linux/linux-6.6/fs/bfs/ |
| H A D | dir.c | 314 const char *buffer) in bfs_namecmp() 316 if ((len < BFS_NAMELEN) && buffer[len]) in bfs_namecmp() 318 return !memcmp(name, buffer, len); in bfs_namecmp() 313 bfs_namecmp(int len, const unsigned char *name, const char *buffer) bfs_namecmp() argument
|
| /kernel/linux/linux-6.6/fs/sysv/ |
| H A D | dir.c | 116 * buffer[0..] (filled with zeroes up to buffer[0..maxlen-1]) 119 const char * name, const char * buffer) in namecompare() 121 if (len < maxlen && buffer[len]) in namecompare() 123 return !memcmp(name, buffer, len); in namecompare() 130 * returns the cache buffer in which the entry was found, and the entry 118 namecompare(int len, int maxlen, const char * name, const char * buffer) namecompare() argument
|
| /kernel/linux/linux-6.6/drivers/xen/ |
| H A D | xen-acpi-processor.c | 333 struct acpi_buffer buffer = { sizeof(union acpi_object), &object }; in read_acpi_id() local 342 status = acpi_evaluate_object(handle, NULL, NULL, &buffer); in read_acpi_id() 382 status = acpi_evaluate_object(handle, "_CST", NULL, &buffer); in read_acpi_id()
|
| /kernel/linux/linux-6.6/include/drm/display/ |
| H A D | drm_dp_helper.h | 263 * @buffer: pointer to a transmission or reception buffer 264 * @size: size of @buffer 270 void *buffer; member 456 void *buffer, size_t size); 458 void *buffer, size_t size);
|
| /kernel/linux/linux-6.6/drivers/ufs/host/ |
| H A D | ufshcd-pci.c | 65 if (obj->type != ACPI_TYPE_BUFFER || obj->buffer.length < 1) { in __intel_dsm() 70 len = min_t(size_t, obj->buffer.length, 4); in __intel_dsm() 73 memcpy(result, obj->buffer.pointer, len); in __intel_dsm()
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/ |
| H A D | cyber2000fb.h | 7 * Integraphics Cyber2000 frame buffer device 22 char buffer[128]; in debug_printf() local 26 vsprintf(buffer, fmt, ap); in debug_printf() 29 printascii(buffer); in debug_printf()
|
| /kernel/linux/linux-6.6/drivers/platform/chrome/ |
| H A D | cros_ec_ishtp.c | 20 * ISH TX/RX ring buffer pool size 23 * serialized. We need 1 TX and 1 RX buffer for these. 26 * buffer for them. 93 * @max_size: Max size allocated for the @data buffer. If the received 154 * @out_msg: Message buffer to be sent to firmware 156 * @in_msg: Message buffer where the incoming data is copied. This buffer 210 * @rb_in_proc: Host interface message buffer 225 (struct cros_ish_in_msg *)rb_in_proc->buffer.data; in process_recv() 229 /* Free the buffer */ in process_recv() [all...] |
| /kernel/linux/linux-6.6/drivers/platform/x86/intel/ |
| H A D | hid.c | 306 switch (obj->buffer.length) { in intel_hid_init_dsm() 309 intel_hid_dsm_fn_mask = *(u16 *)obj->buffer.pointer; in intel_hid_init_dsm() 312 intel_hid_dsm_fn_mask = *obj->buffer.pointer; in intel_hid_init_dsm()
|
| /kernel/linux/linux-6.6/drivers/usb/misc/ |
| H A D | chaoskey.c | 335 /* Fill the buffer. Called with dev->lock held 345 /* Return immediately if someone called before the buffer was in _chaoskey_fill() 407 char __user *buffer, in chaoskey_read() 449 remain = copy_to_user(buffer, dev->buf + dev->used, this_time); in chaoskey_read() 463 buffer += this_time; in chaoskey_read() 501 /* Try to fill the buffer if empty. It doesn't actually matter in chaoskey_rng_read() 503 * the buffer will still be empty in chaoskey_rng_read() 406 chaoskey_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos) chaoskey_read() argument
|
| H A D | usbsevseg.c | 110 unsigned char buffer[MAXLEN] = {0}; in update_display_visual() local 118 buffer[i] = mydev->text[mydev->textlength-1-i]; in update_display_visual() 123 &buffer, mydev->textlength, 2000, mf); in update_display_visual()
|
| /kernel/linux/linux-6.6/drivers/block/ |
| H A D | ps3disk.c | 56 u64 buffer; member 349 ata_cmnd.buffer = dev->bounce_lpar; in ps3disk_identify() 355 sizeof(ata_cmnd), ata_cmnd.buffer, in ps3disk_identify()
|
| /kernel/linux/linux-6.6/drivers/char/tpm/ |
| H A D | tpm_nsc.c | 48 NSC_STATUS_OBF = 0x01, /* output buffer full */ 49 NSC_STATUS_IBF = 0x02, /* input buffer full */ 126 u8 *buffer = buf; in tpm_nsc_recv() local 147 for (p = buffer; p < &buffer[count]; p++) { in tpm_nsc_recv()
|