/kernel/linux/linux-5.10/include/linux/ |
H A D | acpi.h | 148 ssize_t (*read_cmd)(char *buffer, size_t length); 149 int (*wait_command_ready)(bool single_step, char *buffer, size_t length); 166 ssize_t acpi_debugger_read_cmd(char *buffer, size_t buffer_length); 196 static inline int acpi_debugger_read_cmd(char *buffer, u32 buffer_length) in acpi_debugger_read_cmd() argument
|
/kernel/linux/linux-6.6/drivers/acpi/apei/ |
H A D | ghes.c | 336 static void ghes_copy_tofrom_phys(void *buffer, u64 paddr, u32 len, in ghes_copy_tofrom_phys() argument 350 memcpy_fromio(buffer, vaddr + offset, trunk); in ghes_copy_tofrom_phys() 352 memcpy_toio(vaddr + offset, buffer, trunk); in ghes_copy_tofrom_phys() 355 buffer += trunk; in ghes_copy_tofrom_phys()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | acpi.h | 142 ssize_t (*read_cmd)(char *buffer, size_t length); 143 int (*wait_command_ready)(bool single_step, char *buffer, size_t length); 160 ssize_t acpi_debugger_read_cmd(char *buffer, size_t buffer_length); 190 static inline int acpi_debugger_read_cmd(char *buffer, u32 buffer_length) in acpi_debugger_read_cmd() argument
|
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | ntfs_fs.h | 557 struct REPARSE_DATA_BUFFER *buffer); 613 int ntfs_sb_read(struct super_block *sb, u64 lbo, size_t bytes, void *buffer); 615 const void *buffer, int wait); 877 ssize_t ntfs_listxattr(struct dentry *dentry, char *buffer, size_t size);
|
/kernel/linux/linux-6.6/fs/ |
H A D | pipe.c | 37 * their pipe buffer quota. The general pipe use case needs at least two 65 * isn't a dead spot in the buffer, but the ring has to be a power of two and 155 * @pipe: the pipe that the buffer belongs to 156 * @buf: the buffer to attempt to steal 185 * @pipe: the pipe that the buffer belongs to 186 * @buf: the buffer to get a reference to 201 * @pipe: the pipe that the buffer belongs to 202 * @buf: the buffer to put a reference to 317 /* Was it a packet buffer? Clean up and exit */ in pipe_read() 356 * pipe buffer, an in pipe_read() 860 pipefs_dname(struct dentry *dentry, char *buffer, int buflen) pipefs_dname() argument 1462 proc_dopipe_max_size(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_dopipe_max_size() argument [all...] |
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/ |
H A D | qla_tmpl.c | 525 "%s: unknown buffer %x\n", __func__, ent->t268.buf_type); in qla27xx_fwdt_entry_t268() 695 ulong offset = offsetof(typeof(*ent), t275.buffer); in qla27xx_fwdt_entry_t275() 698 void *buffer = ent->t275.buffer; in qla27xx_fwdt_entry_t275() local 701 "%s: buffer(%lx) [%lx]\n", __func__, length, *len); in qla27xx_fwdt_entry_t275() 704 "%s: buffer zero length\n", __func__); in qla27xx_fwdt_entry_t275() 711 "%s: buffer overflow, truncate [%lx]\n", __func__, length); in qla27xx_fwdt_entry_t275() 715 qla27xx_insertbuf(buffer, length, buf, len); in qla27xx_fwdt_entry_t275() 1013 ql_log(ql_log_warn, vha, 0x02f3, "-> mpi_fwdump no buffer\n"); in qla27xx_mpi_fwdump() 1025 "-> MPI firmware already dumped -- dump saving to temporary buffer in qla27xx_mpi_fwdump() [all...] |
/kernel/linux/linux-6.6/drivers/platform/surface/aggregator/ |
H A D | ssh_packet_layer.c | 221 * SSH_PTL_RX_BUF_LEN - Evaluation-buffer size in bytes. 226 * SSH_PTL_RX_FIFO_LEN - Fifo input-buffer size in bytes. 566 * Initializes the given SSH packet. Sets the transmission buffer pointer to 567 * %NULL and the transmission buffer length to zero. For data-type packets, 568 * this buffer has to be set separately via ssh_packet_set_data() before 622 * @buffer: The buffer corresponding to this packet. 625 * Allocates a packet and corresponding transport buffer from the control 626 * packet cache. Sets the packet's buffer reference to the allocated buffer 634 ssh_ctrl_packet_alloc(struct ssh_packet **packet, struct ssam_span *buffer, gfp_t flags) ssh_ctrl_packet_alloc() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/class/ |
H A D | usblp.c | 119 * some arbitrary status buffer size; 120 * need a status buffer that is allocated via kmalloc(), not on stack 742 static ssize_t usblp_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) in usblp_write() argument 771 buffer + writecount, transfer_length)) { in usblp_write() 841 static ssize_t usblp_read(struct file *file, char __user *buffer, size_t len, loff_t *ppos) in usblp_read() argument 870 copy_to_user(buffer, usblp->readbuf + usblp->readcount, count)) { in usblp_read() 893 * Our write path has a peculiar property: it does not buffer like a tty, 897 * select(2) or poll(2) to wait for the buffer to drain before closing. 1065 * buffer. For example if you make sure you never request the device ID 1150 /* Malloc device ID string buffer t in usblp_probe() [all...] |
/kernel/linux/linux-6.6/drivers/block/drbd/ |
H A D | drbd_bitmap.c | 803 /* merge number words from buffer into the bitmap starting at offset. 804 * buffer[i] is expected to be little endian unsigned long. 809 unsigned long *buffer) in drbd_bm_merge_lel() 837 word = *bm | *buffer++; in drbd_bm_merge_lel() 854 /* copy number words from the bitmap starting at offset into the buffer. 855 * buffer[i] will be little endian unsigned long. 858 unsigned long *buffer) in drbd_bm_get_lel() 886 *buffer++ = *bm++; in drbd_bm_get_lel() 808 drbd_bm_merge_lel(struct drbd_device *device, size_t offset, size_t number, unsigned long *buffer) drbd_bm_merge_lel() argument 857 drbd_bm_get_lel(struct drbd_device *device, size_t offset, size_t number, unsigned long *buffer) drbd_bm_get_lel() argument
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/ |
H A D | htc.c | 345 u8 *buffer, in ath10k_htc_process_trailer() 359 orig_buffer = buffer; in ath10k_htc_process_trailer() 363 record = (struct ath10k_htc_record *)buffer; in ath10k_htc_process_trailer() 371 /* no room left in buffer for record */ in ath10k_htc_process_trailer() 424 buffer += sizeof(record->hdr) + record->hdr.len; in ath10k_htc_process_trailer() 923 * even if the buffer was completed. It is suspected in ath10k_htc_wait_target() 1088 /* we controlled the buffer creation, it's aligned */ in ath10k_htc_connect_service() 344 ath10k_htc_process_trailer(struct ath10k_htc *htc, u8 *buffer, int length, enum ath10k_htc_ep_id src_eid, void *next_lookaheads, int *next_lookaheads_len) ath10k_htc_process_trailer() argument
|
/kernel/linux/linux-6.6/drivers/net/hamradio/ |
H A D | baycom_epp.c | 232 static inline void append_crc_ccitt(unsigned char *buffer, int len) 237 crc = (crc >> 8) ^ crc_ccitt_table[(crc ^ *buffer++) & 0xff]; 239 *buffer++ = crc; 240 *buffer++ = crc >> 8;
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/ |
H A D | sdio.c | 86 * Macro to check if DMA buffer is WORD-aligned and DMA-able. 87 * Most host controllers assume the buffer is DMA'able and will 454 req->buffer, req->length, in __ath6kl_sdio_write_async() 566 static int ath6kl_sdio_write_async(struct ath6kl *ar, u32 address, u8 *buffer, in ath6kl_sdio_write_async() argument 579 bus_req->buffer = buffer; in ath6kl_sdio_write_async() 978 * Fill the buffer with the address byte value we want to in ath6kl_set_addrwin_reg()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | acpi.c | 149 * (as an integer object or inside a buffer object), 176 /* if the buffer size doesn't match the expected size */ in iwl_acpi_get_dsm_integer() 177 if (obj->buffer.length != expected_size) in iwl_acpi_get_dsm_integer() 179 "ACPI: DSM invalid buffer size, padding or truncating (%d)\n", in iwl_acpi_get_dsm_integer() 180 obj->buffer.length); in iwl_acpi_get_dsm_integer() 183 memcpy(&le_value, obj->buffer.pointer, in iwl_acpi_get_dsm_integer() 184 min_t(size_t, expected_size, (size_t)obj->buffer.length)); in iwl_acpi_get_dsm_integer()
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | usb.c | 147 const u8 *image; /* buffer for combine fw and nvram */ 748 void *buffer, int buflen) in brcmf_usb_dl_cmd() 787 memcpy(buffer, tmpbuf, buflen); in brcmf_usb_dl_cmd() 864 brcmf_usb_dl_send_bulk(struct brcmf_usbdev_info *devinfo, void *buffer, int len) in brcmf_usb_dl_send_bulk() argument 873 devinfo->tx_pipe, buffer, len, in brcmf_usb_dl_send_bulk() 747 brcmf_usb_dl_cmd(struct brcmf_usbdev_info *devinfo, u8 cmd, void *buffer, int buflen) brcmf_usb_dl_cmd() argument
|
/kernel/linux/linux-6.6/drivers/pci/pcie/ |
H A D | aspm.c | 1231 static int pcie_aspm_get_policy(char *buffer, const struct kernel_param *kp) in pcie_aspm_get_policy() argument 1236 cnt += sprintf(buffer + cnt, "[%s] ", policy_str[i]); in pcie_aspm_get_policy() 1238 cnt += sprintf(buffer + cnt, "%s ", policy_str[i]); in pcie_aspm_get_policy() 1239 cnt += sprintf(buffer + cnt, "\n"); in pcie_aspm_get_policy()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/analogix/ |
H A D | analogix-anx78xx.c | 773 u8 buffer[HDMI_INFOFRAME_HEADER_SIZE + HDMI_AVI_INFOFRAME_SIZE]; in anx78xx_send_video_infoframe() local 776 err = hdmi_avi_infoframe_pack(frame, buffer, sizeof(buffer)); in anx78xx_send_video_infoframe() 788 SP_INFOFRAME_AVI_DB1_REG, buffer, in anx78xx_send_video_infoframe()
|
H A D | analogix_dp_reg.c | 1002 * db[1]!=0: entering PSR, wait for fully active remote frame buffer. in analogix_dp_send_psr_spd() 1028 u8 *buffer = msg->buffer; in analogix_dp_transfer() local 1037 /* Clear AUX CH data buffer */ in analogix_dp_transfer() 1079 reg = buffer[i]; in analogix_dp_transfer() 1129 buffer[i] = (unsigned char)reg; in analogix_dp_transfer()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_stats.c | 635 const char __user *buffer, in ocrdma_dbgfs_ops_write() 647 if (copy_from_user(tmp_str, buffer, count)) in ocrdma_dbgfs_ops_write() 686 static ssize_t ocrdma_dbgfs_ops_read(struct file *filp, char __user *buffer, in ocrdma_dbgfs_ops_read() argument 744 status = simple_read_from_buffer(buffer, usr_buf_len, ppos, data, in ocrdma_dbgfs_ops_read() 634 ocrdma_dbgfs_ops_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) ocrdma_dbgfs_ops_write() argument
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | hp-wmi-sensors.c | 18 * [4] P. Rohár, "bmfdec - Decompile binary MOF file (BMF) from WMI buffer", 532 is_raw_wmi_string(elements[prop].buffer.pointer, in check_wobj() 533 elements[prop].buffer.length)) in check_wobj() 554 hp_wmi_wstrdup(dev, element->buffer.pointer) : in extract_acpi_value() 963 convert_raw_wmi_string(element->buffer.pointer) : in update_numeric_sensor_from_wobj()
|
/kernel/linux/linux-6.6/drivers/iio/light/ |
H A D | si1145.c | 26 #include <linux/iio/buffer.h> 167 * @autonomous: If automatic measurements are active (for buffer support) 171 * @buffer: Used to pack data read from sensor. 185 * Maximum buffer size (may be only partly used if not all 190 u8 buffer[24] __aligned(8); 483 sizeof(u16) * run, &data->buffer[j]); in si1145_trigger_handler() 498 iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, in si1145_trigger_handler()
|
/kernel/linux/linux-6.6/drivers/iio/accel/ |
H A D | st_accel_core.c | 1270 struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL}; in apply_acpi_orientation() local 1298 status = acpi_evaluate_object(adev->handle, "_ONT", NULL, &buffer); in apply_acpi_orientation() 1307 ont = buffer.pointer; in apply_acpi_orientation() 1382 kfree(buffer.pointer); in apply_acpi_orientation() 1398 * @name: device name buffer reference.
|
/kernel/linux/linux-6.6/drivers/iio/imu/ |
H A D | kmx61.c | 20 #include <linux/iio/buffer.h> 1195 s16 buffer[8]; in kmx61_trigger_handler() local 1210 buffer[i++] = ret; in kmx61_trigger_handler() 1214 iio_push_to_buffers(indio_dev, buffer); in kmx61_trigger_handler() 1362 "Failed to setup acc triggered buffer\n"); in kmx61_probe() 1372 "Failed to setup mag triggered buffer\n"); in kmx61_probe()
|
/kernel/linux/linux-6.6/drivers/input/tablet/ |
H A D | aiptek.c | 853 unsigned char report_id, void *buffer, int size) in aiptek_set_report() 862 aiptek->ifnum, buffer, size, 5000); in aiptek_set_report() 868 unsigned char report_id, void *buffer, int size) in aiptek_get_report() 877 aiptek->ifnum, buffer, size, 5000); in aiptek_get_report() 1687 dev_warn(&intf->dev, "cannot allocate usb buffer\n"); in aiptek_probe() 851 aiptek_set_report(struct aiptek *aiptek, unsigned char report_type, unsigned char report_id, void *buffer, int size) aiptek_set_report() argument 866 aiptek_get_report(struct aiptek *aiptek, unsigned char report_type, unsigned char report_id, void *buffer, int size) aiptek_get_report() argument
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-raid1.c | 457 * remap a buffer to a particular mirror. 1412 char buffer[MAX_NR_MIRRORS + 1]; in mirror_status() local 1419 buffer[m] = device_status_char(&(ms->mirror[m])); in mirror_status() 1421 buffer[m] = '\0'; in mirror_status() 1425 (unsigned long long)ms->nr_regions, buffer); in mirror_status()
|
/kernel/linux/linux-6.6/net/sunrpc/xprtrdma/ |
H A D | verbs.c | 49 * o buffer memory 811 struct rpcrdma_buffer *buffer = &r_xprt->rx_buf; in rpcrdma_req_create() local 828 spin_lock(&buffer->rb_lock); in rpcrdma_req_create() 829 list_add(&req->rl_all, &buffer->rb_allreqs); in rpcrdma_req_create() 830 spin_unlock(&buffer->rb_lock); in rpcrdma_req_create() 853 /* Compute maximum header buffer size in bytes */ in rpcrdma_req_setup() 992 * @buf: buffer pool 1176 * @buffers: buffer pool 1189 * rpcrdma_buffer_get - Get a request buffer 1190 * @buffers: Buffer pool from which to obtain a buffer [all...] |