| /kernel/linux/linux-5.10/kernel/irq/ |
| H A D | proc.c | 138 const char __user *buffer, size_t count, loff_t *pos) in write_irq_affinity() 151 err = cpumask_parselist_user(buffer, count, new_value); in write_irq_affinity() 153 err = cpumask_parse_user(buffer, count, new_value); in write_irq_affinity() 186 const char __user *buffer, size_t count, loff_t *pos) in irq_affinity_proc_write() 188 return write_irq_affinity(0, file, buffer, count, pos); in irq_affinity_proc_write() 192 const char __user *buffer, size_t count, loff_t *pos) in irq_affinity_list_proc_write() 194 return write_irq_affinity(1, file, buffer, count, pos); in irq_affinity_list_proc_write() 242 const char __user *buffer, size_t count, loff_t *ppos) in default_affinity_write() 250 err = cpumask_parse_user(buffer, count, new_value); in default_affinity_write() 137 write_irq_affinity(int type, struct file *file, const char __user *buffer, size_t count, loff_t *pos) write_irq_affinity() argument 185 irq_affinity_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) irq_affinity_proc_write() argument 191 irq_affinity_list_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) irq_affinity_list_proc_write() argument 241 default_affinity_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) default_affinity_write() argument
|
| H A D | timings.c | 41 * buffer every time there is an interrupt, as a tuple: the interrupt 55 * where the interrupts are disabled and the circular buffer 59 * At this point, we read the circular buffer and we fill the irq 82 * the suite whatever its position in the buffer. 129 * Compute a new_ema(buffer[index], interval) 130 * Store the index in a circular buffer 190 * buffer: 8, 15, 8, 8, 8, 8, 15, 8, 8, 8, 8, 15, 8, 8, 8 246 * buffer: 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 4 251 * buffer: 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 4 273 * Number of elements in the circular buffer 317 irq_timings_next_event_index(int *buffer, size_t len, int period_max) irq_timings_next_event_index() argument 715 int buffer[IRQ_TIMINGS_SIZE]; irq_timings_test_next_index() local [all...] |
| /kernel/linux/linux-5.10/fs/squashfs/ |
| H A D | file.c | 364 void squashfs_fill_page(struct page *page, struct squashfs_cache_entry *buffer, int offset, int avail) in squashfs_fill_page() argument 370 copied = squashfs_copy_data(pageaddr, buffer, offset, avail); in squashfs_fill_page() 382 void squashfs_copy_cache(struct page *page, struct squashfs_cache_entry *buffer, in squashfs_copy_cache() argument 399 int avail = buffer ? min_t(int, bytes, PAGE_SIZE) : 0; in squashfs_copy_cache() 412 squashfs_fill_page(push_page, buffer, offset, avail); in squashfs_copy_cache() 424 struct squashfs_cache_entry *buffer = squashfs_get_fragment(inode->i_sb, in squashfs_readpage_fragment() local 427 int res = buffer->error; in squashfs_readpage_fragment() 434 squashfs_copy_cache(page, buffer, expected, in squashfs_readpage_fragment() 437 squashfs_cache_put(buffer); in squashfs_readpage_fragment()
|
| /kernel/linux/linux-5.10/drivers/ssb/ |
| H A D | sdio.c | 297 static void ssb_sdio_block_read(struct ssb_device *dev, void *buffer, in ssb_sdio_block_read() argument 307 memset(buffer, 0xff, count); in ssb_sdio_block_read() 315 error = sdio_readsb(bus->host_sdio, buffer, offset, count); in ssb_sdio_block_read() 320 error = sdio_readsb(bus->host_sdio, buffer, offset, count); in ssb_sdio_block_read() 326 error = sdio_readsb(bus->host_sdio, buffer, offset, count); in ssb_sdio_block_read() 404 static void ssb_sdio_block_write(struct ssb_device *dev, const void *buffer, in ssb_sdio_block_write() argument 422 (void *)buffer, count); in ssb_sdio_block_write() 427 (void *)buffer, count); in ssb_sdio_block_write() 433 (void *)buffer, count); in ssb_sdio_block_write()
|
| /kernel/linux/linux-6.6/drivers/media/i2c/ |
| H A D | mt9v011.c | 73 __be16 buffer; in mt9v011_read() local 83 rc = i2c_master_recv(c, (char *)&buffer, 2); in mt9v011_read() 88 val = be16_to_cpu(buffer); in mt9v011_read() 99 unsigned char buffer[3]; in mt9v011_write() local 102 buffer[0] = addr; in mt9v011_write() 103 buffer[1] = value >> 8; in mt9v011_write() 104 buffer[2] = value & 0xff; in mt9v011_write() 107 "mt9v011: writing 0x%02x 0x%04x\n", buffer[0], value); in mt9v011_write() 108 rc = i2c_master_send(c, buffer, 3); in mt9v011_write()
|
| /kernel/linux/linux-6.6/drivers/android/ |
| H A D | binder_trace.h | 303 TP_PROTO(struct binder_buffer *buffer), 304 TP_ARGS(buffer)); 307 TP_PROTO(struct binder_buffer *buffer), 308 TP_ARGS(buffer)); 311 TP_PROTO(struct binder_buffer *buffer), 312 TP_ARGS(buffer)); 315 TP_PROTO(struct binder_buffer *buffer), 316 TP_ARGS(buffer)); 331 __entry->offset = start - alloc->buffer;
|
| /kernel/linux/linux-6.6/drivers/acpi/ |
| H A D | fan_core.c | 49 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_fan_get_fst() local 54 status = acpi_evaluate_object(device->handle, "_FST", NULL, &buffer); in acpi_fan_get_fst() 60 obj = buffer.pointer; in acpi_fan_get_fst() 216 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_fan_get_fif() local 224 status = acpi_evaluate_object(device->handle, "_FIF", NULL, &buffer); in acpi_fan_get_fif() 228 obj = buffer.pointer; in acpi_fan_get_fif() 268 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_fan_get_fps() local 273 status = acpi_evaluate_object(device->handle, "_FPS", NULL, &buffer); in acpi_fan_get_fps() 277 obj = buffer.pointer; in acpi_fan_get_fps()
|
| H A D | processor_pdc.c | 55 obj->buffer.length = 12; in acpi_processor_alloc_pdc() 56 obj->buffer.pointer = (u8 *) buf; in acpi_processor_alloc_pdc() 97 kfree(obj_list->pointer->buffer.pointer); in acpi_processor_set_pdc()
|
| /kernel/linux/linux-6.6/drivers/ssb/ |
| H A D | sdio.c | 297 static void ssb_sdio_block_read(struct ssb_device *dev, void *buffer, in ssb_sdio_block_read() argument 307 memset(buffer, 0xff, count); in ssb_sdio_block_read() 315 error = sdio_readsb(bus->host_sdio, buffer, offset, count); in ssb_sdio_block_read() 320 error = sdio_readsb(bus->host_sdio, buffer, offset, count); in ssb_sdio_block_read() 326 error = sdio_readsb(bus->host_sdio, buffer, offset, count); in ssb_sdio_block_read() 404 static void ssb_sdio_block_write(struct ssb_device *dev, const void *buffer, in ssb_sdio_block_write() argument 422 (void *)buffer, count); in ssb_sdio_block_write() 427 (void *)buffer, count); in ssb_sdio_block_write() 433 (void *)buffer, count); in ssb_sdio_block_write()
|
| /kernel/linux/linux-6.6/drivers/vdpa/vdpa_sim/ |
| H A D | vdpa_sim_net.c | 61 void *buffer; member 96 if (is_broadcast_ether_addr(net->buffer + hdr_len) || in receive_filter() 97 is_multicast_ether_addr(net->buffer + hdr_len)) in receive_filter() 99 if (!strncmp(net->buffer + hdr_len, vio_config->mac, ETH_ALEN)) in receive_filter() 230 net->buffer, PAGE_SIZE); in vdpasim_net_work() 249 net->buffer, read); in vdpasim_net_work() 435 kvfree(net->buffer); in vdpasim_net_free() 481 net->buffer = kvmalloc(PAGE_SIZE, GFP_KERNEL); in vdpasim_net_dev_add() 482 if (!net->buffer) { in vdpasim_net_dev_add()
|
| /kernel/linux/linux-6.6/drivers/char/hw_random/ |
| H A D | core.c | 59 static inline int rng_get_data(struct hwrng *rng, u8 *buffer, size_t size, 193 static inline int rng_get_data(struct hwrng *rng, u8 *buffer, size_t size, in rng_get_data() argument 199 return rng->read(rng, (void *)buffer, size, wait); in rng_get_data() 207 return rng->data_read(rng, (u32 *)buffer); in rng_get_data() 215 u8 buffer[RNG_BUFFER_SIZE]; in rng_dev_read() local 259 memcpy(buffer, rng_buffer + data_avail, len); in rng_dev_read() 265 if (copy_to_user(buf + ret, buffer, len)) { in rng_dev_read() 284 memzero_explicit(buffer, sizeof(buffer)); in rng_dev_read()
|
| /kernel/linux/linux-6.6/kernel/irq/ |
| H A D | timings.c | 41 * buffer every time there is an interrupt, as a tuple: the interrupt 55 * where the interrupts are disabled and the circular buffer 59 * At this point, we read the circular buffer and we fill the irq 82 * the suite whatever its position in the buffer. 129 * Compute a new_ema(buffer[index], interval) 130 * Store the index in a circular buffer 190 * buffer: 8, 15, 8, 8, 8, 8, 15, 8, 8, 8, 8, 15, 8, 8, 8 246 * buffer: 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 4 251 * buffer: 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 4 273 * Number of elements in the circular buffer 317 irq_timings_next_event_index(int *buffer, size_t len, int period_max) irq_timings_next_event_index() argument 715 int buffer[IRQ_TIMINGS_SIZE]; irq_timings_test_next_index() local [all...] |
| H A D | proc.c | 138 const char __user *buffer, size_t count, loff_t *pos) in write_irq_affinity() 151 err = cpumask_parselist_user(buffer, count, new_value); in write_irq_affinity() 153 err = cpumask_parse_user(buffer, count, new_value); in write_irq_affinity() 186 const char __user *buffer, size_t count, loff_t *pos) in irq_affinity_proc_write() 188 return write_irq_affinity(0, file, buffer, count, pos); in irq_affinity_proc_write() 192 const char __user *buffer, size_t count, loff_t *pos) in irq_affinity_list_proc_write() 194 return write_irq_affinity(1, file, buffer, count, pos); in irq_affinity_list_proc_write() 242 const char __user *buffer, size_t count, loff_t *ppos) in default_affinity_write() 250 err = cpumask_parse_user(buffer, count, new_value); in default_affinity_write() 137 write_irq_affinity(int type, struct file *file, const char __user *buffer, size_t count, loff_t *pos) write_irq_affinity() argument 185 irq_affinity_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) irq_affinity_proc_write() argument 191 irq_affinity_list_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) irq_affinity_list_proc_write() argument 241 default_affinity_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) default_affinity_write() argument
|
| /kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/ |
| H A D | debug.c | 48 ssize_t (*cb_write)(struct file *filp, const char __user *buffer, 266 const char __user *buffer, in rtl_debugfs_set_write_reg() 281 if (copy_from_user(tmp, buffer, tmp_len)) in rtl_debugfs_set_write_reg() 315 const char __user *buffer, in rtl_debugfs_set_write_h2c() 332 if (copy_from_user(tmp, buffer, tmp_len)) in rtl_debugfs_set_write_h2c() 361 const char __user *buffer, in rtl_debugfs_set_write_rfreg() 378 if (copy_from_user(tmp, buffer, tmp_len)) in rtl_debugfs_set_write_rfreg() 407 const char __user *buffer, in rtl_debugfs_common_write() 412 return debugfs_priv->cb_write(filp, buffer, count, loff); in rtl_debugfs_common_write() 265 rtl_debugfs_set_write_reg(struct file *filp, const char __user *buffer, size_t count, loff_t *loff) rtl_debugfs_set_write_reg() argument 314 rtl_debugfs_set_write_h2c(struct file *filp, const char __user *buffer, size_t count, loff_t *loff) rtl_debugfs_set_write_h2c() argument 360 rtl_debugfs_set_write_rfreg(struct file *filp, const char __user *buffer, size_t count, loff_t *loff) rtl_debugfs_set_write_rfreg() argument 406 rtl_debugfs_common_write(struct file *filp, const char __user *buffer, size_t count, loff_t *loff) rtl_debugfs_common_write() argument
|
| /kernel/linux/linux-6.6/drivers/i2c/busses/ |
| H A D | scx200_acb.c | 275 u8 *buffer; in scx200_acb_smbus_xfer() local 282 buffer = NULL; in scx200_acb_smbus_xfer() 287 buffer = rw ? &data->byte : &command; in scx200_acb_smbus_xfer() 292 buffer = &data->byte; in scx200_acb_smbus_xfer() 298 buffer = (u8 *)&cur_word; in scx200_acb_smbus_xfer() 305 buffer = &data->block[1]; in scx200_acb_smbus_xfer() 325 iface->ptr = buffer; in scx200_acb_smbus_xfer() 352 if (buffer) { in scx200_acb_smbus_xfer() 356 printk(" %02x", buffer[i]); in scx200_acb_smbus_xfer()
|
| /kernel/linux/linux-6.6/sound/pci/oxygen/ |
| H A D | xonar_cs43xx.c | 367 struct snd_info_buffer *buffer) in dump_cs4362a_registers() 371 snd_iprintf(buffer, "\nCS4362A:"); in dump_cs4362a_registers() 373 snd_iprintf(buffer, " %02x", data->cs4362a_regs[i]); in dump_cs4362a_registers() 374 snd_iprintf(buffer, "\n"); in dump_cs4362a_registers() 378 struct snd_info_buffer *buffer) in dump_d1_registers() 383 snd_iprintf(buffer, "\nCS4398: 7?"); in dump_d1_registers() 385 snd_iprintf(buffer, " %02x", data->cs4398_regs[i]); in dump_d1_registers() 386 snd_iprintf(buffer, "\n"); in dump_d1_registers() 387 dump_cs4362a_registers(data, buffer); in dump_d1_registers() 366 dump_cs4362a_registers(struct xonar_cs43xx *data, struct snd_info_buffer *buffer) dump_cs4362a_registers() argument 377 dump_d1_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_d1_registers() argument
|
| /kernel/linux/linux-5.10/drivers/media/usb/s2255/ |
| H A D | s2255drv.c | 8 * Some video buffer code based on vivi driver: 159 /* image buffer structure */ 161 unsigned long dwFrames; /* number of frames in buffer */ 211 struct s2255_bufferi buffer; member 280 /* buffer for one video frame */ 282 /* common v4l buffer stuff -- must be first */ 564 /* tell v4l buffer was filled */ in s2255_got_frame() 584 /* video buffer vmalloc implementation based partly on VIVI driver which is 606 (const char *)vc->buffer.frame[last_frame].lpvbits; in s2255_fillbuff() 673 dprintk(vc->dev, 4, "invalid buffer prepar in buffer_prepare() 990 __le32 *buffer = dev->cmdbuf; s2255_set_mode() local 1038 __le32 *buffer = dev->cmdbuf; s2255_cmd_status() local 2121 __le32 *buffer = dev->cmdbuf; s2255_start_acquire() local 2151 __le32 *buffer = dev->cmdbuf; s2255_stop_acquire() local [all...] |
| /kernel/linux/linux-6.6/drivers/media/usb/s2255/ |
| H A D | s2255drv.c | 8 * Some video buffer code based on vivi driver: 159 /* image buffer structure */ 161 unsigned long dwFrames; /* number of frames in buffer */ 211 struct s2255_bufferi buffer; member 280 /* buffer for one video frame */ 282 /* common v4l buffer stuff -- must be first */ 564 /* tell v4l buffer was filled */ in s2255_got_frame() 584 /* video buffer vmalloc implementation based partly on VIVI driver which is 606 (const char *)vc->buffer.frame[last_frame].lpvbits; in s2255_fillbuff() 673 dprintk(vc->dev, 4, "invalid buffer prepar in buffer_prepare() 988 __le32 *buffer = dev->cmdbuf; s2255_set_mode() local 1036 __le32 *buffer = dev->cmdbuf; s2255_cmd_status() local 2119 __le32 *buffer = dev->cmdbuf; s2255_start_acquire() local 2149 __le32 *buffer = dev->cmdbuf; s2255_stop_acquire() local [all...] |
| /kernel/linux/linux-5.10/arch/arm/kernel/ |
| H A D | atags_proc.c | 8 struct buffer { struct 16 struct buffer *b = PDE_DATA(file_inode(file)); in atags_read() 41 struct buffer *b; in init_atags_procfs()
|
| /kernel/linux/linux-5.10/arch/x86/boot/ |
| H A D | cmdline.c | 26 * truncated to fit in the buffer), or -1 on not found. 28 int __cmdline_find_option(unsigned long cmdline_ptr, const char *option, char *buffer, int bufsize) in __cmdline_find_option() argument 34 char *bufptr = buffer; in __cmdline_find_option() 39 st_bufcpy /* Copying this to buffer */ in __cmdline_find_option() 62 bufptr = buffer; in __cmdline_find_option()
|
| /kernel/linux/linux-6.6/arch/arm/kernel/ |
| H A D | atags_proc.c | 8 struct buffer { struct 16 struct buffer *b = pde_data(file_inode(file)); in atags_read() 41 struct buffer *b; in init_atags_procfs()
|
| /kernel/linux/linux-6.6/arch/x86/boot/ |
| H A D | cmdline.c | 26 * truncated to fit in the buffer), or -1 on not found. 28 int __cmdline_find_option(unsigned long cmdline_ptr, const char *option, char *buffer, int bufsize) in __cmdline_find_option() argument 34 char *bufptr = buffer; in __cmdline_find_option() 39 st_bufcpy /* Copying this to buffer */ in __cmdline_find_option() 62 bufptr = buffer; in __cmdline_find_option()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/ |
| H A D | lut.c | 32 nv50_lut_load(struct nv50_lut *lut, int buffer, struct drm_property_blob *blob, in nv50_lut_load() argument 36 void __iomem *mem = lut->mem[buffer].object.map.ptr; in nv50_lut_load() 37 const u32 addr = lut->mem[buffer].addr; in nv50_lut_load()
|
| /kernel/linux/linux-6.6/io_uring/ |
| H A D | statx.c | 20 struct statx __user *buffer; member 36 sx->buffer = u64_to_user_ptr(READ_ONCE(sqe->addr2)); in io_statx_prep() 62 ret = do_statx(sx->dfd, sx->filename, sx->flags, sx->mask, sx->buffer); in io_statx()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/ |
| H A D | lut.c | 32 nv50_lut_load(struct nv50_lut *lut, int buffer, struct drm_property_blob *blob, in nv50_lut_load() argument 36 void __iomem *mem = lut->mem[buffer].object.map.ptr; in nv50_lut_load() 37 const u32 addr = lut->mem[buffer].addr; in nv50_lut_load()
|