Home
last modified time | relevance | path

Searched refs:rs (Results 1 – 10 of 10) sorted by relevance

/include/linux/
Dratelimit.h9 static inline void ratelimit_state_init(struct ratelimit_state *rs, in ratelimit_state_init() argument
12 memset(rs, 0, sizeof(*rs)); in ratelimit_state_init()
14 raw_spin_lock_init(&rs->lock); in ratelimit_state_init()
15 rs->interval = interval; in ratelimit_state_init()
16 rs->burst = burst; in ratelimit_state_init()
19 static inline void ratelimit_default_init(struct ratelimit_state *rs) in ratelimit_default_init() argument
21 return ratelimit_state_init(rs, DEFAULT_RATELIMIT_INTERVAL, in ratelimit_default_init()
25 static inline void ratelimit_state_exit(struct ratelimit_state *rs) in ratelimit_state_exit() argument
27 if (!(rs->flags & RATELIMIT_MSG_ON_RELEASE)) in ratelimit_state_exit()
30 if (rs->missed) { in ratelimit_state_exit()
[all …]
Drslib.h62 int encode_rs8(struct rs_control *rs, uint8_t *data, int len, uint16_t *par,
66 int decode_rs8(struct rs_control *rs, uint8_t *data, uint16_t *par, int len,
73 int encode_rs16(struct rs_control *rs, uint16_t *data, int len, uint16_t *par,
77 int decode_rs16(struct rs_control *rs, uint16_t *data, uint16_t *par, int len,
108 void free_rs(struct rs_control *rs);
122 static inline int rs_modnn(struct rs_codec *rs, int x) in rs_modnn() argument
124 while (x >= rs->nn) { in rs_modnn()
125 x -= rs->nn; in rs_modnn()
126 x = (x >> rs->mm) + (x & rs->nn); in rs_modnn()
Dbitmap.h468 unsigned int *rs, unsigned int *re, in bitmap_next_clear_region() argument
471 *rs = find_next_zero_bit(bitmap, end, *rs); in bitmap_next_clear_region()
472 *re = find_next_bit(bitmap, end, *rs + 1); in bitmap_next_clear_region()
476 unsigned int *rs, unsigned int *re, in bitmap_next_set_region() argument
479 *rs = find_next_bit(bitmap, end, *rs); in bitmap_next_set_region()
480 *re = find_next_zero_bit(bitmap, end, *rs + 1); in bitmap_next_set_region()
488 #define bitmap_for_each_clear_region(bitmap, rs, re, start, end) \ argument
489 for ((rs) = (start), \
490 bitmap_next_clear_region((bitmap), &(rs), &(re), (end)); \
491 (rs) < (re); \
[all …]
Dratelimit_types.h44 extern int ___ratelimit(struct ratelimit_state *rs, const char *func);
/include/linux/soc/marvell/octeontx2/
Dasm.h23 : [rs]"r" (ioaddr)); \
36 : [rs] "r"(addr)); \
/include/math-emu/
Dquad.h128 #define FP_FROM_INT_Q(X,r,rs,rt) _FP_FROM_INT(Q,4,X,r,rs,rt) argument
201 #define FP_FROM_INT_Q(X,r,rs,rt) _FP_FROM_INT(Q,2,X,r,rs,rt) argument
Ddouble.h122 #define FP_FROM_INT_D(X,r,rs,rt) _FP_FROM_INT(D,2,X,r,rs,rt) argument
197 #define FP_FROM_INT_D(X,r,rs,rt) _FP_FROM_INT(D,1,X,r,rs,rt) argument
Dsingle.h111 #define FP_FROM_INT_S(X,r,rs,rt) _FP_FROM_INT(S,1,X,r,rs,rt) argument
/include/trace/events/
Drcu.h539 TP_PROTO(struct rcu_segcblist *rs, const char *ctx),
541 TP_ARGS(rs, ctx),
551 memcpy(__entry->seglen, rs->seglen, RCU_CBLIST_NSEGS * sizeof(long));
552 memcpy(__entry->gp_seq, rs->gp_seq, RCU_CBLIST_NSEGS * sizeof(unsigned long));
/include/net/
Dtcp.h1070 void (*cong_control)(struct sock *sk, const struct rate_sample *rs);
1155 struct rate_sample *rs);
1157 bool is_sack_reneg, struct rate_sample *rs);
2118 extern void tcp_rack_update_reo_wnd(struct sock *sk, struct rate_sample *rs);