/kernel/linux/linux-6.6/security/ |
H A D | device_cgroup.c | 611 int filetype, char *buffer) in devcgroup_update_access() 625 b = buffer; in devcgroup_update_access() 610 devcgroup_update_access(struct dev_cgroup *devcgroup, int filetype, char *buffer) devcgroup_update_access() argument
|
/kernel/linux/linux-6.6/drivers/s390/char/ |
H A D | sclp_sd.c | 180 * @sa: Input SA value used to specify the address of the target buffer 310 /* Get translation table for buffer */ in sclp_sd_store_data() 342 * sclp_sd_data_reset() - Reset Store Data result buffer 343 * @data: Data buffer to reset 454 * @buffer: Target buffer 459 * specified buffer. Return the number of bytes stored on success, or %0 463 struct bin_attribute *attr, char *buffer, in data_read() 479 memcpy(buffer, data + off, size); in data_read() 462 data_read(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buffer, loff_t off, size_t size) data_read() argument
|
/kernel/linux/linux-6.6/kernel/ |
H A D | profile.c | 4 * Simple profiling. Manages a direct-mapped profile hit count buffer, 150 * The open-addressed hashtables are indexed by profile buffer slot 151 * and hold the number of pending hits to that profile buffer slot on 153 * are accounted to their corresponding profile buffer slots with 155 * may be accounted to a profile buffer slot in a hashtable entry, 156 * this amortizes a number of atomic profile buffer increments likely 158 * particularly given that the number of distinct profile buffer 160 * several seconds) is usually very small. Exclusion from buffer 232 * We buffer the global profiler buffer int in do_profile_hits() 358 prof_cpu_mask_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) prof_cpu_mask_proc_write() argument [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_cong.c | 203 char *tcp_ca_get_name_by_key(u32 key, char *buffer) in tcp_ca_get_name_by_key() argument 211 ret = strncpy(buffer, ca->name, in tcp_ca_get_name_by_key()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | pkt_sched.h | 104 __u32 buffer; member 244 __u32 buffer; member
|
/kernel/linux/linux-5.10/arch/x86/crypto/ |
H A D | aesni-intel_avx-x86_64.S | 1562 vmovdqu \XMM1, 16*0(arg3,%r11) # Write to the Ciphertext buffer 1563 vmovdqu \XMM2, 16*1(arg3,%r11) # Write to the Ciphertext buffer 1564 vmovdqu \XMM3, 16*2(arg3,%r11) # Write to the Ciphertext buffer 1565 vmovdqu \XMM4, 16*3(arg3,%r11) # Write to the Ciphertext buffer 1566 vmovdqu \XMM5, 16*4(arg3,%r11) # Write to the Ciphertext buffer 1567 vmovdqu \XMM6, 16*5(arg3,%r11) # Write to the Ciphertext buffer 1568 vmovdqu \XMM7, 16*6(arg3,%r11) # Write to the Ciphertext buffer 1569 vmovdqu \XMM8, 16*7(arg3,%r11) # Write to the Ciphertext buffer 2513 vmovdqu \XMM1, 16*0(arg3,%r11) # Write to the Ciphertext buffer 2514 vmovdqu \XMM2, 16*1(arg3,%r11) # Write to the Ciphertext buffer [all...] |
/kernel/linux/linux-6.6/arch/x86/crypto/ |
H A D | aesni-intel_avx-x86_64.S | 1530 vmovdqu \XMM1, 16*0(arg3,%r11) # Write to the Ciphertext buffer 1531 vmovdqu \XMM2, 16*1(arg3,%r11) # Write to the Ciphertext buffer 1532 vmovdqu \XMM3, 16*2(arg3,%r11) # Write to the Ciphertext buffer 1533 vmovdqu \XMM4, 16*3(arg3,%r11) # Write to the Ciphertext buffer 1534 vmovdqu \XMM5, 16*4(arg3,%r11) # Write to the Ciphertext buffer 1535 vmovdqu \XMM6, 16*5(arg3,%r11) # Write to the Ciphertext buffer 1536 vmovdqu \XMM7, 16*6(arg3,%r11) # Write to the Ciphertext buffer 1537 vmovdqu \XMM8, 16*7(arg3,%r11) # Write to the Ciphertext buffer 2481 vmovdqu \XMM1, 16*0(arg3,%r11) # Write to the Ciphertext buffer 2482 vmovdqu \XMM2, 16*1(arg3,%r11) # Write to the Ciphertext buffer [all...] |
/kernel/linux/linux-5.10/drivers/block/mtip32xx/ |
H A D | mtip32xx.c | 485 static int mtip_read_log_page(struct mtip_port *port, u8 page, u16 *buffer, 935 dma_addr_t buffer; member 946 * @buffer DMA accessible for command data. 947 * @buf_len Length, in bytes, of the data buffer. 954 * -EFAULT The buffer address is not correctly aligned. 961 dma_addr_t buffer, in mtip_exec_internal_command() 971 .buffer = buffer, in mtip_exec_internal_command() 977 /* Make sure the buffer is 8 byte aligned. This is asic specific. */ in mtip_exec_internal_command() 978 if (buffer in mtip_exec_internal_command() 958 mtip_exec_internal_command(struct mtip_port *port, struct host_to_dev_fis *fis, int fis_len, dma_addr_t buffer, int buf_len, u32 opts, unsigned long timeout) mtip_exec_internal_command() argument 1256 mtip_read_log_page(struct mtip_port *port, u8 page, u16 *buffer, dma_addr_t buffer_dma, unsigned int sectors) mtip_read_log_page() argument 1292 mtip_get_smart_data(struct mtip_port *port, u8 *buffer, dma_addr_t buffer_dma) mtip_get_smart_data() argument [all...] |
/kernel/linux/linux-6.6/drivers/block/mtip32xx/ |
H A D | mtip32xx.c | 473 static int mtip_read_log_page(struct mtip_port *port, u8 page, u16 *buffer, 923 dma_addr_t buffer; member 934 * @buffer DMA accessible for command data. 935 * @buf_len Length, in bytes, of the data buffer. 942 * -EFAULT The buffer address is not correctly aligned. 949 dma_addr_t buffer, in mtip_exec_internal_command() 959 .buffer = buffer, in mtip_exec_internal_command() 965 /* Make sure the buffer is 8 byte aligned. This is asic specific. */ in mtip_exec_internal_command() 966 if (buffer in mtip_exec_internal_command() 946 mtip_exec_internal_command(struct mtip_port *port, struct host_to_dev_fis *fis, int fis_len, dma_addr_t buffer, int buf_len, u32 opts, unsigned long timeout) mtip_exec_internal_command() argument 1244 mtip_read_log_page(struct mtip_port *port, u8 page, u16 *buffer, dma_addr_t buffer_dma, unsigned int sectors) mtip_read_log_page() argument 1280 mtip_get_smart_data(struct mtip_port *port, u8 *buffer, dma_addr_t buffer_dma) mtip_get_smart_data() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-rpc/ |
H A D | ecard.c | 62 void *buffer; member 136 unsigned char *buf = req->buffer; in ecard_task_readbytes() 321 req.buffer = addr; in ecard_readbytes()
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
H A D | fsl_rmu.c | 538 * Initializes port write unit hardware and DMA buffer 653 * @buffer: Message to add to outbound queue 656 * Adds the @buffer message to the MPC85xx outbound message queue. Returns 661 void *buffer, size_t len) in fsl_add_outb_message() 669 pr_debug("RIO: fsl_add_outb_message(): destid %4.4x mbox %d buffer " \ in fsl_add_outb_message() 670 "%p len %8.8zx\n", rdev->destid, mbox, buffer, len); in fsl_add_outb_message() 676 /* Copy and clear rest of buffer */ in fsl_add_outb_message() 677 memcpy(rmu->msg_tx_ring.virt_buffer[rmu->msg_tx_ring.tx_slot], buffer, in fsl_add_outb_message() 692 /* Set snooping and source buffer address */ in fsl_add_outb_message() 715 * Initializes buffer rin 660 fsl_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, void *buffer, size_t len) fsl_add_outb_message() argument [all...] |
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
H A D | io.c | 64 * Suppose we have a 64-byte buffer and we read a VID header at it. We change 66 * 512-byte chunks, we have to allocate one more buffer and copy our VID header 67 * to offset 448 of this buffer. 70 * copy. It always allocates a @ubi->vid_hdr_alsize bytes buffer for the VID 71 * header and returns a pointer to offset @ubi->vid_hdr_shift of this buffer. 94 * @buf: buffer where to store the read data 100 * and stores the read data in the @buf buffer. The following return codes are 131 * Deliberately corrupt the buffer to improve robustness. Indeed, if we in ubi_io_read() 133 * 1. The buffer contains data from previous operation, e.g., read from in ubi_io_read() 136 * notice this. E.g., if we are reading a VID header, the buffer ma in ubi_io_read() [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-rpc/ |
H A D | ecard.c | 62 void *buffer; member 136 unsigned char *buf = req->buffer; in ecard_task_readbytes() 321 req.buffer = addr; in ecard_readbytes()
|
/kernel/linux/linux-6.6/arch/powerpc/sysdev/ |
H A D | fsl_rmu.c | 538 * Initializes port write unit hardware and DMA buffer 653 * @buffer: Message to add to outbound queue 656 * Adds the @buffer message to the MPC85xx outbound message queue. Returns 661 void *buffer, size_t len) in fsl_add_outb_message() 669 pr_debug("RIO: fsl_add_outb_message(): destid %4.4x mbox %d buffer " \ in fsl_add_outb_message() 670 "%p len %8.8zx\n", rdev->destid, mbox, buffer, len); in fsl_add_outb_message() 676 /* Copy and clear rest of buffer */ in fsl_add_outb_message() 677 memcpy(rmu->msg_tx_ring.virt_buffer[rmu->msg_tx_ring.tx_slot], buffer, in fsl_add_outb_message() 692 /* Set snooping and source buffer address */ in fsl_add_outb_message() 715 * Initializes buffer rin 660 fsl_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, void *buffer, size_t len) fsl_add_outb_message() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_ethtool.c | 877 void *buffer) in netxen_get_dump_data() 892 data = buffer; in netxen_get_dump_data() 897 memcpy(buffer + copy_sz, in netxen_get_dump_data() 876 netxen_get_dump_data(struct net_device *netdev, struct ethtool_dump *dump, void *buffer) netxen_get_dump_data() argument
|
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | vcc.c | 41 /* This buffer is required to support the tty write_room interface 46 struct vio_vcc buffer; member 291 * GFP_ATOMIC flag to allocate buffer in vcc_rx_check() 409 pkt = &port->buffer; in vcc_tx_timer() 871 pkt = &port->buffer; in vcc_write() 891 /* Since we know we have enough room in VCC buffer for tosend in vcc_write()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | rndis.c | 575 resp->RequestID = buf->RequestID; /* Still LE in msg buffer */ in rndis_init_response() 619 resp->RequestID = buf->RequestID; /* Still LE in msg buffer */ in rndis_query_response() 684 resp->RequestID = buf->RequestID; /* Still LE in msg buffer */ in rndis_set_response() 748 resp->RequestID = buf->RequestID; /* Still LE in msg buffer */ in rndis_keepalive_response() 1158 static ssize_t rndis_proc_write(struct file *file, const char __user *buffer, in rndis_proc_write() argument 1167 if (get_user(c, buffer)) in rndis_proc_write() 1197 buffer++; in rndis_proc_write()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ |
H A D | r8192U.h | 108 * If you want to print DATA buffer related BA, 458 typedef struct buffer { struct 459 struct buffer *next; 462 } buffer; typedef
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | perf_event.h | 460 * Take a snapshot of the AUX buffer without touching the event 1321 void *buffer, size_t *lenp, loff_t *ppos); 1323 void *buffer, size_t *lenp, loff_t *ppos); 1325 void *buffer, size_t *lenp, loff_t *ppos);
|
/kernel/linux/linux-5.10/security/keys/encrypted-keys/ |
H A D | encrypted.c | 561 /* Throwaway buffer to hold the unused zero padding at the end */ in derived_key_decrypt() 900 static long encrypted_read(const struct key *key, char *buffer, in encrypted_read() argument 919 if (!buffer || buflen < asciiblob_len) in encrypted_read() 948 memcpy(buffer, ascii_buf, asciiblob_len); in encrypted_read()
|
/kernel/linux/linux-5.10/security/ |
H A D | commoncap.c | 369 int cap_inode_getsecurity(struct inode *inode, const char *name, void **buffer, in cap_inode_getsecurity() argument 433 /* use allocated v3 buffer */ in cap_inode_getsecurity() 437 *buffer = nscap; in cap_inode_getsecurity() 467 *buffer = cap; in cap_inode_getsecurity()
|
/kernel/linux/linux-5.10/sound/soc/sof/ |
H A D | pcm.c | 23 /* Create DMA buffer page table for DSP */ 163 pcm.params.buffer.pages = PFN_UP(runtime->dma_bytes); in sof_pcm_hw_params() 170 pcm.params.buffer.phy_addr = in sof_pcm_hw_params() 172 pcm.params.buffer.size = runtime->dma_bytes; in sof_pcm_hw_params() 510 dev_dbg(component->dev, "buffer max %zd bytes\n", in sof_pcm_open() 561 * Pre-allocate playback/capture audio buffer pages. 584 /* do we need to pre-allocate playback audio buffer pages */ in sof_pcm_new() 590 /* pre-allocate playback audio buffer pages */ in sof_pcm_new() 592 "spcm: allocate %s playback DMA buffer size 0x%x max 0x%x\n", in sof_pcm_new() 606 /* do we need to pre-allocate capture audio buffer page in sof_pcm_new() [all...] |
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | internal.h | 461 char *buffer, ssize_t buflen, unsigned flags); 647 char *buffer, ssize_t buflen) in nfs_devname() 650 return nfs_path(&dummy, dentry, buffer, buflen, NFS_PATH_CANONICAL); in nfs_devname() 646 nfs_devname(struct dentry *dentry, char *buffer, ssize_t buflen) nfs_devname() argument
|
/kernel/linux/linux-5.10/kernel/sched/ |
H A D | debug.c | 247 void *buffer, size_t *lenp, loff_t *ppos) in sd_ctl_doflags() 286 memcpy(buffer, tmp, len); in sd_ctl_doflags() 288 ((char *)buffer)[len] = '\n'; in sd_ctl_doflags() 485 * to use a shorter stack buffer. A "..." suffix is appended at the end 486 * of the stack buffer so that it will show up in case the output length 487 * matches the given buffer size to indicate possible path name truncation. 246 sd_ctl_doflags(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) sd_ctl_doflags() argument
|
/kernel/linux/linux-5.10/fs/pstore/ |
H A D | ram.c | 78 "ECC buffer size in bytes (1 is a special value, means 16 " 142 /* Update old/shadowed buffer. */ in ramoops_get_next_prz() 155 static int ramoops_read_kmsg_hdr(char *buffer, struct timespec64 *time, in ramoops_read_kmsg_hdr() argument 161 if (sscanf(buffer, RAMOOPS_KERNMSG_HDR "%lld.%lu-%c\n%n", in ramoops_read_kmsg_hdr() 169 } else if (sscanf(buffer, RAMOOPS_KERNMSG_HDR "%lld.%lu\n%n", in ramoops_read_kmsg_hdr() 374 * If our buffer is larger than kmsg_bytes, this can never happen, in ramoops_pstore_write() 375 * and if our buffer is smaller than kmsg_bytes, we don't want the in ramoops_pstore_write() 387 * Since this is a new crash dump, we need to reset the buffer in in ramoops_pstore_write() 391 * expects to find a dump header in the beginning of buffer data, so in ramoops_pstore_write() 392 * we must to reset the buffer value in ramoops_pstore_write() [all...] |