Searched defs:count (Results 1 - 25 of 146) sorted by relevance

123456

/include/asm-generic/
H A Dmutex-dec.h11 * __mutex_fastpath_lock - try to take the lock by moving the count
13 * @count: pointer of type atomic_t
16 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
21 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *)) argument
23 if (unlikely(atomic_dec_return(count) < 0))
24 fail_fn(count);
28 * __mutex_fastpath_lock_retval - try to take the lock by moving the count
30 * @count: pointer of type atomic_t
32 * Change the count from 1 to a value lower than 1. This function returns 0
36 __mutex_fastpath_lock_retval(atomic_t *count) argument
57 __mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_t *)) argument
81 __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *)) argument
[all...]
H A Dmutex-xchg.h16 * __mutex_fastpath_lock - try to take the lock by moving the count
18 * @count: pointer of type atomic_t
21 * Change the count from 1 to a value lower than 1, and call <fail_fn> if it
26 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *)) argument
28 if (unlikely(atomic_xchg(count, 0) != 1))
34 if (likely(atomic_xchg(count, -1) != 1))
35 fail_fn(count);
39 * __mutex_fastpath_lock_retval - try to take the lock by moving the count
41 * @count: pointer of type atomic_t
43 * Change the count fro
47 __mutex_fastpath_lock_retval(atomic_t *count) argument
68 __mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_t *)) argument
92 __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *)) argument
[all...]
H A Dide_iops.h8 static __inline__ void __ide_mm_insw(void __iomem *port, void *addr, u32 count) argument
10 while (count--) {
16 static __inline__ void __ide_mm_insl(void __iomem *port, void *addr, u32 count) argument
18 while (count--) {
24 static __inline__ void __ide_mm_outsw(void __iomem *port, void *addr, u32 count) argument
26 while (count--) {
32 static __inline__ void __ide_mm_outsl(void __iomem * port, void *addr, u32 count) argument
34 while (count--) {
/include/linux/ceph/
H A Dtypes.h25 int count; member in struct:ceph_cap_reservation
/include/linux/
H A Dfs_pin.h4 atomic_long_t count; member in struct:fs_pin
H A Drwsem-spinlock.h18 * - if count is 0 then there are no active readers or writers
19 * - if count is +ve then that is the number of active readers
20 * - if count is -1 then there is one active writer
24 __s32 count; member in struct:rw_semaphore
H A Dcdev.h18 unsigned int count; member in struct:cdev
H A Dlockref.h13 * both the lock and the count word, or using memory transactions, for
31 unsigned int count; member in struct:lockref::__anon481::__anon482
47 return ((int)l->count < 0);
H A Ddevcoredump.h14 ssize_t (*read)(char *buffer, loff_t offset, size_t count,
27 ssize_t (*read)(char *buffer, loff_t offset, size_t count,
25 dev_coredumpm(struct device *dev, struct module *owner, const void *data, size_t datalen, gfp_t gfp, ssize_t (*read)(char *buffer, loff_t offset, size_t count, const void *data, size_t datalen), void (*free)(const void *data)) argument
H A Dlatencytop.h22 unsigned int count; member in struct:latency_record
H A Dnsproxy.h21 * 'count' is the number of tasks holding a reference.
22 * The count for each namespace, then, will be the number
30 atomic_t count; member in struct:nsproxy
75 if (atomic_dec_and_test(&ns->count)) {
82 atomic_inc(&ns->count);
H A Dsemaphore.h18 unsigned int count; member in struct:semaphore
25 .count = n, \
H A Dvt_buffer.h31 static inline void scr_memsetw(u16 *s, u16 c, unsigned int count) argument
33 count /= 2;
34 while (count--)
40 static inline void scr_memcpyw(u16 *d, const u16 *s, unsigned int count) argument
42 count /= 2;
43 while (count--)
49 static inline void scr_memmovew(u16 *d, const u16 *s, unsigned int count) argument
52 scr_memcpyw(d, s, count);
54 count /= 2;
55 d += count;
[all...]
H A Ddma-contiguous.h114 struct page *dma_alloc_from_contiguous(struct device *dev, int count,
117 int count);
147 struct page *dma_alloc_from_contiguous(struct device *dev, int count, argument
155 int count)
154 dma_release_from_contiguous(struct device *dev, struct page *pages, int count) argument
H A Ddynamic_queue_limits.h72 static inline void dql_queued(struct dql *dql, unsigned int count) argument
74 BUG_ON(count > DQL_MAX_OBJECT);
76 dql->last_obj_cnt = count;
85 dql->num_queued += count;
95 void dql_completed(struct dql *dql, unsigned int count);
H A Deventfd.h32 struct file *eventfd_file_create(unsigned int count, int flags);
49 static inline struct file *eventfd_file_create(unsigned int count, int flags) argument
H A Dposix_acl_xattr.h38 posix_acl_xattr_size(int count) argument
41 (count * sizeof(posix_acl_xattr_entry)));
/include/uapi/linux/
H A Divtvfb.h32 int count; member in struct:ivtvfb_dma_frame
H A Dkeychord.h46 __u16 count; member in struct:input_keychord
H A Datm_nicstar.h42 int count; /* (At least for now) only used in NS_GETPSTAT */ member in struct:pool_levels
/include/drm/
H A Ddrm_flip_work.h57 * @count: number of committed items
64 atomic_t pending, count; member in struct:drm_flip_work
/include/uapi/linux/netfilter/
H A Dxt_connbytes.h20 __aligned_u64 from; /* count to be matched */
21 __aligned_u64 to; /* count to be matched */
22 } count; member in struct:xt_connbytes_info
H A Dxt_multiport.h17 __u8 count; /* Number of ports */ member in struct:xt_multiport
23 __u8 count; /* Number of ports */ member in struct:xt_multiport_v1
H A Dxt_statistic.h30 __u32 count; /* unused */ member in struct:xt_statistic_info::__anon2020::__anon2022
/include/uapi/xen/
H A Dgntalloc.h26 uint32_t count; member in struct:ioctl_gntalloc_alloc_gref
31 /* Variable size, depending on count */
48 uint32_t count; member in struct:ioctl_gntalloc_dealloc_gref

Completed in 1315 milliseconds

123456