Home
last modified time | relevance | path

Searched refs:constructor (Results 1 – 25 of 33) sorted by relevance

12

/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test-linkage.c14 __attribute__((constructor))
20 __attribute__((constructor))
H A Dnolibc-test.c690 __attribute__((constructor))
696 __attribute__((constructor))
739 CASE_TEST(constructor); EXPECT_EQ(is_nolibc, constructor_test_value, 0x3); break; in run_startup()
/linux/rust/pin-init/
H A DREADME.md51 To initialize a `struct` with an in-place constructor you will need two things:
52 - an in-place constructor,
56 To get an in-place constructor there are generally three options:
57 - directly creating an in-place constructor using the [`pin_init!`] macro,
58 - a custom function/macro returning an in-place constructor provided by someone else,
76 [structurally pinned fields]. After doing this, you can then create an in-place constructor via
/linux/tools/testing/selftests/
H A Dkselftest_harness.h188 static void __attribute__((constructor)) _register_##test_name(void) \
232 static void __attribute__((constructor)) \
358 static void __attribute__((constructor)) \
462 static void __attribute__((constructor)) \
877 static void __attribute__((constructor)) \
1303 static void __attribute__((constructor)) __constructor_order_first(void) in __constructor_order_first()
/linux/Documentation/livepatch/
H A Dshadow-vars.rst41 They also allow to call a custom constructor function when a non-zero
45 Note that the constructor is called under klp_shadow_lock spinlock. It allows
61 - initialize the variable using a custom constructor and data when provided
74 - initialize the variable using a custom constructor and data when provided
/linux/tools/testing/selftests/sched_ext/
H A Dscx_test.h76 __attribute__((constructor)) \
/linux/tools/testing/selftests/openat2/
H A Dhelpers.c96 void __attribute__((constructor)) init(void) in init()
/linux/Documentation/admin-guide/device-mapper/
H A Dwritecache.rst56 when this option is activated (either in the constructor
112 See above "cleaner" constructor documentation.
H A Dswitch.rst100 The region number (region size was specified in constructor parameters).
H A Ddm-raid.rst402 1.9.2 Don't emit '- -' on the status table line in case the constructor
404 'D' on the status line. If '- -' is passed into the constructor, emit
/linux/tools/testing/selftests/rseq/
H A Drseq.c203 static __attribute__((constructor))
/linux/include/net/
H A Dinet_frag.h110 void (*constructor)(struct inet_frag_queue *q, member
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcustom_sec_handlers.c59 __attribute__((constructor))
/linux/Documentation/bpf/
H A Dbpf_iterators.rst32 (constructor, next element fetch, destructor) and iterator-specific type
35 constructor/destructor/next APIs.
47 All kfuncs (constructor, next, destructor) have to be named consistently as
70 - constructor, `bpf_iter_<type>_new()`, always initializes iterator state on
71 the stack. If any of the input arguments are invalid, constructor should
85 constructor failed or next returned nothing. Destructor frees up any
91 applicable constructor/destructor/next are callable. I.e., verifier ensures
/linux/Documentation/networking/
H A Dnetdevices.rst121 /* Implicit constructor */
131 /* End of constructor, set the destructor: */
157 There is no explicit constructor callback, driver "constructs" the private
/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Debb.c477 static void __attribute__((constructor)) ebb_init(void) in ebb_init()
/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_rw.c469 void (*constructor)(struct svc_rdma_write_info *info, in svc_rdma_build_writes()
496 constructor(info, write_len, ctxt); in svc_rdma_build_writes()
/linux/net/ieee802154/6lowpan/
H A Dreassembly.c527 lowpan_frags.constructor = lowpan_frag_init; in lowpan_net_frag_init()
/linux/net/ipv6/netfilter/
H A Dnf_conntrack_reasm.c558 nf_frags.constructor = ip6frag_init; in nf_ct_frag6_init()
/linux/net/ipv4/
H A Dinet_fragment.c325 f->constructor(q, arg); in inet_frag_alloc()
H A Dip_fragment.c745 ip4_frags.constructor = ip4_frag_init; in ipfrag_init()
H A Darp.c158 .constructor = arp_constructor,
/linux/tools/testing/selftests/net/
H A Dreuseport_bpf.c440 static __attribute__((constructor)) void main_ctor(void) in main_ctor()
/linux/Documentation/gpu/amdgpu/display/
H A Dprogramming-model-dcn.rst128 like a constructor responsible for the basic software initialization and
/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-slab139 constructor function, which is invoked for each object when a

12