Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 5038) sorted by relevance

12345678910>>...202

/Linux-v5.15/fs/nilfs2/
Dsysfs.c96 struct nilfs_root *root, char *buf) in nilfs_snapshot_inodes_count_show()
104 struct nilfs_root *root, char *buf) in nilfs_snapshot_blocks_count_show()
117 struct nilfs_root *root, char *buf) in nilfs_snapshot_README_show()
134 struct attribute *attr, char *buf) in nilfs_snapshot_attr_show()
146 const char *buf, size_t len) in nilfs_snapshot_attr_store()
218 struct the_nilfs *nilfs, char *buf) in nilfs_mounted_snapshots_README_show()
241 char *buf) in nilfs_checkpoints_checkpoints_number_show()
264 char *buf) in nilfs_checkpoints_snapshots_number_show()
287 char *buf) in nilfs_checkpoints_last_seg_checkpoint_show()
301 char *buf) in nilfs_checkpoints_next_checkpoint_show()
[all …]
/Linux-v5.15/drivers/net/wireless/st/cw1200/
Dwsm.c27 #define WSM_SKIP(buf, size) \ argument
34 #define WSM_GET(buf, ptr, size) \ argument
42 #define __WSM_GET(buf, type, type2, cvt) \ argument
52 #define WSM_GET8(buf) __WSM_GET(buf, u8, u8, (u8)) argument
53 #define WSM_GET16(buf) __WSM_GET(buf, u16, __le16, __le16_to_cpu) argument
54 #define WSM_GET32(buf) __WSM_GET(buf, u32, __le32, __le32_to_cpu) argument
56 #define WSM_PUT(buf, ptr, size) \ argument
65 #define __WSM_PUT(buf, val, type, type2, cvt) \ argument
74 #define WSM_PUT8(buf, val) __WSM_PUT(buf, val, u8, u8, (u8)) argument
75 #define WSM_PUT16(buf, val) __WSM_PUT(buf, val, u16, __le16, __cpu_to_le16) argument
[all …]
/Linux-v5.15/arch/mips/include/asm/
Duasm.h211 # define UASM_i_ADDIU(buf, rs, rt, val) uasm_i_daddiu(buf, rs, rt, val) argument
212 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_daddu(buf, rs, rt, rd) argument
213 # define UASM_i_LL(buf, rs, rt, off) uasm_i_lld(buf, rs, rt, off) argument
214 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, rt, off) argument
215 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_ldx(buf, rs, rt, rd) argument
216 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_dmfc0(buf, rt, rd) argument
217 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_dmtc0(buf, rt, rd) argument
218 # define UASM_i_ROTR(buf, rs, rt, sh) uasm_i_drotr(buf, rs, rt, sh) argument
219 # define UASM_i_SC(buf, rs, rt, off) uasm_i_scd(buf, rs, rt, off) argument
220 # define UASM_i_SLL(buf, rs, rt, sh) uasm_i_dsll(buf, rs, rt, sh) argument
[all …]
/Linux-v5.15/net/bridge/
Dbr_sysfs_br.c32 const char *buf, size_t len, in store_bridge_parm()
68 struct device_attribute *attr, char *buf) in forward_delay_show()
82 const char *buf, size_t len) in forward_delay_store()
89 char *buf) in hello_time_show()
102 struct device_attribute *attr, const char *buf, in hello_time_store()
110 char *buf) in max_age_show()
123 const char *buf, size_t len) in max_age_store()
130 struct device_attribute *attr, char *buf) in ageing_time_show()
144 const char *buf, size_t len) in ageing_time_store()
151 struct device_attribute *attr, char *buf) in stp_state_show()
[all …]
Dbr_sysfs_if.c84 static ssize_t show_path_cost(struct net_bridge_port *p, char *buf) in show_path_cost()
92 static ssize_t show_priority(struct net_bridge_port *p, char *buf) in show_priority()
100 static ssize_t show_designated_root(struct net_bridge_port *p, char *buf) in show_designated_root()
106 static ssize_t show_designated_bridge(struct net_bridge_port *p, char *buf) in show_designated_bridge()
112 static ssize_t show_designated_port(struct net_bridge_port *p, char *buf) in show_designated_port()
118 static ssize_t show_designated_cost(struct net_bridge_port *p, char *buf) in show_designated_cost()
124 static ssize_t show_port_id(struct net_bridge_port *p, char *buf) in show_port_id()
130 static ssize_t show_port_no(struct net_bridge_port *p, char *buf) in show_port_no()
137 static ssize_t show_change_ack(struct net_bridge_port *p, char *buf) in show_change_ack()
143 static ssize_t show_config_pending(struct net_bridge_port *p, char *buf) in show_config_pending()
[all …]
/Linux-v5.15/drivers/s390/net/
Dqeth_l3_sys.c19 static int qeth_l3_string_to_ipaddr(const char *buf, in qeth_l3_string_to_ipaddr()
31 struct qeth_routing_info *route, char *buf) in qeth_l3_dev_route_show()
59 struct device_attribute *attr, char *buf) in qeth_l3_dev_route4_show()
68 const char *buf, size_t count) in qeth_l3_dev_route_store()
105 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route4_store()
117 struct device_attribute *attr, char *buf) in qeth_l3_dev_route6_show()
125 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route6_store()
137 struct device_attribute *attr, char *buf) in qeth_l3_dev_sniffer_show()
145 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_sniffer_store()
193 struct device_attribute *attr, char *buf) in qeth_l3_dev_hsuid_show()
[all …]
Dqeth_core_sys.c20 struct device_attribute *attr, char *buf) in qeth_dev_state_show()
41 struct device_attribute *attr, char *buf) in qeth_dev_chpid_show()
51 struct device_attribute *attr, char *buf) in qeth_dev_if_name_show()
61 struct device_attribute *attr, char *buf) in qeth_dev_card_type_show()
85 struct device_attribute *attr, char *buf) in qeth_dev_inbuf_size_show()
95 struct device_attribute *attr, char *buf) in qeth_dev_portno_show()
103 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portno_store()
135 struct device_attribute *attr, char *buf) in qeth_dev_portname_show()
141 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portname_store()
154 struct device_attribute *attr, char *buf) in qeth_dev_prioqing_show()
[all …]
/Linux-v5.15/drivers/net/bonding/
Dbond_sysfs.c36 char *buf) in bonding_show_bonds()
166 struct device_attribute *attr, char *buf) in bonding_show_slaves()
199 struct device_attribute *attr, char *buf) in bonding_show_mode()
213 char *buf) in bonding_show_xmit_hash()
228 char *buf) in bonding_show_arp_validate()
244 char *buf) in bonding_show_arp_all_targets()
260 char *buf) in bonding_show_fail_over_mac()
276 char *buf) in bonding_show_arp_interval()
288 char *buf) in bonding_show_arp_targets()
309 char *buf) in bonding_show_downdelay()
[all …]
/Linux-v5.15/kernel/
Drelay.c36 struct rchan_buf *buf = vmf->vma->vm_private_data; in relay_buf_fault() local
86 static int relay_mmap_buf(struct rchan_buf *buf, struct vm_area_struct *vma) in relay_mmap_buf()
111 static void *relay_alloc_buf(struct rchan_buf *buf, size_t *size) in relay_alloc_buf()
152 struct rchan_buf *buf; in relay_create_buf() local
196 static void relay_destroy_buf(struct rchan_buf *buf) in relay_destroy_buf()
223 struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref); in relay_remove_buf() local
233 static int relay_buf_empty(struct rchan_buf *buf) in relay_buf_empty()
244 int relay_buf_full(struct rchan_buf *buf) in relay_buf_full()
255 static int relay_subbuf_start(struct rchan_buf *buf, void *subbuf, in relay_subbuf_start()
273 struct rchan_buf *buf; in wakeup_readers() local
[all …]
Dksysfs.c32 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
41 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
47 const char *buf, size_t count) in uevent_helper_store()
62 struct kobj_attribute *attr, char *buf) in profiling_show()
68 const char *buf, size_t count) in profiling_store()
93 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
100 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
107 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show()
113 const char *buf, size_t count) in kexec_crash_size_store()
131 struct kobj_attribute *attr, char *buf) in vmcoreinfo_show()
[all …]
/Linux-v5.15/drivers/hwtracing/coresight/
Dcoresight-etm4x-sysfs.c59 char *buf) in nr_pe_cmp_show()
71 char *buf) in nr_addr_cmp_show()
83 char *buf) in nr_cntr_show()
95 char *buf) in nr_ext_inp_show()
107 char *buf) in numcidc_show()
119 char *buf) in numvmidc_show()
131 char *buf) in nrseqstate_show()
143 char *buf) in nr_resource_show()
155 char *buf) in nr_ss_cmp_show()
167 const char *buf, size_t size) in reset_store()
[all …]
Dcoresight-etm3x-sysfs.c14 struct device_attribute *attr, char *buf) in nr_addr_cmp_show()
25 struct device_attribute *attr, char *buf) in nr_cntr_show()
35 struct device_attribute *attr, char *buf) in nr_ctxid_cmp_show()
46 struct device_attribute *attr, char *buf) in etmsr_show()
67 const char *buf, size_t size) in reset_store()
96 struct device_attribute *attr, char *buf) in mode_show()
108 const char *buf, size_t size) in mode_store()
181 struct device_attribute *attr, char *buf) in trigger_event_show()
193 const char *buf, size_t size) in trigger_event_store()
211 struct device_attribute *attr, char *buf) in enable_event_show()
[all …]
/Linux-v5.15/tools/perf/util/intel-pt-decoder/
Dintel-pt-pkt-decoder.c74 static int intel_pt_get_long_tnt(const unsigned char *buf, size_t len, in intel_pt_get_long_tnt()
97 static int intel_pt_get_pip(const unsigned char *buf, size_t len, in intel_pt_get_pip()
118 static int intel_pt_get_cbr(const unsigned char *buf, size_t len, in intel_pt_get_cbr()
128 static int intel_pt_get_vmcs(const unsigned char *buf, size_t len, in intel_pt_get_vmcs()
152 static int intel_pt_get_psb(const unsigned char *buf, size_t len, in intel_pt_get_psb()
175 static int intel_pt_get_tma(const unsigned char *buf, size_t len, in intel_pt_get_tma()
193 static int intel_pt_get_mnt(const unsigned char *buf, size_t len, in intel_pt_get_mnt()
204 static int intel_pt_get_3byte(const unsigned char *buf, size_t len, in intel_pt_get_3byte()
218 static int intel_pt_get_ptwrite(const unsigned char *buf, size_t len, in intel_pt_get_ptwrite()
253 static int intel_pt_get_mwait(const unsigned char *buf, size_t len, in intel_pt_get_mwait()
[all …]
/Linux-v5.15/drivers/dma/idxd/
Dsysfs.c21 struct device_attribute *attr, char *buf) in engine_group_id_show()
33 const char *buf, size_t count) in engine_group_id_store()
117 char *buf) in group_tokens_reserved_show()
126 const char *buf, size_t count) in group_tokens_reserved_store()
163 char *buf) in group_tokens_allowed_show()
172 const char *buf, size_t count) in group_tokens_allowed_store()
206 char *buf) in group_use_token_limit_show()
215 const char *buf, size_t count) in group_use_token_limit_store()
247 struct device_attribute *attr, char *buf) in group_engines_show()
275 struct device_attribute *attr, char *buf) in group_work_queues_show()
[all …]
/Linux-v5.15/drivers/base/power/
Dsysfs.c102 char *buf) in control_show()
109 const char * buf, size_t n) in control_store()
126 char *buf) in runtime_active_time_show()
139 char *buf) in runtime_suspended_time_show()
151 struct device_attribute *attr, char *buf) in runtime_status_show()
184 char *buf) in autosuspend_delay_ms_show()
193 struct device_attribute *attr, const char *buf, size_t n) in autosuspend_delay_ms_store()
213 char *buf) in pm_qos_resume_latency_us_show()
227 const char *buf, size_t n) in pm_qos_resume_latency_us_store()
257 char *buf) in pm_qos_latency_tolerance_us_show()
[all …]
/Linux-v5.15/drivers/usb/gadget/
Du_os_desc.h35 static inline u8 *__usb_ext_prop_ptr(u8 *buf, size_t offset) in __usb_ext_prop_ptr()
40 static inline u8 *usb_ext_prop_size_ptr(u8 *buf) in usb_ext_prop_size_ptr()
45 static inline u8 *usb_ext_prop_type_ptr(u8 *buf) in usb_ext_prop_type_ptr()
50 static inline u8 *usb_ext_prop_name_len_ptr(u8 *buf) in usb_ext_prop_name_len_ptr()
55 static inline u8 *usb_ext_prop_name_ptr(u8 *buf) in usb_ext_prop_name_ptr()
60 static inline u8 *usb_ext_prop_data_len_ptr(u8 *buf, size_t off) in usb_ext_prop_data_len_ptr()
66 static inline u8 *usb_ext_prop_data_ptr(u8 *buf, size_t off) in usb_ext_prop_data_ptr()
71 static inline void usb_ext_prop_put_size(u8 *buf, int dw_size) in usb_ext_prop_put_size()
76 static inline void usb_ext_prop_put_type(u8 *buf, int type) in usb_ext_prop_put_type()
81 static inline int usb_ext_prop_put_name(u8 *buf, const char *name, int pnl) in usb_ext_prop_put_name()
[all …]
/Linux-v5.15/drivers/net/dsa/sja1105/
Dsja1105_static_config.c17 void sja1105_pack(void *buf, const u64 *val, int start, int end, size_t len) in sja1105_pack()
39 void sja1105_unpack(const void *buf, u64 *val, int start, int end, size_t len) in sja1105_unpack()
56 void sja1105_packing(void *buf, u64 *val, int start, int end, in sja1105_packing()
79 u32 sja1105_crc32(const void *buf, size_t len) in sja1105_crc32()
94 static size_t sja1105et_avb_params_entry_packing(void *buf, void *entry_ptr, in sja1105et_avb_params_entry_packing()
105 size_t sja1105pqrs_avb_params_entry_packing(void *buf, void *entry_ptr, in sja1105pqrs_avb_params_entry_packing()
117 static size_t sja1105et_general_params_entry_packing(void *buf, void *entry_ptr, in sja1105et_general_params_entry_packing()
149 size_t sja1105pqrs_general_params_entry_packing(void *buf, void *entry_ptr, in sja1105pqrs_general_params_entry_packing()
183 size_t sja1110_general_params_entry_packing(void *buf, void *entry_ptr, in sja1110_general_params_entry_packing()
221 sja1105_l2_forwarding_params_entry_packing(void *buf, void *entry_ptr, in sja1105_l2_forwarding_params_entry_packing()
[all …]
Dsja1105_dynamic_config.c199 sja1105et_vl_lookup_cmd_packing(void *buf, struct sja1105_dyn_cmd *cmd, in sja1105et_vl_lookup_cmd_packing()
212 sja1105pqrs_vl_lookup_cmd_packing(void *buf, struct sja1105_dyn_cmd *cmd, in sja1105pqrs_vl_lookup_cmd_packing()
225 sja1110_vl_lookup_cmd_packing(void *buf, struct sja1105_dyn_cmd *cmd, in sja1110_vl_lookup_cmd_packing()
237 static size_t sja1105et_vl_lookup_entry_packing(void *buf, void *entry_ptr, in sja1105et_vl_lookup_entry_packing()
249 sja1110_vl_policing_cmd_packing(void *buf, struct sja1105_dyn_cmd *cmd, in sja1110_vl_policing_cmd_packing()
261 sja1105pqrs_common_l2_lookup_cmd_packing(void *buf, struct sja1105_dyn_cmd *cmd, in sja1105pqrs_common_l2_lookup_cmd_packing()
310 sja1105pqrs_l2_lookup_cmd_packing(void *buf, struct sja1105_dyn_cmd *cmd, in sja1105pqrs_l2_lookup_cmd_packing()
329 sja1110_l2_lookup_cmd_packing(void *buf, struct sja1105_dyn_cmd *cmd, in sja1110_l2_lookup_cmd_packing()
385 sja1105pqrs_dyn_l2_lookup_entry_packing(void *buf, void *entry_ptr, in sja1105pqrs_dyn_l2_lookup_entry_packing()
397 static size_t sja1110_dyn_l2_lookup_entry_packing(void *buf, void *entry_ptr, in sja1110_dyn_l2_lookup_entry_packing()
[all …]
/Linux-v5.15/drivers/scsi/qla2xxx/
Dqla_tmpl.c15 qla27xx_insert16(uint16_t value, void *buf, ulong *len) in qla27xx_insert16()
25 qla27xx_insert32(uint32_t value, void *buf, ulong *len) in qla27xx_insert32()
35 qla27xx_insertbuf(void *mem, ulong size, void *buf, ulong *len) in qla27xx_insertbuf()
45 qla27xx_read8(void __iomem *window, void *buf, ulong *len) in qla27xx_read8()
56 qla27xx_read16(void __iomem *window, void *buf, ulong *len) in qla27xx_read16()
67 qla27xx_read32(void __iomem *window, void *buf, ulong *len) in qla27xx_read32()
87 uint offset, void *buf, ulong *len) in qla27xx_read_reg()
96 uint offset, uint32_t data, void *buf) in qla27xx_write_reg()
107 uint32_t addr, uint offset, uint count, uint width, void *buf, in qla27xx_read_window()
123 qla27xx_skip_entry(struct qla27xx_fwdt_entry *ent, void *buf) in qla27xx_skip_entry()
[all …]
/Linux-v5.15/lib/
Dtest_firmware.c117 static ssize_t test_fw_misc_read(struct file *f, char __user *buf, in test_fw_misc_read()
211 const char *buf, size_t count) in reset_store()
239 char *buf) in config_show()
289 const char *buf, size_t count) in config_name_store()
316 static int test_dev_config_update_bool(const char *buf, size_t size, in test_dev_config_update_bool()
331 static ssize_t test_dev_config_show_bool(char *buf, bool val) in test_dev_config_show_bool()
336 static int test_dev_config_update_size_t(const char *buf, in test_dev_config_update_size_t()
355 static ssize_t test_dev_config_show_size_t(char *buf, size_t val) in test_dev_config_show_size_t()
360 static ssize_t test_dev_config_show_int(char *buf, int val) in test_dev_config_show_int()
365 static int test_dev_config_update_u8(const char *buf, size_t size, u8 *cfg) in test_dev_config_update_u8()
[all …]
/Linux-v5.15/drivers/video/fbdev/omap2/omapfb/dss/
Doverlay-sysfs.c23 static ssize_t overlay_name_show(struct omap_overlay *ovl, char *buf) in overlay_name_show()
28 static ssize_t overlay_manager_show(struct omap_overlay *ovl, char *buf) in overlay_manager_show()
34 static ssize_t overlay_manager_store(struct omap_overlay *ovl, const char *buf, in overlay_manager_store()
105 static ssize_t overlay_input_size_show(struct omap_overlay *ovl, char *buf) in overlay_input_size_show()
115 static ssize_t overlay_screen_width_show(struct omap_overlay *ovl, char *buf) in overlay_screen_width_show()
124 static ssize_t overlay_position_show(struct omap_overlay *ovl, char *buf) in overlay_position_show()
135 const char *buf, size_t size) in overlay_position_store()
163 static ssize_t overlay_output_size_show(struct omap_overlay *ovl, char *buf) in overlay_output_size_show()
174 const char *buf, size_t size) in overlay_output_size_store()
202 static ssize_t overlay_enabled_show(struct omap_overlay *ovl, char *buf) in overlay_enabled_show()
[all …]
/Linux-v5.15/kernel/power/
Dmain.c101 char *buf) in pm_async_show()
107 const char *buf, size_t n) in pm_async_store()
125 char *buf) in mem_sleep_show()
147 static suspend_state_t decode_suspend_state(const char *buf, size_t n) in decode_suspend_state()
167 const char *buf, size_t n) in mem_sleep_store()
203 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show()
210 const char *buf, size_t n) in sync_on_suspend_store()
240 char *buf) in pm_test_show()
261 const char *buf, size_t n) in pm_test_store()
330 struct kobj_attribute *attr, char *buf) in last_failed_dev_show()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c121 char *buf) in amdgpu_get_power_dpm_state()
156 const char *buf, in amdgpu_set_power_dpm_state()
265 char *buf) in amdgpu_get_power_dpm_force_performance_level()
306 const char *buf, in amdgpu_set_power_dpm_force_performance_level()
408 char *buf) in amdgpu_get_pp_num_states()
450 char *buf) in amdgpu_get_pp_cur_state()
492 char *buf) in amdgpu_get_pp_force_state()
510 const char *buf, in amdgpu_set_pp_force_state()
574 char *buf) in amdgpu_get_pp_table()
614 const char *buf, in amdgpu_set_pp_table()
[all …]
/Linux-v5.15/fs/gfs2/
Dsys.c37 char *buf) in gfs2_attr_show()
45 const char *buf, size_t len) in gfs2_attr_store()
60 static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) in id_show()
66 static ssize_t status_show(struct gfs2_sbd *sdp, char *buf) in status_show()
131 static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf) in fsname_show()
136 static ssize_t uuid_show(struct gfs2_sbd *sdp, char *buf) in uuid_show()
146 static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf) in freeze_show()
154 static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in freeze_store()
184 static ssize_t withdraw_show(struct gfs2_sbd *sdp, char *buf) in withdraw_show()
190 static ssize_t withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in withdraw_store()
[all …]
/Linux-v5.15/drivers/xen/
Dxen-front-pgdir-shbuf.c83 xen_front_pgdir_shbuf_get_dir_start(struct xen_front_pgdir_shbuf *buf) in xen_front_pgdir_shbuf_get_dir_start()
103 int xen_front_pgdir_shbuf_map(struct xen_front_pgdir_shbuf *buf) in xen_front_pgdir_shbuf_map()
124 int xen_front_pgdir_shbuf_unmap(struct xen_front_pgdir_shbuf *buf) in xen_front_pgdir_shbuf_unmap()
139 void xen_front_pgdir_shbuf_free(struct xen_front_pgdir_shbuf *buf) in xen_front_pgdir_shbuf_free()
167 static int get_num_pages_dir(struct xen_front_pgdir_shbuf *buf) in get_num_pages_dir()
178 static void backend_calc_num_grefs(struct xen_front_pgdir_shbuf *buf) in backend_calc_num_grefs()
190 static void guest_calc_num_grefs(struct xen_front_pgdir_shbuf *buf) in guest_calc_num_grefs()
209 static int backend_unmap(struct xen_front_pgdir_shbuf *buf) in backend_unmap()
256 static int backend_map(struct xen_front_pgdir_shbuf *buf) in backend_map()
341 static void backend_fill_page_dir(struct xen_front_pgdir_shbuf *buf) in backend_fill_page_dir()
[all …]

12345678910>>...202