Home
last modified time | relevance | path

Searched refs:src_value (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_pinning.c42 int zero = 0, src_value, dst_value, err; in bpf_obj_pinning_detached() local
94 src_value = 0xcafebeef; in bpf_obj_pinning_detached()
95 err = bpf_map_update_elem(map_fd, &zero, &src_value, 0); in bpf_obj_pinning_detached()
102 ASSERT_EQ(dst_value, src_value, "map_value_eq1"); in bpf_obj_pinning_detached()
123 static void validate_pin(int map_fd, const char *map_name, int src_value, in validate_pin() argument
169 err = bpf_map_update_elem(map_fd, &zero, &src_value, 0); in validate_pin()
176 ASSERT_EQ(dst_value, src_value, "map_value_eq"); in validate_pin()
183 static void validate_get(int map_fd, const char *map_name, int src_value, in validate_get() argument
230 err = bpf_map_update_elem(map_fd, &zero, &src_value, 0); in validate_get()
237 ASSERT_EQ(dst_value, src_value, "map_value_eq"); in validate_get()
/linux-6.6.21/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y1677 u_int src_value; in format_1_instr() local
1685 src_value = 0xFF; in format_1_instr()
1687 src_value = 0; in format_1_instr()
1689 src_value = (dst_mode << 4) | src_mode; in format_1_instr()
1695 dst_value = src_value & immed->value; in format_1_instr()
1698 dst_value = src_value ^ immed->value; in format_1_instr()
1701 dst_value = (src_value + immed->value) & 0xFF; in format_1_instr()
1704 dst_value = src_value | immed->value; in format_1_instr()
1707 dst_value = src_value; in format_1_instr()
/linux-6.6.21/drivers/infiniband/core/
Dmulticast.c258 u8 selector, u8 src_value, u8 dst_value) in check_selector() argument
267 err = (src_value <= dst_value); in check_selector()
270 err = (src_value >= dst_value); in check_selector()
273 err = (src_value != dst_value); in check_selector()
/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dmcg.c355 u8 src_value, u8 dst_value) in check_selector() argument
360 src_value &= 0x3f; in check_selector()
367 err = (src_value <= dst_value); in check_selector()
370 err = (src_value >= dst_value); in check_selector()
373 err = (src_value != dst_value); in check_selector()