Home
last modified time | relevance | path

Searched refs:d (Results 1 – 6 of 6) sorted by relevance

/samples/livepatch/
Dlivepatch-shadow-mod.c97 struct dummy *d; in dummy_alloc() local
100 d = kzalloc(sizeof(*d), GFP_KERNEL); in dummy_alloc()
101 if (!d) in dummy_alloc()
104 d->jiffies_expire = jiffies + in dummy_alloc()
110 kfree(d); in dummy_alloc()
115 __func__, d, d->jiffies_expire); in dummy_alloc()
117 return d; in dummy_alloc()
120 static __used noinline void dummy_free(struct dummy *d) in dummy_free() argument
123 __func__, d, d->jiffies_expire); in dummy_free()
125 kfree(d); in dummy_free()
[all …]
Dlivepatch-shadow-fix1.c67 struct dummy *d; in livepatch_fix1_dummy_alloc() local
71 d = kzalloc(sizeof(*d), GFP_KERNEL); in livepatch_fix1_dummy_alloc()
72 if (!d) in livepatch_fix1_dummy_alloc()
75 d->jiffies_expire = jiffies + in livepatch_fix1_dummy_alloc()
87 shadow_leak = klp_shadow_alloc(d, SV_LEAK, sizeof(leak), GFP_KERNEL, in livepatch_fix1_dummy_alloc()
91 __func__, d, leak); in livepatch_fix1_dummy_alloc()
96 __func__, d, d->jiffies_expire); in livepatch_fix1_dummy_alloc()
98 return d; in livepatch_fix1_dummy_alloc()
103 kfree(d); in livepatch_fix1_dummy_alloc()
109 void *d = obj; in livepatch_fix1_dummy_leak_dtor() local
[all …]
Dlivepatch-shadow-fix2.c41 static bool livepatch_fix2_dummy_check(struct dummy *d, unsigned long jiffies) in livepatch_fix2_dummy_check() argument
50 shadow_count = klp_shadow_get_or_alloc(d, SV_COUNTER, in livepatch_fix2_dummy_check()
56 return time_after(jiffies, d->jiffies_expire); in livepatch_fix2_dummy_check()
61 void *d = obj; in livepatch_fix2_dummy_leak_dtor() local
66 __func__, d, *shadow_leak); in livepatch_fix2_dummy_leak_dtor()
69 static void livepatch_fix2_dummy_free(struct dummy *d) in livepatch_fix2_dummy_free() argument
75 shadow_leak = klp_shadow_get(d, SV_LEAK); in livepatch_fix2_dummy_free()
77 klp_shadow_free(d, SV_LEAK, livepatch_fix2_dummy_leak_dtor); in livepatch_fix2_dummy_free()
79 pr_info("%s: dummy @ %p leaked!\n", __func__, d); in livepatch_fix2_dummy_free()
85 shadow_count = klp_shadow_get(d, SV_COUNTER); in livepatch_fix2_dummy_free()
[all …]
/samples/bpf/
Dhash_func01.h7 #define get16bits(d) (*((const __u16 *) (d))) argument
Dtc_l2_redirect.sh171 for d in $test_dirs; do
172 $t $d
/samples/pktgen/
DREADME.rst21 -d : ($DEST_IP) destination IP. CIDR (e.g. 198.18.0.0/15) is also allowed
47 ./pktgen_sample06_numa_awared_queue_irq_affinity.sh -a -i ens1f0 -m 34:80:0d:a3:fc:c9 -t 8
49 ./pktgen_sample06_numa_awared_queue_irq_affinity.sh -a -i ens1f1 -m 34:80:0d:a3:fc:c9 -t 8