| /kernel/linux/linux-6.6/drivers/net/fjes/ |
| H A D | fjes_trace.h | 108 tx = (void *)buf_pair->tx.buffer; 109 rx = (void *)buf_pair->rx.buffer; 203 __field(phys_addr_t, buffer) 208 __entry->buffer = req_buf->start_trace.buffer[0]; 210 TP_printk("req_buf=[length=%d, mode=%d, buffer=%pap]", 211 __entry->length, __entry->mode, &__entry->buffer)
|
| /kernel/linux/linux-6.6/drivers/media/firewire/ |
| H A D | firedtv-fw.c | 73 #define N_PACKETS 64 /* buffer size */ 79 struct fw_iso_buffer buffer; member 94 return fw_iso_context_queue(ctx->context, &p, &ctx->buffer, in queue_iso() 150 err = fw_iso_buffer_init(&ctx->buffer, device->card, in fdtv_start_iso() 159 ctx->pages[i] = page_address(ctx->buffer.pages[i]); in fdtv_start_iso() 176 fw_iso_buffer_destroy(&ctx->buffer, device->card); in fdtv_start_iso() 190 fw_iso_buffer_destroy(&ctx->buffer, device_of(fdtv)->card); in fdtv_stop_iso()
|
| /kernel/linux/linux-6.6/drivers/net/wireless/microchip/wilc1000/ |
| H A D | wlan.h | 329 u8 *buffer; member 350 u8 *buffer; member 406 int wilc_wlan_firmware_download(struct wilc *wilc, const u8 *buffer, 411 struct tx_complete_data *tx_data, u8 *buffer, 417 int wilc_wlan_cfg_set(struct wilc_vif *vif, int start, u16 wid, u8 *buffer, 421 int wilc_wlan_txq_add_mgmt_pkt(struct net_device *dev, void *priv, u8 *buffer,
|
| /kernel/linux/linux-6.6/drivers/nvme/target/ |
| H A D | discovery.c | 173 void *buffer; in nvmet_execute_disc_get_log_page() local 195 * Make sure we're passing at least a buffer of response header size. in nvmet_execute_disc_get_log_page() 201 buffer = kzalloc(alloc_len, GFP_KERNEL); in nvmet_execute_disc_get_log_page() 202 if (!buffer) { in nvmet_execute_disc_get_log_page() 207 hdr = buffer; in nvmet_execute_disc_get_log_page() 242 status = nvmet_copy_to_sgl(req, 0, buffer + offset, data_len); in nvmet_execute_disc_get_log_page() 243 kfree(buffer); in nvmet_execute_disc_get_log_page()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/dp/ |
| H A D | dp_aux.c | 52 u8 *msgdata = msg->buffer; in dp_aux_write() 148 dp = msg->buffer; in dp_aux_cmd_fifo_rx() 179 data = input_msg->buffer; in dp_aux_update_offset_and_segment() 238 helper_msg.buffer = &aux->segment; in dp_aux_transfer_helper() 247 * EDID buffer in the subsequent i2c read trasntion triggered in the in dp_aux_transfer_helper() 252 helper_msg.buffer = &aux->offset; in dp_aux_transfer_helper() 280 if (msg->size == 0 || !msg->buffer) { in dp_aux_transfer()
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| H A D | hx711.c | 18 #include <linux/iio/buffer.h> 88 * triggered buffer 91 u32 buffer[4] __aligned(8); 365 memset(hx711_data->buffer, 0, sizeof(hx711_data->buffer)); in hx711_trigger() 371 hx711_data->buffer[j] = hx711_reset_read(hx711_data, in hx711_trigger() 376 iio_push_to_buffers_with_timestamp(indio_dev, hx711_data->buffer, in hx711_trigger() 562 dev_err(dev, "setup of iio triggered buffer failed\n"); in hx711_probe()
|
| /kernel/linux/linux-6.6/drivers/iio/health/ |
| H A D | max30102.c | 25 #include <linux/iio/buffer.h> 110 u8 buffer[12]; member 258 &buffer[(i) * MAX30102_REG_FIFO_DATA_BYTES], \ 265 u8 *buffer = (u8 *) &data->buffer; in max30102_read_measurement() local 271 buffer); in max30102_read_measurement() 478 * shutdown; leave shutdown briefly when buffer not running in max30102_read_raw() 483 * This one is a *bit* hacky. If we cannot claim buffer in max30102_read_raw()
|
| /kernel/linux/linux-6.6/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_recvfrom.c | 131 void *buffer; in svc_rdma_recv_ctxt_alloc() local 136 buffer = kmalloc_node(rdma->sc_max_req_size, GFP_KERNEL, node); in svc_rdma_recv_ctxt_alloc() 137 if (!buffer) in svc_rdma_recv_ctxt_alloc() 139 addr = ib_dma_map_single(rdma->sc_pd->device, buffer, in svc_rdma_recv_ctxt_alloc() 158 ctxt->rc_recv_buf = buffer; in svc_rdma_recv_ctxt_alloc() 162 kfree(buffer); in svc_rdma_recv_ctxt_alloc() 406 * transport header without overflowing the buffer. That's about 40 450 * - Read list does not overflow Receive buffer. 481 /* A bogus segcount causes this buffer overflow check to fail. */ in xdr_check_write_chunk() 522 * - Write list does not overflow Receive buffer [all...] |
| /kernel/linux/linux-6.6/sound/usb/usx2y/ |
| H A D | usbusx2y.c | 255 if (WARN_ON(usx2y->as04.buffer)) in usx2y_async_seq04_init() 258 usx2y->as04.buffer = kmalloc_array(URBS_ASYNC_SEQ, in usx2y_async_seq04_init() 260 if (!usx2y->as04.buffer) { in usx2y_async_seq04_init() 271 usx2y->as04.buffer + URB_DATA_LEN_ASYNC_SEQ * i, 0, in usx2y_async_seq04_init() 332 kfree(s->buffer); in usx2y_unlinkseq() 333 s->buffer = NULL; in usx2y_unlinkseq()
|
| /kernel/linux/linux-6.6/sound/core/seq/ |
| H A D | seq_memory.c | 39 * ext.data.ptr = buffer pointer 135 * expand the variable length event to linear buffer space. 560 void snd_seq_info_pool(struct snd_info_buffer *buffer, in snd_seq_info_pool() argument 565 snd_iprintf(buffer, "%sPool size : %d\n", space, pool->total_elements); in snd_seq_info_pool() 566 snd_iprintf(buffer, "%sCells in use : %d\n", space, atomic_read(&pool->counter)); in snd_seq_info_pool() 567 snd_iprintf(buffer, "%sPeak cells in use : %d\n", space, pool->max_used); in snd_seq_info_pool() 568 snd_iprintf(buffer, "%sAlloc success : %d\n", space, pool->event_alloc_success); in snd_seq_info_pool() 569 snd_iprintf(buffer, "%sAlloc failures : %d\n", space, pool->event_alloc_failures); in snd_seq_info_pool()
|
| /kernel/linux/linux-6.6/drivers/scsi/arm/ |
| H A D | eesox.c | 230 * Align buffer. in eesoxscsi_buffer_in() 309 * Align buffer. in eesoxscsi_buffer_out() 382 * Returns : pointer to a static buffer containing null terminated string. 396 /* Prototype: int eesoxscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length) 399 * : buffer - buffer containing string describing operation 404 eesoxscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length) in eesoxscsi_set_proc_info() argument 408 if (length >= 9 && strncmp(buffer, "EESOXSCSI", 9) == 0) { in eesoxscsi_set_proc_info() 409 buffer += 9; in eesoxscsi_set_proc_info() 412 if (length >= 5 && strncmp(buffer, "ter in eesoxscsi_set_proc_info() [all...] |
| H A D | powertec.c | 185 * Returns : pointer to a static buffer containing null terminated string. 199 /* Prototype: int powertecscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length) 202 * : buffer - buffer containing string describing operation 207 powertecscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length) in powertecscsi_set_proc_info() argument 211 if (length >= 12 && strncmp(buffer, "POWERTECSCSI", 12) == 0) { in powertecscsi_set_proc_info() 212 buffer += 12; in powertecscsi_set_proc_info() 215 if (length >= 5 && strncmp(buffer, "term=", 5) == 0) { in powertecscsi_set_proc_info() 216 if (buffer[5] == '1') in powertecscsi_set_proc_info() 218 else if (buffer[ in powertecscsi_set_proc_info() [all...] |
| H A D | cumana_2.c | 297 * Returns : pointer to a static buffer containing null terminated string. 311 /* Prototype: int cumanascsi_2_set_proc_info(struct Scsi_Host *host, char *buffer, int length) 314 * : buffer - buffer containing string describing operation 319 cumanascsi_2_set_proc_info(struct Scsi_Host *host, char *buffer, int length) in cumanascsi_2_set_proc_info() argument 323 if (length >= 11 && strncmp(buffer, "CUMANASCSI2", 11) == 0) { in cumanascsi_2_set_proc_info() 324 buffer += 11; in cumanascsi_2_set_proc_info() 327 if (length >= 5 && strncmp(buffer, "term=", 5) == 0) { in cumanascsi_2_set_proc_info() 328 if (buffer[5] == '1') in cumanascsi_2_set_proc_info() 330 else if (buffer[ in cumanascsi_2_set_proc_info() [all...] |
| /kernel/linux/linux-6.6/drivers/scsi/fnic/ |
| H A D | fnic_debugfs.c | 36 * fnic directory and statistics directory for trace buffer and 84 * @ubuf: The buffer to copy the data to. 124 * @ubuf: The buffer to copy the data from. 129 * This routine writes data from user buffer @ubuf to buffer @buf and 186 * It allocates the necessary buffer for the log, fills the buffer from 205 fnic_dbg_prt->buffer = vzalloc(array3_size(3, trace_max_pages, in fnic_trace_debugfs_open() 207 if (!fnic_dbg_prt->buffer) { in fnic_trace_debugfs_open() 213 fnic_dbg_prt->buffer in fnic_trace_debugfs_open() [all...] |
| /kernel/linux/linux-6.6/kernel/trace/ |
| H A D | trace_hwlat.c | 134 struct trace_buffer *buffer = tr->array_buffer.buffer; in trace_hwlat_sample() local 138 event = trace_buffer_lock_reserve(buffer, TRACE_HWLAT, sizeof(*entry), in trace_hwlat_sample() 151 if (!call_filter_check_discard(call, entry, buffer, event)) in trace_hwlat_sample() 152 trace_buffer_unlock_commit_nostack(buffer, event); in trace_hwlat_sample() 191 trace_array_printk_buf(tr->array_buffer.buffer, _THIS_IP_, msg); \ 668 * @ubuf: The user buffer that contains the value to write
|
| /kernel/linux/linux-6.6/sound/usb/caiaq/ |
| H A D | device.c | 192 const unsigned char *buffer, in snd_usb_caiaq_send_command() 204 if (buffer && len > 0) in snd_usb_caiaq_send_command() 205 memcpy(cdev->ep1_out_buf+1, buffer, len); in snd_usb_caiaq_send_command() 215 const unsigned char *buffer, in snd_usb_caiaq_send_command_bank() 227 if (buffer && len > 0) in snd_usb_caiaq_send_command_bank() 228 memcpy(cdev->ep1_out_buf+2, buffer, len); in snd_usb_caiaq_send_command_bank() 190 snd_usb_caiaq_send_command(struct snd_usb_caiaqdev *cdev, unsigned char command, const unsigned char *buffer, int len) snd_usb_caiaq_send_command() argument 212 snd_usb_caiaq_send_command_bank(struct snd_usb_caiaqdev *cdev, unsigned char command, unsigned char bank, const unsigned char *buffer, int len) snd_usb_caiaq_send_command_bank() argument
|
| /test/xts/acts/graphic/imageNdk/entry/src/main/cpp/ |
| H A D | ImageNdk.cpp | 57 char buffer[MAX_BUFFER_SIZE]; in OHLog() local 60 vsnprintf(buffer, sizeof(buffer), format, args); in OHLog() 63 printf("[%s] %s\n", module, buffer); in OHLog() 125 void* buffer = nullptr; in TestCreatePixelMapWithStrideAbnormal() local 131 int32_t res = OH_PixelMap_CreatePixelMapWithStride(env, createOps, buffer, bufferSize, rowStride, &pixelmap); in TestCreatePixelMapWithStrideAbnormal()
|
| /test/xts/acts/multimedia/image/image_js_standard/imagePackingNDK/entry/src/main/cpp/napi/ |
| H A D | image_packer_test.cpp | 123 char *buffer = static_cast<char *>(malloc((mimeTypeSize + 1) * sizeof(char)));
in setImageFormat() local 124 if (buffer == nullptr) {
in setImageFormat() 128 if (napi_get_value_string_utf8(env, argValue, buffer, mimeTypeSize + 1, &mimeTypeSize)) {
in setImageFormat() 129 free(buffer);
in setImageFormat() 133 format.data = buffer;
in setImageFormat() 138 free(buffer);
in setImageFormat()
|
| /test/xts/dcts/communication/softbus_standard/common/ |
| H A D | socket_common.c | 58 char* buffer = (char*)malloc(buffSize);
in GetSoftbusPid() local 59 if (buffer == NULL) {
in GetSoftbusPid() 67 free(buffer);
in GetSoftbusPid() 70 (void)fgets(buffer, buffSize, file);
in GetSoftbusPid() 71 LOG("##################Softbus PID:%s", buffer);
in GetSoftbusPid() 74 return buffer;
in GetSoftbusPid()
|
| /kernel/linux/common_modules/tzdriver/ |
| H A D | teek_client_type.h | 48 void *buffer; member 58 void *buffer; member
|
| /kernel/linux/linux-5.10/arch/powerpc/boot/ |
| H A D | opal.c | 21 int64_t opal_console_write(int64_t term_number, u64 *length, const u8 *buffer); 22 int64_t opal_console_read(int64_t term_number, uint64_t *length, u8 *buffer);
|
| /kernel/linux/linux-5.10/arch/x86/kernel/ |
| H A D | itmt.c | 42 void *buffer, size_t *lenp, loff_t *ppos) in sched_itmt_update_handler() 55 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in sched_itmt_update_handler() 41 sched_itmt_update_handler(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) sched_itmt_update_handler() argument
|
| /kernel/linux/linux-5.10/drivers/accessibility/speakup/ |
| H A D | devsynth.c | 13 static ssize_t speakup_file_write(struct file *fp, const char __user *buffer, in speakup_file_write() argument 17 const char __user *ptr = buffer; in speakup_file_write()
|
| /kernel/linux/linux-6.6/arch/powerpc/boot/ |
| H A D | opal.c | 21 int64_t opal_console_write(int64_t term_number, u64 *length, const u8 *buffer); 22 int64_t opal_console_read(int64_t term_number, uint64_t *length, u8 *buffer);
|
| /kernel/linux/linux-5.10/drivers/iio/ |
| H A D | Makefile | 8 industrialio-$(CONFIG_IIO_BUFFER) += industrialio-buffer.o 21 obj-y += buffer/
|