Home
last modified time | relevance | path

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

12345678910>>...176

/Linux-v4.19/net/bridge/
Dbr_sysfs_br.c32 const char *buf, size_t len, in store_bridge_parm()
60 struct device_attribute *attr, char *buf) in forward_delay_show()
68 const char *buf, size_t len) in forward_delay_store()
75 char *buf) in hello_time_show()
82 struct device_attribute *attr, const char *buf, in hello_time_store()
90 char *buf) in max_age_show()
97 const char *buf, size_t len) in max_age_store()
104 struct device_attribute *attr, char *buf) in ageing_time_show()
117 const char *buf, size_t len) in ageing_time_store()
124 struct device_attribute *attr, char *buf) in stp_state_show()
[all …]
Dbr_sysfs_if.c78 static ssize_t show_path_cost(struct net_bridge_port *p, char *buf) in show_path_cost()
86 static ssize_t show_priority(struct net_bridge_port *p, char *buf) in show_priority()
94 static ssize_t show_designated_root(struct net_bridge_port *p, char *buf) in show_designated_root()
100 static ssize_t show_designated_bridge(struct net_bridge_port *p, char *buf) in show_designated_bridge()
106 static ssize_t show_designated_port(struct net_bridge_port *p, char *buf) in show_designated_port()
112 static ssize_t show_designated_cost(struct net_bridge_port *p, char *buf) in show_designated_cost()
118 static ssize_t show_port_id(struct net_bridge_port *p, char *buf) in show_port_id()
124 static ssize_t show_port_no(struct net_bridge_port *p, char *buf) in show_port_no()
131 static ssize_t show_change_ack(struct net_bridge_port *p, char *buf) in show_change_ack()
137 static ssize_t show_config_pending(struct net_bridge_port *p, char *buf) in show_config_pending()
[all …]
/Linux-v4.19/fs/nilfs2/
Dsysfs.c22 #define NILFS_SHOW_TIME(time_t_val, buf) ({ \ argument
111 struct nilfs_root *root, char *buf) in nilfs_snapshot_inodes_count_show()
119 struct nilfs_root *root, char *buf) in nilfs_snapshot_blocks_count_show()
132 struct nilfs_root *root, char *buf) in nilfs_snapshot_README_show()
149 struct attribute *attr, char *buf) in nilfs_snapshot_attr_show()
161 const char *buf, size_t len) in nilfs_snapshot_attr_store()
233 struct the_nilfs *nilfs, char *buf) in nilfs_mounted_snapshots_README_show()
256 char *buf) in nilfs_checkpoints_checkpoints_number_show()
279 char *buf) in nilfs_checkpoints_snapshots_number_show()
302 char *buf) in nilfs_checkpoints_last_seg_checkpoint_show()
[all …]
/Linux-v4.19/drivers/net/wireless/st/cw1200/
Dwsm.c30 #define WSM_SKIP(buf, size) \ argument
37 #define WSM_GET(buf, ptr, size) \ argument
45 #define __WSM_GET(buf, type, type2, cvt) \ argument
55 #define WSM_GET8(buf) __WSM_GET(buf, u8, u8, (u8)) argument
56 #define WSM_GET16(buf) __WSM_GET(buf, u16, __le16, __le16_to_cpu) argument
57 #define WSM_GET32(buf) __WSM_GET(buf, u32, __le32, __le32_to_cpu) argument
59 #define WSM_PUT(buf, ptr, size) \ argument
68 #define __WSM_PUT(buf, val, type, type2, cvt) \ argument
77 #define WSM_PUT8(buf, val) __WSM_PUT(buf, val, u8, u8, (u8)) argument
78 #define WSM_PUT16(buf, val) __WSM_PUT(buf, val, u16, __le16, __cpu_to_le16) argument
[all …]
/Linux-v4.19/arch/mips/include/asm/
Duasm.h202 # define UASM_i_ADDIU(buf, rs, rt, val) uasm_i_daddiu(buf, rs, rt, val) argument
203 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_daddu(buf, rs, rt, rd) argument
204 # define UASM_i_LL(buf, rs, rt, off) uasm_i_lld(buf, rs, rt, off) argument
205 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, rt, off) argument
206 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_ldx(buf, rs, rt, rd) argument
207 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_dmfc0(buf, rt, rd) argument
208 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_dmtc0(buf, rt, rd) argument
209 # define UASM_i_ROTR(buf, rs, rt, sh) uasm_i_drotr(buf, rs, rt, sh) argument
210 # define UASM_i_SC(buf, rs, rt, off) uasm_i_scd(buf, rs, rt, off) argument
211 # define UASM_i_SLL(buf, rs, rt, sh) uasm_i_dsll(buf, rs, rt, sh) argument
[all …]
/Linux-v4.19/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()
71 const char *buf, size_t count) in qeth_l3_dev_route_store()
108 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route4_store()
123 struct device_attribute *attr, char *buf) in qeth_l3_dev_route6_show()
134 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route6_store()
149 struct device_attribute *attr, char *buf) in qeth_l3_dev_fake_broadcast_show()
160 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_fake_broadcast_store()
190 struct device_attribute *attr, char *buf) in qeth_l3_dev_sniffer_show()
[all …]
Dqeth_core_sys.c20 struct device_attribute *attr, char *buf) in qeth_dev_state_show()
48 struct device_attribute *attr, char *buf) in qeth_dev_chpid_show()
60 struct device_attribute *attr, char *buf) in qeth_dev_if_name_show()
71 struct device_attribute *attr, char *buf) in qeth_dev_card_type_show()
97 struct device_attribute *attr, char *buf) in qeth_dev_inbuf_size_show()
109 struct device_attribute *attr, char *buf) in qeth_dev_portno_show()
119 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portno_store()
155 struct device_attribute *attr, char *buf) in qeth_dev_portname_show()
161 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portname_store()
174 struct device_attribute *attr, char *buf) in qeth_dev_prioqing_show()
[all …]
/Linux-v4.19/drivers/base/power/
Dsysfs.c102 char *buf) in control_show()
109 const char * buf, size_t n) in control_store()
125 struct device_attribute *attr, char *buf) in runtime_active_time_show()
138 struct device_attribute *attr, char *buf) in runtime_suspended_time_show()
152 struct device_attribute *attr, char *buf) in runtime_status_show()
184 struct device_attribute *attr, char *buf) in autosuspend_delay_ms_show()
192 struct device_attribute *attr, const char *buf, size_t n) in autosuspend_delay_ms_store()
212 char *buf) in pm_qos_resume_latency_us_show()
226 const char *buf, size_t n) in pm_qos_resume_latency_us_store()
256 char *buf) in pm_qos_latency_tolerance_us_show()
[all …]
/Linux-v4.19/drivers/net/bonding/
Dbond_sysfs.c52 char *buf) in bonding_show_bonds()
182 struct device_attribute *attr, char *buf) in bonding_show_slaves()
215 struct device_attribute *attr, char *buf) in bonding_show_mode()
229 char *buf) in bonding_show_xmit_hash()
244 char *buf) in bonding_show_arp_validate()
260 char *buf) in bonding_show_arp_all_targets()
276 char *buf) in bonding_show_fail_over_mac()
292 char *buf) in bonding_show_arp_interval()
304 char *buf) in bonding_show_arp_targets()
325 char *buf) in bonding_show_downdelay()
[all …]
/Linux-v4.19/kernel/
Drelay.c35 struct rchan_buf *buf = vma->vm_private_data; in relay_file_mmap_close() local
45 struct rchan_buf *buf = vmf->vma->vm_private_data; in relay_buf_fault() local
96 static int relay_mmap_buf(struct rchan_buf *buf, struct vm_area_struct *vma) in relay_mmap_buf()
123 static void *relay_alloc_buf(struct rchan_buf *buf, size_t *size) in relay_alloc_buf()
164 struct rchan_buf *buf; in relay_create_buf() local
207 static void relay_destroy_buf(struct rchan_buf *buf) in relay_destroy_buf()
234 struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref); in relay_remove_buf() local
244 static int relay_buf_empty(struct rchan_buf *buf) in relay_buf_empty()
255 int relay_buf_full(struct rchan_buf *buf) in relay_buf_full()
274 static int subbuf_start_default_callback (struct rchan_buf *buf, in subbuf_start_default_callback()
[all …]
Dksysfs.c34 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
43 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
49 const char *buf, size_t count) in uevent_helper_store()
64 struct kobj_attribute *attr, char *buf) in profiling_show()
70 const char *buf, size_t count) in profiling_store()
95 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
102 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
109 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show()
115 const char *buf, size_t count) in kexec_crash_size_store()
133 struct kobj_attribute *attr, char *buf) in vmcoreinfo_show()
[all …]
/Linux-v4.19/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-v4.19/drivers/gpu/drm/xen/
Dxen_drm_front_shbuf.c47 grant_ref_t xen_drm_front_shbuf_get_dir_start(struct xen_drm_front_shbuf *buf) in xen_drm_front_shbuf_get_dir_start()
55 int xen_drm_front_shbuf_map(struct xen_drm_front_shbuf *buf) in xen_drm_front_shbuf_map()
64 int xen_drm_front_shbuf_unmap(struct xen_drm_front_shbuf *buf) in xen_drm_front_shbuf_unmap()
73 void xen_drm_front_shbuf_flush(struct xen_drm_front_shbuf *buf) in xen_drm_front_shbuf_flush()
80 void xen_drm_front_shbuf_free(struct xen_drm_front_shbuf *buf) in xen_drm_front_shbuf_free()
103 static int get_num_pages_dir(struct xen_drm_front_shbuf *buf) in get_num_pages_dir()
109 static void backend_calc_num_grefs(struct xen_drm_front_shbuf *buf) in backend_calc_num_grefs()
115 static void guest_calc_num_grefs(struct xen_drm_front_shbuf *buf) in guest_calc_num_grefs()
127 static int backend_unmap(struct xen_drm_front_shbuf *buf) in backend_unmap()
168 static int backend_map(struct xen_drm_front_shbuf *buf) in backend_map()
[all …]
/Linux-v4.19/tools/perf/util/intel-pt-decoder/
Dintel-pt-pkt-decoder.c81 static int intel_pt_get_long_tnt(const unsigned char *buf, size_t len, in intel_pt_get_long_tnt()
104 static int intel_pt_get_pip(const unsigned char *buf, size_t len, in intel_pt_get_pip()
127 static int intel_pt_get_cbr(const unsigned char *buf, size_t len, in intel_pt_get_cbr()
137 static int intel_pt_get_vmcs(const unsigned char *buf, size_t len, in intel_pt_get_vmcs()
161 static int intel_pt_get_psb(const unsigned char *buf, size_t len, in intel_pt_get_psb()
184 static int intel_pt_get_tma(const unsigned char *buf, size_t len, in intel_pt_get_tma()
202 static int intel_pt_get_mnt(const unsigned char *buf, size_t len, in intel_pt_get_mnt()
213 static int intel_pt_get_3byte(const unsigned char *buf, size_t len, in intel_pt_get_3byte()
227 static int intel_pt_get_ptwrite(const unsigned char *buf, size_t len, in intel_pt_get_ptwrite()
262 static int intel_pt_get_mwait(const unsigned char *buf, size_t len, in intel_pt_get_mwait()
[all …]
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Doverlay-sysfs.c34 static ssize_t overlay_name_show(struct omap_overlay *ovl, char *buf) in overlay_name_show()
39 static ssize_t overlay_manager_show(struct omap_overlay *ovl, char *buf) in overlay_manager_show()
45 static ssize_t overlay_manager_store(struct omap_overlay *ovl, const char *buf, in overlay_manager_store()
116 static ssize_t overlay_input_size_show(struct omap_overlay *ovl, char *buf) in overlay_input_size_show()
126 static ssize_t overlay_screen_width_show(struct omap_overlay *ovl, char *buf) in overlay_screen_width_show()
135 static ssize_t overlay_position_show(struct omap_overlay *ovl, char *buf) in overlay_position_show()
146 const char *buf, size_t size) in overlay_position_store()
174 static ssize_t overlay_output_size_show(struct omap_overlay *ovl, char *buf) in overlay_output_size_show()
185 const char *buf, size_t size) in overlay_output_size_store()
213 static ssize_t overlay_enabled_show(struct omap_overlay *ovl, char *buf) in overlay_enabled_show()
[all …]
Dmanager-sysfs.c34 static ssize_t manager_name_show(struct omap_overlay_manager *mgr, char *buf) in manager_name_show()
39 static ssize_t manager_display_show(struct omap_overlay_manager *mgr, char *buf) in manager_display_show()
55 const char *buf, size_t size) in manager_display_store()
128 char *buf) in manager_default_color_show()
138 const char *buf, size_t size) in manager_default_color_store()
169 char *buf) in manager_trans_key_type_show()
183 const char *buf, size_t size) in manager_trans_key_type_store()
208 char *buf) in manager_trans_key_value_show()
218 const char *buf, size_t size) in manager_trans_key_value_store()
244 char *buf) in manager_trans_key_enabled_show()
[all …]
/Linux-v4.19/drivers/misc/mic/cosm/
Dcosm_sysfs.c67 family_show(struct device *dev, struct device_attribute *attr, char *buf) in family_show()
79 stepping_show(struct device *dev, struct device_attribute *attr, char *buf) in stepping_show()
91 state_show(struct device *dev, struct device_attribute *attr, char *buf) in state_show()
104 const char *buf, size_t count) in state_store()
134 struct device_attribute *attr, char *buf) in shutdown_status_show()
148 struct device_attribute *attr, char *buf) in heartbeat_enable_show()
161 const char *buf, size_t count) in heartbeat_enable_store()
187 cmdline_show(struct device *dev, struct device_attribute *attr, char *buf) in cmdline_show()
204 const char *buf, size_t count) in cmdline_store()
233 firmware_show(struct device *dev, struct device_attribute *attr, char *buf) in firmware_show()
[all …]
/Linux-v4.19/fs/gfs2/
Dsys.c40 char *buf) in gfs2_attr_show()
48 const char *buf, size_t len) in gfs2_attr_store()
63 static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) in id_show()
69 static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf) in fsname_show()
74 static ssize_t uuid_show(struct gfs2_sbd *sdp, char *buf) in uuid_show()
84 static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf) in freeze_show()
92 static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in freeze_store()
122 static ssize_t withdraw_show(struct gfs2_sbd *sdp, char *buf) in withdraw_show()
128 static ssize_t withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in withdraw_store()
147 static ssize_t statfs_sync_store(struct gfs2_sbd *sdp, const char *buf, in statfs_sync_store()
[all …]
/Linux-v4.19/kernel/power/
Dmain.c88 char *buf) in pm_async_show()
94 const char *buf, size_t n) in pm_async_store()
112 char *buf) in mem_sleep_show()
134 static suspend_state_t decode_suspend_state(const char *buf, size_t n) in decode_suspend_state()
154 const char *buf, size_t n) in mem_sleep_store()
195 char *buf) in pm_test_show()
216 const char *buf, size_t n) in pm_test_store()
356 struct kobj_attribute *attr, char *buf) in pm_print_times_show()
363 const char *buf, size_t n) in pm_print_times_store()
386 char *buf) in pm_wakeup_irq_show()
[all …]
/Linux-v4.19/drivers/hwtracing/coresight/
Dcoresight-etm4x-sysfs.c58 char *buf) in nr_pe_cmp_show()
70 char *buf) in nr_addr_cmp_show()
82 char *buf) in nr_cntr_show()
94 char *buf) in nr_ext_inp_show()
106 char *buf) in numcidc_show()
118 char *buf) in numvmidc_show()
130 char *buf) in nrseqstate_show()
142 char *buf) in nr_resource_show()
154 char *buf) in nr_ss_cmp_show()
166 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-v4.19/drivers/scsi/qla2xxx/
Dqla_tmpl.c109 qla27xx_insert16(uint16_t value, void *buf, ulong *len) in qla27xx_insert16()
119 qla27xx_insert32(uint32_t value, void *buf, ulong *len) in qla27xx_insert32()
129 qla27xx_insertbuf(void *mem, ulong size, void *buf, ulong *len) in qla27xx_insertbuf()
140 qla27xx_read8(void __iomem *window, void *buf, ulong *len) in qla27xx_read8()
151 qla27xx_read16(void __iomem *window, void *buf, ulong *len) in qla27xx_read16()
162 qla27xx_read32(void __iomem *window, void *buf, ulong *len) in qla27xx_read32()
182 uint offset, void *buf, ulong *len) in qla27xx_read_reg()
191 uint offset, uint32_t data, void *buf) in qla27xx_write_reg()
202 uint32_t addr, uint offset, uint count, uint width, void *buf, in qla27xx_read_window()
218 qla27xx_skip_entry(struct qla27xx_fwdt_entry *ent, void *buf) in qla27xx_skip_entry()
[all …]
/Linux-v4.19/drivers/usb/core/
Dsysfs.c51 struct device_attribute *attr, char *buf) in bMaxPower_show()
70 struct device_attribute *attr, char *buf) in configuration_show()
93 const char *buf, size_t count) in bConfigurationValue_store()
112 char *buf) in devspec_show()
144 char *buf) in speed_show()
179 char *buf) in rx_lanes_show()
189 char *buf) in tx_lanes_show()
199 char *buf) in busnum_show()
209 char *buf) in devnum_show()
219 char *buf) in devpath_show()
[all …]
/Linux-v4.19/drivers/video/fbdev/core/
Dfbsysfs.c106 static int mode_string(char *buf, unsigned int offset, in mode_string()
129 const char *buf, size_t count) in store_mode()
160 char *buf) in show_mode()
172 const char *buf, size_t count) in store_modes()
203 char *buf) in show_modes()
221 const char *buf, size_t count) in store_bpp()
236 char *buf) in show_bpp()
244 const char *buf, size_t count) in store_rotate()
262 struct device_attribute *attr, char *buf) in show_rotate()
271 const char *buf, size_t count) in store_virtual()
[all …]
/Linux-v4.19/drivers/scsi/qla4xxx/
Dql4_attr.c14 struct bin_attribute *ba, char *buf, loff_t off, in qla4_8xxx_sysfs_read_fw_dump()
32 struct bin_attribute *ba, char *buf, loff_t off, in qla4_8xxx_sysfs_write_fw_dump()
155 struct device_attribute *attr, char *buf) in qla4xxx_fw_version_show()
171 char *buf) in qla4xxx_serial_num_show()
179 char *buf) in qla4xxx_iscsi_version_show()
188 char *buf) in qla4xxx_optrom_version_show()
198 char *buf) in qla4xxx_board_id_show()
206 char *buf) in qla4xxx_fw_state_show()
217 char *buf) in qla4xxx_phy_port_cnt_show()
229 char *buf) in qla4xxx_phy_port_num_show()
[all …]

12345678910>>...176