/linux-master/arch/arm64/lib/ |
H A D | memcpy.S | 22 #define count x2 define 41 #define G_l count 61 add srcend, src, count 62 add dstend, dstin, count 63 cmp count, 128 65 cmp count, 32 69 cmp count, 16 79 tbz count, 3, L(copy8) 89 tbz count, 2, L(copy4) 98 cbz count, [all...] |
/linux-master/drivers/accel/habanalabs/goya/ |
H A D | goya_hwmgr.c | 56 const char *buf, size_t count) 64 count = -ENODEV; 69 count = -EPERM; 76 count = -EINVAL; 84 return count; 105 const char *buf, size_t count) 113 count = -ENODEV; 118 count = -EPERM; 125 count = -EINVAL; 133 return count; 55 mme_clk_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 104 tpc_clk_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 153 ic_clk_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 251 pm_mng_profile_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 319 high_pll_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument [all...] |
/linux-master/drivers/base/firmware_loader/ |
H A D | sysfs.c | 39 * @count: number of bytes in @buf 48 const char *buf, size_t count) 57 return count; 145 * @count: number of bytes in @buf 155 const char *buf, size_t count) 159 ssize_t written = count; 232 loff_t offset, size_t count, bool read) 235 memcpy(buffer, fw_priv->data + offset, count); 237 memcpy(fw_priv->data + offset, buffer, count); 241 loff_t offset, size_t count, boo 47 timeout_store(const struct class *class, const struct class_attribute *attr, const char *buf, size_t count) argument 153 firmware_loading_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 231 firmware_rw_data(struct fw_priv *fw_priv, char *buffer, loff_t offset, size_t count, bool read) argument 240 firmware_rw(struct fw_priv *fw_priv, char *buffer, loff_t offset, size_t count, bool read) argument 261 firmware_data_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t offset, size_t count) argument 318 firmware_data_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t offset, size_t count) argument [all...] |
/linux-master/drivers/w1/slaves/ |
H A D | w1_ds2433.c | 69 * Check the file size bounds and adjusts count as needed. 72 static inline size_t w1_f23_fix_count(loff_t off, size_t count, size_t size) argument 77 if ((off + count) > size) 80 return count; 114 loff_t off, size_t count) 124 count = w1_f23_fix_count(off, count, bin_attr->size); 125 if (!count) 133 max_page = (off + count - 1) >> W1_PAGE_BITS; 136 count 112 eeprom_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 226 eeprom_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument [all...] |
/linux-master/tools/testing/selftests/bpf/map_tests/ |
H A D | htab_map_batch_ops.c | 79 __u32 batch, count, total, total_success; local 108 count = max_entries; 110 values, &count, &opts); 117 /* test 2: lookup/delete with count = 0, success */ 118 count = 0; 120 values, &count, &opts); 121 CHECK(err, "count = 0", "error: %s\n", strerror(errno)); 123 /* test 3: lookup/delete with count = max_entries, success */ 126 count = max_entries; 128 values, &count, [all...] |
/linux-master/fs/xfs/scrub/ |
H A D | xfile.c | 110 size_t count, 116 if (count > MAX_RW_COUNT) 118 if (inode->i_sb->s_maxbytes - pos < count) 121 trace_xfile_load(xf, pos, count); 124 while (count > 0) { 137 len = min_t(ssize_t, count, 148 len = min_t(ssize_t, count, folio_size(folio) - offset); 154 count -= len; 160 if (count) 173 size_t count, 107 xfile_load( struct xfile *xf, void *buf, size_t count, loff_t pos) argument 170 xfile_store( struct xfile *xf, const void *buf, size_t count, loff_t pos) argument [all...] |
/linux-master/kernel/ |
H A D | ksysfs.c | 71 const char *buf, size_t count) 73 if (count+1 > UEVENT_HELPER_PATH_LEN) 75 memcpy(uevent_helper, buf, count); 76 uevent_helper[count] = '\0'; 77 if (count && uevent_helper[count-1] == '\n') 78 uevent_helper[count-1] = '\0'; 79 return count; 92 const char *buf, size_t count) 110 return count; 69 uevent_helper_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 90 profiling_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 141 kexec_crash_size_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 199 rcu_expedited_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 216 rcu_normal_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 235 notes_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument [all...] |
/linux-master/drivers/s390/cio/ |
H A D | qdio_main.c | 110 * @count: count of buffers to examine 117 int start, int count, int auto_ack) 119 int tmp_count = count, tmp_start = start, nr = q->nr; 134 return count - tmp_count; 140 return count - tmp_count; 148 DBF_ERROR("%3d%3d%2d", count, tmp_count, nr); 150 q->first_to_check, count, q->irq_ptr->int_parm); 160 * @count: how many buffers to change 163 * Does retrying until the specified count o 116 qdio_do_eqbs(struct qdio_q *q, unsigned char *state, int start, int count, int auto_ack) argument 166 qdio_do_sqbs(struct qdio_q *q, unsigned char state, int start, int count) argument 205 get_buf_states(struct qdio_q *q, unsigned int bufnr, unsigned char *state, unsigned int count, int auto_ack) argument 242 set_buf_states(struct qdio_q *q, int bufnr, unsigned char state, int count) argument 323 qdio_siga_output(struct qdio_q *q, unsigned int count, unsigned int *busy_bit, dma64_t aob) argument 405 account_sbals(struct qdio_q *q, unsigned int count) argument 411 process_buffer_error(struct qdio_q *q, unsigned int start, int count) argument 430 inbound_handle_work(struct qdio_q *q, unsigned int start, int count, bool auto_ack) argument 446 int count; local 507 int count; local 548 int count; local 611 int count; local 630 qdio_kick_outbound_q(struct qdio_q *q, unsigned int count, dma64_t aob) argument 1192 handle_inbound(struct qdio_q *q, int bufnr, int count) argument 1222 qdio_add_bufs_to_input_queue(struct ccw_device *cdev, unsigned int q_nr, unsigned int bufnr, unsigned int count) argument 1251 handle_outbound(struct qdio_q *q, unsigned int bufnr, unsigned int count, struct qaob *aob) argument 1292 qdio_add_bufs_to_output_queue(struct ccw_device *cdev, unsigned int q_nr, unsigned int bufnr, unsigned int count, struct qaob *aob) argument [all...] |
/linux-master/fs/hfs/ |
H A D | bitmap.c | 178 * u16 count: The number of bits 189 * Starting with bit number 'start', 'count' bits in the volume bitmap 191 * block count of the MDB is updated and the MDB is marked dirty. 193 int hfs_clear_vbm_bits(struct super_block *sb, u16 start, u16 count) argument 200 if (!count) 203 hfs_dbg(BITMAP, "clear_bits: %u,%u\n", start, count); 205 if ((start + count) > HFS_SB(sb)->fs_ablocks) 211 len = count; 218 if (j > count) { 219 mask |= 0xffffffffU >> (i + count); [all...] |
/linux-master/fs/jffs2/ |
H A D | writev.c | 17 unsigned long count, loff_t to, size_t *retlen) 22 res = jffs2_sum_add_kvec(c, vecs, count, (uint32_t) to); 29 return mtd_writev(c->mtd, vecs, count, to, retlen); 16 jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen) argument
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | gf100.c | 30 for (init = pack->init; init && init->count; init++) 41 next = init->addr + init->count * 8; 45 init->addr, init->count, init->data);
|
/linux-master/drivers/net/ethernet/mellanox/mlxfw/ |
H A D | mlxfw_mfa2_tlv_multi.h | 21 const struct mlxfw_mfa2_tlv *from_tlv, u16 count); 33 #define mlxfw_mfa2_tlv_foreach(mfa2_file, tlv, idx, from_tlv, count) \ 34 for (idx = 0, tlv = from_tlv; idx < (count); \
|
/linux-master/drivers/misc/ |
H A D | dummy-irq.c | 22 static int count = 0; local 24 if (count == 0) { 27 count++;
|
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | i915_random.h | 52 unsigned int *i915_random_order(unsigned int count, 55 unsigned int count, 58 void i915_prandom_shuffle(void *arr, size_t elsz, size_t count,
|
/linux-master/include/crypto/ |
H A D | sha512_base.h | 34 sctx->count[0] = sctx->count[1] = 0; 51 sctx->count[0] = sctx->count[1] = 0; 62 unsigned int partial = sctx->count[0] % SHA512_BLOCK_SIZE; 64 sctx->count[0] += len; 65 if (sctx->count[0] < len) 66 sctx->count[1]++; 102 unsigned int partial = sctx->count[0] % SHA512_BLOCK_SIZE; 113 bits[0] = cpu_to_be64(sctx->count[ [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_task_file.c | 8 int count = 0; variable 25 count = 0; 30 count++;
|
/linux-master/arch/parisc/kernel/ |
H A D | pdc_cons.c | 15 static void pdc_console_write(struct console *co, const char *s, unsigned count) argument 20 i += pdc_iodc_print(s + i, count - i); 21 } while (i < count);
|
/linux-master/drivers/net/thunderbolt/ |
H A D | trace.h | 65 TP_PROTO(__le32 size, __le16 id, __le16 index, __le32 count), 66 TP_ARGS(size, id, index, count), 71 __field(u32, count) 77 __entry->count = le32_to_cpu(count); 79 TP_printk("id=%u size=%u index=%u count=%u", 80 __entry->id, __entry->size, __entry->index, __entry->count) 84 TP_PROTO(__le32 size, __le16 id, __le16 index, __le32 count), 85 TP_ARGS(size, id, index, count) 89 TP_PROTO(__le32 size, __le16 id, __le16 index, __le32 count), [all...] |
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | nvram.c | 37 static ssize_t pSeries_nvram_read(char *buf, size_t count, loff_t *index) argument 53 if (i + count > nvram_size) 54 count = nvram_size - i; 58 for (; count != 0; count -= len) { 59 len = count; 81 static ssize_t pSeries_nvram_write(char *buf, size_t count, loff_t *index) argument 96 if (i + count > nvram_size) 97 count = nvram_size - i; 101 for (; count ! [all...] |
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_pm_dbgfs.c | 10 static ssize_t pm_status_read(struct file *f, char __user *buf, size_t count, argument 17 return pm.print_pm_status(accel_dev, buf, count, pos); 19 return count;
|
/linux-master/tools/perf/arch/powerpc/util/ |
H A D | header.c | 45 int count; local 49 return sysfs__read_int(path, &count) < 0 ? 1 : count;
|
/linux-master/arch/s390/mm/ |
H A D | maccess.c | 29 unsigned long aligned, offset, count; local 35 count = size - 1; 44 : "+&a" (aligned), "+&a" (count), "=m" (tmp) 82 size_t memcpy_real_iter(struct iov_iter *iter, unsigned long src, size_t count) argument 90 while (count) { 94 len = min(count, MEMCPY_REAL_SIZE - offset); 105 count -= copied; 114 int memcpy_real(void *dest, unsigned long src, size_t count) argument 120 kvec.iov_len = count; 121 iov_iter_kvec(&iter, ITER_DEST, &kvec, 1, count); [all...] |
/linux-master/drivers/mtd/ubi/ |
H A D | wl.h | 11 static inline void ubi_fastmap_init(struct ubi_device *ubi, int *count) argument 16 *count += (ubi->fm_size / ubi->leb_size) * 2 + ubi->fm_pool_rsv_cnt; 25 static inline void ubi_fastmap_init(struct ubi_device *ubi, int *count) { } argument
|
/linux-master/include/trace/events/ |
H A D | tegra_apb_dma.h | 28 TP_PROTO(struct dma_chan *dc, int count, void *ptr), 29 TP_ARGS(dc, count, ptr), 32 __field(int, count) 37 __entry->count = count; 41 __get_str(chan), __entry->count, __entry->ptr)
|
/linux-master/drivers/staging/greybus/ |
H A D | audio_manager_sysfs.c | 16 const char *buf, size_t count) 33 return count; 41 const char *buf, size_t count) 54 return count; 62 const char *buf, size_t count) 78 return count; 14 manager_sysfs_add_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 39 manager_sysfs_remove_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 60 manager_sysfs_dump_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
|