Home
last modified time | relevance | path

Searched refs:buffer (Results 1951 - 1975 of 6494) sorted by relevance

1...<<71727374757677787980>>...260

/kernel/linux/linux-6.6/tools/perf/arch/riscv/util/
H A Dheader.c84 int get_cpuid(char *buffer, size_t sz) in get_cpuid() argument
94 scnprintf(buffer, sz, "%s", cpuid); in get_cpuid()
/kernel/linux/linux-6.6/tools/perf/util/arm-spe-decoder/
H A Darm-spe-decoder.h94 int (*get_trace)(struct arm_spe_buffer *buffer, void *data);
99 int (*get_trace)(struct arm_spe_buffer *buffer, void *data);
/kernel/linux/linux-6.6/net/phonet/
H A Dsysctl.c52 void *buffer, size_t *lenp, loff_t *ppos) in proc_local_port_range()
64 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_local_port_range()
51 proc_local_port_range(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_local_port_range() argument
/kernel/linux/linux-6.6/mm/kasan/
H A Dreport_sw_tags.c74 void kasan_metadata_fetch_row(char *buffer, void *row) in kasan_metadata_fetch_row() argument
76 memcpy(buffer, kasan_mem_to_shadow(row), META_BYTES_PER_ROW); in kasan_metadata_fetch_row()
/kernel/liteos_a/testsuites/unittest/process/plimits/smoke/
H A DIt_process_plimits_memory_002.cpp63 const char *buffer = "10485760"; in ItProcessPlimitsMemory002() local
73 ret = limitWrite(limitTestPath.c_str(), buffer); in ItProcessPlimitsMemory002()
H A DIt_process_plimits_memory_001.cpp61 const char *buffer = "10485760"; in ItProcessPlimitsMemory001() local
72 ret = limitWrite(limitTestPath.c_str(), buffer); in ItProcessPlimitsMemory001()
/test/xts/device_attest_lite/services/core/include/network/
H A Dattest_coap.h59 size_t buffer; member
71 const uint8_t* buffer; member
83 size_t len; /* needed buffer length if serializing to a buffer */
92 char* rwBuffer; /* raw buffer for sending out the packet in serialized wag */
/test/xts/hats/kernel/syscall_ipc/semctl/
H A DSemctlApiTest.cpp77 char buffer[MAX_LEN] = { 0 }; in HWTEST_F() local
85 ret = semctl(semid, SEMPAHORE_NUM, IPC_STAT, &buffer); in HWTEST_F()
/kernel/linux/linux-5.10/drivers/acpi/
H A Dacpi_video.c322 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_video_device_lcd_query_levels() local
328 status = acpi_evaluate_object(handle, "_BCL", NULL, &buffer); in acpi_video_device_lcd_query_levels()
331 obj = (union acpi_object *)buffer.pointer; in acpi_video_device_lcd_query_levels()
343 kfree(buffer.pointer); in acpi_video_device_lcd_query_levels()
686 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_video_device_EDID() local
703 status = acpi_evaluate_object(device->dev->handle, "_DDC", &args, &buffer); in acpi_video_device_EDID()
707 obj = buffer.pointer; in acpi_video_device_EDID()
1353 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_video_device_enumerate() local
1360 status = acpi_evaluate_object(video->device->handle, "_DOD", NULL, &buffer); in acpi_video_device_enumerate()
1366 dod = buffer in acpi_video_device_enumerate()
1496 union acpi_object *buffer = NULL; acpi_video_get_edid() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_lib.c227 * @buffer: data buffer
228 * @bufflen: len of buffer
229 * @sense: optional sense buffer
241 int data_direction, void *buffer, unsigned bufflen, in __scsi_execute()
259 buffer, bufflen, GFP_NOIO)) in __scsi_execute()
281 memset(buffer + (bufflen - rq->resid_len), 0, rq->resid_len); in __scsi_execute()
1994 * @buffer: request buffer (may not be smaller than eight bytes)
1995 * @len: length of request buffer
240 __scsi_execute(struct scsi_device *sdev, const unsigned char *cmd, int data_direction, void *buffer, unsigned bufflen, unsigned char *sense, struct scsi_sense_hdr *sshdr, int timeout, int retries, u64 flags, req_flags_t rq_flags, int *resid) __scsi_execute() argument
2007 scsi_mode_select(struct scsi_device *sdev, int pf, int sp, int modepage, unsigned char *buffer, int len, int timeout, int retries, struct scsi_mode_data *data, struct scsi_sense_hdr *sshdr) scsi_mode_select() argument
2080 scsi_mode_sense(struct scsi_device *sdev, int dbd, int modepage, unsigned char *buffer, int len, int timeout, int retries, struct scsi_mode_data *data, struct scsi_sense_hdr *sshdr) scsi_mode_sense() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/zr364xx/
H A Dzr364xx.c14 * Some video buffer code by Lamarque based on s2255drv.c and vivi.c drivers.
121 /* image buffer structure */
123 unsigned long dwFrames; /* number of frames in buffer */
164 struct zr364xx_bufferi buffer; member
186 /* buffer for one video frame */
188 /* common v4l buffer stuff -- must be first */
381 DBG("invalid buffer prepare\n"); in buffer_prepare()
469 /* video buffer vmalloc implementation based partly on VIVI driver which is
491 tmpbuf = (const char *)cam->buffer.frame[last_frame].lpvbits; in zr364xx_fillbuff()
506 /* tell v4l buffer wa in zr364xx_fillbuff()
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dacpi_video.c312 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_video_device_lcd_query_levels() local
318 status = acpi_evaluate_object(handle, "_BCL", NULL, &buffer); in acpi_video_device_lcd_query_levels()
321 obj = (union acpi_object *)buffer.pointer; in acpi_video_device_lcd_query_levels()
333 kfree(buffer.pointer); in acpi_video_device_lcd_query_levels()
618 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_video_device_EDID() local
635 status = acpi_evaluate_object(device->dev->handle, "_DDC", &args, &buffer); in acpi_video_device_EDID()
639 obj = buffer.pointer; in acpi_video_device_EDID()
1290 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_video_device_enumerate() local
1297 status = acpi_evaluate_object(video->device->handle, "_DOD", NULL, &buffer); in acpi_video_device_enumerate()
1305 dod = buffer in acpi_video_device_enumerate()
1439 union acpi_object *buffer = NULL; acpi_video_get_edid() local
[all...]
H A Dproperty.c231 guid->buffer.length != 16 || in acpi_enumerate_nondev_subnodes()
235 if (!guid_equal((guid_t *)guid->buffer.pointer, &ads_guid)) in acpi_enumerate_nondev_subnodes()
404 "can't allocate memory for %u buffer props", in acpi_data_add_buffer_props()
436 "buffer property %u has %u entries\n", in acpi_data_add_buffer_props()
457 "can't evaluate \"%*pE\" as buffer\n", in acpi_data_add_buffer_props()
469 /* Replace the string object with a buffer object */ in acpi_data_add_buffer_props()
471 obj->buffer.length = buf_obj->buffer.length; in acpi_data_add_buffer_props()
472 obj->buffer.pointer = buf_obj->buffer in acpi_data_add_buffer_props()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_lib.c192 * @buffer: data buffer
193 * @bufflen: len of buffer
202 blk_opf_t opf, void *buffer, unsigned int bufflen, in scsi_execute_cmd()
223 buffer, bufflen, GFP_NOIO); in scsi_execute_cmd()
247 memset(buffer + bufflen - scmd->resid_len, 0, scmd->resid_len); in scsi_execute_cmd()
2075 * @buffer: request buffer (may not be smaller than eight bytes)
2076 * @len: length of request buffer.
2088 unsigned char *buffer, in in scsi_mode_select()
201 scsi_execute_cmd(struct scsi_device *sdev, const unsigned char *cmd, blk_opf_t opf, void *buffer, unsigned int bufflen, int timeout, int retries, const struct scsi_exec_args *args) scsi_execute_cmd() argument
2087 scsi_mode_select(struct scsi_device *sdev, int pf, int sp, unsigned char *buffer, int len, int timeout, int retries, struct scsi_mode_data *data, struct scsi_sense_hdr *sshdr) scsi_mode_select() argument
2169 scsi_mode_sense(struct scsi_device *sdev, int dbd, int modepage, int subpage, unsigned char *buffer, int len, int timeout, int retries, struct scsi_mode_data *data, struct scsi_sense_hdr *sshdr) scsi_mode_sense() argument
[all...]
/kernel/linux/common_modules/tzdriver/core/
H A Dgp_ops.c149 /* Check the size and buffer addresses have valid userspace addresses */
155 uint64_t buffer_addr = client_param->memref.buffer | in is_usr_refmem_valid()
246 tloge("src or dest is NULL input buffer\n"); in read_from_client()
266 /* buffer is in user space(CA call TEE API) */ in read_from_client()
281 tloge("src or dest is NULL input buffer\n"); in write_to_client()
303 /* buffer is in user space(CA call TEE API) */ in write_to_client()
328 buffer_addr = client_param->memref.buffer | in update_input_data()
333 tloge("copy memref buffer failed\n"); in update_input_data()
356 /* For compatibility sake we assume buffer size to be 32bits */ in alloc_for_tmp_mem()
368 tloge("buffer siz in alloc_for_tmp_mem()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Deeh.c165 * for the indicated PCI device, and puts them into a buffer
173 char buffer[128]; in eeh_dump_dev_log() local
225 pr_warn("%s\n", buffer); in eeh_dump_dev_log()
227 l = scnprintf(buffer, sizeof(buffer), in eeh_dump_dev_log()
231 l += scnprintf(buffer+l, sizeof(buffer)-l, in eeh_dump_dev_log()
237 pr_warn("%s\n", buffer); in eeh_dump_dev_log()
252 pr_warn("%s\n", buffer); in eeh_dump_dev_log()
254 l = scnprintf(buffer, sizeo in eeh_dump_dev_log()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Deeh.c165 * for the indicated PCI device, and puts them into a buffer
173 char buffer[128]; in eeh_dump_dev_log() local
225 pr_warn("%s\n", buffer); in eeh_dump_dev_log()
227 l = scnprintf(buffer, sizeof(buffer), in eeh_dump_dev_log()
231 l += scnprintf(buffer+l, sizeof(buffer)-l, in eeh_dump_dev_log()
237 pr_warn("%s\n", buffer); in eeh_dump_dev_log()
252 pr_warn("%s\n", buffer); in eeh_dump_dev_log()
254 l = scnprintf(buffer, sizeo in eeh_dump_dev_log()
[all...]
/kernel/linux/linux-5.10/drivers/usb/atm/
H A Dusbatm.c227 /* consider all errors transient and return the buffer back to the queue */ in usbatm_submit_urb()
326 atm_rldbg(instance, "%s: buffer overrun (sarb->len %u, vcc: 0x%p)!\n", in usbatm_extract_one_cell()
576 u8 *buffer = NULL; in usbatm_tx_process() local
586 buffer = urb->transfer_buffer; in usbatm_tx_process()
592 buffer + bytes_written, in usbatm_tx_process()
819 atm_err(instance, "%s: no memory for SAR buffer!\n", __func__); in usbatm_atm_open()
1087 /* tx buffer size must be a positive multiple of the stride */ in usbatm_usb_probe()
1091 /* rx buffer size must be a positive multiple of the endpoint maxpacket */ in usbatm_usb_probe()
1113 dev_dbg(dev, "%s: using %d byte buffer for %s channel 0x%p\n", in usbatm_usb_probe()
1120 u8 *buffer; in usbatm_usb_probe() local
1314 unsigned char buffer[256]; usbatm_print_packet() local
[all...]
/kernel/linux/linux-5.10/scripts/
H A Dasn1_compiler.c346 static void tokenise(char *buffer, char *end) in tokenise() argument
355 token_list = tokens = calloc((end - buffer) / 2, sizeof(struct token)); in tokenise()
363 while (buffer < end) { in tokenise()
366 line = buffer; in tokenise()
367 nl = memchr(line, '\n', end - buffer); in tokenise()
369 buffer = nl = end; in tokenise()
371 buffer = nl + 1; in tokenise()
565 char *buffer, *p; in main() local
605 if (!(buffer = malloc(st.st_size + 1))) { in main()
610 if ((readlen = read(fd, buffer, s in main()
[all...]
/kernel/linux/linux-5.10/sound/pci/oxygen/
H A Dxonar_pcm179x.c1135 struct snd_info_buffer *buffer) in dump_pcm1796_registers()
1141 snd_iprintf(buffer, "\nPCM1796 %u:", dac + 1); in dump_pcm1796_registers()
1143 snd_iprintf(buffer, " %02x", in dump_pcm1796_registers()
1146 snd_iprintf(buffer, "\n"); in dump_pcm1796_registers()
1150 struct snd_info_buffer *buffer) in dump_cs2000_registers()
1156 snd_iprintf(buffer, "\nCS2000:\n00: "); in dump_cs2000_registers()
1158 snd_iprintf(buffer, " %02x", data->cs2000_regs[i]); in dump_cs2000_registers()
1159 snd_iprintf(buffer, "\n10:"); in dump_cs2000_registers()
1161 snd_iprintf(buffer, " %02x", data->cs2000_regs[i]); in dump_cs2000_registers()
1162 snd_iprintf(buffer, "\ in dump_cs2000_registers()
1134 dump_pcm1796_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_pcm1796_registers() argument
1149 dump_cs2000_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_cs2000_registers() argument
1166 dump_st_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_st_registers() argument
[all...]
/kernel/linux/linux-5.10/sound/isa/sb/
H A Dsb16_csp.c97 static void info_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer);
1133 static void info_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in info_read() argument
1137 snd_iprintf(buffer, "Creative Signal Processor [v%d.%d]\n", (p->version >> 4), (p->version & 0x0f)); in info_read()
1138 snd_iprintf(buffer, "State: %cx%c%c%c\n", ((p->running & SNDRV_SB_CSP_ST_QSOUND) ? 'Q' : '-'), in info_read()
1143 snd_iprintf(buffer, "Codec: %s [func #%d]\n", p->codec_name, p->func_nr); in info_read()
1144 snd_iprintf(buffer, "Sample rates: "); in info_read()
1146 snd_iprintf(buffer, "All\n"); in info_read()
1148 snd_iprintf(buffer, "%s%s%s%s\n", in info_read()
1155 snd_iprintf(buffer, "QSound decoder %sabled\n", in info_read()
1158 snd_iprintf(buffer, "PC in info_read()
[all...]
/kernel/linux/linux-5.10/fs/nfsd/
H A Dnfs3xdr.c434 * data buffer can be padded so dlen might be larger in nfs3svc_decode_writeargs()
558 args->buffer = page_address(*(rqstp->rq_next_page++)); in nfs3svc_decode_readlinkargs()
594 if (!args->buffer) in nfs3svc_decode_readdirargs()
595 args->buffer = page_address(p); in nfs3svc_decode_readdirargs()
620 if (!args->buffer) in nfs3svc_decode_readdirplusargs()
621 args->buffer = page_address(p); in nfs3svc_decode_readdirplusargs()
928 __be32 *p = cd->buffer; in encode_entry()
971 if (((caddr_t)cd->buffer >= curr_page_addr) && in encode_entry()
972 ((caddr_t)cd->buffer < curr_page_addr + PAGE_SIZE)) in encode_entry()
976 if ((caddr_t)(cd->buffer in encode_entry()
[all...]
/kernel/linux/linux-6.6/drivers/usb/atm/
H A Dusbatm.c227 /* consider all errors transient and return the buffer back to the queue */ in usbatm_submit_urb()
326 atm_rldbg(instance, "%s: buffer overrun (sarb->len %u, vcc: 0x%p)!\n", in usbatm_extract_one_cell()
576 u8 *buffer = NULL; in usbatm_tx_process() local
586 buffer = urb->transfer_buffer; in usbatm_tx_process()
592 buffer + bytes_written, in usbatm_tx_process()
819 atm_err(instance, "%s: no memory for SAR buffer!\n", __func__); in usbatm_atm_open()
1089 /* tx buffer size must be a positive multiple of the stride */ in usbatm_usb_probe()
1093 /* rx buffer size must be a positive multiple of the endpoint maxpacket */ in usbatm_usb_probe()
1115 dev_dbg(dev, "%s: using %d byte buffer for %s channel 0x%p\n", in usbatm_usb_probe()
1122 u8 *buffer; in usbatm_usb_probe() local
1316 unsigned char buffer[256]; usbatm_print_packet() local
[all...]
/kernel/linux/linux-6.6/sound/isa/sb/
H A Dsb16_csp.c97 static void info_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer);
1136 static void info_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in info_read() argument
1140 snd_iprintf(buffer, "Creative Signal Processor [v%d.%d]\n", (p->version >> 4), (p->version & 0x0f)); in info_read()
1141 snd_iprintf(buffer, "State: %cx%c%c%c\n", ((p->running & SNDRV_SB_CSP_ST_QSOUND) ? 'Q' : '-'), in info_read()
1146 snd_iprintf(buffer, "Codec: %s [func #%d]\n", p->codec_name, p->func_nr); in info_read()
1147 snd_iprintf(buffer, "Sample rates: "); in info_read()
1149 snd_iprintf(buffer, "All\n"); in info_read()
1151 snd_iprintf(buffer, "%s%s%s%s\n", in info_read()
1158 snd_iprintf(buffer, "QSound decoder %sabled\n", in info_read()
1161 snd_iprintf(buffer, "PC in info_read()
[all...]
/kernel/linux/linux-6.6/sound/pci/oxygen/
H A Dxonar_pcm179x.c1135 struct snd_info_buffer *buffer) in dump_pcm1796_registers()
1141 snd_iprintf(buffer, "\nPCM1796 %u:", dac + 1); in dump_pcm1796_registers()
1143 snd_iprintf(buffer, " %02x", in dump_pcm1796_registers()
1146 snd_iprintf(buffer, "\n"); in dump_pcm1796_registers()
1150 struct snd_info_buffer *buffer) in dump_cs2000_registers()
1156 snd_iprintf(buffer, "\nCS2000:\n00: "); in dump_cs2000_registers()
1158 snd_iprintf(buffer, " %02x", data->cs2000_regs[i]); in dump_cs2000_registers()
1159 snd_iprintf(buffer, "\n10:"); in dump_cs2000_registers()
1161 snd_iprintf(buffer, " %02x", data->cs2000_regs[i]); in dump_cs2000_registers()
1162 snd_iprintf(buffer, "\ in dump_cs2000_registers()
1134 dump_pcm1796_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_pcm1796_registers() argument
1149 dump_cs2000_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_cs2000_registers() argument
1166 dump_st_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_st_registers() argument
[all...]

Completed in 32 milliseconds

1...<<71727374757677787980>>...260