| /kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
| H A D | ispccdc.c | 1536 * buffer. 1576 /* The buffer can be completed, reset the fields for the next buffer. */ in ccdc_has_all_fields() 1586 struct isp_buffer *buffer; in ccdc_isr_buffer() local 1591 * deal with it anyway). Disabling the CCDC when no buffer is available in ccdc_isr_buffer() 1598 * buffer underrun. Re-enable them now that we have a buffer. The buffer in ccdc_isr_buffer() 1622 buffer = omap3isp_video_buffer_next(&ccdc->video_out); in ccdc_isr_buffer() 1623 if (buffer ! in ccdc_isr_buffer() 1791 ccdc_video_queue(struct isp_video *video, struct isp_buffer *buffer) ccdc_video_queue() argument [all...] |
| /kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
| H A D | camss-vfe.c | 456 struct camss_buffer *buffer = NULL; in vfe_buf_get_pending() local 459 buffer = list_first_entry(&output->pending_bufs, in vfe_buf_get_pending() 462 list_del(&buffer->queue); in vfe_buf_get_pending() 465 return buffer; in vfe_buf_get_pending() 469 * vfe_buf_add_pending - Add output buffer to list of pending 471 * @buffer: Video buffer 474 struct camss_buffer *buffer) in vfe_buf_add_pending() 476 INIT_LIST_HEAD(&buffer->queue); in vfe_buf_add_pending() 477 list_add_tail(&buffer in vfe_buf_add_pending() 473 vfe_buf_add_pending(struct vfe_output *output, struct camss_buffer *buffer) vfe_buf_add_pending() argument [all...] |
| /kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
| H A D | davinci_cpdma.c | 1022 dma_addr_t buffer; in cpdma_chan_submit_si() local 1046 buffer = si->data_dma; in cpdma_chan_submit_si() 1047 dma_sync_single_for_device(ctlr->dev, buffer, len, chan->dir); in cpdma_chan_submit_si() 1049 buffer = dma_map_single(ctlr->dev, si->data_virt, len, chan->dir); in cpdma_chan_submit_si() 1050 ret = dma_mapping_error(ctlr->dev, buffer); in cpdma_chan_submit_si() 1061 writel_relaxed(buffer, &desc->hw_buffer); in cpdma_chan_submit_si() 1065 writel_relaxed(buffer, &desc->sw_buffer); in cpdma_chan_submit_si()
|
| /kernel/linux/linux-5.10/include/linux/ |
| H A D | security.h | 156 void **buffer, bool alloc); 220 void *buffer, size_t *lenp, loff_t *ppos); 359 int security_inode_getsecurity(struct inode *inode, const char *name, void **buffer, bool alloc); 361 int security_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size); 875 static inline int security_inode_getsecurity(struct inode *inode, const char *name, void **buffer, bool alloc) in security_inode_getsecurity() argument 877 return cap_inode_getsecurity(inode, name, buffer, alloc); in security_inode_getsecurity() 885 static inline int security_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size) in security_inode_listsecurity() argument
|
| /kernel/linux/linux-5.10/ipc/ |
| H A D | mqueue.c | 639 char buffer[FILENT_SIZE]; in mqueue_read_file() local 643 snprintf(buffer, sizeof(buffer), in mqueue_read_file() 652 buffer[sizeof(buffer)-1] = '\0'; in mqueue_read_file() 654 ret = simple_read_from_buffer(u_data, count, off, buffer, in mqueue_read_file() 655 strlen(buffer)); in mqueue_read_file() 1219 /* checks if buffer is big enough */ in do_mq_timedreceive()
|
| /kernel/linux/linux-5.10/drivers/media/usb/cx231xx/ |
| H A D | cx231xx-417.c | 65 MODULE_PARM_DESC(mpeglines, "number of lines in an MPEG buffer, range 2-32"); 70 "number of bytes in each line of an MPEG buffer, range 512-1024"); 1254 /* Fill buffer */ in buffer_copy() 1306 /* Fill buffer */ in buffer_filled() 1344 unsigned char *p_buffer, *buffer; in cx231xx_bulk_copy() local 1350 buffer = kmalloc(buffer_size, GFP_ATOMIC); in cx231xx_bulk_copy() 1351 if (!buffer) in cx231xx_bulk_copy() 1354 memcpy(buffer, dma_q->ps_head, 3); in cx231xx_bulk_copy() 1355 memcpy(buffer+3, p_buffer, buffer_size-3); in cx231xx_bulk_copy() 1358 p_buffer = buffer; in cx231xx_bulk_copy() [all...] |
| /kernel/linux/linux-6.6/drivers/mtd/nand/raw/gpmi-nand/ |
| H A D | gpmi-nand.c | 522 * The auxiliary buffer contains the metadata and the ECC status. The in set_geometry_for_large_oob() 622 * The auxiliary buffer contains the metadata and the ECC status. The in legacy_set_geometry() 1046 /* Can we use the upper's buffer directly for DMA? */ 1054 /* first try to map the upper buffer directly */ in prepare_data_dma() 1065 /* We have to use our own DMA buffer. */ in prepare_data_dma() 1331 * [2] Allocate a read/write data buffer. in gpmi_alloc_dma_buffer() 1333 * We allocate a PAGE_SIZE length buffer if gpmi_alloc_dma_buffer in gpmi_alloc_dma_buffer() 1335 * buffer of the real NAND page size when the gpmi_alloc_dma_buffer in gpmi_alloc_dma_buffer() 1462 * try to correct the bitflips in buffer up to in gpmi_count_bitflips() 1465 * ECC failure. Otherwise we use the corrected buffer in gpmi_count_bitflips() 2038 u8 *buffer = nand_get_data_buf(chip); mx23_check_transcription_stamp() local 2098 u8 *buffer = nand_get_data_buf(chip); mx23_write_transcription_stamp() local [all...] |
| /kernel/linux/linux-6.6/drivers/media/usb/cx231xx/ |
| H A D | cx231xx-417.c | 65 MODULE_PARM_DESC(mpeglines, "number of lines in an MPEG buffer, range 2-32"); 70 "number of bytes in each line of an MPEG buffer, range 512-1024"); 1254 /* Fill buffer */ in buffer_copy() 1306 /* Fill buffer */ in buffer_filled() 1344 unsigned char *p_buffer, *buffer; in cx231xx_bulk_copy() local 1350 buffer = kmalloc(buffer_size, GFP_ATOMIC); in cx231xx_bulk_copy() 1351 if (!buffer) in cx231xx_bulk_copy() 1354 memcpy(buffer, dma_q->ps_head, 3); in cx231xx_bulk_copy() 1355 memcpy(buffer+3, p_buffer, buffer_size-3); in cx231xx_bulk_copy() 1358 p_buffer = buffer; in cx231xx_bulk_copy() [all...] |
| /kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
| H A D | ispccdc.c | 1542 * buffer. 1582 /* The buffer can be completed, reset the fields for the next buffer. */ in ccdc_has_all_fields() 1592 struct isp_buffer *buffer; in ccdc_isr_buffer() local 1597 * deal with it anyway). Disabling the CCDC when no buffer is available in ccdc_isr_buffer() 1604 * buffer underrun. Re-enable them now that we have a buffer. The buffer in ccdc_isr_buffer() 1628 buffer = omap3isp_video_buffer_next(&ccdc->video_out); in ccdc_isr_buffer() 1629 if (buffer ! in ccdc_isr_buffer() 1797 ccdc_video_queue(struct isp_video *video, struct isp_buffer *buffer) ccdc_video_queue() argument [all...] |
| /kernel/linux/linux-6.6/drivers/acpi/ |
| H A D | ec.c | 39 #define ACPI_EC_FLAG_OBF 0x01 /* Output buffer full */ 40 #define ACPI_EC_FLAG_IBF 0x02 /* Input buffer full */ 41 #define ACPI_EC_FLAG_CMD 0x08 /* Input buffer contains a command */ 1396 struct acpi_buffer buffer = { sizeof(node_name), node_name }; in acpi_ec_register_query_methods() local 1401 status = acpi_get_name(handle, ACPI_SINGLE_NAME, &buffer); in acpi_ec_register_query_methods() 2165 static int param_get_event_clearing(char *buffer, in param_get_event_clearing() argument 2170 return sprintf(buffer, "status\n"); in param_get_event_clearing() 2172 return sprintf(buffer, "query\n"); in param_get_event_clearing() 2174 return sprintf(buffer, "event\n"); in param_get_event_clearing() 2176 return sprintf(buffer, "invali in param_get_event_clearing() [all...] |
| /kernel/linux/linux-6.6/include/linux/ |
| H A D | security.h | 162 struct inode *inode, const char *name, void **buffer, 227 void *buffer, size_t *lenp, loff_t *ppos); 380 void **buffer, bool alloc); 382 int security_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size); 936 const char *name, void **buffer, in security_inode_getsecurity() 939 return cap_inode_getsecurity(idmap, inode, name, buffer, alloc); in security_inode_getsecurity() 947 static inline int security_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size) in security_inode_listsecurity() argument 934 security_inode_getsecurity(struct mnt_idmap *idmap, struct inode *inode, const char *name, void **buffer, bool alloc) security_inode_getsecurity() argument
|
| /kernel/linux/linux-6.6/ipc/ |
| H A D | mqueue.c | 640 char buffer[FILENT_SIZE]; in mqueue_read_file() local 644 snprintf(buffer, sizeof(buffer), in mqueue_read_file() 653 buffer[sizeof(buffer)-1] = '\0'; in mqueue_read_file() 655 ret = simple_read_from_buffer(u_data, count, off, buffer, in mqueue_read_file() 656 strlen(buffer)); in mqueue_read_file() 1219 /* checks if buffer is big enough */ in do_mq_timedreceive()
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/ti/ |
| H A D | davinci_cpdma.c | 1022 dma_addr_t buffer; in cpdma_chan_submit_si() local 1046 buffer = si->data_dma; in cpdma_chan_submit_si() 1047 dma_sync_single_for_device(ctlr->dev, buffer, len, chan->dir); in cpdma_chan_submit_si() 1049 buffer = dma_map_single(ctlr->dev, si->data_virt, len, chan->dir); in cpdma_chan_submit_si() 1050 ret = dma_mapping_error(ctlr->dev, buffer); in cpdma_chan_submit_si() 1061 writel_relaxed(buffer, &desc->hw_buffer); in cpdma_chan_submit_si() 1065 writel_relaxed(buffer, &desc->sw_buffer); in cpdma_chan_submit_si()
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| H A D | at91-sama5d2_adc.c | 27 #include <linux/iio/buffer.h> 487 * enum at91_adc_ts_clb_idx - calibration indexes in NVMEM buffer 530 * @rx_dma_buf: dma handler for the buffer 532 * @buf_idx: index inside the dma buffer where reading was last done 533 * @rx_buf_sz: size of buffer used by DMA operation 554 * @workq: workqueue for buffer data pushing 581 * Nobody minds a buffer being too big. 607 u16 buffer[AT91_BUFFER_MAX_HWORDS] __aligned(8); 1182 /* Transferred length is size in bytes from end of buffer */ in at91_adc_dma_size_done() 1211 /* we start a new DMA, so set buffer inde in at91_adc_dma_start() [all...] |
| /kernel/linux/linux-6.6/kernel/ |
| H A D | seccomp.c | 2337 static int read_actions_logged(struct ctl_table *ro_table, void *buffer, in read_actions_logged() argument 2352 return proc_dostring(&table, 0, buffer, lenp, ppos); in read_actions_logged() 2355 static int write_actions_logged(struct ctl_table *ro_table, void *buffer, in write_actions_logged() argument 2370 ret = proc_dostring(&table, 1, buffer, lenp, ppos); in write_actions_logged() 2417 void *buffer, size_t *lenp, in seccomp_actions_logged_handler() 2426 ret = write_actions_logged(ro_table, buffer, lenp, ppos, in seccomp_actions_logged_handler() 2430 ret = read_actions_logged(ro_table, buffer, lenp, ppos); in seccomp_actions_logged_handler() 2416 seccomp_actions_logged_handler(struct ctl_table *ro_table, int write, void *buffer, size_t *lenp, loff_t *ppos) seccomp_actions_logged_handler() argument
|
| /kernel/linux/linux-6.6/mm/ |
| H A D | compaction.c | 2829 void *buffer, size_t *length, loff_t *ppos) in compaction_proactiveness_sysctl_handler() 2833 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in compaction_proactiveness_sysctl_handler() 2859 void *buffer, size_t *length, loff_t *ppos) in sysctl_compaction_handler() 2863 ret = proc_dointvec(table, write, buffer, length, ppos); in sysctl_compaction_handler() 3174 int write, void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_warn_RT_change() 3179 return proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_dointvec_minmax_warn_RT_change() 3182 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_dointvec_minmax_warn_RT_change() 2828 compaction_proactiveness_sysctl_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) compaction_proactiveness_sysctl_handler() argument 2858 sysctl_compaction_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) sysctl_compaction_handler() argument 3173 proc_dointvec_minmax_warn_RT_change(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dointvec_minmax_warn_RT_change() argument
|
| /test/xts/acts/multimedia/audio/audio_js_standard/OhAudioNdk/entry/src/main/cpp/ |
| H A D | ohaudiondk.cpp | 269 int32_t onReadData(OH_AudioCapturer *capturer, void *userData, void *buffer, int32_t length) in onReadData() argument 271 printf("Get callback buffer, bufferLen:%d \n", length); in onReadData() 273 if (fwrite(buffer, length, count, g_file) != count) { in onReadData() 274 printf("buffer fwrite err"); in onReadData() 322 char *buffer = new char[bufsize + 1]; // 加一用于存储字符串结束符 in OpenFileName() local 323 napi_get_value_string_utf8(env, args[0], buffer, bufsize + 1, nullptr); in OpenFileName() 326 g_file = fopen(buffer, "wb"); // 以可读可写方式打开文件 in OpenFileName() 456 int32_t onRendererWriteData(OH_AudioRenderer *renderer, void *userData, void *buffer, int32_t length) in onRendererWriteData() argument 461 size_t readCount = fread(buffer, length, 1, g_file); in onRendererWriteData()
|
| /third_party/curl/lib/vtls/ |
| H A D | vtls.c | 828 static size_t multissl_version(char *buffer, size_t size); 830 void Curl_ssl_version(char *buffer, size_t size) in Curl_ssl_version() argument 833 (void)multissl_version(buffer, size); in Curl_ssl_version() 835 (void)Curl_ssl->version(buffer, size); in Curl_ssl_version() 1090 * Allocate buffer for the pinned key in Curl_pin_peer_pubkey() 1385 static size_t multissl_version(char *buffer, size_t size) in multissl_version() argument 1418 strcpy(buffer, backends); in multissl_version() 1420 *buffer = 0; /* did not fit */ in multissl_version() 1722 /* Do receive until we fill the buffer somehwhat or EGAIN, error or EOF */ in ssl_cf_recv()
|
| /third_party/backends/backend/ |
| H A D | mustek_pp_cis.c | 303 Since we use a static temporary buffer, we must make sure that the in Mustek_PP_1015_show_val() 304 buffer isn't altered while it is still in use (typically because in Mustek_PP_1015_show_val() 306 Therefore the buffer is organized as a ring buffer. If should contain in Mustek_PP_1015_show_val() 1622 cis_check_result(SANE_Byte* buffer, int pixel) in cis_check_result() argument 1627 if (buffer[i] > maxVal) maxVal = buffer[i]; in cis_check_result() 2084 * I assume that the buffer is read 100 times to allow the lamp to in cis_calibrate() 2673 /* Allocate memory for temporary color buffer */ in cis_drv_start() 2678 DBG (2, "cis_drv_start: not enough memory for temporary buffer\ in cis_drv_start() 2785 cis_drv_read(SANE_Handle hndl, SANE_Byte *buffer) cis_drv_read() argument [all...] |
| /third_party/FreeBSD/sys/dev/usb/ |
| H A D | usb_transfer.c | 285 /* Set beginning of current buffer */ in usbd_transfer_setup_sub_malloc() 286 buf = parm->dma_page_cache_ptr->buffer; in usbd_transfer_setup_sub_malloc() 296 pc->buffer = USB_ADD_BYTES(buf, y * size); in usbd_transfer_setup_sub_malloc() 319 * transfer. This function will setup correct packet sizes, buffer 617 * type of buffer: in usbd_transfer_setup_sub() 701 * a local buffer: in usbd_transfer_setup_sub() 715 xfer->local_buffer = page_info.buffer; in usbd_transfer_setup_sub() 744 * Compute maximum buffer size in usbd_transfer_setup_sub() 2039 return (page_info.buffer); in usbd_xfer_get_frame_buffer() 2070 * This function sets the pointer of the buffer tha [all...] |
| /third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/ |
| H A D | RBBITestMonkey.java | 2189 StringBuilder buffer = new StringBuilder(); in RunMonkey() 2190 buffer.append("\n") in RunMonkey() 2200 buffer.append((ci == i) ? " --→" : " ") in RunMonkey() 2207 buffer.append("\\U").append(String.format("%08x", (int) c)); in RunMonkey() 2209 buffer.append(" \\u").append(String.format("%04x", (int) c)); in RunMonkey() 2212 buffer.append( in RunMonkey() 2220 errln(buffer.toString()); in RunMonkey()
|
| /third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
| H A D | RBBITestMonkey.java | 2196 StringBuilder buffer = new StringBuilder(); in RunMonkey() 2197 buffer.append("\n") in RunMonkey() 2207 buffer.append((ci == i) ? " --→" : " ") in RunMonkey() 2214 buffer.append("\\U").append(String.format("%08x", c)); in RunMonkey() 2216 buffer.append(" \\u").append(String.format("%04x", c)); in RunMonkey() 2219 buffer.append( in RunMonkey() 2227 errln(buffer.toString()); in RunMonkey()
|
| /third_party/icu/icu4c/source/common/unicode/ |
| H A D | unistr.h | 202 * and the internal buffer would hold up to 11 char16_ts in that case. 252 * - If the buffer passed to an insert/append/replace operation is owned by the 284 * in an allocated and shared buffer, or in an outside buffer that is "aliased". 287 * Also, the internal buffer is accessible via special functions. 1449 * If the string aliases to `dst` itself as an external buffer, 1477 * If the string aliases to `dest` itself as an external buffer, 1480 * @param dest Destination string buffer. 1539 * so that one can allocate a larger buffer and call the function again 1545 * @param target the target buffer fo 3128 UnicodeString(uint16_t *buffer, int32_t buffLength, int32_t buffCapacity) UnicodeString() argument 3142 UnicodeString(wchar_t *buffer, int32_t buffLength, int32_t buffCapacity) UnicodeString() argument [all...] |
| /third_party/libuv/test/ |
| H A D | test-spawn.c | 590 char buffer[] = "hello-from-spawn_stdin"; in TEST_IMPL() local 606 buf.base = buffer; in TEST_IMPL() 607 buf.len = sizeof(buffer); in TEST_IMPL() 619 ASSERT_OK(strcmp(buffer, output)); in TEST_IMPL() 1013 static char buffer[] = "hello-from-spawn_stdin\n"; in TEST_IMPL() local 1027 buf = uv_buf_init(buffer, sizeof(buffer)); in TEST_IMPL()
|
| /third_party/mesa3d/src/broadcom/vulkan/ |
| H A D | v3dv_descriptor_set.c | 245 return descriptor->buffer_view->buffer->mem->bo; in v3dv_descriptor_map_get_texture_bo() 759 * specifies the size of the buffer in bytes. in v3dv_CreateDescriptorSetLayout() 998 V3DV_FROM_HANDLE(v3dv_buffer, buffer, buffer_info->buffer); in write_buffer_descriptor() 1001 descriptor->buffer = buffer; in write_buffer_descriptor() 1004 descriptor->range = buffer->size - buffer_info->offset; in write_buffer_descriptor() 1080 descriptor->buffer = NULL; in write_inline_uniform_descriptor() 1088 * buffer as the largest range of data that the client has written to it. in write_inline_uniform_descriptor()
|