Searched refs:count (Results 226 - 250 of 7717) sorted by relevance

1234567891011>>

/linux-master/drivers/cpufreq/
H A Dcpufreq_stats.c41 unsigned int count = stats->max_state; local
43 memset(stats->time_in_state, 0, count * sizeof(u64));
44 memset(stats->trans_table, 0, count * count * sizeof(int));
104 size_t count)
120 return count;
129 int i, j, count; local
154 count = 0;
156 count = stats->trans_table[i * stats->max_state + j];
158 len += sysfs_emit_at(buf, len, "%9u ", count);
103 store_reset(struct cpufreq_policy *policy, const char *buf, size_t count) argument
212 unsigned int i = 0, count; local
[all...]
/linux-master/sound/pci/hda/
H A Dcirrus_scodec.c32 int count; local
36 count = gpiod_count(dev, "spk-id");
37 if (count > 0) {
39 gpios_per_amp = count / num_amps;
42 if (count % num_amps)
/linux-master/tools/testing/selftests/lsm/
H A Dcommon.c73 int count = 0; local
82 count++;
84 count++;
86 count++;
88 return count;
/linux-master/samples/ftrace/
H A Dsample-trace-array.c46 static void simple_thread_func(int count) argument
52 * Printing count value using trace_array_printk() - trace_printk()
55 trace_array_printk(tr, _THIS_IP_, "trace_array_printk: count=%d\n",
56 count);
59 * current value of count and current jiffies.
61 trace_sample_event(count, jiffies);
66 int count = 0; local
83 simple_thread_func(count++);
/linux-master/arch/arm64/lib/
H A Dmemcpy.S22 #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 Dgoya_hwmgr.c56 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 Dsysfs.c39 * @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 Dw1_ds2433.c69 * 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 Dhtab_map_batch_ops.c79 __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/kernel/
H A Dksysfs.c71 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 Dqdio_main.c110 * @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
1210 handle_inbound(struct qdio_q *q, int bufnr, int count) argument
1240 qdio_add_bufs_to_input_queue(struct ccw_device *cdev, unsigned int q_nr, unsigned int bufnr, unsigned int count) argument
1269 handle_outbound(struct qdio_q *q, unsigned int bufnr, unsigned int count, struct qaob *aob) argument
1310 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 Dbitmap.c178 * 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 Dwritev.c17 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 Dgf100.c30 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 Dmlxfw_mfa2_tlv_multi.h21 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 Ddummy-irq.c22 static int count = 0; local
24 if (count == 0) {
27 count++;
/linux-master/drivers/gpu/drm/i915/selftests/
H A Di915_random.h52 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 Dsha512_base.h34 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 Dbpf_iter_task_file.c8 int count = 0; variable
25 count = 0;
30 count++;
/linux-master/arch/parisc/kernel/
H A Dpdc_cons.c15 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 Dtrace.h65 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 Dnvram.c37 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 Dadf_pm_dbgfs.c10 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 Dheader.c45 int count; local
49 return sysfs__read_int(path, &count) < 0 ? 1 : count;
/linux-master/arch/s390/mm/
H A Dmaccess.c29 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...]

Completed in 633 milliseconds

1234567891011>>