/device/soc/rockchip/rk3588/kernel/drivers/mmc/host/ |
H A D | rk_sdmmc_ops.h | 9 int rk_emmc_transfer(u8 *buffer, unsigned int addr, unsigned int blksz, int write);
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | cmdline.h | 7 char *buffer, int bufsize);
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | cmdline.h | 7 char *buffer, int bufsize);
|
/third_party/curl/src/ |
H A D | tool_getpass.h | 35 char *getpass_r(const char *prompt, char *buffer, size_t buflen);
|
/third_party/node/deps/v8/src/codegen/s390/ |
H A D | cpu-s390.cc | 13 void CpuFeatures::FlushICache(void* buffer, size_t size) { in FlushICache() argument
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-shape-complex-vowel-constraints.hh | 36 hb_buffer_t *buffer,
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_jpeg_memory_source.h | 14 // buffer with length 'size'. 15 jpeg_source_mgr CreateJpegMemorySource(const uint8 *buffer, size_t size);
|
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_parser.h | 35 int cil_parser(const char *path, char *buffer, uint32_t size, struct cil_tree **parse_tree);
|
/third_party/selinux/libsepol/cil/test/unit/ |
H A D | CilTest.h | 37 char *buffer; member
|
/third_party/protobuf/conformance/third_party/jsoncpp/ |
H A D | jsoncpp.cpp | 136 /// Constant that specify the size of the buffer that must be passed to 141 // Defines a char buffer for use with uintToString(). 146 * @param current Input/Output string buffer. 157 /** Change ',' to '.' everywhere in buffer. 804 std::string buffer(token.start_, token.end_); 805 std::istringstream is(buffer); 999 char buffer[18 + 16 + 16 + 1]; 1000 snprintf(buffer, sizeof(buffer), "Line %d, Column %d", line, column); 1001 return buffer; 4070 UIntToStringBuffer buffer; valueToString() local 4086 UIntToStringBuffer buffer; valueToString() local 4108 char buffer[32]; valueToString() local [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | hisi504_nand.c | 137 char *buffer; member 369 return *(uint8_t *)(host->buffer + host->offset - 1); in hisi_nfc_read_byte() 377 memcpy(host->buffer + host->offset, buf, len); in hisi_nfc_write_buf() 385 memcpy(buf, host->buffer + host->offset, len); in hisi_nfc_read_buf() 699 host->buffer = dmam_alloc_coherent(host->dev, in hisi_nfc_attach_chip() 702 if (!host->buffer) in hisi_nfc_attach_chip() 706 memset(host->buffer, 0xff, mtd->writesize + mtd->oobsize); in hisi_nfc_attach_chip()
|
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/ |
H A D | pcan_usb_pro.c | 494 u8 *buffer; in pcan_usb_pro_drv_loaded() local 497 buffer = kzalloc(PCAN_USBPRO_FCT_DRVLD_REQ_LEN, GFP_KERNEL); in pcan_usb_pro_drv_loaded() 498 if (!buffer) in pcan_usb_pro_drv_loaded() 501 buffer[0] = 0; in pcan_usb_pro_drv_loaded() 502 buffer[1] = !!loaded; in pcan_usb_pro_drv_loaded() 505 PCAN_USBPRO_FCT_DRVLD, buffer, in pcan_usb_pro_drv_loaded() 507 kfree(buffer); in pcan_usb_pro_drv_loaded()
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | msp3400-driver.c | 199 u8 buffer[5]; in msp_write() local 201 buffer[0] = dev; in msp_write() 202 buffer[1] = addr >> 8; in msp_write() 203 buffer[2] = addr & 0xff; in msp_write() 204 buffer[3] = val >> 8; in msp_write() 205 buffer[4] = val & 0xff; in msp_write() 210 if (i2c_master_send(client, buffer, 5) == 5) in msp_write()
|
/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | ftl.c | 748 static int ftl_read(partition_t *part, caddr_t buffer, in ftl_read() argument 771 memset(buffer, 0, SECTOR_SIZE); in ftl_read() 776 (u_char *)buffer); in ftl_read() 783 buffer += SECTOR_SIZE; in ftl_read() 862 static int ftl_write(partition_t *part, caddr_t buffer, in ftl_write() argument 911 ret = mtd_write(part->mbd.mtd, offset, SECTOR_SIZE, &retlen, buffer); in ftl_write() 936 buffer += SECTOR_SIZE; in ftl_write()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00usb.c | 48 void *buffer, const u16 buffer_length, in rt2x00usb_vendor_request() 63 value, offset, buffer, buffer_length, in rt2x00usb_vendor_request() 85 const u16 offset, void *buffer, in rt2x00usb_vendor_req_buff_lock() 101 memcpy(rt2x00dev->csr.cache, buffer, buffer_length); in rt2x00usb_vendor_req_buff_lock() 108 memcpy(buffer, rt2x00dev->csr.cache, buffer_length); in rt2x00usb_vendor_req_buff_lock() 116 const u16 offset, void *buffer, in rt2x00usb_vendor_request_buff() 125 tb = (char *)buffer; in rt2x00usb_vendor_request_buff() 45 rt2x00usb_vendor_request(struct rt2x00_dev *rt2x00dev, const u8 request, const u8 requesttype, const u16 offset, const u16 value, void *buffer, const u16 buffer_length, const int timeout) rt2x00usb_vendor_request() argument 83 rt2x00usb_vendor_req_buff_lock(struct rt2x00_dev *rt2x00dev, const u8 request, const u8 requesttype, const u16 offset, void *buffer, const u16 buffer_length, const int timeout) rt2x00usb_vendor_req_buff_lock() argument 114 rt2x00usb_vendor_request_buff(struct rt2x00_dev *rt2x00dev, const u8 request, const u8 requesttype, const u16 offset, void *buffer, const u16 buffer_length) rt2x00usb_vendor_request_buff() argument
|
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | sierra.c | 397 /* free up the transfer buffer, as usb_free_urb() does not do this */ in sierra_outdat_callback() 422 unsigned char *buffer; in sierra_write() local 456 buffer = kmalloc(writesize, GFP_ATOMIC); in sierra_write() 457 if (!buffer) { in sierra_write() 468 memcpy(buffer, buf, writesize); in sierra_write() 470 usb_serial_debug_data(&port->dev, __func__, writesize, buffer); in sierra_write() 475 buffer, writesize, sierra_outdat_callback, port); in sierra_write() 511 kfree(buffer); in sierra_write()
|
/kernel/linux/linux-5.10/sound/mips/ |
H A D | hal2.c | 59 unsigned char *buffer; member 453 codec->buffer = dma_alloc_noncoherent(dev, H2_BUF_SIZE, &buffer_dma, in hal2_alloc_dmabuf() 455 if (!codec->buffer) in hal2_alloc_dmabuf() 460 dma_free_noncoherent(dev, H2_BUF_SIZE, codec->buffer, buffer_dma, in hal2_alloc_dmabuf() 488 dma_free_noncoherent(dev, H2_BUF_SIZE, codec->buffer, codec->buffer_dma, in hal2_free_dmabuf() 577 unsigned char *buf = hal2->dac.buffer + rec->hw_data; in hal2_playback_transfer() 662 unsigned char *buf = hal2->adc.buffer + rec->hw_data; in hal2_capture_transfer()
|
/kernel/linux/linux-5.10/sound/pci/ice1712/ |
H A D | pontis.c | 618 static void wm_proc_regs_write(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in wm_proc_regs_write() argument 624 while (!snd_info_get_line(buffer, line, sizeof(line))) { in wm_proc_regs_write() 633 static void wm_proc_regs_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in wm_proc_regs_read() argument 641 snd_iprintf(buffer, "%02x = %04x\n", reg, val); in wm_proc_regs_read() 652 static void cs_proc_regs_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in cs_proc_regs_read() argument 660 snd_iprintf(buffer, "%02x = %02x\n", reg, val); in cs_proc_regs_read() 663 snd_iprintf(buffer, "%02x = %02x\n", 0x7f, val); in cs_proc_regs_read()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | file_merge.c | 22 * -EINVAL, buffer is exhausted 166 char *buffer; in rename_conflicting_file() local 168 buffer = kzalloc(DENTRY_NAME_MAX_LEN, GFP_KERNEL); in rename_conflicting_file() 169 if (!buffer) in rename_conflicting_file() 190 buffer[i] = dentry_name[i + dot_pos]; in rename_conflicting_file() 192 buffer[i] = '\0'; in rename_conflicting_file() 195 strcat(dentry_name, buffer); in rename_conflicting_file() 199 kfree(buffer); in rename_conflicting_file() 360 * ctx->actor return nonzero means buffer is exhausted or in hmdfs_iterate_merge()
|
/kernel/linux/linux-5.10/fs/cramfs/ |
H A D | inode.c | 148 * We have our own block cache: don't fill up the buffer cache 155 * worry about end-of-buffer issues even when decompressing a full 187 unsigned i, blocknr, buffer; in cramfs_blkdev_read() local 196 /* Check if an existing buffer already has the data.. */ in cramfs_blkdev_read() 240 buffer = next_buffer; in cramfs_blkdev_read() 241 next_buffer = NEXT_BUFFER(buffer); in cramfs_blkdev_read() 242 buffer_blocknr[buffer] = blocknr; in cramfs_blkdev_read() 243 buffer_dev[buffer] = sb; in cramfs_blkdev_read() 245 data = read_buffers[buffer]; in cramfs_blkdev_read() 257 return read_buffers[buffer] in cramfs_blkdev_read() [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/pwc/ |
H A D | pwc-if.c | 162 void *buffer = kmalloc(size, GFP_KERNEL); in pwc_alloc_urb_buffer() local 164 if (!buffer) in pwc_alloc_urb_buffer() 167 *dma_handle = dma_map_single(dmadev, buffer, size, DMA_FROM_DEVICE); in pwc_alloc_urb_buffer() 169 kfree(buffer); in pwc_alloc_urb_buffer() 173 return buffer; in pwc_alloc_urb_buffer() 178 void *buffer, in pwc_free_urb_buffer() 184 kfree(buffer); in pwc_free_urb_buffer() 269 PWC_DEBUG_FLOW("Frame buffer underflow (%d bytes); discarded.\n", in pwc_frame_complete() 472 PWC_ERROR("Failed to allocate urb buffer %d\n", i); in pwc_isoc_init() 644 /* need vmalloc since frame buffer > 12 in buffer_init() 176 pwc_free_urb_buffer(struct usb_device *dev, size_t size, void *buffer, dma_addr_t dma_handle) pwc_free_urb_buffer() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | radeon_audio.c | 79 unsigned char *buffer, size_t size); 81 unsigned char *buffer, size_t size); 512 u8 buffer[HDMI_INFOFRAME_HEADER_SIZE + HDMI_AVI_INFOFRAME_SIZE]; in radeon_audio_set_avi_packet() local 532 err = hdmi_avi_infoframe_pack(&frame, buffer, sizeof(buffer)); in radeon_audio_set_avi_packet() 541 buffer, sizeof(buffer)); in radeon_audio_set_avi_packet()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | hyperv.h | 76 /* Single-page buffer */ 83 /* Multiple-page buffer */ 92 * Multiple-page buffer array; the pfn array is variable size: 125 * is set by the host on the host->guest ring buffer, and by the 126 * guest on the guest->host ring buffer. 130 * the feature bit in the guest->host ring buffer, the guest is 133 * buffer when it is waiting for space to become available, and 135 * ring buffer and interrupt the host when it frees enough space 138 * ring buffer, the host is telling the guest that: 140 * buffer whe 164 u8 buffer[]; global() member [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | hisi504_nand.c | 137 char *buffer; member 369 return *(uint8_t *)(host->buffer + host->offset - 1); in hisi_nfc_read_byte() 377 memcpy(host->buffer + host->offset, buf, len); in hisi_nfc_write_buf() 385 memcpy(buf, host->buffer + host->offset, len); in hisi_nfc_read_buf() 699 host->buffer = dmam_alloc_coherent(host->dev, in hisi_nfc_attach_chip() 702 if (!host->buffer) in hisi_nfc_attach_chip() 706 memset(host->buffer, 0xff, mtd->writesize + mtd->oobsize); in hisi_nfc_attach_chip()
|
/kernel/linux/linux-6.6/drivers/mtd/ |
H A D | ftl.c | 748 static int ftl_read(partition_t *part, caddr_t buffer, in ftl_read() argument 771 memset(buffer, 0, SECTOR_SIZE); in ftl_read() 776 (u_char *)buffer); in ftl_read() 783 buffer += SECTOR_SIZE; in ftl_read() 862 static int ftl_write(partition_t *part, caddr_t buffer, in ftl_write() argument 911 ret = mtd_write(part->mbd.mtd, offset, SECTOR_SIZE, &retlen, buffer); in ftl_write() 936 buffer += SECTOR_SIZE; in ftl_write()
|