| /kernel/liteos_a/apps/tftp/src/ |
| H A D | tftpc.c | 380 /* Loop to get the last data packet from the receive buffer */ in lwip_tftp_validate_data_pkt() 482 /* Set up the send buffer */ in lwip_tftp_send_error() 936 struct stat buffer; in lwip_tftp_put_file_by_filename() local 964 if (stat((char *)szSrcFileName, &buffer) != 0) { in lwip_tftp_put_file_by_filename() 969 if (buffer.st_size >= (off_t)(TFTP_MAX_BLK_NUM * TFTP_BLKSIZE)) { in lwip_tftp_put_file_by_filename() 985 /* First time initialize the buffer */ in lwip_tftp_put_file_by_filename() 1061 /* Create buffer block size */ in lwip_tftp_put_file_by_filename() 1152 /* Read a block from the file to buffer */ in lwip_tftp_put_file_by_filename() 1170 /* Sending buffer contents failed */ in lwip_tftp_put_file_by_filename() 1224 /* First time initialize the buffer */ in lwip_tftp_inner_put_file() [all...] |
| /kernel/linux/linux-5.10/drivers/target/iscsi/ |
| H A D | iscsi_target.c | 2200 pr_err("Unable to locate text_in buffer for sendtargets" in iscsit_process_text_cmd() 2616 * buffer size derived from the CDB. in iscsit_handle_immediate_data() 3954 u8 *buffer, opcode; in iscsit_get_rx_pdu() local 3958 buffer = kcalloc(ISCSI_HDR_LEN, sizeof(*buffer), GFP_KERNEL); in iscsit_get_rx_pdu() 3959 if (!buffer) in iscsit_get_rx_pdu() 3971 iov.iov_base = buffer; in iscsit_get_rx_pdu() 3990 iscsit_do_crypto_hash_buf(conn->conn_rx_hash, buffer, in iscsit_get_rx_pdu() 4002 memset(buffer, 0xff, ISCSI_HDR_LEN); in iscsit_get_rx_pdu() 4013 opcode = buffer[ in iscsit_get_rx_pdu() [all...] |
| /kernel/linux/linux-5.10/sound/pci/hda/ |
| H A D | patch_sigmatel.c | 4411 static void stac92hd_proc_hook(struct snd_info_buffer *buffer, in stac92hd_proc_hook() argument 4415 snd_iprintf(buffer, "Power-Map: 0x%02x\n", in stac92hd_proc_hook() 4420 static void analog_loop_proc_hook(struct snd_info_buffer *buffer, in analog_loop_proc_hook() argument 4424 snd_iprintf(buffer, "Analog Loopback: 0x%02x\n", in analog_loop_proc_hook() 4429 static void stac92hd7x_proc_hook(struct snd_info_buffer *buffer, in stac92hd7x_proc_hook() argument 4432 stac92hd_proc_hook(buffer, codec, nid); in stac92hd7x_proc_hook() 4434 analog_loop_proc_hook(buffer, codec, 0xfa0); in stac92hd7x_proc_hook() 4437 static void stac9205_proc_hook(struct snd_info_buffer *buffer, in stac9205_proc_hook() argument 4441 analog_loop_proc_hook(buffer, codec, 0xfe0); in stac9205_proc_hook() 4444 static void stac927x_proc_hook(struct snd_info_buffer *buffer, in stac927x_proc_hook() argument [all...] |
| /kernel/linux/linux-6.6/fs/ntfs3/ |
| H A D | fslog.c | 1124 struct RECORD_PAGE_HDR **buffer, bool *usa_error) in read_log_page() 1139 if (!*buffer) { in read_log_page() 1143 *buffer = to_free; in read_log_page() 1146 page_buf = page_off ? log->one_page_buf : *buffer; in read_log_page() 1156 if (page_buf != *buffer) in read_log_page() 1157 memcpy(*buffer, Add2Ptr(page_buf, page_off), bytes); in read_log_page() 1171 *buffer = NULL; in read_log_page() 2226 * read_log_rec_buf - Copy a log record from the file to a buffer. 2231 const struct LFS_RECORD_HDR *rh, void *buffer) in read_log_rec_buf() 2266 memcpy(buffer, Add2Pt in read_log_rec_buf() 1123 read_log_page(struct ntfs_log *log, u32 vbo, struct RECORD_PAGE_HDR **buffer, bool *usa_error) read_log_page() argument 2230 read_log_rec_buf(struct ntfs_log *log, const struct LFS_RECORD_HDR *rh, void *buffer) read_log_rec_buf() argument [all...] |
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
| H A D | atomisp_cmd.c | 416 dev_err(isp->dev, " buffer overrun"); in print_csi_rx_errors() 670 struct atomisp_css_buffer buffer; in atomisp_buf_done() local 693 dev_err(isp->dev, "%s, unsupported buffer type: %d\n", in atomisp_buf_done() 698 memset(&buffer, 0, sizeof(struct atomisp_css_buffer)); in atomisp_buf_done() 699 buffer.css_buffer.type = buf_type; in atomisp_buf_done() 701 buf_type, &buffer); in atomisp_buf_done() 713 buffer.css_buffer.data.stats_3a) { in atomisp_buf_done() 723 atomisp_3a_stats_ready_event(asd, buffer.css_buffer.exp_id); in atomisp_buf_done() 739 buffer.css_buffer.data.metadata) { in atomisp_buf_done() 760 buffer in atomisp_buf_done() [all...] |
| /kernel/linux/linux-6.6/sound/pci/hda/ |
| H A D | patch_sigmatel.c | 4399 static void stac92hd_proc_hook(struct snd_info_buffer *buffer, in stac92hd_proc_hook() argument 4403 snd_iprintf(buffer, "Power-Map: 0x%02x\n", in stac92hd_proc_hook() 4408 static void analog_loop_proc_hook(struct snd_info_buffer *buffer, in analog_loop_proc_hook() argument 4412 snd_iprintf(buffer, "Analog Loopback: 0x%02x\n", in analog_loop_proc_hook() 4417 static void stac92hd7x_proc_hook(struct snd_info_buffer *buffer, in stac92hd7x_proc_hook() argument 4420 stac92hd_proc_hook(buffer, codec, nid); in stac92hd7x_proc_hook() 4422 analog_loop_proc_hook(buffer, codec, 0xfa0); in stac92hd7x_proc_hook() 4425 static void stac9205_proc_hook(struct snd_info_buffer *buffer, in stac9205_proc_hook() argument 4429 analog_loop_proc_hook(buffer, codec, 0xfe0); in stac9205_proc_hook() 4432 static void stac927x_proc_hook(struct snd_info_buffer *buffer, in stac927x_proc_hook() argument [all...] |
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
| H A D | gfx_v11_0.c | 372 /* MES KIQ fw hasn't indirect buffer support for now */ in gfx_v11_0_ring_test_ib() 614 volatile u32 *buffer) in gfx_v11_0_get_csb_buffer() 623 if (buffer == NULL) in gfx_v11_0_get_csb_buffer() 626 buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); in gfx_v11_0_get_csb_buffer() 627 buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_BEGIN_CLEAR_STATE); in gfx_v11_0_get_csb_buffer() 629 buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CONTEXT_CONTROL, 1)); in gfx_v11_0_get_csb_buffer() 630 buffer[count++] = cpu_to_le32(0x80000000); in gfx_v11_0_get_csb_buffer() 631 buffer[count++] = cpu_to_le32(0x80000000); in gfx_v11_0_get_csb_buffer() 636 buffer[count++] = in gfx_v11_0_get_csb_buffer() 638 buffer[coun in gfx_v11_0_get_csb_buffer() 613 gfx_v11_0_get_csb_buffer(struct amdgpu_device *adev, volatile u32 *buffer) gfx_v11_0_get_csb_buffer() argument [all...] |
| /kernel/linux/linux-5.10/drivers/dma-buf/ |
| H A D | dma-buf.c | 3 * Framework for buffer objects that can be shared across devices/subsystems. 44 static char *dmabuffs_dname(struct dentry *dentry, char *buffer, int buflen) in dmabuffs_dname() argument 56 return dynamic_dname(dentry, buffer, buflen, "/%s:%s", in dmabuffs_dname() 76 * dma-buf while still having pending operation to the buffer. in dma_buf_release() 141 /* check if buffer supports mmap */ in dma_buf_mmap_internal() 145 /* check for overflowing the buffer's size */ in dma_buf_mmap_internal() 163 /* only support discovering the end of the buffer, in dma_buf_llseek() 182 * To support cross-device and cross-driver synchronization of buffer access 333 * The name of the dma-buf buffer can only be set when the dma-buf is not 338 * @dmabuf: [in] dmabuf buffer tha [all...] |
| /kernel/linux/linux-5.10/arch/mips/include/asm/octeon/ |
| H A D | cvmx-pow.h | 2187 * buffer. It is recommended that you pass a buffer of at least 2191 * @buffer: Buffer to store capture into 2193 * The size of the supplied buffer 2197 extern int cvmx_pow_capture(void *buffer, int buffer_size); 2202 * @buffer: POW capture from cvmx_pow_capture() 2204 * Size of the buffer 2206 extern void cvmx_pow_display(void *buffer, int buffer_size);
|
| /kernel/linux/linux-5.10/arch/powerpc/kexec/ |
| H A D | file_load_64.c | 30 u64 *buf; /* data buffer for usable-memory property */ 31 u32 size; /* size allocated for the data buffer */ 238 * for the buffer. If found, sets kbuf->mem. 240 * @buf_min: Minimum address for the buffer. 241 * @buf_max: Maximum address for the buffer. 288 * suitable buffer with top down approach. 290 * @buf_min: Minimum address for the buffer. 291 * @buf_max: Maximum address for the buffer. 337 * for the buffer. If found, sets kbuf->mem. 339 * @buf_min: Minimum address for the buffer [all...] |
| /kernel/linux/linux-5.10/arch/powerpc/kernel/ |
| H A D | rtas.c | 335 * Return the firmware-specified size of the error log buffer 336 * for all rtas calls that require an error buffer argument. 348 printk (KERN_WARNING "RTAS: bad log buffer size %d\n", in rtas_get_error_log_max() 459 /* We use the global rtas args buffer */ in rtas_call() 916 * Reentrant calls need their own rtas_args buffer, so not using rtas.args, but 936 /* We use the per-cpu (PACA) rtas args buffer */ in rtas_call_reentrant() 974 (struct rtas_ext_event_log_v6 *)log->buffer; in get_pseries_errorlog() 987 log_end = log->buffer + ext_log_length; in get_pseries_errorlog() 1010 * pass addresses that fall within the RMO buffer, and use a known 1014 * permitted, and that provided pointers fall within the RMO buffer [all...] |
| /kernel/linux/linux-5.10/arch/mips/kernel/ |
| H A D | vpe.c | 573 * contents of the program (p)buffer performing relocatations/etc, free's it 860 static ssize_t vpe_write(struct file *file, const char __user *buffer, in vpe_write() argument 879 count -= copy_from_user(v->pbuffer + v->len, buffer, count); in vpe_write()
|
| /kernel/linux/linux-5.10/arch/um/drivers/ |
| H A D | net_kern.c | 171 /* clear buffer - it can happen that the host side of the interface in uml_net_open() 868 void free_output_buffer(void *buffer) in free_output_buffer() argument 870 free_pages((unsigned long) buffer, 0); in free_output_buffer()
|
| /kernel/linux/linux-5.10/arch/parisc/kernel/ |
| H A D | perf_asm.S | 1348 ;* arg1 = buffer pointer 1355 ;* arg1 = buffer pointer
|
| /kernel/linux/linux-5.10/arch/arm/mm/ |
| H A D | proc-feroceon.S | 112 mcr p15, 0, r0, c7, c10, 4 @ Drain write buffer 534 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer on v4
|
| /kernel/linux/linux-6.6/arch/mips/include/asm/octeon/ |
| H A D | cvmx-pow.h | 2187 * buffer. It is recommended that you pass a buffer of at least 2191 * @buffer: Buffer to store capture into 2193 * The size of the supplied buffer 2197 extern int cvmx_pow_capture(void *buffer, int buffer_size); 2202 * @buffer: POW capture from cvmx_pow_capture() 2204 * Size of the buffer 2206 extern void cvmx_pow_display(void *buffer, int buffer_size);
|
| /kernel/linux/linux-6.6/arch/arm/mm/ |
| H A D | proc-feroceon.S | 116 mcr p15, 0, r0, c7, c10, 4 @ Drain write buffer 538 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer on v4
|
| /kernel/linux/linux-6.6/arch/powerpc/kexec/ |
| H A D | file_load_64.c | 35 u64 *buf; /* data buffer for usable-memory property */ 36 u32 size; /* size allocated for the data buffer */ 243 * for the buffer. If found, sets kbuf->mem. 245 * @buf_min: Minimum address for the buffer. 246 * @buf_max: Maximum address for the buffer. 293 * suitable buffer with top down approach. 295 * @buf_min: Minimum address for the buffer. 296 * @buf_max: Maximum address for the buffer. 342 * for the buffer. If found, sets kbuf->mem. 344 * @buf_min: Minimum address for the buffer [all...] |
| /kernel/linux/linux-6.6/arch/parisc/kernel/ |
| H A D | perf_asm.S | 1348 ;* arg1 = buffer pointer 1355 ;* arg1 = buffer pointer
|
| /kernel/linux/linux-6.6/arch/um/drivers/ |
| H A D | net_kern.c | 171 /* clear buffer - it can happen that the host side of the interface in uml_net_open() 869 void free_output_buffer(void *buffer) in free_output_buffer() argument 871 free_pages((unsigned long) buffer, 0); in free_output_buffer()
|
| /kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
| H A D | qib.h | 121 * temp buffer for expected send setup, allocated at open, instead 165 /* first pio buffer for this ctxt */ 611 * ibmaxlen at init time, limited by chip and by receive buffer 738 /* kvirt address of 1st 2k pio buffer */ 740 /* kvirt address of 1st 4k pio buffer */ 851 /* last buffer for user use */ 875 * looking for a PIO buffer 922 * index of last buffer to optimize search for next 926 * min kernel pio buffer to optimize search 958 * base of the 2KB buffer [all...] |
| /kernel/linux/linux-5.10/drivers/net/ethernet/neterion/ |
| H A D | s2io.h | 338 u8 buffer[20]; member 437 u32 max_txds; /*Max no. of Tx buffer descriptor per TxDL */ 532 /* Rx descriptor structure for 1 buffer mode */ 560 /* Rx descriptor structure for 1 buffer mode */ 570 /* Rx descriptor structure for 3 or 2 buffer mode */ 696 /* per-ring buffer counter */ 733 * with a new buffer. 1102 static int s2io_club_tcp_session(struct ring_info *ring_data, u8 *buffer,
|
| /kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
| H A D | spi.c | 350 static u8 wilc_get_crc7(u8 *buffer, u32 len) in wilc_get_crc7() argument 352 return crc7_be(0xfe, buffer, len); in wilc_get_crc7() 395 "spi buffer size too small (%d) (%d) (%zu)\n", in wilc_spi_single_read() 478 "spi buffer size too small (%d) (%d) (%zu)\n", in wilc_spi_write_cmd() 550 dev_err(&spi->dev, "spi buffer size too small (%d)(%d) (%zu)\n", in wilc_spi_dma_rw()
|
| /kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| H A D | fw.c | 36 enum version_8188e version, u8 *buffer, u32 size) in _rtl88e_write_fw() 39 u8 *bufferptr = (u8 *)buffer; in _rtl88e_write_fw() 35 _rtl88e_write_fw(struct ieee80211_hw *hw, enum version_8188e version, u8 *buffer, u32 size) _rtl88e_write_fw() argument
|
| /kernel/linux/linux-5.10/drivers/scsi/pm8001/ |
| H A D | pm8001_sas.h | 276 __le64 addr; /* 64-bit buffer address */ 605 u32 len; /*len of buffer*/ 610 u8 buffer[1];/* Start of buffer */ member 614 void *buffer;/* keep buffer pointer to be member 620 u32 len; /* len of buffer */
|