Searched refs:ssize_t (Results 326 - 350 of 3714) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/firmware/
H A Ddmi-id.c22 static ssize_t sys_dmi_field_show(struct device *dev,
27 ssize_t len;
74 static ssize_t get_modalias(char *buffer, size_t buffer_size)
102 ssize_t l, left;
134 static ssize_t sys_dmi_modalias_show(struct device *dev,
137 ssize_t r;
160 ssize_t len;
/linux-master/fs/bcachefs/
H A Dbtree_update_interior.h239 static inline ssize_t __bch2_btree_u64s_remaining(struct btree *b, void *end)
241 ssize_t used = bset_byte_offset(b, end) / sizeof(u64) +
243 ssize_t total = btree_buf_bytes(b) >> 3;
253 ssize_t remaining = __bch2_btree_u64s_remaining(b,
280 ssize_t remaining_space =
284 if (remaining_space > (ssize_t) (block_bytes(c) >> 3))
288 remaining_space > (ssize_t) (btree_write_set_buffer(b) >> 3))
/linux-master/drivers/s390/char/
H A Dsclp_cpi_sys.c220 static ssize_t system_name_show(struct kobject *kobj,
231 static ssize_t system_name_store(struct kobject *kobj,
252 static ssize_t sysplex_name_show(struct kobject *kobj,
263 static ssize_t sysplex_name_store(struct kobject *kobj,
284 static ssize_t system_type_show(struct kobject *kobj,
295 static ssize_t system_type_store(struct kobject *kobj,
316 static ssize_t system_level_show(struct kobject *kobj,
327 static ssize_t system_level_store(struct kobject *kobj,
353 static ssize_t set_store(struct kobject *kobj,
/linux-master/sound/soc/intel/skylake/
H A Dskl-debug.c31 static ssize_t skl_print_pins(struct skl_module_pin *m_pin, char *buf,
32 int max_pin, ssize_t size, bool direction)
35 ssize_t ret = 0;
53 static ssize_t skl_print_fmt(struct skl_module_fmt *fmt, char *buf,
54 ssize_t size, bool direction)
67 static ssize_t module_read(struct file *file, char __user *user_buf,
74 ssize_t ret;
173 static ssize_t fw_softreg_read(struct file *file, char __user *user_buf,
183 ssize_t ret = 0;
/linux-master/drivers/hwtracing/intel_th/
H A Dpti.c49 static ssize_t mode_show(struct device *dev, struct device_attribute *attr,
57 static ssize_t mode_store(struct device *dev, struct device_attribute *attr,
79 static ssize_t
88 static ssize_t
107 static ssize_t
116 static ssize_t
248 static ssize_t lpp_dest_show(struct device *dev, struct device_attribute *attr,
252 ssize_t ret = 0;
271 static ssize_t lpp_dest_store(struct device *dev, struct device_attribute *attr,
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-elog.c32 ssize_t (*show)(struct elog_obj *elog, struct elog_attribute *attr,
34 ssize_t (*store)(struct elog_obj *elog, struct elog_attribute *attr,
39 static ssize_t elog_id_show(struct elog_obj *elog_obj,
54 static ssize_t elog_type_show(struct elog_obj *elog_obj,
63 static ssize_t elog_ack_show(struct elog_obj *elog_obj,
70 static ssize_t elog_ack_store(struct elog_obj *elog_obj,
95 static ssize_t elog_attr_show(struct kobject *kobj,
111 static ssize_t elog_attr_store(struct kobject *kobj,
158 static ssize_t raw_attr_read(struct file *filep, struct kobject *kobj,
/linux-master/drivers/char/tpm/
H A Dtpm_ppi.c50 static ssize_t tpm_show_ppi_version(struct device *dev,
58 static ssize_t tpm_show_ppi_request(struct device *dev,
61 ssize_t size = -EINVAL;
112 static ssize_t tpm_store_ppi_request(struct device *dev,
175 static ssize_t tpm_show_ppi_transition_action(struct device *dev,
221 static ssize_t tpm_show_ppi_response(struct device *dev,
282 static ssize_t show_ppi_operations(acpi_handle dev_handle, char *buf, u32 start,
324 static ssize_t tpm_show_ppi_tcg_operations(struct device *dev,
334 static ssize_t tpm_show_ppi_vs_operations(struct device *dev,
/linux-master/drivers/base/firmware_loader/
H A Dsysfs.c28 static ssize_t timeout_show(const struct class *class, const struct class_attribute *attr,
47 static ssize_t timeout_store(const struct class *class, const struct class_attribute *attr,
126 static ssize_t firmware_loading_show(struct device *dev,
153 static ssize_t firmware_loading_store(struct device *dev,
159 ssize_t written = count;
261 static ssize_t firmware_data_read(struct file *filp, struct kobject *kobj,
268 ssize_t ret_count;
318 static ssize_t firmware_data_write(struct file *filp, struct kobject *kobj,
325 ssize_t retval;
/linux-master/drivers/misc/
H A Dbh1770glc.c629 static ssize_t bh1770_power_state_store(struct device *dev,
635 ssize_t ret;
672 static ssize_t bh1770_power_state_show(struct device *dev,
678 static ssize_t bh1770_lux_result_show(struct device *dev,
682 ssize_t ret;
701 static ssize_t bh1770_lux_range_show(struct device *dev,
707 static ssize_t bh1770_prox_enable_store(struct device *dev,
739 static ssize_t bh1770_prox_enable_show(struct device *dev,
743 ssize_t len;
751 static ssize_t bh1770_prox_result_sho
[all...]
H A Dsmpro-misc.c25 static ssize_t boot_progress_show(struct device *dev, struct device_attribute *da, char *buf)
74 static ssize_t soc_power_limit_show(struct device *dev, struct device_attribute *da, char *buf)
87 static ssize_t soc_power_limit_store(struct device *dev, struct device_attribute *da,
H A Dhmc6352.c51 static ssize_t compass_calibration_store(struct device *dev,
57 static ssize_t compass_power_mode_store(struct device *dev,
63 static ssize_t compass_heading_data_show(struct device *dev,
/linux-master/drivers/infiniband/core/
H A Dsysfs.c78 ssize_t (*show)(struct ib_device *ibdev, struct rdma_hw_stats *stats,
80 ssize_t (*store)(struct ib_device *ibdev, struct rdma_hw_stats *stats,
87 ssize_t (*show)(struct ib_device *ibdev, struct rdma_hw_stats *stats,
89 ssize_t (*store)(struct ib_device *ibdev, struct rdma_hw_stats *stats,
105 static ssize_t port_attr_show(struct kobject *kobj,
118 static ssize_t port_attr_store(struct kobject *kobj,
146 static ssize_t hw_stat_device_show(struct device *dev,
157 static ssize_t hw_stat_device_store(struct device *dev,
170 static ssize_t hw_stat_port_show(struct ib_device *ibdev, u32 port_num,
182 static ssize_t hw_stat_port_stor
[all...]
/linux-master/drivers/scsi/
H A Dscsi_sysfs.c161 static ssize_t \
184 static ssize_t
198 static ssize_t
222 static ssize_t
238 static ssize_t
241 ssize_t len = 0;
254 static ssize_t
270 static ssize_t
294 static ssize_t
320 static ssize_t
[all...]
/linux-master/drivers/hwtracing/stm/
H A Dpolicy.c84 static ssize_t
88 ssize_t count;
96 static ssize_t
104 ssize_t ret = -ENODEV;
131 static ssize_t
135 ssize_t count;
143 static ssize_t
151 ssize_t ret = -ENODEV;
288 static ssize_t stp_policy_device_show(struct config_item *item,
292 ssize_t coun
[all...]
/linux-master/drivers/net/wireless/ti/wlcore/
H A Ddebugfs.h26 static ssize_t name## _read(struct file *file, char __user *userbuf, \
54 static ssize_t sub## _ ##name## _read(struct file *file, \
74 static ssize_t sub## _ ##name## _read(struct file *file, \
/linux-master/tools/testing/selftests/proc/
H A Dread.c42 ssize_t rv;
58 ssize_t rv;
71 ssize_t rv;
/linux-master/drivers/net/wireless/broadcom/b43legacy/
H A Ddebugfs.c32 ssize_t (*read)(struct b43legacy_wldev *dev, char *buf, size_t bufsize);
66 static ssize_t tsf_read_file(struct b43legacy_wldev *dev, char *buf, size_t bufsize)
68 ssize_t count = 0;
92 static ssize_t ucode_regs_read_file(struct b43legacy_wldev *dev, char *buf, size_t bufsize)
94 ssize_t count = 0;
106 static ssize_t shm_read_file(struct b43legacy_wldev *dev, char *buf, size_t bufsize)
108 ssize_t count = 0;
125 static ssize_t txstat_read_file(struct b43legacy_wldev *dev, char *buf, size_t bufsize)
128 ssize_t count = 0;
187 static ssize_t b43legacy_debugfs_rea
[all...]
/linux-master/drivers/leds/
H A Dled-class-flash.c37 static ssize_t flash_brightness_store(struct device *dev,
43 ssize_t ret;
66 static ssize_t flash_brightness_show(struct device *dev,
79 static ssize_t max_flash_brightness_show(struct device *dev,
89 static ssize_t flash_strobe_store(struct device *dev,
95 ssize_t ret = -EBUSY;
120 static ssize_t flash_strobe_show(struct device *dev,
137 static ssize_t flash_timeout_store(struct device *dev,
143 ssize_t ret;
166 static ssize_t flash_timeout_sho
[all...]
/linux-master/arch/powerpc/sysdev/
H A Dmmio_nvram.c24 static ssize_t mmio_nvram_read(char *buf, size_t count, loff_t *index)
60 static ssize_t mmio_nvram_write(char *buf, size_t count, loff_t *index)
92 static ssize_t mmio_nvram_get_size(void)
/linux-master/arch/x86/mm/
H A Dpkeys.c130 static ssize_t init_pkru_read_file(struct file *file, char __user *user_buf,
140 static ssize_t init_pkru_write_file(struct file *file,
144 ssize_t len;
/linux-master/include/linux/
H A Dpstore.h78 ssize_t size;
79 ssize_t ecc_notice_size;
197 ssize_t (*read)(struct pstore_record *record);
H A Ddebugfs.h107 ssize_t debugfs_attr_read(struct file *file, char __user *buf,
109 ssize_t debugfs_attr_write(struct file *file, const char __user *buf,
111 ssize_t debugfs_attr_write_signed(struct file *file, const char __user *buf,
165 ssize_t debugfs_read_file_bool(struct file *file, char __user *user_buf,
168 ssize_t debugfs_write_file_bool(struct file *file, const char __user *user_buf,
171 ssize_t debugfs_read_file_str(struct file *file, char __user *user_buf,
271 static inline ssize_t debugfs_attr_read(struct file *file, char __user *buf,
277 static inline ssize_t debugfs_attr_write(struct file *file,
284 static inline ssize_t debugfs_attr_write_signed(struct file *file,
379 static inline ssize_t debugfs_read_file_boo
[all...]
/linux-master/include/linux/sunrpc/
H A Drpc_pipe_fs.h36 ssize_t (*upcall)(struct file *, struct rpc_pipe_msg *, char __user *, size_t);
37 ssize_t (*downcall)(struct file *, const char __user *, size_t);
91 extern ssize_t rpc_pipe_generic_upcall(struct file *, struct rpc_pipe_msg *,
/linux-master/drivers/mtd/maps/
H A Dphysmap-bt1-rom.c59 ssize_t len)
69 len = min_t(ssize_t, map->size - from, len);
79 chunk = min_t(ssize_t, 4 - shift, len);
/linux-master/drivers/video/fbdev/core/
H A Dfb_sys_fops.c16 ssize_t fb_sys_read(struct fb_info *info, char __user *buf, size_t count,
23 ssize_t ret;
61 ssize_t fb_sys_write(struct fb_info *info, const char __user *buf,

Completed in 222 milliseconds

<<11121314151617181920>>