Searched refs:count (Results 326 - 350 of 7674) sorted by relevance

<<11121314151617181920>>

/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-altivec.c80 unsigned int pos, unsigned int count,
90 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
93 if (!ret && count > 0) {
108 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave,
79 vr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dhwmgr_ppt.h50 uint32_t count; /* Number of entries. */ member in struct:phm_ppt_v1_clock_voltage_dependency_table
51 phm_ppt_v1_clock_voltage_dependency_record entries[]; /* Dynamically allocate count entries. */
73 uint32_t count; /* Number of entries. */ member in struct:phm_ppt_v1_mm_clock_voltage_dependency_table
74 phm_ppt_v1_mm_clock_voltage_dependency_record entries[]; /* Dynamically allocate count entries. */
88 uint32_t count; member in struct:phm_ppt_v1_voltage_lookup_table
89 phm_ppt_v1_voltage_lookup_record entries[]; /* Dynamically allocate count entries. */
105 uint32_t count; /* Number of entries. */ member in struct:phm_ppt_v1_pcie_table
106 phm_ppt_v1_pcie_record entries[]; /* Dynamically allocate count entries. */
/linux-master/sound/firewire/tascam/
H A Dtascam-hwdep.c19 long count, loff_t *offset)
28 count = min_t(long, count, sizeof(event));
32 if (copy_to_user(buf, &event, count))
35 return count;
45 long count; variable
54 count = sizeof(type);
85 count += length;
95 return count;
98 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, argument
[all...]
/linux-master/tools/testing/selftests/timers/
H A Dleapcrash.c63 int count = 0; local
81 for (count = 0; count < 20; count++) {
/linux-master/arch/xtensa/platforms/iss/include/platform/
H A Dsimcall.h54 static inline int simc_read(int fd, void *buf, size_t count) argument
56 return __simc(SYS_read, fd, (int) buf, count);
59 static inline int simc_write(int fd, const void *buf, size_t count) argument
61 return __simc(SYS_write, fd, (int) buf, count);
/linux-master/drivers/usb/gadget/function/
H A Du_hid.h37 int ghid_setup(struct usb_gadget *g, int count);
/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-syscall.c78 unsigned count = 0; local
93 for (count = 0; timercmp(&now, &end, <); count++) {
119 printf("%d active and suspended transactions behaved correctly.\n", count);
/linux-master/fs/xfs/
H A Dxfs_icreate_item.h18 xfs_agblock_t agbno, unsigned int count,
/linux-master/lib/zstd/compress/
H A Dzstd_compress_sequences.h24 FSE_repeat* repeatMode, unsigned const* count, unsigned const max,
34 unsigned* count, U32 max,
49 unsigned const* count,
53 unsigned const* count, unsigned const max);
/linux-master/include/linux/raid/
H A Dxor.h7 extern void xor_blocks(unsigned int count, unsigned int bytes,
/linux-master/arch/hexagon/include/asm/
H A Duaccess.h32 __kernel_size_t __clear_user_hexagon(void __user *dest, unsigned long count);
/linux-master/drivers/media/pci/ddbridge/
H A Dddbridge-io.h39 static inline void ddbcpyto(struct ddb *dev, u32 adr, void *src, long count) argument
41 memcpy_toio(dev->regs + adr, src, count);
44 static inline void ddbcpyfrom(struct ddb *dev, void *dst, u32 adr, long count) argument
46 memcpy_fromio(dst, dev->regs + adr, count);
/linux-master/drivers/base/regmap/
H A Dtrace.h105 TP_PROTO(struct regmap *map, unsigned int reg, int count),
107 TP_ARGS(map, reg, count),
112 __field( int, count )
118 __entry->count = count;
121 TP_printk("%s reg=%x count=%d", __get_str(name), __entry->reg, __entry->count)
126 TP_PROTO(struct regmap *map, unsigned int reg, int count),
128 TP_ARGS(map, reg, count)
133 TP_PROTO(struct regmap *map, unsigned int reg, int count),
[all...]
/linux-master/include/linux/
H A Dsyslog.h39 int do_syslog(int type, char __user *buf, int count, int source);
/linux-master/kernel/locking/
H A Dsemaphore.c23 * The ->count variable represents how many more tasks can acquire this
60 if (likely(sem->count > 0))
61 sem->count--;
84 if (likely(sem->count > 0))
85 sem->count--;
111 if (likely(sem->count > 0))
112 sem->count--;
137 int count; local
140 count = sem->count
[all...]
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_workarounds_types.h33 unsigned int count; member in struct:i915_wa_list
/linux-master/arch/x86/kernel/
H A Dcrash_dump_64.c55 ssize_t elfcorehdr_read(char *buf, size_t count, u64 *ppos) argument
57 struct kvec kvec = { .iov_base = buf, .iov_len = count };
60 iov_iter_kvec(&iter, ITER_DEST, &kvec, 1, count);
62 return read_from_oldmem(&iter, count, ppos,
/linux-master/lib/
H A Dpercpu-refcount.c98 atomic_long_set(&data->count, start_count);
141 ref->percpu_count_ptr |= atomic_long_read(&ref->data->count) <<
174 unsigned long count = 0; local
178 count += *per_cpu_ptr(percpu_count, cpu);
181 atomic_long_read(&data->count), count);
185 * to &ref->count; since gets could be happening on one cpu while puts
186 * happen on another, adding a single cpu's count could cause
187 * @ref->count to hit 0 before we've got a consistent value - but the
190 * Subtracting the bias value then has to happen _after_ adding count t
413 unsigned long count, flags; local
[all...]
/linux-master/security/apparmor/include/
H A Ddomain.h30 int aa_change_hat(const char *hats[], int count, u64 token, int flags);
/linux-master/fs/reiserfs/
H A Dacl.h22 static inline size_t reiserfs_acl_size(int count) argument
24 if (count <= 4) {
26 count * sizeof(reiserfs_acl_entry_short);
30 (count - 4) * sizeof(reiserfs_acl_entry);
/linux-master/drivers/staging/media/av7110/
H A Dav7110_ipack.h9 extern int av7110_ipack_instant_repack(const u8 *buf, int count, struct ipack *p);
/linux-master/drivers/acpi/acpica/
H A Dutids.c207 u32 count; local
222 * Get the count and size of the returned _CIDs. _CID can return either
228 count = obj_desc->package.count;
232 count = 1;
237 for (i = 0; i < count; i++) {
266 (count * sizeof(struct acpi_pnp_device_id)) + string_area_size;
277 ((acpi_size)count * sizeof(struct acpi_pnp_device_id));
281 for (i = 0; i < count; i++) {
303 cid_list->count
340 u32 count; local
[all...]
/linux-master/samples/user_events/
H A Dexample.c43 __u32 count = 0; local
47 if (event_reg(data_fd, "test u32 count", &write, &enabled) == -1)
53 io[1].iov_base = &count;
54 io[1].iov_len = sizeof(count);
64 /* Increase the count */
65 count++;
/linux-master/kernel/dma/
H A Dremap.c41 int count = PAGE_ALIGN(size) >> PAGE_SHIFT; local
46 pages = kvmalloc_array(count, sizeof(struct page *), GFP_KERNEL);
49 for (i = 0; i < count; i++)
51 vaddr = vmap(pages, count, VM_DMA_COHERENT, prot);
/linux-master/include/drm/
H A Dtask_barrier.h41 atomic_t count; member in struct:task_barrier
58 atomic_set(&tb->count, 0);
80 if (atomic_inc_return(&tb->count) == tb->n)
94 if (atomic_dec_return(&tb->count) == 0)

Completed in 260 milliseconds

<<11121314151617181920>>