Home
last modified time | relevance | path

Searched refs:rtp (Results 1 – 16 of 16) sorted by relevance

/linux/kernel/rcu/
H A Dtasks.h16 typedef void (*rcu_tasks_gp_func_t)(struct rcu_tasks *rtp);
21 typedef void (*postgp_func_t)(struct rcu_tasks *rtp);
223 static void set_tasks_gp_state(struct rcu_tasks *rtp, int newstate) in set_tasks_gp_state() argument
225 rtp->gp_state = newstate; in set_tasks_gp_state()
226 rtp->gp_jiffies = jiffies; in set_tasks_gp_state()
231 static const char *tasks_gp_state_getname(struct rcu_tasks *rtp) in tasks_gp_state_getname() argument
233 int i = data_race(rtp->gp_state); // Let KCSAN detect update races in tasks_gp_state_getname()
244 static void cblist_init_generic(struct rcu_tasks *rtp) in cblist_init_generic() argument
260 rtp->rtpcp_array = kzalloc_objs(struct rcu_tasks_percpu *, in cblist_init_generic()
262 BUG_ON(!rtp->rtpcp_array); in cblist_init_generic()
[all …]
H A Drcutorture.c2095 static void rcu_torture_reader_do_mbchk(long myid, struct rcu_torture *rtp, in rcu_torture_reader_do_mbchk() argument
2121 !READ_ONCE(rtp->rtort_chkp) && in rcu_torture_reader_do_mbchk()
2128 cmpxchg_relaxed(&rtp->rtort_chkp, NULL, rtrcp)) in rcu_torture_reader_do_mbchk()
/linux/lib/
H A Dradix-tree.c246 struct radix_tree_preload *rtp; in radix_tree_node_alloc() local
263 rtp = this_cpu_ptr(&radix_tree_preloads); in radix_tree_node_alloc()
264 if (rtp->nr) { in radix_tree_node_alloc()
265 ret = rtp->nodes; in radix_tree_node_alloc()
266 rtp->nodes = ret->parent; in radix_tree_node_alloc()
267 rtp->nr--; in radix_tree_node_alloc()
324 struct radix_tree_preload *rtp; in __radix_tree_preload() local
335 rtp = this_cpu_ptr(&radix_tree_preloads); in __radix_tree_preload()
336 while (rtp->nr < nr) { in __radix_tree_preload()
342 rtp = this_cpu_ptr(&radix_tree_preloads); in __radix_tree_preload()
[all …]
/linux/net/ipv4/
H A Dip_output.c1295 struct ipcm_cookie *ipc, struct rtable **rtp) in ip_setup_cork() argument
1300 rt = *rtp; in ip_setup_cork()
1330 *rtp = NULL; in ip_setup_cork()
1363 struct ipcm_cookie *ipc, struct rtable **rtp, in ip_append_data() argument
1373 err = ip_setup_cork(sk, &inet->cork.base, ipc, rtp); in ip_append_data()
1558 struct ipcm_cookie *ipc, struct rtable **rtp, in ip_make_skb() argument
1572 err = ip_setup_cork(sk, cork, ipc, rtp); in ip_make_skb()
H A Dfib_semantics.c139 static void rt_fibinfo_free(struct rtable __rcu **rtp) in rt_fibinfo_free() argument
141 struct rtable *rt = rcu_dereference_protected(*rtp, 1); in rt_fibinfo_free()
183 static void rt_fibinfo_free_cpus(struct rtable __rcu * __percpu *rtp) in rt_fibinfo_free_cpus() argument
187 if (!rtp) in rt_fibinfo_free_cpus()
193 rt = rcu_dereference_protected(*per_cpu_ptr(rtp, cpu), 1); in rt_fibinfo_free_cpus()
199 free_percpu(rtp); in rt_fibinfo_free_cpus()
H A Draw.c335 struct rtable **rtp, unsigned int flags, in raw_send_hdrinc() argument
344 struct rtable *rt = *rtp; in raw_send_hdrinc()
372 *rtp = NULL; in raw_send_hdrinc()
/linux/net/mctp/test/
H A Dsock-test.c18 struct mctp_test_route **rtp, in __mctp_sock_test_init() argument
50 *rtp = rt; in __mctp_sock_test_init()
/linux/net/ipv6/
H A Dip6_fib.c1970 struct fib6_info __rcu **rtp, struct nl_info *info, in fib6_del_route() argument
1975 struct fib6_info *rt = rcu_dereference_protected(*rtp, in fib6_del_route()
1995 *rtp = rt->fib6_next; in fib6_del_route()
2070 struct fib6_info __rcu **rtp; in fib6_del() local
2090 for (rtp = &fn->leaf; *rtp; rtp = rtp_next) { in fib6_del()
2091 struct fib6_info *cur = rcu_dereference_protected(*rtp, in fib6_del()
2096 fib6_del_route(table, fn, rtp, info, del_reason); in fib6_del()
H A Daddrconf.c6713 struct rt6_info **rtp; in addrconf_disable_policy_idev() local
6715 rtp = per_cpu_ptr(nh->rt6i_pcpu, cpu); in addrconf_disable_policy_idev()
6716 addrconf_set_nopolicy(*rtp, val); in addrconf_disable_policy_idev()
/linux/arch/arm/boot/dts/allwinner/
H A Dsun5i-a13.dtsi55 thermal-sensors = <&rtp>;
H A Dsun5i-gr8-evb.dts287 &rtp {
H A Dsun5i.dtsi655 rtp: rtp@1c25000 { label
H A Dsun6i-a31.dtsi169 thermal-sensors = <&rtp>;
809 rtp: rtp@1c25000 { label
H A Dsun7i-a20.dtsi145 thermal-sensors = <&rtp>;
1310 rtp: rtp@1c25000 { label
/linux/tools/perf/util/
H A Devsel.c1192 double rtp; in evsel__apply_config_terms()
1194 rtp = strtod(buf, NULL); in evsel__apply_config_terms()
1195 if (rtp <= 0) { in evsel__apply_config_terms()
1196 pr_err("Invalid ratio-to-prev value %lf\n", rtp); in evsel__apply_config_terms()
1224 attr->sample_period = prev_attr->sample_period * rtp; in evsel__apply_config_terms()
1228 prev_attr->sample_period = attr->sample_period / rtp; in evsel__apply_config_terms()
1234 attr->sample_period = prev_attr->sample_period * rtp; in evsel__apply_config_terms()
1116 double rtp; evsel__apply_ratio_to_prev() local
/linux/include/net/
H A Dip.h240 struct ipcm_cookie *ipc, struct rtable **rtp,