Home
last modified time | relevance | path

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

12345678910>>...132

/linux-3.3/net/bridge/
Dbr_sysfs_br.c31 const char *buf, size_t len, in store_bridge_parm()
52 struct device_attribute *attr, char *buf) in show_forward_delay()
60 const char *buf, size_t len) in store_forward_delay()
68 char *buf) in show_hello_time()
75 struct device_attribute *attr, const char *buf, in store_hello_time()
84 char *buf) in show_max_age()
91 const char *buf, size_t len) in store_max_age()
98 struct device_attribute *attr, char *buf) in show_ageing_time()
112 const char *buf, size_t len) in store_ageing_time()
120 struct device_attribute *attr, char *buf) in show_stp_state()
[all …]
Dbr_sysfs_if.c37 static ssize_t show_path_cost(struct net_bridge_port *p, char *buf) in show_path_cost()
45 static ssize_t show_priority(struct net_bridge_port *p, char *buf) in show_priority()
53 static ssize_t show_designated_root(struct net_bridge_port *p, char *buf) in show_designated_root()
59 static ssize_t show_designated_bridge(struct net_bridge_port *p, char *buf) in show_designated_bridge()
65 static ssize_t show_designated_port(struct net_bridge_port *p, char *buf) in show_designated_port()
71 static ssize_t show_designated_cost(struct net_bridge_port *p, char *buf) in show_designated_cost()
77 static ssize_t show_port_id(struct net_bridge_port *p, char *buf) in show_port_id()
83 static ssize_t show_port_no(struct net_bridge_port *p, char *buf) in show_port_no()
90 static ssize_t show_change_ack(struct net_bridge_port *p, char *buf) in show_change_ack()
96 static ssize_t show_config_pending(struct net_bridge_port *p, char *buf) in show_config_pending()
[all …]
/linux-3.3/arch/mips/include/asm/
Duasm.h148 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, rt, off) argument
149 # define UASM_i_SW(buf, rs, rt, off) uasm_i_sd(buf, rs, rt, off) argument
150 # define UASM_i_SLL(buf, rs, rt, sh) uasm_i_dsll(buf, rs, rt, sh) argument
151 # define UASM_i_SRA(buf, rs, rt, sh) uasm_i_dsra(buf, rs, rt, sh) argument
152 # define UASM_i_SRL(buf, rs, rt, sh) uasm_i_dsrl(buf, rs, rt, sh) argument
153 # define UASM_i_SRL_SAFE(buf, rs, rt, sh) uasm_i_dsrl_safe(buf, rs, rt, sh) argument
154 # define UASM_i_ROTR(buf, rs, rt, sh) uasm_i_drotr(buf, rs, rt, sh) argument
155 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_dmfc0(buf, rt, rd) argument
156 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_dmtc0(buf, rt, rd) argument
157 # define UASM_i_ADDIU(buf, rs, rt, val) uasm_i_daddiu(buf, rs, rt, val) argument
[all …]
/linux-3.3/drivers/s390/net/
Dqeth_l3_sys.c19 struct qeth_routing_info *route, char *buf) in qeth_l3_dev_route_show()
47 struct device_attribute *attr, char *buf) in qeth_l3_dev_route4_show()
59 const char *buf, size_t count) in qeth_l3_dev_route_store()
97 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route4_store()
112 struct device_attribute *attr, char *buf) in qeth_l3_dev_route6_show()
123 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route6_store()
138 struct device_attribute *attr, char *buf) in qeth_l3_dev_fake_broadcast_show()
149 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_fake_broadcast_store()
179 struct device_attribute *attr, char *buf) in qeth_l3_dev_broadcast_mode_show()
196 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_broadcast_mode_store()
[all …]
Dqeth_core_sys.c21 struct device_attribute *attr, char *buf) in qeth_dev_state_show()
49 struct device_attribute *attr, char *buf) in qeth_dev_chpid_show()
61 struct device_attribute *attr, char *buf) in qeth_dev_if_name_show()
72 struct device_attribute *attr, char *buf) in qeth_dev_card_type_show()
98 struct device_attribute *attr, char *buf) in qeth_dev_inbuf_size_show()
110 struct device_attribute *attr, char *buf) in qeth_dev_portno_show()
120 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portno_store()
156 struct device_attribute *attr, char *buf) in qeth_dev_portname_show()
173 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portname_store()
210 struct device_attribute *attr, char *buf) in qeth_dev_prioqing_show()
[all …]
/linux-3.3/drivers/media/video/omap3isp/
Dispqueue.c67 static void isp_video_buffer_cache_sync(struct isp_video_buffer *buf) in isp_video_buffer_cache_sync()
97 static int isp_video_buffer_lock_vma(struct isp_video_buffer *buf, int lock) in isp_video_buffer_lock_vma()
153 static int isp_video_buffer_sglist_kernel(struct isp_video_buffer *buf) in isp_video_buffer_sglist_kernel()
191 static int isp_video_buffer_sglist_user(struct isp_video_buffer *buf) in isp_video_buffer_sglist_user()
226 static int isp_video_buffer_sglist_pfnmap(struct isp_video_buffer *buf) in isp_video_buffer_sglist_pfnmap()
261 static void isp_video_buffer_cleanup(struct isp_video_buffer *buf) in isp_video_buffer_cleanup()
317 static int isp_video_buffer_prepare_user(struct isp_video_buffer *buf) in isp_video_buffer_prepare_user()
362 static int isp_video_buffer_prepare_pfnmap(struct isp_video_buffer *buf) in isp_video_buffer_prepare_pfnmap()
419 static int isp_video_buffer_prepare_vm_flags(struct isp_video_buffer *buf) in isp_video_buffer_prepare_vm_flags()
480 static int isp_video_buffer_prepare(struct isp_video_buffer *buf) in isp_video_buffer_prepare()
[all …]
/linux-3.3/drivers/infiniband/hw/ipath/
Dipath_sysfs.c76 static ssize_t show_version(struct device_driver *dev, char *buf) in show_version()
82 static ssize_t show_num_units(struct device_driver *dev, char *buf) in show_num_units()
90 char *buf) in show_status()
123 char *buf) in show_status_str()
161 char *buf) in show_boardversion()
170 char *buf) in show_localbus_info()
179 char *buf) in show_lmc()
188 const char *buf, in store_lmc()
215 char *buf) in show_lid()
224 const char *buf, in store_lid()
[all …]
/linux-3.3/drivers/base/power/
Dsysfs.c105 char *buf) in control_show()
112 const char * buf, size_t n) in control_store()
134 struct device_attribute *attr, char *buf) in rtpm_active_time_show()
147 struct device_attribute *attr, char *buf) in rtpm_suspended_time_show()
161 struct device_attribute *attr, char *buf) in rtpm_status_show()
193 struct device_attribute *attr, char *buf) in autosuspend_delay_ms_show()
201 struct device_attribute *attr, const char *buf, size_t n) in autosuspend_delay_ms_store()
224 wake_show(struct device * dev, struct device_attribute *attr, char * buf) in wake_show()
233 const char * buf, size_t n) in wake_store()
258 struct device_attribute *attr, char *buf) in wakeup_count_show()
[all …]
/linux-3.3/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 fsname_show(struct gfs2_sbd *sdp, char *buf) in fsname_show()
82 static ssize_t uuid_show(struct gfs2_sbd *sdp, char *buf) in uuid_show()
92 static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf) in freeze_show()
103 static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in freeze_store()
129 static ssize_t withdraw_show(struct gfs2_sbd *sdp, char *buf) in withdraw_show()
135 static ssize_t withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in withdraw_store()
149 static ssize_t statfs_sync_store(struct gfs2_sbd *sdp, const char *buf, in statfs_sync_store()
[all …]
/linux-3.3/drivers/scsi/qla4xxx/
Dql4_attr.c15 struct device_attribute *attr, char *buf) in qla4xxx_fw_version_show()
33 char *buf) in qla4xxx_serial_num_show()
41 char *buf) in qla4xxx_iscsi_version_show()
50 char *buf) in qla4xxx_optrom_version_show()
60 char *buf) in qla4xxx_board_id_show()
68 char *buf) in qla4xxx_fw_state_show()
79 char *buf) in qla4xxx_phy_port_cnt_show()
91 char *buf) in qla4xxx_phy_port_num_show()
103 char *buf) in qla4xxx_iscsi_func_cnt_show()
115 char *buf) in qla4xxx_hba_model_show()
/linux-3.3/kernel/
Dksysfs.c32 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
40 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
46 const char *buf, size_t count) in uevent_helper_store()
61 struct kobj_attribute *attr, char *buf) in profiling_show()
67 const char *buf, size_t count) in profiling_store()
92 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
99 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
106 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show()
112 const char *buf, size_t count) in kexec_crash_size_store()
126 struct kobj_attribute *attr, char *buf) in vmcoreinfo_show()
[all …]
Drelay.c35 struct rchan_buf *buf = vma->vm_private_data; in relay_file_mmap_close() local
45 struct rchan_buf *buf = vma->vm_private_data; in relay_buf_fault() local
99 static int relay_mmap_buf(struct rchan_buf *buf, struct vm_area_struct *vma) in relay_mmap_buf()
126 static void *relay_alloc_buf(struct rchan_buf *buf, size_t *size) in relay_alloc_buf()
167 struct rchan_buf *buf; in relay_create_buf() local
209 static void relay_destroy_buf(struct rchan_buf *buf) in relay_destroy_buf()
236 struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref); in relay_remove_buf() local
247 static int relay_buf_empty(struct rchan_buf *buf) in relay_buf_empty()
258 int relay_buf_full(struct rchan_buf *buf) in relay_buf_full()
277 static int subbuf_start_default_callback (struct rchan_buf *buf, in subbuf_start_default_callback()
[all …]
/linux-3.3/drivers/net/bonding/
Dbond_sysfs.c55 char *buf) in bonding_show_bonds()
205 struct device_attribute *attr, char *buf) in bonding_show_slaves()
298 struct device_attribute *attr, char *buf) in bonding_show_mode()
309 const char *buf, size_t count) in bonding_store_mode()
361 char *buf) in bonding_show_xmit_hash()
372 const char *buf, size_t count) in bonding_store_xmit_hash()
409 char *buf) in bonding_show_arp_validate()
420 const char *buf, size_t count) in bonding_store_arp_validate()
454 char *buf) in bonding_show_fail_over_mac()
465 const char *buf, size_t count) in bonding_store_fail_over_mac()
[all …]
/linux-3.3/drivers/video/
Dfbsysfs.c103 static int mode_string(char *buf, unsigned int offset, in mode_string()
126 const char *buf, size_t count) in store_mode()
157 char *buf) in show_mode()
169 const char *buf, size_t count) in store_modes()
194 char *buf) in show_modes()
212 const char *buf, size_t count) in store_bpp()
227 char *buf) in show_bpp()
235 const char *buf, size_t count) in store_rotate()
253 struct device_attribute *attr, char *buf) in show_rotate()
262 const char *buf, size_t count) in store_virtual()
[all …]
/linux-3.3/arch/powerpc/platforms/cell/
Dcbe_thermal.c101 char *buf) in spu_show_temp()
113 static ssize_t show_throttle(struct cbe_pmd_regs __iomem *pmd_regs, char *buf, int pos) in show_throttle()
125 static ssize_t store_throttle(struct cbe_pmd_regs __iomem *pmd_regs, const char *buf, size_t size, … in store_throttle()
151 struct device_attribute *attr, char *buf) in spu_show_throttle_end()
157 struct device_attribute *attr, char *buf) in spu_show_throttle_begin()
163 struct device_attribute *attr, char *buf) in spu_show_throttle_full_stop()
169 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_end()
175 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_begin()
181 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_full_stop()
186 static ssize_t ppe_show_temp(struct device *dev, char *buf, int pos) in ppe_show_temp()
[all …]
/linux-3.3/drivers/scsi/pcmcia/
Dnsp_io.h69 void *buf, in nsp_multi_read_1()
76 void *buf, in nsp_fifo8_read()
88 void *buf, in nsp_multi_read_2()
95 void *buf, in nsp_fifo16_read()
107 void *buf, in nsp_multi_read_4()
114 void *buf, in nsp_fifo32_read()
126 void *buf, in nsp_multi_write_1()
133 void *buf, in nsp_fifo8_write()
144 void *buf, in nsp_multi_write_2()
151 void *buf, in nsp_fifo16_write()
[all …]
/linux-3.3/drivers/staging/zram/
Dzram_sysfs.c47 struct device_attribute *attr, char *buf) in disksize_show()
55 struct device_attribute *attr, const char *buf, size_t len) in disksize_store()
80 struct device_attribute *attr, char *buf) in initstate_show()
88 struct device_attribute *attr, const char *buf, size_t len) in reset_store()
122 struct device_attribute *attr, char *buf) in num_reads_show()
131 struct device_attribute *attr, char *buf) in num_writes_show()
140 struct device_attribute *attr, char *buf) in invalid_io_show()
149 struct device_attribute *attr, char *buf) in notify_free_show()
158 struct device_attribute *attr, char *buf) in zero_pages_show()
166 struct device_attribute *attr, char *buf) in orig_data_size_show()
[all …]
/linux-3.3/drivers/pcmcia/
Dsocket_sysfs.c38 char *buf) in pccard_show_type()
51 char *buf) in pccard_show_voltage()
65 char *buf) in pccard_show_vpp()
75 char *buf) in pccard_show_vcc()
86 const char *buf, size_t count) in pccard_store_insert()
102 char *buf) in pccard_show_card_pm_state()
110 const char *buf, size_t count) in pccard_store_card_pm_state()
133 const char *buf, size_t count) in pccard_store_eject()
149 char *buf) in pccard_show_irq_mask()
157 const char *buf, size_t count) in pccard_store_irq_mask()
[all …]
/linux-3.3/drivers/video/omap2/dss/
Doverlay.c43 static ssize_t overlay_name_show(struct omap_overlay *ovl, char *buf) in overlay_name_show()
48 static ssize_t overlay_manager_show(struct omap_overlay *ovl, char *buf) in overlay_manager_show()
54 static ssize_t overlay_manager_store(struct omap_overlay *ovl, const char *buf, in overlay_manager_store()
125 static ssize_t overlay_input_size_show(struct omap_overlay *ovl, char *buf) in overlay_input_size_show()
135 static ssize_t overlay_screen_width_show(struct omap_overlay *ovl, char *buf) in overlay_screen_width_show()
144 static ssize_t overlay_position_show(struct omap_overlay *ovl, char *buf) in overlay_position_show()
155 const char *buf, size_t size) in overlay_position_store()
183 static ssize_t overlay_output_size_show(struct omap_overlay *ovl, char *buf) in overlay_output_size_show()
194 const char *buf, size_t size) in overlay_output_size_store()
222 static ssize_t overlay_enabled_show(struct omap_overlay *ovl, char *buf) in overlay_enabled_show()
[all …]
Dmanager.c39 static ssize_t manager_name_show(struct omap_overlay_manager *mgr, char *buf) in manager_name_show()
44 static ssize_t manager_display_show(struct omap_overlay_manager *mgr, char *buf) in manager_display_show()
51 const char *buf, size_t size) in manager_display_store()
105 char *buf) in manager_default_color_show()
115 const char *buf, size_t size) in manager_default_color_store()
146 char *buf) in manager_trans_key_type_show()
160 const char *buf, size_t size) in manager_trans_key_type_store()
191 char *buf) in manager_trans_key_value_show()
201 const char *buf, size_t size) in manager_trans_key_value_store()
227 char *buf) in manager_trans_key_enabled_show()
[all …]
/linux-3.3/net/sunrpc/
Daddr.c27 char *buf, const int buflen) in rpc_ntop6_noscopeid()
65 char *buf, const size_t buflen) in rpc_ntop6()
97 char *buf, const int buflen) in rpc_ntop6_noscopeid()
103 char *buf, const size_t buflen) in rpc_ntop6()
111 char *buf, const size_t buflen) in rpc_ntop4()
127 size_t rpc_ntop(const struct sockaddr *sap, char *buf, const size_t buflen) in rpc_ntop()
140 static size_t rpc_pton4(const char *buf, const size_t buflen, in rpc_pton4()
159 static int rpc_parse_scope_id(const char *buf, const size_t buflen, in rpc_parse_scope_id()
200 static size_t rpc_pton6(const char *buf, const size_t buflen, in rpc_pton6()
223 static size_t rpc_pton6(const char *buf, const size_t buflen, in rpc_pton6()
[all …]
/linux-3.3/drivers/staging/iio/addac/
Dadt7316.c221 char *buf) in adt7316_show_enabled()
252 const char *buf, in adt7316_store_enabled()
277 char *buf) in adt7316_show_select_ex_temp()
290 const char *buf, in adt7316_store_select_ex_temp()
321 char *buf) in adt7316_show_mode()
334 const char *buf, in adt7316_store_mode()
362 char *buf) in adt7316_show_all_modes()
371 char *buf) in adt7316_show_ad_channel()
409 const char *buf, in adt7316_store_ad_channel()
456 char *buf) in adt7316_show_all_ad_channels()
[all …]
/linux-3.3/fs/nfsd/
Dnfsctl.c84 static ssize_t nfsctl_transaction_write(struct file *file, const char __user *buf, size_t size, lof… in nfsctl_transaction_write()
105 static ssize_t nfsctl_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *po… in nfsctl_transaction_read()
208 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size) in write_unlock_ip()
246 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size) in write_unlock_fs()
303 static ssize_t write_filehandle(struct file *file, char *buf, size_t size) in write_filehandle()
386 static ssize_t write_threads(struct file *file, char *buf, size_t size) in write_threads()
428 static ssize_t write_pool_threads(struct file *file, char *buf, size_t size) in write_pool_threads()
493 static ssize_t __write_versions(struct file *file, char *buf, size_t size) in __write_versions()
622 static ssize_t write_versions(struct file *file, char *buf, size_t size) in write_versions()
636 static ssize_t __write_ports_names(char *buf) in __write_ports_names()
[all …]
/linux-3.3/drivers/net/ethernet/freescale/
Dgianfar_sysfs.c40 struct device_attribute *attr, char *buf) in gfar_show_bd_stash()
49 const char *buf, size_t count) in gfar_set_bd_stash()
95 struct device_attribute *attr, char *buf) in gfar_show_rx_stash_size()
104 const char *buf, size_t count) in gfar_set_rx_stash_size()
154 char *buf) in gfar_show_rx_stash_index()
163 const char *buf, size_t count) in gfar_set_rx_stash_index()
202 char *buf) in gfar_show_fifo_threshold()
211 const char *buf, size_t count) in gfar_set_fifo_threshold()
242 struct device_attribute *attr, char *buf) in gfar_show_fifo_starve()
251 const char *buf, size_t count) in gfar_set_fifo_starve()
[all …]
/linux-3.3/drivers/usb/core/
Dsysfs.c45 struct device_attribute *attr, char *buf) in show_configuration_string()
63 const char *buf, size_t count) in set_bConfigurationValue()
100 show_speed(struct device *dev, struct device_attribute *attr, char *buf) in show_speed()
132 show_busnum(struct device *dev, struct device_attribute *attr, char *buf) in show_busnum()
142 show_devnum(struct device *dev, struct device_attribute *attr, char *buf) in show_devnum()
152 show_devpath(struct device *dev, struct device_attribute *attr, char *buf) in show_devpath()
162 show_version(struct device *dev, struct device_attribute *attr, char *buf) in show_version()
174 show_maxchild(struct device *dev, struct device_attribute *attr, char *buf) in show_maxchild()
184 show_quirks(struct device *dev, struct device_attribute *attr, char *buf) in show_quirks()
194 show_avoid_reset_quirk(struct device *dev, struct device_attribute *attr, char *buf) in show_avoid_reset_quirk()
[all …]

12345678910>>...132