Searched refs:count (Results 326 - 350 of 7717) sorted by last modified time

<<11121314151617181920>>

/linux-master/drivers/char/
H A Dppdev.c32 * CLRIRQ clear (and return) interrupt count
115 static ssize_t pp_read(struct file *file, char __user *buf, size_t count, argument
132 if (count == 0)
135 kbuffer = kmalloc(min_t(size_t, count, PP_BUFFER_SIZE), GFP_KERNEL);
147 ssize_t need = min_t(unsigned long, count, PP_BUFFER_SIZE);
194 size_t count, loff_t *ppos)
210 kbuffer = kmalloc(min_t(size_t, count, PP_BUFFER_SIZE), GFP_KERNEL);
222 while (bytes_written < count) {
223 ssize_t n = min_t(unsigned long, count - bytes_written, PP_BUFFER_SIZE);
193 pp_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
H A Dmem.c48 static inline int valid_phys_addr_range(phys_addr_t addr, size_t count) argument
50 return addr + count <= __pa(high_memory);
101 size_t count, loff_t *ppos)
112 if (!valid_phys_addr_range(p, count))
118 sz = size_inside_page(p, count);
124 count -= sz;
134 while (count > 0) {
138 sz = size_inside_page(p, count);
172 count -= sz;
188 size_t count, loff_
100 read_mem(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
187 write_mem(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
387 read_port(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
405 write_port(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
430 read_null(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
436 write_null(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
449 size_t count = iov_iter_count(from); local
495 read_zero(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
555 write_full(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/drivers/bus/mhi/host/
H A Dmain.c816 int count = 0; local
965 count++;
971 if (likely(MHI_DB_ACCESS_VALID(mhi_cntrl)) && count)
975 return count;
986 int count = 0; local
1040 count++;
1045 if (likely(MHI_DB_ACCESS_VALID(mhi_cntrl)) && count)
1049 return count;
H A Dinit.c120 size_t count)
126 return count;
132 const char *buf, size_t count)
150 return count;
117 soc_reset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
130 trigger_edl_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
/linux-master/drivers/base/
H A Dproperty.c712 unsigned int count = 0; local
715 count++;
717 return count;
894 * @dev: Device to count the child nodes for
901 unsigned int count = 0; local
904 count++;
906 return count;
1243 unsigned int count = 0; local
1248 count++;
1251 return count;
1287 unsigned int count = 0; local
1320 unsigned int count = 0; local
1359 unsigned int count; local
[all...]
H A Dcore.c2439 printk("dev_attr_show: %pS returned bad count\n",
2446 const char *buf, size_t count)
2453 ret = dev_attr->store(dev, dev_attr, buf, count);
2554 * This is called once the reference count for the object
2756 const char *buf, size_t count)
2760 rc = kobject_synth_uevent(&dev->kobj, buf, count);
2767 return count;
2783 const char *buf, size_t count)
2798 return ret < 0 ? ret : count;
3432 * a new device under glue dir, the glue_dir kobject reference count
2445 dev_attr_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) argument
2755 uevent_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2782 online_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
H A Dbus.c56 * Note, the reference count of the return value is INCREMENTED if it is not
118 const char *buf, size_t count)
125 ret = drv_attr->store(drv_priv->driver, buf, count);
163 const char *buf, size_t count)
170 ret = bus_attr->store(subsys_priv->bus, buf, count);
234 size_t count)
243 err = count;
257 size_t count)
268 err = count;
291 const char *buf, size_t count)
117 drv_attr_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) argument
162 bus_attr_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) argument
233 unbind_store(struct device_driver *drv, const char *buf, size_t count) argument
256 bind_store(struct device_driver *drv, const char *buf, size_t count) argument
290 drivers_autoprobe_store(const struct bus_type *bus, const char *buf, size_t count) argument
307 drivers_probe_store(const struct bus_type *bus, const char *buf, size_t count) argument
628 uevent_store(struct device_driver *drv, const char *buf, size_t count) argument
818 bus_uevent_store(const struct bus_type *bus, const char *buf, size_t count) argument
[all...]
/linux-master/drivers/android/
H A Dbinder.c1491 * count for the thread to ensure it stays alive until
6052 size_t start_pos = m->count;
6059 header_pos = m->count;
6080 if (!print_always && m->count == header_pos)
6081 m->count = start_pos;
6089 int count; local
6091 count = hlist_count_nodes(&node->refs);
6097 node->internal_strong_refs, count, node->tmp_refs);
6098 if (count) {
6128 size_t start_pos = m->count;
6295 int count, strong, weak, ready_threads; local
6468 unsigned int count; local
[all...]
/linux-master/drivers/accessibility/speakup/
H A Dsynth.c211 void synth_write(const char *_buf, size_t count) argument
215 while (count--)
220 /* Consume one utf-8 character from buf (that contains up to count bytes),
226 s32 synth_utf8_get(const char *buf, size_t count, size_t *consumed, size_t *want) argument
251 if (count < nbytes) {
279 void synth_writeu(const char *buf, size_t count) argument
284 for (i = 0; i < count; i++) {
287 value = synth_utf8_get(buf + i, count - i, &consumed, &want);
291 if (want > count - i)
293 count
[all...]
H A Dspeakup.h79 s32 synth_utf8_get(const char *buf, size_t count, size_t *consumed, size_t *want);
80 void synth_write(const char *buf, size_t count);
81 void synth_writeu(const char *buf, size_t count);
H A Ddevsynth.c17 size_t count = nbytes; local
25 while (count > 0) {
26 bytes = min(count, sizeof(buf));
29 count -= bytes;
42 size_t count = nbytes, consumed, want; local
54 while (count >= want) {
56 bytes = min(count, sizeof(buf));
81 count -= bytes;
94 return (ssize_t)(nbytes - count);
/linux-master/block/
H A Dgenhd.c1074 const char *buf, size_t count)
1078 if (count > 0 && sscanf(buf, "%d", &i) > 0) {
1084 return count;
1072 part_fail_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
H A Dfops.c630 size_t count = iov_iter_count(from); local
633 written = kiocb_invalidate_pages(iocb, count);
642 kiocb_invalidate_post_direct_write(iocb, count);
644 count -= written;
647 iov_iter_revert(from, count - iov_iter_count(from));
719 size_t count; local
729 count = iov_iter_count(to);
730 if (!count)
734 ret = kiocb_write_and_wait(iocb, count);
742 count
[all...]
H A Dblk.h314 const char *buf, size_t count);
579 * abc54d634334 ("io_uring: switch to atomic_t for io_kiocb reference count")
/linux-master/arch/x86/events/intel/
H A Dcore.c2213 * The GLOBAL_CTRL has been disabled. All the counters do not count anymore.
2321 * In practice it appears some of these events do in fact count, and
2619 * Avoid update event->count for this case.
2623 local64_add(delta, &event->count);
3718 * count.
3724 * count all cycles that retire 16 or less instructions, which
3746 * count.
3752 * count all cycles that retire 16 or less micro-ops, which
3774 * count.
4054 * The actual count o
5526 freeze_on_smi_store(struct device *cdev, struct device_attribute *attr, const char *buf, size_t count) argument
5575 set_sysctl_tfa(struct device *cdev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
/linux-master/arch/s390/kernel/
H A Dsetup.c814 if (stsi(vmms, 3, 2, 2) == 0 && vmms->count)
815 add_device_randomness(&vmms->vm, sizeof(vmms->vm[0]) * vmms->count);
H A Dipl.c288 size_t count) \
293 return memory_read_from_buffer(buf, count, &off, \
302 size_t count) \
304 size_t scpdata_len = count; \
310 memcpy(_ipl_block.scp_data, buf, count); \
322 return count; \
438 loff_t off, size_t count)
440 return memory_read_from_buffer(buf, count, &off, &ipl_block,
436 sys_ipl_parameter_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
/linux-master/arch/s390/include/asm/
H A Dprocessor.h135 unsigned long tmp, count; local
137 count = erase_high - erase_low;
138 if (!count)
141 " cghi %[count],8\n"
143 " aghi %[count],-(8+1)\n"
144 " srlg %[tmp],%[count],8\n"
153 " ex %[count],0(%[tmp])\n"
159 : [addr] "+&a" (erase_low), [count] "+&d" (count), [tmp] "=&a" (tmp)
H A Dpgtable.h40 static inline void update_page_count(int level, long count) argument
43 atomic_long_add(count, &direct_pages_count[level]);
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal.c427 ssize_t opal_get_chars(uint32_t vtermno, u8 *buf, size_t count) argument
437 len = cpu_to_be64(count);
/linux-master/arch/powerpc/perf/
H A Dhv-24x7.c789 pr_err("invalid page count: %zu\n", catalog_page_len);
1002 loff_t offset, size_t count)
1043 if (copy_len > count)
1044 copy_len = count;
1056 pr_devel("catalog_read: offset=%lld(%lld) count=%zu "
1058 count, catalog_len, catalog_page_len, ret);
1066 int d, n, count = 0; local
1078 count += n;
1081 return count;
1264 * get_count_from_result - get event count fro
1000 catalog_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t offset, size_t count) argument
1285 u64 count; local
1342 single_24x7_request(struct perf_event *event, u64 *count) argument
1579 u64 count; local
[all...]
/linux-master/tools/testing/selftests/cgroup/
H A Dcgroup_util.c234 int cg_wait_for_proc_count(const char *cgroup, int count) argument
250 if (nr >= count)
/linux-master/tools/power/x86/turbostat/
H A Dturbostat.c1618 int logical_node_id; /* 0-based count within the package */
2429 /* Core throttle count */
2635 static int count; local
2637 if ((!count || (header_iterations && !(count % header_iterations))) || !summary_only)
2642 count++;
5013 /* read /proc/interrupt count lines and sum up irqs per cpu */
5022 /* read the count per cpu */
/linux-master/tools/arch/x86/tools/
H A Dgen-insn-attr-x86.awk244 function convert_operands(count,opnd, i,j,imm,mod)
248 for (j = 1; j <= count; j++) {
300 count = split($(i++), opnds, ",")
301 flags = convert_operands(count, opnds)
/linux-master/scripts/
H A Dcheckpatch.pl103 <rev>-<count>
159 my $count = 0;
208 print(++$count . "\t" . $type . "\n");
1223 my $count = $output =~ tr/\n//;
1224 return $count eq 1 && $output =~ m{^${filename}$};
2025 for (my $count = $linenr + 1; $count <= $lc; $count++) {
2026 $stat_real = $stat_real . "\n" . raw_line($count, 0);
2826 # blank context lines so we need to count tha
[all...]

Completed in 517 milliseconds

<<11121314151617181920>>