Home
last modified time | relevance | path

Searched refs:zero (Results 1 – 25 of 66) sorted by relevance

123

/systemd-251/src/test/
Dtest-unaligned.c33 zero(scratch); in TEST()
36 zero(scratch); in TEST()
40 zero(scratch); in TEST()
43 zero(scratch); in TEST()
46 zero(scratch); in TEST()
49 zero(scratch); in TEST()
53 zero(scratch); in TEST()
56 zero(scratch); in TEST()
59 zero(scratch); in TEST()
62 zero(scratch); in TEST()
[all …]
Dtest-data-fd-util.c23 zero(rbuffer); in test_acquire_data_fd_one()
32 zero(rbuffer); in test_acquire_data_fd_one()
43 zero(rbuffer); in test_acquire_data_fd_one()
Dtest-alloc-util.c13 static const uint8_t zero[997] = { }; in TEST() local
22 assert_se(!memcmp(t, zero, 997)); in TEST()
Dtest-random-util.c49 zero(count); in test_random_u64_range_one()
Dtest-siphash24.c92 zero(two); in TEST()
/systemd-251/test/TEST-64-UDEV-STORAGE/
Dtest.sh88 dd if=/dev/zero of="${TESTDIR:?}/disk$i.img" bs=1M count=1
228 dd if=/dev/zero of="$diskpath" bs=1M count=18
278 dd if=/dev/zero of="$partdisk" bs=1M count=16
316 dd if=/dev/zero of="$partdisk" bs=1M count=110
342 dd if=/dev/zero of="$diskpath" bs=1M count=32
370 dd if=/dev/zero of="$diskpath" bs=1M count="$size"
399 dd if=/dev/zero of="$diskpath" bs=1M count="$size"
421 dd if=/dev/zero of="$testdisk" bs=1M count=64
463 dd if=/dev/zero of="$diskpath" bs=1M count=64
489 dd if=/dev/zero of="$diskpath" bs=1M count=64
/systemd-251/coccinelle/
Dmemzero.cocci6 + zero(s)
11 + zero(*s)
16 + zero(s)
21 + zero(*s)
/systemd-251/src/shared/
Dbpf-program.c74 zero(attr); in bpf_program_get_info_by_fd()
172 zero(attr); in bpf_program_load_kernel()
198 zero(attr); in bpf_program_load_from_bpf_fs()
254 zero(attr); in bpf_program_cgroup_attach()
289 zero(attr); in bpf_program_cgroup_detach()
306 zero(attr); in bpf_map_new()
319 zero(attr); in bpf_map_update_element()
330 zero(attr); in bpf_map_lookup_element()
341 zero(attr); in bpf_program_pin()
Ddissect-image.c932 zero(m->partitions[PARTITION_ROOT_SECONDARY]); in dissect_image()
934 zero(m->partitions[PARTITION_ROOT_SECONDARY_VERITY]); in dissect_image()
936 zero(m->partitions[PARTITION_ROOT_SECONDARY_VERITY_SIG]); in dissect_image()
939 zero(m->partitions[PARTITION_USR_SECONDARY]); in dissect_image()
941 zero(m->partitions[PARTITION_USR_SECONDARY_VERITY]); in dissect_image()
943 zero(m->partitions[PARTITION_USR_SECONDARY_VERITY_SIG]); in dissect_image()
966 zero(m->partitions[PARTITION_ROOT_OTHER]); in dissect_image()
968 zero(m->partitions[PARTITION_ROOT_OTHER_VERITY]); in dissect_image()
970 zero(m->partitions[PARTITION_ROOT_OTHER_VERITY_SIG]); in dissect_image()
973 zero(m->partitions[PARTITION_USR_OTHER]); in dissect_image()
[all …]
Dutmp-wtmp.c242 zero(store.ut_user); in utmp_put_dead_process()
243 zero(store.ut_host); in utmp_put_dead_process()
244 zero(store.ut_tv); in utmp_put_dead_process()
/systemd-251/src/core/bpf/restrict_fs/
Drestrict-fs.bpf.c44 uint32_t *value, *magic_map, zero = 0, *is_allow; in BPF_PROG() local
59 is_allow = bpf_map_lookup_elem(magic_map, &zero); in BPF_PROG()
/systemd-251/docs/
DAUTOMATIC_BOOT_ASSESSMENT.md24 have non-zero counters over those which already reached a counter of zero
70 zero.) If the "tries left" counter is above zero the entry is still considered
72 it reached zero the entry is not tried anymore (entry state "bad"). If the boot
102 tag `+0-3`, i.e. the counter reached zero. At this point the entry will be
DCOREDUMP_PACKAGE_METADATA.md52 Value: a single JSON object encoded as a zero-terminated UTF-8 string
70 The format is a single JSON object, encoded as a zero-terminated `UTF-8` string.
/systemd-251/src/libsystemd/sd-bus/
Dtest-bus-match.c112 zero(mask); in main()
121 zero(mask); in main()
Dtest-bus-server.c145 zero(c); in test_one()
/systemd-251/src/core/
Dbpf-lsm.c207 uint32_t dummy_value = 1, zero = 0; in lsm_bpf_unit_restrict_filesystems() local
238 if (sym_bpf_map_update_elem(inner_map_fd, &zero, &allow, BPF_ANY) != 0) in lsm_bpf_unit_restrict_filesystems()
Dbpf-firewall.c523 zero(u->ip_accounting_extra); in bpf_firewall_prepare_accounting_maps()
869 zero(attr); in bpf_firewall_supported()
897 zero(attr); in bpf_firewall_supported()
/systemd-251/src/core/bpf/restrict_ifaces/
Drestrict-ifaces.bpf.c24 __u32 zero = 0, ifindex; in restrict_network_interfaces_impl() local
/systemd-251/src/basic/
Dstdio-util.h29 zero(_argtypes); \
Dmemory-util.h56 #define zero(x) (memzero(&(x), sizeof(x))) macro
/systemd-251/test/units/
Dtestsuite-67.sh43 dd if=/dev/zero of="${image_dir}/image" bs=1048576 count=64 || exit 1
Dtestsuite-70.sh10 dd if=/dev/zero of=$img bs=1024k count=20 status=none
/systemd-251/
D.lgtm.yml18 - include: cpp/unsigned-difference-expression-compared-zero
/systemd-251/.github/
Dcodeql-custom.qls28 - cpp/unsigned-difference-expression-compared-zero
/systemd-251/src/home/
Dhomework-quota.c65 zero(req); in home_update_quota_classic()

123