Home
last modified time | relevance | path

Searched refs:priv (Results 1 – 12 of 12) sorted by relevance

/kernel/bpf/
Dcgroup_iter.c162 static int cgroup_iter_seq_init(void *priv, struct bpf_iter_aux_info *aux) in BTF_ID_LIST_SINGLE()
164 struct cgroup_iter_priv *p = (struct cgroup_iter_priv *)priv; in BTF_ID_LIST_SINGLE()
180 static void cgroup_iter_seq_fini(void *priv) in cgroup_iter_seq_fini() argument
182 struct cgroup_iter_priv *p = (struct cgroup_iter_priv *)priv; in cgroup_iter_seq_fini()
Doffload.c38 void *priv; member
670 bpf_offload_dev_create(const struct bpf_prog_offload_ops *ops, void *priv) in bpf_offload_dev_create() argument
691 offdev->priv = priv; in bpf_offload_dev_create()
707 return offdev->priv; in bpf_offload_dev_priv()
Dsyscall.c911 static int map_off_arr_cmp(const void *_a, const void *_b, const void *priv) in map_off_arr_cmp() argument
923 static void map_off_arr_swap(void *_a, void *_b, int size, const void *priv) in map_off_arr_swap() argument
925 struct bpf_map *map = (struct bpf_map *)priv; in map_off_arr_swap()
/kernel/
Dtracepoint.c559 void (*fct)(struct tracepoint *tp, void *priv), in for_each_tracepoint_range() argument
560 void *priv) in for_each_tracepoint_range()
567 fct(tracepoint_ptr_deref(iter), priv); in for_each_tracepoint_range()
635 static void tp_module_going_check_quiescent(struct tracepoint *tp, void *priv) in tp_module_going_check_quiescent() argument
745 void for_each_kernel_tracepoint(void (*fct)(struct tracepoint *tp, void *priv), in for_each_kernel_tracepoint() argument
746 void *priv) in for_each_kernel_tracepoint()
749 __stop___tracepoints_ptrs, fct, priv); in for_each_kernel_tracepoint()
Dsignal.c1662 #define __si_special(priv) \ argument
1663 ((priv) ? SEND_SIG_PRIV : SEND_SIG_NOINFO)
1666 send_sig(int sig, struct task_struct *p, int priv) in send_sig() argument
1668 return send_sig_info(sig, __si_special(priv), p); in send_sig()
1926 int kill_pgrp(struct pid *pid, int sig, int priv) in kill_pgrp() argument
1931 ret = __kill_pgrp_info(sig, __si_special(priv), pid); in kill_pgrp()
1938 int kill_pid(struct pid *pid, int sig, int priv) in kill_pid() argument
1940 return kill_pid_info(sig, __si_special(priv), pid); in kill_pid()
/kernel/dma/
Dcoherent.c338 if (!rmem->priv) { in rmem_dma_device_init()
345 rmem->priv = mem; in rmem_dma_device_init()
347 dma_assign_coherent_memory(dev, rmem->priv); in rmem_dma_device_init()
Dcontiguous.c386 dev->cma_area = rmem->priv; in rmem_cma_device_init()
435 rmem->priv = cma; in rmem_cma_setup()
Dswiotlb.c1026 struct io_tlb_mem *mem = rmem->priv; in rmem_swiotlb_device_init()
1067 rmem->priv = mem; in rmem_swiotlb_device_init()
/kernel/cgroup/
Dcgroup-v1.c397 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pidlist_start()
452 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pidlist_stop()
464 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pidlist_next()
559 ctx = of->priv; in cgroup_release_agent_write()
719 cgrp = rcu_dereference(*(void __rcu __force **)&kn->priv); in cgroupstats_build()
832 struct cgroup *cgrp = kn->priv; in cgroup1_rename()
Dcgroup.c658 struct cgroup *cgrp = of->kn->parent->priv; in of_css()
1311 struct cgroup *root_cgrp = kernfs_root_to_node(kf_root)->priv; in cgroup_root_from_kf()
1623 cgrp = kn->priv; in cgroup_kn_unlock()
1625 cgrp = kn->parent->priv; in cgroup_kn_unlock()
1655 cgrp = kn->priv; in cgroup_kn_lock_live()
1657 cgrp = kn->parent->priv; in cgroup_kn_lock_live()
3768 struct cgroup_file_ctx *ctx = of->priv; in pressure_write()
3888 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pressure_poll()
3901 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pressure_release()
4042 of->priv = ctx; in cgroup_file_open()
[all …]
/kernel/sched/
Dfair.c1276 static inline int task_faults_idx(enum numa_faults_stats s, int nid, int priv) in task_faults_idx() argument
1278 return NR_NUMA_HINT_FAULT_TYPES * (s * nr_node_ids + nid) + priv; in task_faults_idx()
2589 int priv; in task_numa_placement() local
2591 for (priv = 0; priv < NR_NUMA_HINT_FAULT_TYPES; priv++) { in task_numa_placement()
2594 mem_idx = task_faults_idx(NUMA_MEM, nid, priv); in task_numa_placement()
2595 membuf_idx = task_faults_idx(NUMA_MEMBUF, nid, priv); in task_numa_placement()
2596 cpu_idx = task_faults_idx(NUMA_CPU, nid, priv); in task_numa_placement()
2597 cpubuf_idx = task_faults_idx(NUMA_CPUBUF, nid, priv); in task_numa_placement()
2601 fault_types[priv] += p->numa_faults[membuf_idx]; in task_numa_placement()
2689 int *priv) in task_numa_group() argument
[all …]
/kernel/trace/
Dbpf_trace.c2558 static void bpf_kprobe_multi_cookie_swap(void *a, void *b, int size, const void *priv) in bpf_kprobe_multi_cookie_swap() argument
2560 const struct bpf_kprobe_multi_link *link = priv; in bpf_kprobe_multi_cookie_swap()
2581 static int bpf_kprobe_multi_cookie_cmp(const void *a, const void *b, const void *priv) in bpf_kprobe_multi_cookie_cmp() argument
2655 static int symbols_cmp_r(const void *a, const void *b, const void *priv) in symbols_cmp_r() argument
2668 static void symbols_swap_r(void *a, void *b, int size, const void *priv) in symbols_swap_r() argument
2670 const struct multi_symbols_sort *data = priv; in symbols_swap_r()