Home
last modified time | relevance | path

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

12

/linux-6.15/tools/testing/selftests/nolibc/
H A Dnolibc-test-linkage.c16 __attribute__((constructor))
22 __attribute__((constructor))
H A Dnolibc-test.c692 __attribute__((constructor))
698 __attribute__((constructor))
741 CASE_TEST(constructor); EXPECT_EQ(is_nolibc, constructor_test_value, 0x3); break; in run_startup()
/linux-6.15/rust/pin-init/
H A DREADME.md45 To initialize a `struct` with an in-place constructor you will need two things:
46 - an in-place constructor,
50 To get an in-place constructor there are generally three options:
51 - directly creating an in-place constructor using the [`pin_init!`] macro,
52 - a custom function/macro returning an in-place constructor provided by someone else,
70 [structurally pinned fields]. After doing this, you can then create an in-place constructor via
/linux-6.15/tools/testing/selftests/
H A Dkselftest_harness.h190 static void __attribute__((constructor)) _register_##test_name(void) \
234 static void __attribute__((constructor)) \
360 static void __attribute__((constructor)) \
462 static void __attribute__((constructor)) \
876 static void __attribute__((constructor)) \
1329 static void __attribute__((constructor)) __constructor_order_first(void) in __constructor_order_first()
/linux-6.15/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-6.15/tools/testing/selftests/sched_ext/
H A Dscx_test.h76 __attribute__((constructor)) \
/linux-6.15/tools/testing/selftests/openat2/
H A Dhelpers.c96 void __attribute__((constructor)) init(void) in init()
/linux-6.15/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-6.15/tools/testing/selftests/rseq/
H A Drseq.c203 static __attribute__((constructor))
/linux-6.15/include/net/
H A Dinet_frag.h110 void (*constructor)(struct inet_frag_queue *q, member
H A Dneighbour.h211 int (*constructor)(struct neighbour *); member
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dcustom_sec_handlers.c59 __attribute__((constructor))
/linux-6.15/tools/testing/selftests/iommu/
H A Diommufd_fail_nth.c42 static __attribute__((constructor)) void setup_buffer(void) in setup_buffer()
59 static __attribute__((constructor)) void setup_fault_injection(void) in setup_fault_injection()
/linux-6.15/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-6.15/tools/testing/selftests/powerpc/pmu/ebb/
H A Debb.c477 static void __attribute__((constructor)) ebb_init(void) in ebb_init()
/linux-6.15/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-6.15/net/ieee802154/6lowpan/
H A Dreassembly.c527 lowpan_frags.constructor = lowpan_frag_init; in lowpan_net_frag_init()
/linux-6.15/net/ipv6/netfilter/
H A Dnf_conntrack_reasm.c558 nf_frags.constructor = ip6frag_init; in nf_ct_frag6_init()
/linux-6.15/net/ipv6/
H A Dreassembly.c577 ip6_frags.constructor = ip6frag_init; in ipv6_frag_init()
/linux-6.15/tools/testing/selftests/net/
H A Dreuseport_bpf.c440 static __attribute__((constructor)) void main_ctor(void) in main_ctor()
/linux-6.15/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()
/linux-6.15/Documentation/gpu/amdgpu/display/
H A Dprogramming-model-dcn.rst128 like a constructor responsible for the basic software initialization and

12