| /linux/arch/riscv/include/asm/ |
| H A D | io.h | 101 #define readsb(addr, buffer, count) __readsb(addr, buffer, count) argument 102 #define readsw(addr, buffer, count) __readsw(addr, buffer, count) argument 103 #define readsl(addr, buffer, count) __readsl(addr, buffer, count) argument 108 #define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count) argument 109 #define insw(addr, buffer, count) __insw(PCI_IOBASE + (addr), buffer, count) argument 110 #define insl(addr, buffer, count) __insl(PCI_IOBASE + (addr), buffer, count) argument 115 #define writesb(addr, buffer, count) __writesb(addr, buffer, count) argument 116 #define writesw(addr, buffer, count) __writesw(addr, buffer, count) argument 117 #define writesl(addr, buffer, count) __writesl(addr, buffer, count) argument 122 #define outsb(addr, buffer, count) __outsb(PCI_IOBASE + (addr), buffer, count) argument [all …]
|
| /linux/drivers/xen/ |
| H A D | sys-hypervisor.c | 40 static ssize_t type_show(struct hyp_sysfs_attr *attr, char *buffer) in type_show() 52 static ssize_t guest_type_show(struct hyp_sysfs_attr *attr, char *buffer) in guest_type_show() 82 static ssize_t major_show(struct hyp_sysfs_attr *attr, char *buffer) in major_show() 92 static ssize_t minor_show(struct hyp_sysfs_attr *attr, char *buffer) in minor_show() 102 static ssize_t extra_show(struct hyp_sysfs_attr *attr, char *buffer) in extra_show() 139 static ssize_t uuid_show_fallback(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show_fallback() 160 static ssize_t uuid_show(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show() 180 static ssize_t compiler_show(struct hyp_sysfs_attr *attr, char *buffer) in compiler_show() 198 static ssize_t compiled_by_show(struct hyp_sysfs_attr *attr, char *buffer) in compiled_by_show() 216 static ssize_t compile_date_show(struct hyp_sysfs_attr *attr, char *buffer) in compile_date_show() [all …]
|
| /linux/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-debugfs.c | 15 static ssize_t xgbe_common_read(char __user *buffer, size_t count, in xgbe_common_read() 39 static ssize_t xgbe_common_write(const char __user *buffer, size_t count, in xgbe_common_write() 65 static ssize_t xgmac_reg_addr_read(struct file *filp, char __user *buffer, in xgmac_reg_addr_read() 74 const char __user *buffer, in xgmac_reg_addr_write() 83 static ssize_t xgmac_reg_value_read(struct file *filp, char __user *buffer, in xgmac_reg_value_read() 95 const char __user *buffer, in xgmac_reg_value_write() 125 static ssize_t xpcs_mmd_read(struct file *filp, char __user *buffer, in xpcs_mmd_read() 133 static ssize_t xpcs_mmd_write(struct file *filp, const char __user *buffer, in xpcs_mmd_write() 142 static ssize_t xpcs_reg_addr_read(struct file *filp, char __user *buffer, in xpcs_reg_addr_read() 150 static ssize_t xpcs_reg_addr_write(struct file *filp, const char __user *buffer, in xpcs_reg_addr_write() [all …]
|
| /linux/drivers/iio/ |
| H A D | industrialio-buffer.c | 45 struct iio_buffer *buffer; member 349 struct iio_buffer *buffer; in iio_buffer_wakeup_poll() local 358 int iio_pop_from_buffer(struct iio_buffer *buffer, void *data) in iio_pop_from_buffer() 367 void iio_buffer_init(struct iio_buffer *buffer) in iio_buffer_init() 383 struct iio_buffer *buffer; in iio_device_detach_buffers() local 445 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in iio_scan_el_show() local 511 struct iio_buffer *buffer, int bit) in iio_scan_mask_set() 548 static int iio_scan_mask_clear(struct iio_buffer *buffer, int bit) in iio_scan_mask_clear() 555 struct iio_buffer *buffer, int bit) in iio_scan_mask_query() 577 struct iio_buffer *buffer = this_attr->buffer; in iio_scan_el_store() local [all …]
|
| /linux/sound/pci/emu10k1/ |
| H A D | emuproc.c | 20 struct snd_info_buffer *buffer, in snd_emu10k1_proc_spdif_status() 63 struct snd_info_buffer *buffer) in snd_emu10k1_proc_read() 162 struct snd_info_buffer *buffer) in snd_emu10k1_proc_spdif_read() 216 struct snd_info_buffer *buffer) in snd_emu10k1_proc_rates_read() 303 static int disasm_emu10k1_reg(char *buffer, in disasm_emu10k1_reg() 322 static int disasm_sblive_reg(char *buffer, unsigned reg, const char *pfx) in disasm_sblive_reg() 327 static int disasm_audigy_reg(char *buffer, unsigned reg, const char *pfx) in disasm_audigy_reg() 333 struct snd_info_buffer *buffer) in snd_emu10k1_proc_acode_read() 427 struct snd_info_buffer *buffer) in snd_emu10k1_proc_voices_read() 451 struct snd_info_buffer *buffer, in snd_emu_proc_emu1010_link_read() [all …]
|
| /linux/sound/hda/common/ |
| H A D | 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 …]
|
| /linux/drivers/s390/char/ |
| H A D | sclp_rw.c | 43 struct sclp_buffer *buffer; in sclp_make_buffer() local 73 sclp_unmake_buffer(struct sclp_buffer *buffer) in sclp_unmake_buffer() 83 sclp_initialize_mto(struct sclp_buffer *buffer, int max_len) in sclp_initialize_mto() 133 sclp_finalize_mto(struct sclp_buffer *buffer) in sclp_finalize_mto() 170 sclp_write(struct sclp_buffer *buffer, const unsigned char *msg, int count) in sclp_write() 306 sclp_buffer_space(struct sclp_buffer *buffer) in sclp_buffer_space() 322 sclp_chars_in_buffer(struct sclp_buffer *buffer) in sclp_chars_in_buffer() 360 struct sclp_buffer *buffer; in sclp_writedata_callback() local 425 sclp_emit_buffer(struct sclp_buffer *buffer, in sclp_emit_buffer()
|
| /linux/drivers/net/ethernet/hisilicon/hibmcge/ |
| H A D | hbg_txrx.c | 16 #define buffer_to_dma_dir(buffer) (((buffer)->dir == HBG_DIR_RX) ? \ argument 42 static int hbg_dma_map(struct hbg_buffer *buffer) in hbg_dma_map() 61 static void hbg_dma_unmap(struct hbg_buffer *buffer) in hbg_dma_unmap() 73 static void hbg_buffer_free_page(struct hbg_buffer *buffer) in hbg_buffer_free_page() 89 static int hbg_buffer_alloc_page(struct hbg_buffer *buffer) in hbg_buffer_alloc_page() 110 static void hbg_init_tx_desc(struct hbg_buffer *buffer, in hbg_init_tx_desc() 138 struct hbg_buffer *buffer; in hbg_net_start_xmit() local 174 static void hbg_buffer_free_skb(struct hbg_buffer *buffer) in hbg_buffer_free_skb() 183 static void hbg_buffer_free(struct hbg_buffer *buffer) in hbg_buffer_free() 201 struct hbg_buffer *buffer; in hbg_napi_tx_recycle() local [all …]
|
| /linux/drivers/android/ |
| H A D | binder_alloc.c | 51 static struct binder_buffer *binder_buffer_next(struct binder_buffer *buffer) in binder_buffer_next() 56 static struct binder_buffer *binder_buffer_prev(struct binder_buffer *buffer) in binder_buffer_prev() 62 struct binder_buffer *buffer) in binder_alloc_buffer_size() 75 struct binder_buffer *buffer; in binder_insert_free_buffer() local 108 struct binder_buffer *buffer; in binder_insert_allocated_buffer_locked() local 133 struct binder_buffer *buffer; in binder_alloc_prepare_to_free_locked() local 362 struct binder_buffer *buffer, in binder_install_buffer_pages() 428 struct binder_buffer *buffer; in debug_no_space_locked() local 471 struct binder_buffer *buffer; in debug_low_async_space_locked() local 523 struct binder_buffer *buffer; in binder_alloc_new_buf_locked() local [all …]
|
| /linux/sound/pci/ca0106/ |
| H A 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() 297 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read32() 313 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read16() 329 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read8() 345 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read1() 363 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read2() 381 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_write() 395 struct snd_info_buffer *buffer) in snd_ca0106_proc_i2c_write()
|
| /linux/drivers/parport/ |
| H A 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()
|
| /linux/drivers/video/ |
| H A D | hdmi.c | 47 static void hdmi_infoframe_set_checksum(void *buffer, size_t size) in hdmi_infoframe_set_checksum() 111 void *buffer, size_t size) in hdmi_avi_infoframe_pack_only() 202 void *buffer, size_t size) in hdmi_avi_infoframe_pack() 282 void *buffer, size_t size) in hdmi_spd_infoframe_pack_only() 336 void *buffer, size_t size) in hdmi_spd_infoframe_pack() 393 u8 *buffer) in hdmi_audio_infoframe_pack_payload() 428 void *buffer, size_t size) in hdmi_audio_infoframe_pack_only() 477 void *buffer, size_t size) in hdmi_audio_infoframe_pack() 612 void *buffer, size_t size) in hdmi_vendor_infoframe_pack_only() 675 void *buffer, size_t size) in hdmi_vendor_infoframe_pack() [all …]
|
| /linux/drivers/iio/buffer/ |
| H A D | industrialio-buffer-dma.c | 319 int iio_dma_buffer_request_update(struct iio_buffer *buffer) in iio_dma_buffer_request_update() 482 int iio_dma_buffer_enable(struct iio_buffer *buffer, struct iio_dev *indio_dev) in iio_dma_buffer_enable() 506 int iio_dma_buffer_disable(struct iio_buffer *buffer, struct iio_dev *indio_dev) in iio_dma_buffer_disable() 553 static int iio_dma_buffer_io(struct iio_buffer *buffer, size_t n, in iio_dma_buffer_io() 608 int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n, in iio_dma_buffer_read() 624 int iio_dma_buffer_write(struct iio_buffer *buffer, size_t n, in iio_dma_buffer_write() 672 iio_dma_buffer_attach_dmabuf(struct iio_buffer *buffer, in iio_dma_buffer_attach_dmabuf() 698 void iio_dma_buffer_detach_dmabuf(struct iio_buffer *buffer, in iio_dma_buffer_detach_dmabuf() 727 int iio_dma_buffer_enqueue_dmabuf(struct iio_buffer *buffer, in iio_dma_buffer_enqueue_dmabuf() 759 struct device *iio_dma_buffer_get_dma_dev(struct iio_buffer *buffer) in iio_dma_buffer_get_dma_dev() [all …]
|
| H A D | industrialio-buffer-dmaengine.c | 43 static struct dmaengine_buffer *iio_buffer_to_dmaengine_buffer(struct iio_buffer *buffer) in iio_buffer_to_dmaengine_buffer() 191 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in iio_dmaengine_buffer_get_length_align() local 262 static void iio_dmaengine_buffer_free(struct iio_buffer *buffer) in iio_dmaengine_buffer_free() 278 void iio_dmaengine_buffer_teardown(struct iio_buffer *buffer) in iio_dmaengine_buffer_teardown() 294 struct iio_buffer *buffer; in __iio_dmaengine_buffer_setup_ext() local 335 struct iio_buffer *buffer; in iio_dmaengine_buffer_setup_ext() local 349 static void devm_iio_dmaengine_buffer_teardown(void *buffer) in devm_iio_dmaengine_buffer_teardown() 371 struct iio_buffer *buffer; in devm_iio_dmaengine_buffer_setup_ext() local 382 static void devm_iio_dmaengine_buffer_free(void *buffer) in devm_iio_dmaengine_buffer_free() 408 struct iio_buffer *buffer; in devm_iio_dmaengine_buffer_setup_with_handle() local
|
| /linux/tools/testing/selftests/mm/ |
| H A D | hmm-tests.c | 183 struct hmm_buffer *buffer, in hmm_dmirror_cmd() 208 static void hmm_buffer_free(struct hmm_buffer *buffer) in hmm_buffer_free() 274 struct hmm_buffer *buffer, in hmm_migrate_sys_to_dev() 281 struct hmm_buffer *buffer, in hmm_migrate_dev_to_sys() 299 struct hmm_buffer *buffer; in TEST_F() local 363 struct hmm_buffer *buffer; in TEST_F() local 422 struct hmm_buffer *buffer; in TEST_F() local 470 struct hmm_buffer *buffer; in TEST_F() local 538 struct hmm_buffer *buffer; in TEST_F() local 645 struct hmm_buffer *buffer; in TEST_F() local [all …]
|
| /linux/kernel/ |
| H A D | sysctl-test.c | 36 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_null_tbl_data() local 82 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_maxlen_unset() local 125 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_len_is_zero() local 159 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_read_but_position_set() local 196 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_positive() local 227 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_negative() local 257 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_positive() local 287 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_negative() local 318 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_less_int_min() local 356 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_greater_int_max() local
|
| H A D | sysctl.c | 77 char *buffer, size_t *lenp, loff_t *ppos) in _proc_do_string() 190 void *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() 348 char **buffer = (char **)buf; in proc_put_char() local 576 void *buffer, size_t *lenp, loff_t *ppos, in do_proc_dointvec() 647 static int do_proc_douintvec_w(const struct ctl_table *table, void *buffer, in do_proc_douintvec_w() 700 static int do_proc_douintvec_r(const struct ctl_table *table, void *buffer, in do_proc_douintvec_r() 731 void *buffer, size_t *lenp, loff_t *ppos, in do_proc_douintvec() 779 int proc_douintvec_conv(const struct ctl_table *table, int dir, void *buffer, in proc_douintvec_conv() 803 int proc_dobool(const struct ctl_table *table, int dir, void *buffer, in proc_dobool() 840 int proc_dointvec(const struct ctl_table *table, int dir, void *buffer, in proc_dointvec() [all …]
|
| /linux/sound/pci/lola/ |
| H A 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()
|
| /linux/drivers/connector/ |
| H A D | cn_proc.c | 33 static inline struct cn_msg *buffer_to_cn_msg(__u8 *buffer) in buffer_to_cn_msg() 121 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_fork_connector() local 151 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_exec_connector() local 175 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_id_connector() local 213 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_sid_connector() local 237 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_ptrace_connector() local 269 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_comm_connector() local 295 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_coredump_connector() local 328 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_exit_connector() local 370 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in cn_proc_ack() local
|
| /linux/Documentation/userspace-api/ |
| H A D | perf_ring_buffer.rst | 388 2.3.1 Producer-consumer model 437 2.3.2 Properties of the ring buffers 495 2.3.3 Writing samples into buffer 514 2.3.4 Reading samples from buffer 528 .. _memory_synchronization: 530 2.3.5 Memory synchronization
|
| /linux/scripts/kconfig/ |
| H A D | lexer.l | 40 struct buffer { struct 41 struct buffer *parent; argument 48 static struct buffer *current_buf; argument
|
| /linux/drivers/input/ |
| H A D | input-compat.c | 15 int input_event_from_user(const char __user *buffer, in input_event_from_user() 39 int input_event_to_user(char __user *buffer, in input_event_to_user() 63 int input_ff_effect_from_user(const char __user *buffer, size_t size, in input_ff_effect_from_user() 122 int input_event_from_user(const char __user *buffer, in input_event_from_user() 131 int input_event_to_user(char __user *buffer, in input_event_to_user() 140 int input_ff_effect_from_user(const char __user *buffer, size_t size, in input_ff_effect_from_user()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_client.c | 185 void drm_client_buffer_delete(struct drm_client_buffer *buffer) in drm_client_buffer_delete() 223 struct drm_client_buffer *buffer; in drm_client_buffer_create() local 289 int drm_client_buffer_vmap_local(struct drm_client_buffer *buffer, in drm_client_buffer_vmap_local() 319 void drm_client_buffer_vunmap_local(struct drm_client_buffer *buffer) in drm_client_buffer_vunmap_local() 349 int drm_client_buffer_vmap(struct drm_client_buffer *buffer, in drm_client_buffer_vmap() 372 void drm_client_buffer_vunmap(struct drm_client_buffer *buffer) in drm_client_buffer_vunmap() 400 struct drm_client_buffer *buffer; in drm_client_buffer_create_dumb() local 444 int drm_client_buffer_flush(struct drm_client_buffer *buffer, struct drm_rect *rect) in drm_client_buffer_flush()
|
| /linux/drivers/md/dm-vdo/ |
| H A D | encodings.c | 204 static void encode_version_number(u8 *buffer, size_t *offset, in encode_version_number() 213 static void vdo_encode_header(u8 *buffer, size_t *offset, in vdo_encode_header() 222 static void decode_version_number(u8 *buffer, size_t *offset, in decode_version_number() 232 static void vdo_decode_header(u8 *buffer, size_t *offset, struct header *header) in vdo_decode_header() 249 static void decode_volume_geometry(u8 *buffer, size_t *offset, in decode_volume_geometry() 336 struct block_map_page *vdo_format_block_map_page(void *buffer, nonce_t nonce, in vdo_format_block_map_page() 367 static int decode_block_map_state_2_0(u8 *buffer, size_t *offset, in decode_block_map_state_2_0() 416 static void encode_block_map_state_2_0(u8 *buffer, size_t *offset, in encode_block_map_state_2_0() 475 static void encode_recovery_journal_state_7_0(u8 *buffer, size_t *offset, in encode_recovery_journal_state_7_0() 499 static int __must_check decode_recovery_journal_state_7_0(u8 *buffer, size_t *offset, in decode_recovery_journal_state_7_0() [all …]
|
| /linux/net/core/ |
| H A D | sysctl_net_core.c | 57 static int dump_cpumask(void *buffer, size_t *lenp, loff_t *ppos, in dump_cpumask() 104 void *buffer, size_t *lenp, loff_t *ppos) in rps_default_mask_sysctl() 139 void *buffer, size_t *lenp, loff_t *ppos) in rps_sock_flow_sysctl() 211 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_cpu_sysctl() 268 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_table_len_sysctl() 290 void *buffer, size_t *lenp, loff_t *ppos) in set_default_qdisc() 309 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_dev_weight() 327 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_rss_key() 346 void *buffer, size_t *lenp, in proc_dointvec_minmax_bpf_enable() 379 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_bpf_restricted() [all …]
|