| /linux/tools/testing/selftests/nolibc/ |
| H A D | nolibc-test-linkage.c | 14 __attribute__((constructor)) 20 __attribute__((constructor))
|
| H A D | nolibc-test.c | 71 /* will be used by constructor tests */ 706 __attribute__((constructor)) in run_startup() 712 __attribute__((constructor)) in run_startup() 791 CASE_TEST(constructor); EXPECT_EQ(is_nolibc, constructor_test_value, 0x3); break; in test_dirent()
|
| /linux/rust/pin-init/ |
| H A D | README.md | 63 To initialize a `struct` with an in-place constructor you will need two things: 64 - an in-place constructor, 68 To get an in-place constructor there are generally three options: 69 - directly creating an in-place constructor using the [`pin_init!`] macro, 70 - a custom function/macro returning an in-place constructor provided by someone else, 88 [structurally pinned fields]. After doing this, you can then create an in-place constructor via
|
| /linux/tools/testing/selftests/ |
| H A D | kselftest_harness.h | 197 static void __attribute__((constructor(KSELFTEST_PRIO_TEST))) _register_##test_name(void) \ 241 static void __attribute__((constructor(KSELFTEST_PRIO_TEST))) \ 367 static void __attribute__((constructor(KSELFTEST_PRIO_TEST))) \ 471 static void __attribute__((constructor(KSELFTEST_PRIO_TEST))) \ 886 static void __attribute__((constructor(KSELFTEST_PRIO_XFAIL))) \ 1327 static void __attribute__((constructor(KSELFTEST_PRIO_TEST))) __constructor_order_first(void) in __constructor_order_first()
|
| /linux/Documentation/livepatch/ |
| H A D | shadow-vars.rst | 41 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 D | scx_test.h | 76 __attribute__((constructor)) \
|
| /linux/tools/testing/selftests/openat2/ |
| H A D | helpers.c | |
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | writecache.rst | 56 when this option is activated (either in the constructor 112 See above "cleaner" constructor documentation.
|
| H A D | switch.rst | 100 The region number (region size was specified in constructor parameters).
|
| /linux/include/net/ |
| H A D | inet_frag.h | 110 void (*constructor)(struct inet_frag_queue *q, member
|
| H A D | neighbour.h | 218 int (*constructor)(struct neighbour *); member
|
| /linux/tools/testing/selftests/rseq/ |
| H A D | rseq.c | 200 static __attribute__((constructor))
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | custom_sec_handlers.c | 59 __attribute__((constructor))
|
| H A D | task_local_data.h | 296 __attribute__((constructor(101))) \
|
| /linux/tools/testing/selftests/iommu/ |
| H A D | iommufd_fail_nth.c | 42 static __attribute__((constructor)) void setup_buffer(void) in setup_buffer() 59 static __attribute__((constructor)) void setup_fault_injection(void) in setup_fault_injection()
|
| /linux/Documentation/networking/ |
| H A D | netdevices.rst | 123 /* Implicit constructor */ 133 /* End of constructor, set the destructor: */ 159 There is no explicit constructor callback, driver "constructs" the private
|
| /linux/tools/testing/selftests/powerpc/pmu/ebb/ |
| H A D | ebb.c | 477 static void __attribute__((constructor)) ebb_init(void) in ebb_init()
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_rw.c | 478 void (*constructor)(struct svc_rdma_write_info *info, in svc_rdma_build_writes() 505 constructor(info, write_len, ctxt); in svc_rdma_build_writes()
|
| /linux/net/ieee802154/6lowpan/ |
| H A D | reassembly.c | 527 lowpan_frags.constructor = lowpan_frag_init; in lowpan_net_frag_init()
|
| /linux/net/ipv6/netfilter/ |
| H A D | nf_conntrack_reasm.c | 559 nf_frags.constructor = ip6frag_init; in nf_ct_frag6_init()
|
| /linux/tools/testing/selftests/net/ |
| H A D | reuseport_bpf.c | 441 static __attribute__((constructor)) void main_ctor(void) in main_ctor()
|
| /linux/net/ipv4/ |
| H A D | inet_fragment.c | 377 f->constructor(q, arg); in inet_frag_alloc()
|
| H A D | arp.c | 158 .constructor = arp_constructor,
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-kernel-slab | 141 constructor function, which is invoked for each object when a
|
| /linux/samples/bpf/ |
| H A D | xdp_sample_user.c | 1665 __attribute__((constructor)) static void sample_ctor(void) in sample_ctor()
|