/include/asm-generic/ |
H A D | mutex-dec.h | 11 * __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 D | mutex-xchg.h | 16 * __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 D | ide_iops.h | 8 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 D | types.h | 25 int count; member in struct:ceph_cap_reservation
|
/include/linux/ |
H A D | fs_pin.h | 4 atomic_long_t count; member in struct:fs_pin
|
H A D | rwsem-spinlock.h | 18 * - 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 D | cdev.h | 18 unsigned int count; member in struct:cdev
|
H A D | lockref.h | 13 * 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 D | devcoredump.h | 14 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 D | latencytop.h | 22 unsigned int count; member in struct:latency_record
|
H A D | nsproxy.h | 21 * '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 D | semaphore.h | 18 unsigned int count; member in struct:semaphore 25 .count = n, \
|
H A D | vt_buffer.h | 31 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 D | dma-contiguous.h | 114 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 D | dynamic_queue_limits.h | 72 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 D | eventfd.h | 32 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 D | posix_acl_xattr.h | 38 posix_acl_xattr_size(int count) argument 41 (count * sizeof(posix_acl_xattr_entry)));
|
/include/uapi/linux/ |
H A D | ivtvfb.h | 32 int count; member in struct:ivtvfb_dma_frame
|
H A D | keychord.h | 46 __u16 count; member in struct:input_keychord
|
H A D | atm_nicstar.h | 42 int count; /* (At least for now) only used in NS_GETPSTAT */ member in struct:pool_levels
|
/include/drm/ |
H A D | drm_flip_work.h | 57 * @count: number of committed items 64 atomic_t pending, count; member in struct:drm_flip_work
|
/include/uapi/linux/netfilter/ |
H A D | xt_connbytes.h | 20 __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 D | xt_multiport.h | 17 __u8 count; /* Number of ports */ member in struct:xt_multiport 23 __u8 count; /* Number of ports */ member in struct:xt_multiport_v1
|
H A D | xt_statistic.h | 30 __u32 count; /* unused */ member in struct:xt_statistic_info::__anon2020::__anon2022
|
/include/uapi/xen/ |
H A D | gntalloc.h | 26 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
|