Home
last modified time | relevance | path

Searched defs:r (Results 1 – 25 of 78) sorted by relevance

1234

/include/linux/
A Drefcount.h132 static inline void refcount_set(refcount_t *r, int n) in refcount_set()
157 static inline void refcount_set_release(refcount_t *r, int n) in refcount_set_release()
168 static inline unsigned int refcount_read(const refcount_t *r) in refcount_read()
174 bool __refcount_add_not_zero(int i, refcount_t *r, int *oldp) in __refcount_add_not_zero()
281 void __refcount_add(int i, refcount_t *r, int *oldp) in __refcount_add()
310 static inline void refcount_add(int i, refcount_t *r) in refcount_add()
364 static inline void __refcount_inc(refcount_t *r, int *oldp) in __refcount_inc()
381 static inline void refcount_inc(refcount_t *r) in refcount_inc()
387 bool __refcount_sub_and_test(int i, refcount_t *r, int *oldp) in __refcount_sub_and_test()
453 static inline void __refcount_dec(refcount_t *r, int *oldp) in __refcount_dec()
[all …]
A Dptr_ring.h49 static inline bool __ptr_ring_full(struct ptr_ring *r) in __ptr_ring_full()
54 static inline bool ptr_ring_full(struct ptr_ring *r) in ptr_ring_full()
65 static inline bool ptr_ring_full_irq(struct ptr_ring *r) in ptr_ring_full_irq()
76 static inline bool ptr_ring_full_any(struct ptr_ring *r) in ptr_ring_full_any()
88 static inline bool ptr_ring_full_bh(struct ptr_ring *r) in ptr_ring_full_bh()
169 static inline void *__ptr_ring_peek(struct ptr_ring *r) in __ptr_ring_peek()
201 static inline bool ptr_ring_empty(struct ptr_ring *r) in ptr_ring_empty()
427 #define PTR_RING_PEEK_CALL(r, f) ({ \ argument
436 #define PTR_RING_PEEK_CALL_IRQ(r, f) ({ \ argument
445 #define PTR_RING_PEEK_CALL_BH(r, f) ({ \ argument
[all …]
A Dsort.h15 #define cmp_int(l, r) (((l) > (r)) - ((l) < (r))) argument
A Dresctrl.h39 #define for_each_capable_rdt_resource(r) \ argument
43 #define for_each_alloc_capable_rdt_resource(r) \ argument
47 #define for_each_mon_capable_rdt_resource(r) \ argument
330 struct rdt_resource *r; member
358 static inline u32 resctrl_get_default_ctrl(struct rdt_resource *r) in resctrl_get_default_ctrl()
A Ddamon.h23 static inline unsigned long damon_rand(unsigned long l, unsigned long r) in damon_rand()
796 static inline struct damon_region *damon_next_region(struct damon_region *r) in damon_next_region()
801 static inline struct damon_region *damon_prev_region(struct damon_region *r) in damon_prev_region()
816 static inline unsigned long damon_sz_region(struct damon_region *r) in damon_sz_region()
822 #define damon_for_each_region(r, t) \ argument
825 #define damon_for_each_region_from(r, t) \ argument
828 #define damon_for_each_region_safe(r, next, t) \ argument
868 static inline void damon_insert_region(struct damon_region *r, in damon_insert_region()
A Dgeneric-radix-tree.h75 static inline unsigned genradix_root_to_depth(struct genradix_root *r) in genradix_root_to_depth()
80 static inline struct genradix_node *genradix_root_to_node(struct genradix_root *r) in genradix_root_to_node()
187 struct genradix_root *r = READ_ONCE(radix->root); in __genradix_ptr_inlined() local
A Dmemblock.h386 static inline void memblock_set_region_node(struct memblock_region *r, int nid) in memblock_set_region_node()
391 static inline int memblock_get_region_node(const struct memblock_region *r) in memblock_get_region_node()
396 static inline void memblock_set_region_node(struct memblock_region *r, int nid) in memblock_set_region_node()
400 static inline int memblock_get_region_node(const struct memblock_region *r) in memblock_get_region_node()
A Dcall_once.h46 int r, state; in call_once() local
/include/drm/
A Ddrm_rect.h74 #define DRM_RECT_ARG(r) drm_rect_width(r), drm_rect_height(r), (r)->x1, (r)->y1 argument
87 #define DRM_RECT_FP_ARG(r) \ argument
101 static inline void drm_rect_init(struct drm_rect *r, int x, int y, in drm_rect_init()
122 static inline void drm_rect_adjust_size(struct drm_rect *r, int dw, int dh) in drm_rect_adjust_size()
139 static inline void drm_rect_translate(struct drm_rect *r, int dx, int dy) in drm_rect_translate()
156 static inline void drm_rect_translate_to(struct drm_rect *r, int x, int y) in drm_rect_translate_to()
169 static inline void drm_rect_downscale(struct drm_rect *r, int horz, int vert) in drm_rect_downscale()
184 static inline int drm_rect_width(const struct drm_rect *r) in drm_rect_width()
196 static inline int drm_rect_height(const struct drm_rect *r) in drm_rect_height()
208 static inline bool drm_rect_visible(const struct drm_rect *r) in drm_rect_visible()
/include/media/
A Dv4l2-rect.h18 static inline void v4l2_rect_set_size_to(struct v4l2_rect *r, in v4l2_rect_set_size_to()
30 static inline void v4l2_rect_set_min_size(struct v4l2_rect *r, in v4l2_rect_set_min_size()
44 static inline void v4l2_rect_set_max_size(struct v4l2_rect *r, in v4l2_rect_set_max_size()
58 static inline void v4l2_rect_map_inside(struct v4l2_rect *r, in v4l2_rect_map_inside()
117 static inline void v4l2_rect_intersect(struct v4l2_rect *r, in v4l2_rect_intersect()
144 static inline void v4l2_rect_scale(struct v4l2_rect *r, in v4l2_rect_scale()
/include/soc/arc/
A Darc_aux.h11 #define read_aux_reg(r) __builtin_arc_lr(r) argument
14 #define write_aux_reg(r, v) __builtin_arc_sr((unsigned int)(v), r) argument
18 static inline int read_aux_reg(u32 r) in read_aux_reg()
27 static inline void write_aux_reg(u32 r, u32 v) in write_aux_reg()
/include/crypto/
A Dgf128mul.h180 static inline void gf128mul_x_lle(be128 *r, const be128 *x) in gf128mul_x_lle()
193 static inline void gf128mul_x_bbe(be128 *r, const be128 *x) in gf128mul_x_bbe()
206 static inline void gf128mul_x_ble(le128 *r, const le128 *x) in gf128mul_x_ble()
A Db128ops.h60 static inline void be128_xor(be128 *r, const be128 *p, const be128 *q) in be128_xor()
66 static inline void le128_xor(le128 *r, const le128 *p, const le128 *q) in le128_xor()
A Daria.h309 static inline u32 rotl32(u32 v, u32 r) in rotl32()
314 static inline u32 rotr32(u32 v, u32 r) in rotr32()
437 int r = n % 32; in aria_gsrk() local
/include/math-emu/
A Dop-common.h657 #define _FP_TO_INT(fs, wc, r, X, rsize, rsigned) \ argument
728 #define _FP_TO_INT_ROUND(fs, wc, r, X, rsize, rsigned) \ argument
795 #define _FP_FROM_INT(fs, wc, X, r, rsize, rtype) \ argument
846 #define __FP_CLZ(r, x) \ argument
861 #define __FP_CLZ(r, x) \ argument
880 #define _FP_DIV_HELP_imm(q, r, n, d) \ argument
A Ddouble.h117 #define FP_CMP_D(r,X,Y,un) _FP_CMP(D,2,r,X,Y,un) argument
118 #define FP_CMP_EQ_D(r,X,Y) _FP_CMP_EQ(D,2,r,X,Y) argument
120 #define FP_TO_INT_D(r,X,rsz,rsg) _FP_TO_INT(D,2,r,X,rsz,rsg) argument
121 #define FP_TO_INT_ROUND_D(r,X,rsz,rsg) _FP_TO_INT_ROUND(D,2,r,X,rsz,rsg) argument
122 #define FP_FROM_INT_D(X,r,rs,rt) _FP_FROM_INT(D,2,X,r,rs,rt) argument
192 #define FP_CMP_D(r,X,Y,un) _FP_CMP(D,1,r,X,Y,un) argument
193 #define FP_CMP_EQ_D(r,X,Y) _FP_CMP_EQ(D,1,r,X,Y) argument
195 #define FP_TO_INT_D(r,X,rsz,rsg) _FP_TO_INT(D,1,r,X,rsz,rsg) argument
196 #define FP_TO_INT_ROUND_D(r,X,rsz,rsg) _FP_TO_INT_ROUND(D,1,r,X,rsz,rsg) argument
197 #define FP_FROM_INT_D(X,r,rs,rt) _FP_FROM_INT(D,1,X,r,rs,rt) argument
A Dquad.h123 #define FP_CMP_Q(r,X,Y,un) _FP_CMP(Q,4,r,X,Y,un) argument
124 #define FP_CMP_EQ_Q(r,X,Y) _FP_CMP_EQ(Q,4,r,X,Y) argument
126 #define FP_TO_INT_Q(r,X,rsz,rsg) _FP_TO_INT(Q,4,r,X,rsz,rsg) argument
127 #define FP_TO_INT_ROUND_Q(r,X,rsz,rsg) _FP_TO_INT_ROUND(Q,4,r,X,rsz,rsg) argument
128 #define FP_FROM_INT_Q(X,r,rs,rt) _FP_FROM_INT(Q,4,X,r,rs,rt) argument
196 #define FP_CMP_Q(r,X,Y,un) _FP_CMP(Q,2,r,X,Y,un) argument
197 #define FP_CMP_EQ_Q(r,X,Y) _FP_CMP_EQ(Q,2,r,X,Y) argument
199 #define FP_TO_INT_Q(r,X,rsz,rsg) _FP_TO_INT(Q,2,r,X,rsz,rsg) argument
200 #define FP_TO_INT_ROUND_Q(r,X,rsz,rsg) _FP_TO_INT_ROUND(Q,2,r,X,rsz,rsg) argument
201 #define FP_FROM_INT_Q(X,r,rs,rt) _FP_FROM_INT(Q,2,X,r,rs,rt) argument
A Dsingle.h106 #define FP_CMP_S(r,X,Y,un) _FP_CMP(S,1,r,X,Y,un) argument
107 #define FP_CMP_EQ_S(r,X,Y) _FP_CMP_EQ(S,1,r,X,Y) argument
109 #define FP_TO_INT_S(r,X,rsz,rsg) _FP_TO_INT(S,1,r,X,rsz,rsg) argument
110 #define FP_TO_INT_ROUND_S(r,X,rsz,rsg) _FP_TO_INT_ROUND(S,1,r,X,rsz,rsg) argument
111 #define FP_FROM_INT_S(X,r,rs,rt) _FP_FROM_INT(S,1,X,r,rs,rt) argument
/include/xen/interface/io/
A Dring.h148 #define XEN_FRONT_RING_INIT(r, s, size) do { \ argument
208 #define RING_COPY_(type, r, idx, dest) do { \ argument
213 #define RING_COPY_REQUEST(r, idx, req) RING_COPY_(REQUEST, r, idx, req) argument
214 #define RING_COPY_RESPONSE(r, idx, rsp) RING_COPY_(RESPONSE, r, idx, rsp) argument
/include/xen/arm/
A Dhypercall.h70 struct sched_shutdown r = { .reason = SHUTDOWN_suspend }; in HYPERVISOR_suspend() local
/include/asm-generic/bitops/
A Dffs.h15 int r = 1; in generic_ffs() local
A Dfls.h15 int r = 32; in generic_fls() local
/include/linux/irqchip/
A Darm-gic-v5.h87 #define GICV5_IRS_IST_L2SZ_SUPPORT_4KB(r) FIELD_GET(BIT(11), (r)) argument
88 #define GICV5_IRS_IST_L2SZ_SUPPORT_16KB(r) FIELD_GET(BIT(12), (r)) argument
89 #define GICV5_IRS_IST_L2SZ_SUPPORT_64KB(r) FIELD_GET(BIT(13), (r)) argument
175 #define GICV5_ITS_IDR1_L2SZ_SUPPORT_4KB(r) FIELD_GET(BIT(8), (r)) argument
176 #define GICV5_ITS_IDR1_L2SZ_SUPPORT_16KB(r) FIELD_GET(BIT(9), (r)) argument
177 #define GICV5_ITS_IDR1_L2SZ_SUPPORT_64KB(r) FIELD_GET(BIT(10), (r)) argument
/include/xen/
A Dhvm.h42 int r; in hvm_get_parameter() local
/include/crypto/internal/
A Decc.h53 u64 r[ECC_MAX_DIGITS]; member

Completed in 53 milliseconds

1234