Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 25 of 2261) sorted by relevance

12345678910>>...91

/linux-6.3-rc2/drivers/s390/char/
A Dsclp_rw.c52 buffer->sccb = sccb; in sclp_make_buffer()
59 buffer->htab = htab; in sclp_make_buffer()
65 return buffer; in sclp_make_buffer()
155 buffer->char_sum += buffer->current_length; in sclp_finalize_mto()
230 if (buffer->current_length >= buffer->columns) in sclp_write()
235 } while (buffer->current_length % buffer->htab); in sclp_write()
294 buffer->current_length >= buffer->columns) in sclp_write()
368 buffer->callback(buffer, -EIO); in sclp_writedata_callback()
416 buffer->callback(buffer, rc); in sclp_writedata_callback()
439 buffer->request.callback_data = buffer; in sclp_emit_buffer()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/etnaviv/
A Detnaviv_buffer.c29 BUG_ON(buffer->user_size >= buffer->size); in OUT()
40 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_LOAD_STATE()
51 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_END()
58 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_WAIT()
66 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_LINK()
76 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_STALL()
164 struct etnaviv_cmdbuf *buffer = &gpu->buffer; in etnaviv_buffer_init() local
181 struct etnaviv_cmdbuf *buffer = &gpu->buffer; in etnaviv_buffer_config_mmuv2() local
216 struct etnaviv_cmdbuf *buffer = &gpu->buffer; in etnaviv_buffer_config_pta() local
234 struct etnaviv_cmdbuf *buffer = &gpu->buffer; in etnaviv_buffer_end() local
[all …]
/linux-6.3-rc2/tools/testing/selftests/mm/
A Dhmm-tests.c206 munmap(buffer->ptr, buffer->size); in hmm_buffer_free()
301 buffer = malloc(sizeof(*buffer)); in TEST_F()
364 buffer = malloc(sizeof(*buffer)); in TEST_F()
423 buffer = malloc(sizeof(*buffer)); in TEST_F()
471 buffer = malloc(sizeof(*buffer)); in TEST_F()
539 buffer = malloc(sizeof(*buffer)); in TEST_F()
617 buffer = malloc(sizeof(*buffer)); in TEST_F()
692 buffer = malloc(sizeof(*buffer)); in TEST_F()
801 buffer = malloc(sizeof(*buffer)); in TEST_F()
858 buffer = malloc(sizeof(*buffer)); in TEST_F()
[all …]
/linux-6.3-rc2/sound/pci/ca0106/
A Dca0106_proc.c96 snd_iprintf(buffer, "Data: "); in snd_ca0106_proc_dump_iec958()
98 snd_iprintf(buffer, "audio\n"); in snd_ca0106_proc_dump_iec958()
102 snd_iprintf(buffer, "Rate: "); in snd_ca0106_proc_dump_iec958()
125 snd_iprintf(buffer, "none\n"); in snd_ca0106_proc_dump_iec958()
145 snd_iprintf(buffer, "Clock: "); in snd_ca0106_proc_dump_iec958()
162 snd_iprintf(buffer, "Data: "); in snd_ca0106_proc_dump_iec958()
168 snd_iprintf(buffer, "Rate: "); in snd_ca0106_proc_dump_iec958()
185 snd_iprintf(buffer, "no\n"); in snd_ca0106_proc_dump_iec958()
187 snd_iprintf(buffer, "yes\n"); in snd_ca0106_proc_dump_iec958()
194 snd_iprintf(buffer, "none\n"); in snd_ca0106_proc_dump_iec958()
[all …]
/linux-6.3-rc2/sound/pci/hda/
A Dhda_proc.c58 snd_iprintf(buffer, in print_nid_array()
63 snd_iprintf(buffer, in print_nid_array()
145 snd_iprintf(buffer, " ["); in print_amp_vals()
156 snd_iprintf(buffer, "]"); in print_amp_vals()
158 snd_iprintf(buffer, "\n"); in print_amp_vals()
174 snd_iprintf(buffer, "\n"); in print_pcm_rates()
196 snd_iprintf(buffer, "\n"); in print_pcm_formats()
455 snd_iprintf(buffer, in print_audio_io()
558 snd_iprintf(buffer, in print_unsol_cap()
668 snd_iprintf(buffer, in print_gpio()
[all …]
/linux-6.3-rc2/fs/configfs/
A Dfile.c68 count = buffer->attr->show(buffer->item, buffer->page); in fill_read_buffer()
127 len = buffer->bin_attr->read(buffer->item, NULL, 0); in configfs_bin_read_iter()
137 if (buffer->cb_max_size && len > buffer->cb_max_size) { in configfs_bin_read_iter()
152 len = buffer->bin_attr->read(buffer->item, in configfs_bin_read_iter()
207 res = buffer->attr->store(buffer->item, buffer->page, count); in flush_write_buffer()
300 if (!buffer) in __configfs_open_file()
319 buffer->cb_max_size = buffer->bin_attr->cb_max_size; in __configfs_open_file()
334 buffer->ops = buffer->item->ci_type->ct_item_ops; in __configfs_open_file()
374 kfree(buffer); in __configfs_open_file()
387 kfree(buffer); in configfs_release()
[all …]
/linux-6.3-rc2/include/linux/
A Dring_buffer.h81 void ring_buffer_discard_commit(struct trace_buffer *buffer,
108 void ring_buffer_free(struct trace_buffer *buffer);
117 int ring_buffer_write(struct trace_buffer *buffer,
120 void ring_buffer_nest_start(struct trace_buffer *buffer);
121 void ring_buffer_nest_end(struct trace_buffer *buffer);
147 void ring_buffer_reset(struct trace_buffer *buffer);
161 bool ring_buffer_empty(struct trace_buffer *buffer);
166 void ring_buffer_record_off(struct trace_buffer *buffer);
167 void ring_buffer_record_on(struct trace_buffer *buffer);
183 u64 ring_buffer_time_stamp(struct trace_buffer *buffer);
[all …]
/linux-6.3-rc2/drivers/media/tuners/
A Dtea5767.c147 div = ((buffer[0] & 0x3f) << 8) | buffer[1]; in tea5767_status_dump()
165 buffer[1] = div & 0xff; in tea5767_status_dump()
198 buffer[2] = 0; in set_radio_freq()
211 buffer[3] = 0; in set_radio_freq()
228 buffer[4] = 0; in set_radio_freq()
267 buffer[1] = div & 0xff; in set_radio_freq()
289 memset(buffer, 0, 5); in tea5767_read_status()
360 buffer[4] = 0; in tea5767_standby()
381 if (buffer[0] == buffer[1] && buffer[0] == buffer[2] && in tea5767_autodetection()
382 buffer[0] == buffer[3] && buffer[0] == buffer[4]) { in tea5767_autodetection()
[all …]
/linux-6.3-rc2/drivers/dma-buf/heaps/
A Dcma_heap.c131 invalidate_kernel_vmap_range(buffer->vaddr, buffer->len); in cma_heap_dma_buf_begin_cpu_access()
152 flush_kernel_vmap_range(buffer->vaddr, buffer->len); in cma_heap_dma_buf_end_cpu_access()
201 vaddr = vmap(buffer->pages, buffer->pagecount, VM_MAP, PAGE_KERNEL); in cma_heap_do_vmap()
216 buffer->vmap_cnt++; in cma_heap_vmap()
227 buffer->vmap_cnt++; in cma_heap_vmap()
262 cma_release(cma_heap->cma, buffer->cma_pages, buffer->pagecount); in cma_heap_dma_buf_release()
263 kfree(buffer); in cma_heap_dma_buf_release()
295 buffer = kzalloc(sizeof(*buffer), GFP_KERNEL); in cma_heap_allocate()
296 if (!buffer) in cma_heap_allocate()
301 buffer->len = size; in cma_heap_allocate()
[all …]
A Dsystem_heap.c163 if (buffer->vmap_cnt) in system_heap_dma_buf_begin_cpu_access()
164 invalidate_kernel_vmap_range(buffer->vaddr, buffer->len); in system_heap_dma_buf_begin_cpu_access()
184 if (buffer->vmap_cnt) in system_heap_dma_buf_end_cpu_access()
185 flush_kernel_vmap_range(buffer->vaddr, buffer->len); in system_heap_dma_buf_end_cpu_access()
255 buffer->vmap_cnt++; in system_heap_vmap()
267 buffer->vmap_cnt++; in system_heap_vmap()
302 kfree(buffer); in system_heap_dma_buf_release()
354 buffer = kzalloc(sizeof(*buffer), GFP_KERNEL); in system_heap_allocate()
355 if (!buffer) in system_heap_allocate()
361 buffer->len = len; in system_heap_allocate()
[all …]
/linux-6.3-rc2/drivers/pnp/
A Dinterface.c42 if (buffer->stop || buffer->error) in pnp_printf()
45 res = vsnprintf(buffer->curr, buffer->len - buffer->size, fmt, args); in pnp_printf()
47 if (buffer->size + res >= buffer->len) { in pnp_printf()
217 buffer = kzalloc(sizeof(*buffer), GFP_KERNEL); in options_show()
218 if (!buffer) in options_show()
222 buffer->buffer = buf; in options_show()
223 buffer->curr = buffer->buffer; in options_show()
260 buffer = kzalloc(sizeof(*buffer), GFP_KERNEL); in resources_show()
261 if (!buffer) in resources_show()
265 buffer->buffer = buf; in resources_show()
[all …]
/linux-6.3-rc2/tools/wmi/
A Ddell-smbios-example.c35 buffer->std.cmd_class, buffer->std.cmd_select, in show_buffer()
36 buffer->std.input[0], buffer->std.input[1], in show_buffer()
37 buffer->std.input[2], buffer->std.input[3], in show_buffer()
38 buffer->std.output[0], buffer->std.output[1], in show_buffer()
39 buffer->std.output[2], buffer->std.output[3]); in show_buffer()
138 buffer->std.input[1] = 1; in activate_token()
168 buffer = malloc(value); in main()
169 if (buffer == NULL) { in main()
174 buffer->length = value; in main()
186 show_buffer(buffer); in main()
[all …]
/linux-6.3-rc2/drivers/android/
A Dbinder_alloc.c64 return alloc->buffer + alloc->buffer_size - buffer->user_data; in binder_alloc_buffer_size()
65 return binder_buffer_next(buffer)->user_data - buffer->user_data; in binder_alloc_buffer_size()
153 return buffer; in binder_alloc_prepare_to_free_locked()
178 return buffer; in binder_alloc_prepare_to_free()
655 BUG_ON(buffer->user_data < alloc->buffer); in binder_free_buf_locked()
769 buffer = kzalloc(sizeof(*buffer), GFP_KERNEL); in binder_alloc_mmap_handler()
776 buffer->user_data = alloc->buffer; in binder_alloc_mmap_handler()
874 prefix, buffer->debug_id, buffer->user_data, in print_binder_buffer()
875 buffer->data_size, buffer->offsets_size, in print_binder_buffer()
1125 (!buffer->allow_user_free || !buffer->transaction); in check_buffer()
[all …]
/linux-6.3-rc2/drivers/iio/
A Dindustrialio-buffer.c321 if (!buffer || !buffer->access || !buffer->access->remove_from) in iio_pop_from_buffer()
512 struct iio_buffer *buffer = this_attr->buffer; in iio_scan_el_store() local
663 buffer->access->set_length(buffer, val); in length_store()
668 if (buffer->length && buffer->length < buffer->watermark) in length_store()
669 buffer->watermark = buffer->length; in length_store()
1429 iio_attr->buffer = buffer; in iio_buffer_wrap_attr()
1507 struct iio_buffer *buffer = ib->buffer; in iio_buffer_chrdev_release() local
1557 ib->buffer = buffer; in iio_device_buffer_getfd()
1937 buffer->access->release(buffer); in iio_buffer_release()
1993 buffer = iio_buffer_get(buffer); in iio_device_attach_buffer()
[all …]
/linux-6.3-rc2/drivers/s390/net/
A Dqeth_core_mpc.h18 #define QETH_IPA_PDU_LEN_TOTAL(buffer) (buffer + 0x0e) argument
19 #define QETH_IPA_PDU_LEN_PDU1(buffer) (buffer + 0x26) argument
20 #define QETH_IPA_PDU_LEN_PDU2(buffer) (buffer + 0x29) argument
21 #define QETH_IPA_PDU_LEN_PDU3(buffer) (buffer + 0x3a) argument
23 #define QETH_IPA_CMD_DEST_ADDR(buffer) (buffer + 0x2c) argument
919 #define QETH_ULP_SETUP_CUA(buffer) (buffer + 0x68) argument
940 #define QETH_IDX_ACT_PNO(buffer) (buffer+0x0b) argument
949 #define QETH_IDX_REPLY_LEVEL(buffer) (buffer + 0x12) argument
961 (buffer + *(buffer + (*(buffer + 0x0b)) + \
962 *(buffer + *(buffer + 0x0b) + 0x11) + 0x07))
[all …]
/linux-6.3-rc2/sound/usb/
A Dproc.c44 snd_iprintf(buffer, "%04x:%04x\n", in proc_audio_usbid_read()
104 snd_iprintf(buffer, " Format:"); in proc_dump_substream_formats()
107 snd_iprintf(buffer, " %s", in proc_dump_substream_formats()
109 snd_iprintf(buffer, "\n"); in proc_dump_substream_formats()
121 snd_iprintf(buffer, " Rates: "); in proc_dump_substream_formats()
124 snd_iprintf(buffer, ", "); in proc_dump_substream_formats()
127 snd_iprintf(buffer, "\n"); in proc_dump_substream_formats()
146 snd_iprintf(buffer, " --"); in proc_dump_substream_formats()
148 snd_iprintf(buffer, " %s", in proc_dump_substream_formats()
151 snd_iprintf(buffer, "\n"); in proc_dump_substream_formats()
[all …]
/linux-6.3-rc2/sound/usb/6fire/
A Dcomm.c60 buffer[3] = id; in usb6fire_comm_init_buffer()
65 buffer[5] = vl; in usb6fire_comm_init_buffer()
66 buffer[6] = vh; in usb6fire_comm_init_buffer()
87 buffer[5] = vl; in usb6fire_comm_init_buffer()
98 buffer, buffer[1] + 2, &actual_len, 1000); in usb6fire_comm_send_buffer()
109 u8 *buffer; in usb6fire_comm_write8() local
114 if (!buffer) in usb6fire_comm_write8()
120 kfree(buffer); in usb6fire_comm_write8()
127 u8 *buffer; in usb6fire_comm_write16() local
132 if (!buffer) in usb6fire_comm_write16()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_client.c247 drm_gem_vunmap_unlocked(buffer->gem, &buffer->map); in drm_client_buffer_delete()
251 kfree(buffer); in drm_client_buffer_delete()
265 buffer = kzalloc(sizeof(*buffer), GFP_KERNEL); in drm_client_buffer_create()
266 if (!buffer) in drm_client_buffer_create()
288 return buffer; in drm_client_buffer_create()
364 ret = drm_mode_rmfb(buffer->client->dev, buffer->fb->base.id, buffer->client->file); in drm_client_buffer_rmfb()
446 return buffer; in drm_client_framebuffer_create()
456 if (!buffer) in drm_client_framebuffer_delete()
477 if (!buffer || !buffer->fb || !buffer->fb->funcs->dirty) in drm_client_framebuffer_flush()
488 return buffer->fb->funcs->dirty(buffer->fb, buffer->client->file, in drm_client_framebuffer_flush()
[all …]
/linux-6.3-rc2/sound/firewire/dice/
A Ddice-proc.c19 buffer, 4 * quadlets, 0); in dice_proc_read_mem()
24 be32_to_cpus(&((u32 *)buffer)[i]); in dice_proc_read_mem()
57 struct snd_info_buffer *buffer) in dice_proc_read() argument
119 snd_iprintf(buffer, "sections:\n"); in dice_proc_read()
128 snd_iprintf(buffer, "global:\n"); in dice_proc_read()
163 snd_iprintf(buffer, "\n"); in dice_proc_read()
238 snd_iprintf(buffer, "-\n"); in dice_proc_read()
240 snd_iprintf(buffer, "%x\n", in dice_proc_read()
259 snd_iprintf(buffer, "\tMIDI\n"); in dice_proc_read_formation()
261 snd_iprintf(buffer, "Tx %u:", i); in dice_proc_read_formation()
[all …]
/linux-6.3-rc2/sound/pci/emu10k1/
A Demuproc.c24 struct snd_info_buffer *buffer, in snd_emu10k1_proc_spdif_status() argument
37 snd_iprintf(buffer, "\n%s\n", title); in snd_emu10k1_proc_spdif_status()
67 struct snd_info_buffer *buffer) in snd_emu10k1_proc_read() argument
178 snd_iprintf(buffer, "EMU10K1\n\n"); in snd_emu10k1_proc_read()
183 snd_iprintf(buffer, "\n"); in snd_emu10k1_proc_read()
224 struct snd_info_buffer *buffer) in snd_emu10k1_proc_spdif_read() argument
263 struct snd_info_buffer *buffer) in snd_emu10k1_proc_rates_read() argument
363 struct snd_info_buffer *buffer) in snd_emu10k1_proc_voices_read() argument
478 snd_iprintf(buffer, "%02X: ",i); in snd_emu_proc_ptr_reg_read()
486 snd_iprintf(buffer, "\n"); in snd_emu_proc_ptr_reg_read()
[all …]
/linux-6.3-rc2/arch/riscv/include/asm/
A Dio.h97 #define readsb(addr, buffer, count) __readsb(addr, buffer, count) argument
98 #define readsw(addr, buffer, count) __readsw(addr, buffer, count) argument
99 #define readsl(addr, buffer, count) __readsl(addr, buffer, count) argument
104 #define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count) argument
105 #define insw(addr, buffer, count) __insw(PCI_IOBASE + (addr), buffer, count) argument
106 #define insl(addr, buffer, count) __insl(PCI_IOBASE + (addr), buffer, count) argument
111 #define writesb(addr, buffer, count) __writesb(addr, buffer, count) argument
112 #define writesw(addr, buffer, count) __writesw(addr, buffer, count) argument
113 #define writesl(addr, buffer, count) __writesl(addr, buffer, count) argument
124 #define readsq(addr, buffer, count) __readsq(addr, buffer, count) argument
[all …]
/linux-6.3-rc2/arch/sparc/boot/
A Dpiggyback.c104 char buffer[1024]; in get_start_end() local
112 if (start_line(buffer)) in get_start_end()
137 char buffer[BUFSIZE]; in get_hdrs_offset() local
146 if (buffer[40] == 'H' && buffer[41] == 'd' && in get_hdrs_offset()
147 buffer[42] == 'r' && buffer[43] == 'S') { in get_hdrs_offset()
167 if (buffer[i + 0] == 'H' && buffer[i + 1] == 'd' && in get_hdrs_offset()
168 buffer[i + 2] == 'r' && buffer[i + 3] == 'S') { in get_hdrs_offset()
180 char buffer[1024]; in main() local
228 st4(buffer, 0); in main()
245 st4(buffer + 4, 0); in main()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
A Dgp100.c54 return nvkm_memory_bar2(buffer->mem); in gp100_fault_buffer_pin()
60 buffer->entries = nvkm_rd32(buffer->fault->subdev.device, 0x002a78); in gp100_fault_buffer_info()
61 buffer->get = 0x002a7c; in gp100_fault_buffer_info()
62 buffer->put = 0x002a80; in gp100_fault_buffer_info()
74 .buffer.nr = 1,
75 .buffer.entry_size = 32,
76 .buffer.info = gp100_fault_buffer_info,
77 .buffer.pin = gp100_fault_buffer_pin,
78 .buffer.init = gp100_fault_buffer_init,
79 .buffer.fini = gp100_fault_buffer_fini,
[all …]
/linux-6.3-rc2/drivers/scsi/
A Dsr_vendor.c151 cgc.buffer = buffer; in sr_set_blocklength()
198 cgc.buffer = buffer; in sr_cd_check()
206 if ((buffer[0] << 8) + buffer[1] < 0x0a) { in sr_cd_check()
212 sector = buffer[11] + (buffer[10] << 8) + in sr_cd_check()
213 (buffer[9] << 16) + (buffer[8] << 24); in sr_cd_check()
225 cgc.buffer = buffer; in sr_cd_check()
254 cgc.buffer = buffer; in sr_cd_check()
282 cgc.buffer = buffer; in sr_cd_check()
300 cgc.buffer = buffer; in sr_cd_check()
309 sector = buffer[11] + (buffer[10] << 8) + in sr_cd_check()
[all …]
/linux-6.3-rc2/sound/firewire/fireworks/
A Dfireworks_proc.c62 snd_iprintf(buffer, "phys in grps: 0x%X\n", in proc_read_hwinfo()
65 snd_iprintf(buffer, in proc_read_hwinfo()
71 snd_iprintf(buffer, "phys out grps: 0x%X\n", in proc_read_hwinfo()
74 snd_iprintf(buffer, in proc_read_hwinfo()
128 struct snd_info_buffer *buffer) in proc_read_phys_meters() argument
147 snd_iprintf(buffer, "Physical Meters:\n"); in proc_read_phys_meters()
157 snd_iprintf(buffer, "\t%s [%d]: %d\n", in proc_read_phys_meters()
165 snd_iprintf(buffer, " %d Inputs:\n", max); in proc_read_phys_meters()
170 snd_iprintf(buffer, "\t%s [%d]: %d\n", in proc_read_phys_meters()
179 struct snd_info_buffer *buffer) in proc_read_queues_state() argument
[all …]

Completed in 97 milliseconds

12345678910>>...91