/kernel/linux/linux-5.10/drivers/counter/ |
H A D | ti-eqep.c | 121 struct counter_count *count, size_t *function) in ti_eqep_function_get() 133 struct counter_count *count, size_t function) in ti_eqep_function_set() 143 struct counter_synapse *synapse, size_t *action) in ti_eqep_action_get() 146 size_t function; in ti_eqep_action_get() 223 size_t len) in ti_eqep_position_ceiling_write() 253 size_t len) in ti_eqep_position_enable_write()
|
/kernel/linux/linux-5.10/drivers/char/tpm/ |
H A D | tpm-interface.c | 61 static ssize_t tpm_try_transmit(struct tpm_chip *chip, void *buf, size_t bufsiz) in tpm_try_transmit() 153 ssize_t tpm_transmit(struct tpm_chip *chip, u8 *buf, size_t bufsiz) in tpm_transmit() 161 const size_t save_size = min(sizeof(save), bufsiz); in tpm_transmit() 214 size_t min_rsp_body_length, const char *desc) in tpm_transmit_cmd() 353 int tpm_send(struct tpm_chip *chip, void *cmd, size_t buflen) in tpm_send() 442 int tpm_get_random(struct tpm_chip *chip, u8 *out, size_t max) in tpm_get_random()
|
/kernel/linux/linux-5.10/drivers/char/pcmcia/ |
H A D | scr24x_cs.c | 99 static int read_chunk(struct scr24x_dev *dev, size_t offset, size_t limit) in read_chunk() 101 size_t i, y; in read_chunk() 117 static ssize_t scr24x_read(struct file *filp, char __user *buf, size_t count, in scr24x_read() 167 size_t count, loff_t *ppos) in scr24x_write() 170 size_t i, y; in scr24x_write()
|
/kernel/linux/linux-5.10/drivers/fpga/ |
H A D | altera-ps-spi.c | 108 const char *buf, size_t count) in altera_ps_write_init() 153 static void rev_buf(char *buf, size_t len) in rev_buf() 156 size_t extra_bytes = (len & 0x03); in rev_buf() 176 size_t count) in altera_ps_write() 184 size_t stride = min_t(size_t, fw_data_end - fw_data, SZ_4K); in altera_ps_write()
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
H A D | gluebi.c | 153 static int gluebi_read(struct mtd_info *mtd, loff_t from, size_t len, in gluebi_read() 154 size_t *retlen, unsigned char *buf) in gluebi_read() 163 size_t to_read = mtd->erasesize - offs; in gluebi_read() 193 static int gluebi_write(struct mtd_info *mtd, loff_t to, size_t len, in gluebi_write() 194 size_t *retlen, const u_char *buf) in gluebi_write() 207 size_t to_write = mtd->erasesize - offs; in gluebi_write()
|
/kernel/linux/linux-6.6/arch/arm64/include/asm/ |
H A D | fpsimd.h | 91 static inline size_t sve_ffr_offset(int vl) in sve_ffr_offset() 272 size_t sve_state_size(struct task_struct const *task); 313 static inline size_t sve_state_size(struct task_struct const *task) in sve_state_size() 370 static inline size_t sme_state_size(struct task_struct const *task) in sme_state_size() 373 size_t size; in sme_state_size() 401 static inline size_t sme_state_size(struct task_struct const *task) in sme_state_size()
|
H A D | kvm_pgtable.h | 143 void* (*zalloc_pages_exact)(size_t size); 144 void (*free_pages_exact)(void *addr, size_t size); 151 void (*dcache_clean_inval_poc)(void *addr, size_t size); 152 void (*icache_inval_pou)(void *addr, size_t size); 439 size_t kvm_pgtable_stage2_pgd_size(u64 vtcr); 758 phys_addr_t addr, size_t size);
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
H A D | opal-dump.c | 35 const char *buf, size_t count); 89 size_t count) in dump_ack_store() 134 size_t count) in init_dump_store() 177 const char *buf, size_t len) in dump_attr_store() 290 char *buffer, loff_t pos, size_t count) in dump_attr_read() 327 static void create_dump_obj(uint32_t id, size_t size, uint32_t type) in create_dump_obj()
|
H A D | opal-elog.c | 25 size_t size; 35 const char *buf, size_t count); 73 size_t count) in elog_ack_store() 113 const char *buf, size_t len) in elog_attr_store() 160 char *buffer, loff_t pos, size_t count) in raw_attr_read() 188 static void create_elog_obj(uint64_t id, size_t size, uint64_t type) in create_elog_obj()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | reconfig.c | 194 static int do_add_node(char *buf, size_t bufsize) in do_add_node() 252 static char *parse_node(char *buf, size_t bufsize, struct device_node **npp) in parse_node() 272 static int do_add_property(char *buf, size_t bufsize) in do_add_property() 297 static int do_remove_property(char *buf, size_t bufsize) in do_remove_property() 316 static int do_update_property(char *buf, size_t bufsize) in do_update_property() 358 static ssize_t ofdt_write(struct file *file, const char __user *buf, size_t count, in ofdt_write()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-service-time.c | 21 #define ST_MAX_INFLIGHT_SIZE ((size_t)-1 >> ST_MAX_RELATIVE_THROUGHPUT_SHIFT) 213 size_t incoming) in st_compare_load() 215 size_t sz1, sz2, st1, st2; in st_compare_load() 274 static struct dm_path *st_select_path(struct path_selector *ps, size_t nr_bytes) in st_select_path() 302 size_t nr_bytes) in st_start_io() 312 size_t nr_bytes, u64 start_time) in st_end_io()
|
/kernel/linux/linux-5.10/drivers/input/mouse/ |
H A D | cyapa.h | 273 struct device_attribute *, const char *, size_t); 387 ssize_t cyapa_i2c_reg_read_block(struct cyapa *cyapa, u8 reg, size_t len, 389 ssize_t cyapa_smbus_read_block(struct cyapa *cyapa, u8 cmd, size_t len, 399 ssize_t cyapa_i2c_pip_read(struct cyapa *cyapa, u8 *buf, size_t size); 400 ssize_t cyapa_i2c_pip_write(struct cyapa *cyapa, u8 *buf, size_t size); 432 const char *buf, size_t count);
|
/kernel/linux/linux-5.10/drivers/mtd/devices/ |
H A D | ms02-nv.c | 54 size_t len, size_t *retlen, u_char *buf) in ms02nv_read() 64 size_t len, size_t *retlen, const u_char *buf) in ms02nv_write() 80 size_t size; in ms02nv_probe_one() 113 size_t size, fixsize; in ms02nv_init_one()
|
/kernel/linux/linux-5.10/net/vmw_vsock/ |
H A D | vmci_transport_notify_qstate.c | 160 size_t target, bool *data_ready_now) in vmci_transport_notify_pkt_poll_in() 181 size_t target, bool *space_avail_now) in vmci_transport_notify_pkt_poll_out() 203 size_t target, in vmci_transport_notify_pkt_recv_init() 235 size_t target, in vmci_transport_notify_pkt_recv_pre_block() 255 size_t target, in vmci_transport_notify_pkt_recv_post_dequeue() 391 size_t target, in vmci_transport_notify_pkt_recv_pre_dequeue()
|
/kernel/linux/linux-5.10/include/net/nfc/ |
H A D | nfc.h | 44 typedef void (*se_io_cb_t)(void *context, u8 *apdu, size_t apdu_len, int err); 55 u8 comm_mode, u8 *gb, size_t gb_len); 73 u8 *apdu, size_t apdu_length, 160 int (*doit)(struct nfc_dev *dev, void *data, size_t data_len); 270 u8 *nfc_get_local_general_bytes(struct nfc_dev *dev, size_t *gb_len); 283 const u8 *gb, size_t gb_len);
|
/kernel/linux/linux-5.10/sound/firewire/fireworks/ |
H A D | fireworks_transaction.c | 118 copy_resp_to_buf(struct snd_efw *efw, void *data, size_t length, int *rcode) in copy_resp_to_buf() 120 size_t capacity, till_end; in copy_resp_to_buf() 124 length = min_t(size_t, be32_to_cpu(t->length) * sizeof(u32), length); in copy_resp_to_buf() 166 void *data, size_t length, int *rcode) in handle_resp_for_user() 198 void *data, size_t length, int *rcode, u32 seqnum) in handle_resp_for_kernel() 229 void *data, size_t length, void *callback_data) in efw_response()
|
/kernel/linux/linux-5.10/security/integrity/evm/ |
H A D | evm_crypto.c | 50 int evm_set_key(void *key, size_t keylen) in evm_set_key() 187 size_t req_xattr_value_len, in evm_calc_hmac_or_hash() 193 size_t xattr_size = 0; in evm_calc_hmac_or_hash() 252 const char *req_xattr_value, size_t req_xattr_value_len, in evm_calc_hmac() 260 const char *req_xattr_value, size_t req_xattr_value_len, in evm_calc_hash() 301 const char *xattr_value, size_t xattr_value_len) in evm_update_evmxattr()
|
/kernel/linux/linux-5.10/security/safesetid/ |
H A D | securityfs.c | 140 const char __user *ubuf, size_t len, enum setid_type policy_type) in handle_policy_update() 237 size_t len, in safesetid_uid_file_write() 251 size_t len, in safesetid_gid_file_write() 264 size_t len, loff_t *ppos, struct mutex *policy_update_lock, struct __rcu setid_ruleset* ruleset) in safesetid_file_read() 283 size_t len, loff_t *ppos) in safesetid_uid_file_read() 290 size_t len, loff_t *ppos) in safesetid_gid_file_read()
|
/kernel/linux/linux-5.10/sound/soc/intel/common/ |
H A D | sst-dsp.c | 184 int sst_dsp_mailbox_init(struct sst_dsp *sst, u32 inbox_offset, size_t inbox_size, in sst_dsp_mailbox_init() 185 u32 outbox_offset, size_t outbox_size) in sst_dsp_mailbox_init() 195 void sst_dsp_outbox_write(struct sst_dsp *sst, void *message, size_t bytes) in sst_dsp_outbox_write() 208 void sst_dsp_outbox_read(struct sst_dsp *sst, void *message, size_t bytes) in sst_dsp_outbox_read() 221 void sst_dsp_inbox_write(struct sst_dsp *sst, void *message, size_t bytes) in sst_dsp_inbox_write() 234 void sst_dsp_inbox_read(struct sst_dsp *sst, void *message, size_t bytes) in sst_dsp_inbox_read()
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | hists_link.c | 70 size_t i = 0, k; in add_hist_entries() 129 static int find_sample(struct sample *samples, size_t nr_samples, in find_sample() 143 size_t count = 0; in __validate_match() 191 size_t count = 0; in __validate_link() 192 size_t count_pair = 0; in __validate_link() 193 size_t count_dummy = 0; in __validate_link()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | machine.h | 215 size_t machine__fprintf(struct machine *machine, FILE *fp); 238 size_t machine__fprintf_dsos_buildid(struct machine *machine, FILE *fp, 240 size_t machines__fprintf_dsos(struct machines *machines, FILE *fp); 241 size_t machines__fprintf_dsos_buildid(struct machines *machines, FILE *fp, 251 size_t machine__fprintf_vmlinux_path(struct machine *machine, FILE *fp); 273 size_t bufsz);
|
H A D | dso.h | 195 size_t file_size; 271 char *root_dir, char *filename, size_t size); 276 char *pathname, size_t len); 365 size_t dso__fprintf_symbols_by_name(struct dso *dso, FILE *fp); 366 size_t dso__fprintf(struct dso *dso, FILE *fp); 389 int dso__strerror_load(struct dso *dso, char *buf, size_t buflen);
|
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | unistr.c | 54 bool ntfs_are_names_equal(const ntfschar *s1, size_t s1_len, in ntfs_are_names_equal() 55 const ntfschar *s2, size_t s2_len, const IGNORE_CASE_BOOL ic, in ntfs_are_names_equal() 135 int ntfs_ucsncmp(const ntfschar *s1, const ntfschar *s2, size_t n) in ntfs_ucsncmp() 138 size_t i; in ntfs_ucsncmp() 171 int ntfs_ucsncasecmp(const ntfschar *s1, const ntfschar *s2, size_t n, in ntfs_ucsncasecmp() 174 size_t i; in ntfs_ucsncasecmp()
|
/kernel/linux/linux-5.10/fs/ |
H A D | dcookies.c | 45 static size_t hash_size __read_mostly; 60 static size_t dcookie_hash(unsigned long dcookie) in dcookie_hash() 150 static int do_lookup_dcookie(u64 cookie64, char __user *buf, size_t len) in do_lookup_dcookie() 156 size_t pathlen; in do_lookup_dcookie() 207 SYSCALL_DEFINE3(lookup_dcookie, u64, cookie64, char __user *, buf, size_t, len) in SYSCALL_DEFINE3() 296 size_t i; in dcookie_exit()
|
/kernel/linux/linux-5.10/lib/ |
H A D | test_user_copy.c | 42 static bool is_zeroed(void *from, size_t size) in is_zeroed() 47 static int test_check_nonzero_user(char *kmem, char __user *umem, size_t size) in test_check_nonzero_user() 50 size_t start, end, i, zero_start, zero_end; in test_check_nonzero_user() 92 size_t len = end - start; in test_check_nonzero_user() 106 size_t size) in test_copy_struct_from_user() 110 size_t ksize, usize; in test_copy_struct_from_user()
|