Home
last modified time | relevance | path

Searched +defs:val +defs:zero (Results 1 – 25 of 59) sorted by relevance

123

/linux-6.14.4/samples/bpf/
Dibumad_kern.c80 u64 zero = 0, *val; in on_ib_umad_read_recv() local
100 u64 zero = 0, *val; in on_ib_umad_read_send() local
120 u64 zero = 0, *val; in on_ib_umad_write() local
Doffwaketime.bpf.c79 u64 zero = 0, *val; in update_counts() local
/linux-6.14.4/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_pinning.c18 static inline int sys_fsconfig(int fs_fd, unsigned cmd, const char *key, const void *val, int aux) in sys_fsconfig()
42 int zero = 0, src_value, dst_value, err; in bpf_obj_pinning_detached() local
129 int zero = 0, dst_value, map_fd2, err; in validate_pin() local
189 int zero = 0, dst_value, map_fd2, err; in validate_get() local
Dmmap.c7 __u64 val[512 * 4]; member
20 const int zero = 0, one = 1, two = 2, far = 1500; in test_mmap() local
30 __u64 val = 0; in test_mmap() local
Dtailcalls.c233 int err, map_fd, prog_fd, main_fd, data_fd, i, val; in test_tailcall_count() local
418 static const int zero = 0; in test_tailcall_4() local
508 static const int zero = 0; in test_tailcall_5() local
678 int err, map_fd, prog_fd, main_fd, data_fd, i, val; in test_tailcall_bpf2bpf_2() local
853 struct tailcall_bpf2bpf4__bss val; in test_tailcall_bpf2bpf_4() local
937 int err, map_fd, prog_fd, main_fd, data_fd, i, val; in test_tailcall_bpf2bpf_6() local
1016 int err, map_fd, prog_fd, data_fd, i, val; in test_tailcall_bpf2bpf_fentry_entry() local
1121 __u32 zero = 0, prog1_fd, prog2_fd, map_fd; in poke_update() local
1198 int err, map_fd, prog_fd, main_data_fd, fentry_data_fd, fexit_data_fd, i, val; in test_tailcall_hierarchy_count() local
Dbtf_map_in_map.c28 int err, key = 0, val, i; in test_lookup_update() local
112 int err, inner_map_fd, zero = 0; in test_diff_size() local
Dglobal_data.c78 struct foo val; in test_global_data_struct() local
87 struct foo val; in test_global_data_struct() member
105 int err = -ENOMEM, map_fd, zero = 0; in test_global_data_rdonly() local
/linux-6.14.4/tools/perf/util/bpf_skel/
Dbperf_leader.bpf.c31 struct bpf_perf_event_value val, *prev_val, *diff_val; in BPF_PROG() local
33 __u32 zero = 0; in BPF_PROG() local
/linux-6.14.4/tools/testing/selftests/bpf/progs/
Dtest_mmap.c30 int zero = 0, one = 1, two = 2, far = 1500; in test_mmap() local
31 __u64 val, *p; in test_mmap() local
Dtest_kfunc_dynptr_param.c41 unsigned long val; in BPF_PROG() local
51 unsigned long val = 0; in BPF_PROG() local
63 int ret, zero = 0; in BPF_PROG() local
Dverifier_spin_lock.c8 struct val { struct
17 __type(value, struct val); argument
539 const int zero = 0; in bpf_loop_inside_locked_region() local
540 struct val *val; in bpf_loop_inside_locked_region() local
Dtest_spin_lock.c53 struct hmap_elem zero = {}, *val; in bpf_spin_lock_test() local
Dsetget_sockopt.c278 int ifindex, zero = 0; in binddev_test() local
317 int val = 1314, tmp; in test_tcp_maxseg() local
/linux-6.14.4/arch/x86/events/
Dprobe.c19 perf_msr_probe(struct perf_msr *msr, int cnt, bool zero, void *data) in perf_msr_probe()
23 u64 val; in perf_msr_probe() local
/linux-6.14.4/drivers/media/test-drivers/vivid/
Dvivid-vbi-gen.c16 static void wss_insert(u8 *wss, u32 val, unsigned size) in wss_insert()
27 const unsigned zero = 0x07; in vivid_vbi_gen_wss_raw() local
62 u8 val = (teletext[bit / 8] & (1 << (bit & 7))) ? 0xc0 : 0x10; in vivid_vbi_gen_teletext_raw() local
166 static u8 calc_parity(u8 val) in calc_parity()
/linux-6.14.4/drivers/atm/
Didt77105.c46 #define PUT(val,reg) dev->ops->phy_put(dev,val,IDT77105_##reg) argument
64 u16 val; in get_counter() local
142 static int fetch_stats(struct atm_dev *dev,struct idt77105_stats __user *arg,int zero) in fetch_stats()
Dsuni.c40 #define PUT(val,reg) dev->ops->phy_put(dev,val,SUNI_##reg) argument
95 static int fetch_stats(struct atm_dev *dev,struct sonet_stats __user *arg,int zero) in fetch_stats()
/linux-6.14.4/arch/powerpc/include/asm/
Dword-at-a-time.h21 static inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time… in prep_zero_mask()
37 static inline unsigned long has_zero(unsigned long val, unsigned long *data, const struct word_at_a… in has_zero()
63 unsigned long zero = 0; in has_zero() local
/linux-6.14.4/tools/testing/selftests/powerpc/primitives/
Dword-at-a-time.h21 static inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time… in prep_zero_mask()
37 static inline unsigned long has_zero(unsigned long val, unsigned long *data, const struct word_at_a… in has_zero()
63 unsigned long zero = 0; in has_zero() local
/linux-6.14.4/arch/arm/mm/
Dfault-armv.c225 register unsigned long zero = 0, one = 1, val; in check_writebuffer() local
/linux-6.14.4/drivers/net/wireless/ath/carl9170/
Dmac.c46 u32 val; in carl9170_set_dyn_sifs_ack() local
260 static const u8 zero[ETH_ALEN] = { 0 }; in carl9170_set_mac_reg() local
/linux-6.14.4/arch/x86/kernel/
Dmodule.c93 u64 val; in __write_relocate_add() local
94 u64 zero = 0ULL; in __write_relocate_add() local
/linux-6.14.4/arch/m68k/kernel/
Dsetup_mm.c226 volatile int zero = 0; in setup_arch() local
542 static void m68k_nvram_write_byte(unsigned char val, int addr) in m68k_nvram_write_byte()
/linux-6.14.4/tools/perf/util/
Dpmu.c533 const char *desc, const char *val, FILE *val_fd, in perf_pmu__new_alias()
1241 const char *config_name, u64 val) in evsel__set_config_if_unset()
1303 bool zero) in pmu_format_value()
1389 bool zero, bool apply_hardcoded, in pmu_config_term()
1394 __u64 val, max_val; in pmu_config_term() local
1546 bool zero, bool apply_hardcoded, in perf_pmu__config_terms()
1572 bool zero = !!pmu->perf_event_attr_init_default; in perf_pmu__config() local
/linux-6.14.4/drivers/gpu/drm/msm/
Dmsm_rd.c176 uint64_t val; in rd_open() local
178 uint32_t zero = 0; in rd_open() local

123