Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 25 of 3353) sorted by relevance

12345678910>>...135

/drivers/input/touchscreen/
Dcyttsp4_core.h265 size_t ofs; /* abs byte offset */
266 size_t size; /* size in bits */
267 size_t max; /* max value */
268 size_t bofs; /* bit offset */
272 size_t chip_type;
273 size_t cmd_ofs;
274 size_t rep_ofs;
275 size_t rep_sz;
276 size_t num_btns;
277 size_t num_btn_regs; /* ceil(num_btns/4) */
[all …]
/drivers/media/dvb-core/
Ddvb_ringbuffer.c42 void dvb_ringbuffer_init(struct dvb_ringbuffer *rbuf, void *data, size_t len) in dvb_ringbuffer_init()
137 ssize_t dvb_ringbuffer_read_user(struct dvb_ringbuffer *rbuf, u8 __user *buf, size_t len) in dvb_ringbuffer_read_user()
139 size_t todo = len; in dvb_ringbuffer_read_user()
140 size_t split; in dvb_ringbuffer_read_user()
163 void dvb_ringbuffer_read(struct dvb_ringbuffer *rbuf, u8 *buf, size_t len) in dvb_ringbuffer_read()
165 size_t todo = len; in dvb_ringbuffer_read()
166 size_t split; in dvb_ringbuffer_read()
186 ssize_t dvb_ringbuffer_write(struct dvb_ringbuffer *rbuf, const u8 *buf, size_t len) in dvb_ringbuffer_write()
188 size_t todo = len; in dvb_ringbuffer_write()
189 size_t split; in dvb_ringbuffer_write()
[all …]
Ddvb_ringbuffer.h62 size_t len);
151 u8 __user *buf, size_t len);
165 u8 *buf, size_t len);
193 size_t len);
208 const u8 __user *buf, size_t len);
220 size_t len);
240 size_t idx,
242 size_t len);
257 extern ssize_t dvb_ringbuffer_pkt_read(struct dvb_ringbuffer *rbuf, size_t idx,
258 int offset, u8 *buf, size_t len);
[all …]
/drivers/base/regmap/
Dregmap-spmi.c26 const void *reg, size_t reg_size, in regmap_spmi_base_read()
27 void *val, size_t val_size) in regmap_spmi_base_read()
41 const void *reg, size_t reg_size, in regmap_spmi_base_gather_write()
42 const void *val, size_t val_size) in regmap_spmi_base_gather_write()
79 size_t count) in regmap_spmi_base_write()
115 const void *reg, size_t reg_size, in regmap_spmi_ext_read()
116 void *val, size_t val_size) in regmap_spmi_ext_read()
119 size_t len; in regmap_spmi_ext_read()
131 len = min_t(size_t, val_size, 16); in regmap_spmi_ext_read()
143 len = min_t(size_t, val_size, 8); in regmap_spmi_ext_read()
[all …]
/drivers/usb/gadget/
Du_f.h22 #define vla_group(groupname) size_t groupname##__next = 0
26 size_t groupname##_##name##__offset = ({ \
27 size_t align_mask = __alignof__(type) - 1; \
28 size_t offset = (groupname##__next + align_mask) & ~align_mask;\
29 size_t size = (n) * sizeof(type); \
35 size_t groupname##_##name##__sz = (n) * sizeof(type); \
36 size_t groupname##_##name##__offset = ({ \
37 size_t align_mask = __alignof__(type) - 1; \
38 size_t offset = (groupname##__next + align_mask) & ~align_mask;\
39 size_t size = groupname##_##name##__sz; \
[all …]
/drivers/net/ethernet/sfc/
Dmcdi.h81 size_t resp_hdr_len;
82 size_t resp_data_len;
148 size_t inlen, efx_dword_t *outbuf, size_t outlen,
149 size_t *outlen_actual);
151 const efx_dword_t *inbuf, size_t inlen,
152 efx_dword_t *outbuf, size_t outlen,
153 size_t *outlen_actual);
156 const efx_dword_t *inbuf, size_t inlen);
157 int efx_mcdi_rpc_finish(struct efx_nic *efx, unsigned cmd, size_t inlen,
158 efx_dword_t *outbuf, size_t outlen,
[all …]
/drivers/mtd/tests/
Dmtd_nandecctest.c28 void (*prepare)(void *, void *, void *, void *, const size_t);
29 int (*verify)(void *, void *, void *, const size_t);
47 size_t size) in single_bit_error_data()
56 size_t size) in double_bit_error_data()
71 static unsigned int random_ecc_bit(size_t size) in random_ecc_bit()
88 size_t size) in single_bit_error_ecc()
97 size_t size) in double_bit_error_ecc()
112 void *correct_data, void *correct_ecc, const size_t size) in no_bit_error()
119 void *correct_data, const size_t size) in no_bit_error_verify()
133 void *correct_data, void *correct_ecc, const size_t size) in single_bit_error_in_data()
[all …]
/drivers/android/
Dbinder_alloc.h59 size_t data_size;
60 size_t offsets_size;
61 size_t extra_buffers_size;
111 size_t free_async_space;
113 size_t buffer_size;
116 size_t pages_high;
128 size_t data_size,
129 size_t offsets_size,
130 size_t extra_buffers_size,
155 static inline size_t
[all …]
Dbinder_alloc_selftest.c87 static void pr_err_size_seq(size_t *sizes, int *seq) in pr_err_size_seq()
103 size_t size) in check_buffer_pages_allocated()
125 size_t *sizes, int *seq) in binder_selftest_alloc_buf()
142 size_t *sizes, int *seq, size_t end) in binder_selftest_free_buf()
185 size_t *sizes, int *seq, size_t end) in binder_selftest_alloc_free()
214 size_t *sizes, int *seq, in binder_selftest_free_seq()
215 int index, size_t end) in binder_selftest_free_seq()
232 size_t *end_offset) in binder_selftest_alloc_size()
236 size_t front_sizes[BUFFER_NUM]; in binder_selftest_alloc_size()
237 size_t back_sizes[BUFFER_NUM]; in binder_selftest_alloc_size()
[all …]
/drivers/staging/fbtft/
Dfbtft.h72 int (*write)(struct fbtft_par *par, void *buf, size_t len);
73 int (*read)(struct fbtft_par *par, void *buf, size_t len);
74 int (*write_vmem)(struct fbtft_par *par, size_t offset, size_t len);
213 size_t len;
253 void *buf, size_t len, const char *fmt, ...);
268 int fbtft_write_spi(struct fbtft_par *par, void *buf, size_t len);
269 int fbtft_write_spi_emulate_9(struct fbtft_par *par, void *buf, size_t len);
270 int fbtft_read_spi(struct fbtft_par *par, void *buf, size_t len);
271 int fbtft_write_gpio8_wr(struct fbtft_par *par, void *buf, size_t len);
272 int fbtft_write_gpio16_wr(struct fbtft_par *par, void *buf, size_t len);
[all …]
Dfbtft-bus.c126 int fbtft_write_vmem16_bus8(struct fbtft_par *par, size_t offset, size_t len) in fbtft_write_vmem16_bus8()
130 size_t remain; in fbtft_write_vmem16_bus8()
131 size_t to_copy; in fbtft_write_vmem16_bus8()
132 size_t tx_array_size; in fbtft_write_vmem16_bus8()
135 size_t startbyte_size = 0; in fbtft_write_vmem16_bus8()
181 int fbtft_write_vmem16_bus9(struct fbtft_par *par, size_t offset, size_t len) in fbtft_write_vmem16_bus9()
185 size_t remain; in fbtft_write_vmem16_bus9()
186 size_t to_copy; in fbtft_write_vmem16_bus9()
187 size_t tx_array_size; in fbtft_write_vmem16_bus9()
229 int fbtft_write_vmem8_bus8(struct fbtft_par *par, size_t offset, size_t len) in fbtft_write_vmem8_bus8()
[all …]
/drivers/net/wimax/i2400m/
Di2400m.h579 size_t bus_tx_block_size;
580 size_t bus_tx_room_min;
581 size_t bus_pl_size_max;
592 size_t, int flags);
594 struct i2400m_bootrom_header *, size_t);
601 size_t tx_in, tx_out;
603 size_t tx_sequence, tx_msg_size;
717 int i2400m_is_boot_barker(struct i2400m *, const void *, size_t);
724 void i2400m_unknown_barker(struct i2400m *, const void *, size_t);
812 int i2400m_tx(struct i2400m *, const void *, size_t, enum i2400m_pt);
[all …]
/drivers/staging/lustre/lustre/mdc/
Dmdc_internal.h41 __u64 valid, size_t ea_size, __u32 suppgid, u32 flags);
44 void mdc_readdir_pack(struct ptlrpc_request *req, __u64 pgoff, size_t size,
47 struct md_op_data *data, size_t ea_size);
49 void *ea, size_t ealen, void *ea2, size_t ea2len);
51 const void *data, size_t datalen, umode_t mode, uid_t uid,
55 size_t datalen);
59 const char *old, size_t oldlen,
60 const char *new, size_t newlen);
98 const void *data, size_t datalen, umode_t mode, uid_t uid,
104 const char *old, size_t oldlen,
[all …]
/drivers/vfio/pci/
Dvfio_pci_rdwr.c31 loff_t off, size_t count, size_t x_start, in do_io_rw()
32 size_t x_end, bool iswrite) in do_io_rw()
37 size_t fillable, filled; in do_io_rw()
40 fillable = min(count, (size_t)(x_start - off)); in do_io_rw()
96 filled = min(count, (size_t)(x_end - off)); in do_io_rw()
99 size_t i; in do_io_rw()
117 size_t count, loff_t *ppos, bool iswrite) in vfio_pci_bar_rw()
122 size_t x_start = 0, x_end = 0; in vfio_pci_bar_rw()
138 count = min(count, (size_t)(end - pos)); in vfio_pci_bar_rw()
184 size_t count, loff_t *ppos, bool iswrite) in vfio_pci_vga_rw()
[all …]
/drivers/net/wireless/ath/ath6kl/
Dtrace.h10 static inline unsigned int ath6kl_get_wmi_id(void *buf, size_t buf_len) in ath6kl_get_wmi_id()
39 TP_PROTO(void *buf, size_t buf_len),
45 __field(size_t, buf_len)
62 TP_PROTO(void *buf, size_t buf_len),
68 __field(size_t, buf_len)
86 void *buf, size_t buf_len),
94 __field(size_t, buf_len)
130 __field(size_t, total_len)
138 size_t len;
174 TP_PROTO(void *buf, size_t buf_len),
[all …]
/drivers/net/wireless/marvell/libertas/
Ddebugfs.c25 size_t count, loff_t *ppos) in write_file_dummy()
30 static const size_t len = PAGE_SIZE;
33 size_t count, loff_t *ppos) in lbs_dev_info()
36 size_t pos = 0; in lbs_dev_info()
55 const char __user *user_buf, size_t count, in lbs_sleepparams_write()
92 size_t count, loff_t *ppos) in lbs_sleepparams_read()
96 size_t pos = 0; in lbs_sleepparams_read()
120 const char __user *user_buf, size_t count, in lbs_host_sleep_write()
162 size_t count, loff_t *ppos) in lbs_host_sleep_read()
166 size_t pos = 0; in lbs_host_sleep_read()
[all …]
/drivers/pinctrl/intel/
Dpinctrl-intel.h30 size_t npins;
43 size_t ngroups;
74 size_t npins;
77 size_t ngpps;
113 size_t npins;
115 size_t ngroups;
117 size_t nfunctions;
119 size_t ncommunities;
/drivers/scsi/
Dscsi_logging.c32 static char *scsi_log_reserve_buffer(size_t *len) in scsi_log_reserve_buffer()
78 static size_t sdev_format_header(char *logbuf, size_t logbuf_len, in sdev_format_header()
81 size_t off = 0; in sdev_format_header()
101 size_t off = 0, logbuf_len; in sdev_prefix_printk()
128 size_t off = 0, logbuf_len; in scmd_printk()
148 static size_t scsi_format_opcode_name(char *buffer, size_t buf_len, in scsi_format_opcode_name()
153 size_t off; in scsi_format_opcode_name()
197 size_t __scsi_format_command(char *logbuf, size_t logbuf_len, in __scsi_format_command()
198 const unsigned char *cdb, size_t cdb_len) in __scsi_format_command()
201 size_t off; in __scsi_format_command()
[all …]
/drivers/base/
Ddevcoredump.c46 size_t datalen;
48 ssize_t (*read)(char *buffer, loff_t offset, size_t count,
49 void *data, size_t datalen);
91 char *buffer, loff_t offset, size_t count) in devcd_data_read()
101 char *buffer, loff_t offset, size_t count) in devcd_data_write()
145 const char *buf, size_t count) in disabled_store()
177 static ssize_t devcd_readv(char *buffer, loff_t offset, size_t count, in devcd_readv()
178 void *data, size_t datalen) in devcd_readv()
207 void dev_coredumpv(struct device *dev, void *data, size_t datalen, in dev_coredumpv()
245 size_t buf_len, void *data, in devcd_read_from_sgtable()
[all …]
/drivers/uwb/
Dhwa-rc.c119 const size_t buf_size, in hwarc_filter_evt_beacon_WUSB_0100()
120 size_t *new_size) in hwarc_filter_evt_beacon_WUSB_0100()
124 size_t bytes_left, ielength; in hwarc_filter_evt_beacon_WUSB_0100()
177 const size_t buf_size, in hwarc_filter_evt_drp_avail_WUSB_0100()
178 size_t *new_size) in hwarc_filter_evt_drp_avail_WUSB_0100()
183 size_t bytes_left, ielength; in hwarc_filter_evt_drp_avail_WUSB_0100()
192 "received %zu.\n", (size_t)sizeof(*da), bytes_left); in hwarc_filter_evt_drp_avail_WUSB_0100()
213 "got %zu bytes.\n", (size_t)ie_hdr->length); in hwarc_filter_evt_drp_avail_WUSB_0100()
252 const size_t buf_size, in hwarc_filter_evt_drp_WUSB_0100()
253 size_t *new_size) in hwarc_filter_evt_drp_WUSB_0100()
[all …]
/drivers/staging/android/
Dashmem.c58 size_t size;
78 size_t pgstart;
79 size_t pgend;
110 size_t start, size_t end) in page_range_subsumes_range()
116 size_t start, size_t end) in page_range_subsumed_by_range()
121 static inline int page_in_range(struct ashmem_range *range, size_t page) in page_in_range()
127 size_t start, size_t end) in page_range_in_range()
133 static inline int range_before_page(struct ashmem_range *range, size_t page) in range_before_page()
180 size_t start, size_t end) in range_alloc()
226 size_t start, size_t end) in range_shrink()
[all …]
/drivers/tee/optee/
Doptee_private.h128 size_t num_entries;
138 u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params,
141 int optee_supp_read(struct tee_context *ctx, void __user *buf, size_t len);
142 int optee_supp_write(struct tee_context *ctx, void __user *buf, size_t len);
165 struct page **pages, size_t num_pages,
170 struct page **pages, size_t num_pages,
174 int optee_from_msg_param(struct tee_param *params, size_t num_params,
176 int optee_to_msg_param(struct optee_msg_param *msg_params, size_t num_params,
179 u64 *optee_allocate_pages_list(size_t num_entries);
180 void optee_free_pages_list(void *array, size_t num_entries);
[all …]
/drivers/target/
Dtarget_core_alua.h124 size_t);
127 const char *, size_t);
131 const char *, size_t);
135 const char *, size_t);
139 const char *, size_t);
143 const char *, size_t);
146 size_t);
149 const char *, size_t);
153 const char *, size_t);
/drivers/ntb/test/
Dntb_tool.c190 size_t size, loff_t *offp, in tool_dbfn_read()
193 size_t buf_size; in tool_dbfn_read()
200 buf_size = min_t(size_t, size, 0x20); in tool_dbfn_read()
218 size_t size, loff_t *offp, in tool_dbfn_write()
263 size_t size, loff_t *offp, in tool_spadfn_read()
266 size_t buf_size; in tool_spadfn_read()
281 buf_size = min_t(size_t, size, spad_count * 15); in tool_spadfn_read()
303 size_t size, loff_t *offp, in tool_spadfn_write()
349 size_t size, loff_t *offp) in tool_db_read()
358 size_t size, loff_t *offp) in tool_db_write()
[all …]
/drivers/staging/greybus/
Doperation.h53 size_t payload_size;
133 void *data, size_t size);
137 size_t gb_operation_get_payload_size_max(struct gb_connection *connection);
140 u8 type, size_t request_size,
141 size_t response_size, unsigned long flags,
146 u8 type, size_t request_size, in gb_operation_create()
147 size_t response_size, gfp_t gfp) in gb_operation_create()
155 u8 type, size_t request_size,
156 size_t response_size, unsigned long flags,
163 size_t response_size, gfp_t gfp);

12345678910>>...135