/kernel/linux/linux-5.10/drivers/dma-buf/heaps/ |
D | heap-helpers.c | 15 void init_heap_helper_buffer(struct heap_helper_buffer *buffer, in init_heap_helper_buffer() 28 struct dma_buf *heap_helper_export_dmabuf(struct heap_helper_buffer *buffer, in heap_helper_export_dmabuf() 42 static void *dma_heap_map_kernel(struct heap_helper_buffer *buffer) in dma_heap_map_kernel() 53 static void dma_heap_buffer_destroy(struct heap_helper_buffer *buffer) in dma_heap_buffer_destroy() 63 static void *dma_heap_buffer_vmap_get(struct heap_helper_buffer *buffer) in dma_heap_buffer_vmap_get() 79 static void dma_heap_buffer_vmap_put(struct heap_helper_buffer *buffer) in dma_heap_buffer_vmap_put() 97 struct heap_helper_buffer *buffer = dmabuf->priv; in dma_heap_attach() local 129 struct heap_helper_buffer *buffer = dmabuf->priv; in dma_heap_detach() local 163 struct heap_helper_buffer *buffer = vma->vm_private_data; in dma_heap_vm_fault() local 180 struct heap_helper_buffer *buffer = dmabuf->priv; in dma_heap_mmap() local [all …]
|
/kernel/linux/linux-5.10/drivers/iio/ |
D | industrialio-buffer.c | 194 struct iio_buffer *buffer = indio_dev->buffer; in iio_buffer_wakeup_poll() local 202 void iio_buffer_init(struct iio_buffer *buffer) in iio_buffer_init() 218 void iio_buffer_set_attrs(struct iio_buffer *buffer, in iio_buffer_set_attrs() 269 struct iio_buffer *buffer = indio_dev->buffer; in iio_scan_el_show() local 319 struct iio_buffer *buffer, int bit) in iio_scan_mask_set() 355 static int iio_scan_mask_clear(struct iio_buffer *buffer, int bit) in iio_scan_mask_clear() 362 struct iio_buffer *buffer, int bit) in iio_scan_mask_query() 382 struct iio_buffer *buffer = indio_dev->buffer; in iio_scan_el_store() local 418 struct iio_buffer *buffer = indio_dev->buffer; in iio_scan_el_ts_show() local 430 struct iio_buffer *buffer = indio_dev->buffer; in iio_scan_el_ts_store() local [all …]
|
/kernel/linux/linux-5.10/drivers/xen/ |
D | sys-hypervisor.c | 38 static ssize_t type_show(struct hyp_sysfs_attr *attr, char *buffer) in type_show() 50 static ssize_t guest_type_show(struct hyp_sysfs_attr *attr, char *buffer) in guest_type_show() 80 static ssize_t major_show(struct hyp_sysfs_attr *attr, char *buffer) in major_show() 90 static ssize_t minor_show(struct hyp_sysfs_attr *attr, char *buffer) in minor_show() 100 static ssize_t extra_show(struct hyp_sysfs_attr *attr, char *buffer) in extra_show() 137 static ssize_t uuid_show_fallback(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show_fallback() 158 static ssize_t uuid_show(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show() 178 static ssize_t compiler_show(struct hyp_sysfs_attr *attr, char *buffer) in compiler_show() 196 static ssize_t compiled_by_show(struct hyp_sysfs_attr *attr, char *buffer) in compiled_by_show() 214 static ssize_t compile_date_show(struct hyp_sysfs_attr *attr, char *buffer) in compile_date_show() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/etnaviv/ |
D | etnaviv_buffer.c | 25 static inline void OUT(struct etnaviv_cmdbuf *buffer, u32 data) in OUT() 35 static inline void CMD_LOAD_STATE(struct etnaviv_cmdbuf *buffer, in CMD_LOAD_STATE() 49 static inline void CMD_END(struct etnaviv_cmdbuf *buffer) in CMD_END() 56 static inline void CMD_WAIT(struct etnaviv_cmdbuf *buffer) in CMD_WAIT() 63 static inline void CMD_LINK(struct etnaviv_cmdbuf *buffer, in CMD_LINK() 73 static inline void CMD_STALL(struct etnaviv_cmdbuf *buffer, in CMD_STALL() 82 static inline void CMD_SEM(struct etnaviv_cmdbuf *buffer, u32 from, u32 to) in CMD_SEM() 90 struct etnaviv_cmdbuf *buffer, u8 pipe) in etnaviv_cmd_select_pipe() 136 static void etnaviv_buffer_replace_wait(struct etnaviv_cmdbuf *buffer, in etnaviv_buffer_replace_wait() 152 struct etnaviv_cmdbuf *buffer, unsigned int cmd_dwords) in etnaviv_buffer_reserve() [all …]
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
D | io.h | 110 #define readsb(addr, buffer, count) __readsb(addr, buffer, count) argument 111 #define readsw(addr, buffer, count) __readsw(addr, buffer, count) argument 112 #define readsl(addr, buffer, count) __readsl(addr, buffer, count) argument 117 #define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count) argument 118 #define insw(addr, buffer, count) __insw(PCI_IOBASE + (addr), buffer, count) argument 119 #define insl(addr, buffer, count) __insl(PCI_IOBASE + (addr), buffer, count) argument 124 #define writesb(addr, buffer, count) __writesb(addr, buffer, count) argument 125 #define writesw(addr, buffer, count) __writesw(addr, buffer, count) argument 126 #define writesl(addr, buffer, count) __writesl(addr, buffer, count) argument 131 #define outsb(addr, buffer, count) __outsb(PCI_IOBASE + (addr), buffer, count) argument [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-debugfs.c | 124 static ssize_t xgbe_common_read(char __user *buffer, size_t count, in xgbe_common_read() 148 static ssize_t xgbe_common_write(const char __user *buffer, size_t count, in xgbe_common_write() 174 static ssize_t xgmac_reg_addr_read(struct file *filp, char __user *buffer, in xgmac_reg_addr_read() 183 const char __user *buffer, in xgmac_reg_addr_write() 192 static ssize_t xgmac_reg_value_read(struct file *filp, char __user *buffer, in xgmac_reg_value_read() 204 const char __user *buffer, in xgmac_reg_value_write() 234 static ssize_t xpcs_mmd_read(struct file *filp, char __user *buffer, in xpcs_mmd_read() 242 static ssize_t xpcs_mmd_write(struct file *filp, const char __user *buffer, in xpcs_mmd_write() 251 static ssize_t xpcs_reg_addr_read(struct file *filp, char __user *buffer, in xpcs_reg_addr_read() 259 static ssize_t xpcs_reg_addr_write(struct file *filp, const char __user *buffer, in xpcs_reg_addr_write() [all …]
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
D | sclp_rw.c | 50 struct sclp_buffer *buffer; in sclp_make_buffer() local 80 sclp_unmake_buffer(struct sclp_buffer *buffer) in sclp_unmake_buffer() 90 sclp_initialize_mto(struct sclp_buffer *buffer, int max_len) in sclp_initialize_mto() 140 sclp_finalize_mto(struct sclp_buffer *buffer) in sclp_finalize_mto() 177 sclp_write(struct sclp_buffer *buffer, const unsigned char *msg, int count) in sclp_write() 313 sclp_buffer_space(struct sclp_buffer *buffer) in sclp_buffer_space() 329 sclp_chars_in_buffer(struct sclp_buffer *buffer) in sclp_chars_in_buffer() 367 struct sclp_buffer *buffer; in sclp_writedata_callback() local 432 sclp_emit_buffer(struct sclp_buffer *buffer, in sclp_emit_buffer()
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
D | hda_proc.c | 47 static void print_nid_array(struct snd_info_buffer *buffer, in print_nid_array() 74 static void print_nid_pcms(struct snd_info_buffer *buffer, in print_nid_pcms() 93 static void print_amp_caps(struct snd_info_buffer *buffer, in print_amp_caps() 133 static void print_amp_vals(struct snd_info_buffer *buffer, in print_amp_vals() 161 static void print_pcm_rates(struct snd_info_buffer *buffer, unsigned int pcm) in print_pcm_rates() 177 static void print_pcm_bits(struct snd_info_buffer *buffer, unsigned int pcm) in print_pcm_bits() 186 static void print_pcm_formats(struct snd_info_buffer *buffer, in print_pcm_formats() 199 static void print_pcm_caps(struct snd_info_buffer *buffer, in print_pcm_caps() 304 static void print_pin_caps(struct snd_info_buffer *buffer, in print_pin_caps() 400 static void print_pin_ctls(struct snd_info_buffer *buffer, in print_pin_ctls() [all …]
|
/kernel/linux/linux-5.10/sound/pci/emu10k1/ |
D | emuproc.c | 24 struct snd_info_buffer *buffer, in snd_emu10k1_proc_spdif_status() 67 struct snd_info_buffer *buffer) in snd_emu10k1_proc_read() 224 struct snd_info_buffer *buffer) in snd_emu10k1_proc_spdif_read() 263 struct snd_info_buffer *buffer) in snd_emu10k1_proc_rates_read() 277 struct snd_info_buffer *buffer) in snd_emu10k1_proc_acode_read() 363 struct snd_info_buffer *buffer) in snd_emu10k1_proc_voices_read() 384 struct snd_info_buffer *buffer) in snd_emu_proc_emu1010_reg_read() 398 struct snd_info_buffer *buffer) in snd_emu_proc_io_reg_read() 414 struct snd_info_buffer *buffer) in snd_emu_proc_io_reg_write() 467 struct snd_info_buffer *buffer, int iobase, int offset, int length, int voices) in snd_emu_proc_ptr_reg_read() [all …]
|
/kernel/linux/linux-5.10/drivers/input/ |
D | input-compat.c | 14 int input_event_from_user(const char __user *buffer, in input_event_from_user() 38 int input_event_to_user(char __user *buffer, in input_event_to_user() 62 int input_ff_effect_from_user(const char __user *buffer, size_t size, in input_ff_effect_from_user() 99 int input_event_from_user(const char __user *buffer, in input_event_from_user() 108 int input_event_to_user(char __user *buffer, in input_event_to_user() 117 int input_ff_effect_from_user(const char __user *buffer, size_t size, in input_ff_effect_from_user()
|
/kernel/linux/linux-5.10/drivers/android/ |
D | binder_alloc.c | 50 static struct binder_buffer *binder_buffer_next(struct binder_buffer *buffer) in binder_buffer_next() 55 static struct binder_buffer *binder_buffer_prev(struct binder_buffer *buffer) in binder_buffer_prev() 61 struct binder_buffer *buffer) in binder_alloc_buffer_size() 73 struct binder_buffer *buffer; in binder_insert_free_buffer() local 106 struct binder_buffer *buffer; in binder_insert_allocated_buffer_locked() local 131 struct binder_buffer *buffer; in binder_alloc_prepare_to_free_locked() local 173 struct binder_buffer *buffer; in binder_alloc_prepare_to_free() local 351 struct binder_buffer *buffer; in debug_low_async_space_locked() local 387 struct binder_buffer *buffer; in binder_alloc_new_buf_locked() local 574 struct binder_buffer *buffer; in binder_alloc_new_buf() local [all …]
|
/kernel/linux/linux-5.10/drivers/connector/ |
D | cn_proc.c | 33 static inline struct cn_msg *buffer_to_cn_msg(__u8 *buffer) in buffer_to_cn_msg() 73 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_fork_connector() local 103 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_exec_connector() local 127 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_id_connector() local 165 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_sid_connector() local 189 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_ptrace_connector() local 221 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_comm_connector() local 247 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_coredump_connector() local 280 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_exit_connector() local 322 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in cn_proc_ack() local
|
/kernel/linux/linux-5.10/drivers/parport/ |
D | ieee1284_ops.c | 36 const void *buffer, size_t len, in parport_ieee1284_write_compat() 145 void *buffer, size_t len, in parport_ieee1284_read_nibble() 233 void *buffer, size_t len, in parport_ieee1284_read_byte() 389 const void *buffer, size_t len, in parport_ieee1284_ecp_write_data() 475 void *buffer, size_t len, int flags) in parport_ieee1284_ecp_read_data() 619 const void *buffer, size_t len, in parport_ieee1284_ecp_write_addr() 710 const void *buffer, size_t len, in parport_ieee1284_epp_write_data() 754 void *buffer, size_t len, in parport_ieee1284_epp_read_data() 798 const void *buffer, size_t len, in parport_ieee1284_epp_write_addr() 842 void *buffer, size_t len, in parport_ieee1284_epp_read_addr()
|
/kernel/linux/linux-5.10/sound/pci/ca0106/ |
D | ca0106_proc.c | 84 static void snd_ca0106_proc_dump_iec958( struct snd_info_buffer *buffer, u32 value) in snd_ca0106_proc_dump_iec958() 259 struct snd_info_buffer *buffer) in snd_ca0106_proc_iec958() 281 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_write32() 299 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read32() 315 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read16() 331 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read8() 347 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read1() 365 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read2() 383 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_write() 397 struct snd_info_buffer *buffer) in snd_ca0106_proc_i2c_write()
|
/kernel/linux/linux-5.10/sound/pci/lola/ |
D | lola_proc.c | 16 static void print_audio_widget(struct snd_info_buffer *buffer, in print_audio_widget() 27 static void print_pin_widget(struct snd_info_buffer *buffer, in print_pin_widget() 48 static void print_clock_widget(struct snd_info_buffer *buffer, in print_clock_widget() 88 static void print_mixer_widget(struct snd_info_buffer *buffer, in print_mixer_widget() 98 struct snd_info_buffer *buffer) in lola_proc_codec_read() 135 struct snd_info_buffer *buffer) in lola_proc_codec_rw_write() 150 struct snd_info_buffer *buffer) in lola_proc_codec_rw_read() 160 struct snd_info_buffer *buffer) in lola_proc_regs_read()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
D | gp100.c | 30 gp100_fault_buffer_intr(struct nvkm_fault_buffer *buffer, bool enable) in gp100_fault_buffer_intr() 37 gp100_fault_buffer_fini(struct nvkm_fault_buffer *buffer) in gp100_fault_buffer_fini() 44 gp100_fault_buffer_init(struct nvkm_fault_buffer *buffer) in gp100_fault_buffer_init() 52 u64 gp100_fault_buffer_pin(struct nvkm_fault_buffer *buffer) in gp100_fault_buffer_pin() 58 gp100_fault_buffer_info(struct nvkm_fault_buffer *buffer) in gp100_fault_buffer_info()
|
/kernel/linux/linux-5.10/kernel/ |
D | sysctl-test.c | 39 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_null_tbl_data() local 85 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_maxlen_unset() local 128 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_len_is_zero() local 162 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_read_but_position_set() local 199 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_positive() local 230 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_negative() local 260 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_positive() local 290 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_negative() local 321 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_less_int_min() local 359 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_greater_int_max() local
|
D | sysctl.c | 201 void *buffer, size_t *lenp, loff_t *ppos) in bpf_stats_handler() 236 void *buffer, size_t *lenp, loff_t *ppos) in bpf_unpriv_handler() 266 char *buffer, size_t *lenp, loff_t *ppos) in _proc_do_string() 379 void *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() 537 char **buffer = (char **)buf; in proc_put_char() local 591 int write, void *buffer, in __do_proc_dointvec() 664 void *buffer, size_t *lenp, loff_t *ppos, in do_proc_dointvec() 675 void *buffer, in do_proc_douintvec_w() 730 static int do_proc_douintvec_r(unsigned int *tbl_data, void *buffer, in do_proc_douintvec_r() 762 int write, void *buffer, in __do_proc_douintvec() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/android/ion/ |
D | ion.c | 38 struct ion_buffer *buffer; in ion_buffer_create() local 86 void ion_buffer_destroy(struct ion_buffer *buffer) in ion_buffer_destroy() 102 static void _ion_buffer_destroy(struct ion_buffer *buffer) in _ion_buffer_destroy() 112 static void *ion_buffer_kmap_get(struct ion_buffer *buffer) in ion_buffer_kmap_get() 134 static void ion_buffer_kmap_put(struct ion_buffer *buffer) in ion_buffer_kmap_put() 186 struct ion_buffer *buffer = dmabuf->priv; in ion_dma_buf_attach() local 215 struct ion_buffer *buffer = dmabuf->priv; in ion_dma_buf_detach() local 250 struct ion_buffer *buffer = dmabuf->priv; in ion_mmap() local 276 struct ion_buffer *buffer = dmabuf->priv; in ion_dma_buf_release() local 284 struct ion_buffer *buffer = dmabuf->priv; in ion_dma_buf_begin_cpu_access() local [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_packet_manager_vi.c | 41 static int pm_map_process_vi(struct packet_manager *pm, uint32_t *buffer, in pm_map_process_vi() 74 static int pm_runlist_vi(struct packet_manager *pm, uint32_t *buffer, in pm_runlist_vi() 113 int pm_set_resources_vi(struct packet_manager *pm, uint32_t *buffer, in pm_set_resources_vi() 141 static int pm_map_queues_vi(struct packet_manager *pm, uint32_t *buffer, in pm_map_queues_vi() 199 static int pm_unmap_queues_vi(struct packet_manager *pm, uint32_t *buffer, in pm_unmap_queues_vi() 265 static int pm_query_status_vi(struct packet_manager *pm, uint32_t *buffer, in pm_query_status_vi() 290 static int pm_release_mem_vi(uint64_t gpu_addr, uint32_t *buffer) in pm_release_mem_vi()
|
D | kfd_packet_manager_v9.c | 31 uint32_t *buffer, struct qcm_process_device *qpd) in pm_map_process_v9() 76 static int pm_runlist_v9(struct packet_manager *pm, uint32_t *buffer, in pm_runlist_v9() 114 static int pm_set_resources_v9(struct packet_manager *pm, uint32_t *buffer, in pm_set_resources_v9() 142 static int pm_map_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_map_queues_v9() 209 static int pm_unmap_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_unmap_queues_v9() 285 static int pm_query_status_v9(struct packet_manager *pm, uint32_t *buffer, in pm_query_status_v9()
|
/kernel/linux/linux-5.10/drivers/video/ |
D | hdmi.c | 46 static void hdmi_infoframe_set_checksum(void *buffer, size_t size) in hdmi_infoframe_set_checksum() 110 void *buffer, size_t size) in hdmi_avi_infoframe_pack_only() 201 void *buffer, size_t size) in hdmi_avi_infoframe_pack() 277 void *buffer, size_t size) in hdmi_spd_infoframe_pack_only() 331 void *buffer, size_t size) in hdmi_spd_infoframe_pack() 401 void *buffer, size_t size) in hdmi_audio_infoframe_pack_only() 466 void *buffer, size_t size) in hdmi_audio_infoframe_pack() 564 void *buffer, size_t size) in hdmi_vendor_infoframe_pack_only() 627 void *buffer, size_t size) in hdmi_vendor_infoframe_pack() 708 void *buffer, size_t size) in hdmi_drm_infoframe_pack_only() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
D | hmm-tests.c | 122 struct hmm_buffer *buffer, in hmm_dmirror_cmd() 147 static void hmm_buffer_free(struct hmm_buffer *buffer) in hmm_buffer_free() 222 struct hmm_buffer *buffer; in TEST_F() local 286 struct hmm_buffer *buffer; in TEST_F() local 345 struct hmm_buffer *buffer; in TEST_F() local 393 struct hmm_buffer *buffer; in TEST_F() local 459 struct hmm_buffer *buffer; in TEST_F() local 537 struct hmm_buffer *buffer; in TEST_F() local 614 struct hmm_buffer *buffer; in TEST_F() local 670 struct hmm_buffer *buffer; in TEST_F() local [all …]
|
/kernel/linux/linux-5.10/sound/usb/ |
D | proc.c | 33 static void proc_audio_usbbus_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_audio_usbbus_read() 40 static void proc_audio_usbid_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_audio_usbid_read() 92 …ic void proc_dump_substream_formats(struct snd_usb_substream *subs, struct snd_info_buffer *buffer) in proc_dump_substream_formats() 161 struct snd_info_buffer *buffer) in proc_dump_ep_status() 178 …tic void proc_dump_substream_status(struct snd_usb_substream *subs, struct snd_info_buffer *buffer) in proc_dump_substream_status() 190 static void proc_pcm_format_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_pcm_format_read()
|
/kernel/linux/linux-5.10/tools/wmi/ |
D | dell-smbios-example.c | 32 static void show_buffer(struct dell_wmi_smbios_buffer *buffer) in show_buffer() 42 static int run_wmi_smbios_cmd(struct dell_wmi_smbios_buffer *buffer) in run_wmi_smbios_cmd() 95 struct dell_wmi_smbios_buffer *buffer) in token_is_active() 109 static int query_token(__u16 token, struct dell_wmi_smbios_buffer *buffer) in query_token() 123 static int activate_token(struct dell_wmi_smbios_buffer *buffer, in activate_token() 157 struct dell_wmi_smbios_buffer *buffer; in main() local
|