Home
last modified time | relevance | path

Searched refs:visited (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v6.6/lib/
Dhashtable_test.c16 int visited; member
73 a.visited = 0; in hashtable_test_hash_add()
77 b.visited = 0; in hashtable_test_hash_add()
81 x->visited++; in hashtable_test_hash_add()
91 KUNIT_EXPECT_EQ(test, a.visited, 1); in hashtable_test_hash_add()
92 KUNIT_EXPECT_EQ(test, b.visited, 1); in hashtable_test_hash_add()
105 b.visited = 0; in hashtable_test_hash_del()
110 x->visited++; in hashtable_test_hash_del()
115 KUNIT_EXPECT_EQ(test, b.visited, 0); in hashtable_test_hash_del()
134 entries[i].visited = 0; in hashtable_test_hash_for_each()
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/map_tests/
Darray_map_batch_ops.c40 static void map_batch_verify(int *visited, __u32 max_entries, int *keys, in map_batch_verify() argument
46 memset(visited, 0, max_entries * sizeof(*visited)); in map_batch_verify()
62 visited[i] = 1; in map_batch_verify()
65 CHECK(visited[i] != 1, "visited checking", in map_batch_verify()
72 int map_fd, *keys, *visited; in __test_map_lookup_and_update_batch() local
94 visited = calloc(max_entries, sizeof(*visited)); in __test_map_lookup_and_update_batch()
95 CHECK(!keys || !values || !visited, "malloc()", "error:%s\n", in __test_map_lookup_and_update_batch()
102 map_batch_verify(visited, max_entries, keys, values, is_pcpu); in __test_map_lookup_and_update_batch()
130 map_batch_verify(visited, max_entries, keys, values, is_pcpu); in __test_map_lookup_and_update_batch()
140 free(visited); in __test_map_lookup_and_update_batch()
Dlpm_trie_map_batch_ops.c44 static void map_batch_verify(int *visited, __u32 max_entries, in map_batch_verify() argument
51 memset(visited, 0, max_entries * sizeof(*visited)); in map_batch_verify()
58 visited[i] = 1; in map_batch_verify()
61 CHECK(visited[i] != 1, "visited checking", in map_batch_verify()
70 int map_fd, *values, *visited; in test_lpm_trie_map_batch_ops() local
88 visited = malloc(max_entries * sizeof(int)); in test_lpm_trie_map_batch_ops()
89 CHECK(!keys || !values || !visited, "malloc()", "error:%s\n", in test_lpm_trie_map_batch_ops()
95 map_batch_verify(visited, max_entries, keys, values); in test_lpm_trie_map_batch_ops()
120 map_batch_verify(visited, max_entries, keys, values); in test_lpm_trie_map_batch_ops()
153 free(visited); in test_lpm_trie_map_batch_ops()
Dhtab_map_batch_ops.c41 static void map_batch_verify(int *visited, __u32 max_entries, in map_batch_verify() argument
51 memset(visited, 0, max_entries * sizeof(*visited)); in map_batch_verify()
68 visited[i] = 1; in map_batch_verify()
72 CHECK(visited[i] != 1, "visited checking", in map_batch_verify()
81 int map_fd, *keys, *visited, key; in __test_map_lookup_and_delete_batch() local
103 visited = malloc(max_entries * sizeof(int)); in __test_map_lookup_and_delete_batch()
104 CHECK(!keys || !values || !visited, "malloc()", in __test_map_lookup_and_delete_batch()
133 map_batch_verify(visited, max_entries, keys, values, is_pcpu); in __test_map_lookup_and_delete_batch()
181 map_batch_verify(visited, max_entries, keys, values, is_pcpu); in __test_map_lookup_and_delete_batch()
245 map_batch_verify(visited, max_entries, keys, values, is_pcpu); in __test_map_lookup_and_delete_batch()
[all …]
/Linux-v6.6/sound/usb/
Dclock.c256 unsigned long *visited, bool validate) in __uac_clock_find_source() argument
267 if (test_and_set_bit(entity_id, visited)) { in __uac_clock_find_source()
325 visited, validate); in __uac_clock_find_source()
346 visited, true); in __uac_clock_find_source()
368 visited, validate); in __uac_clock_find_source()
387 DECLARE_BITMAP(visited, 256); in snd_usb_clock_find_source()
388 memset(visited, 0, sizeof(visited)); in snd_usb_clock_find_source()
393 return __uac_clock_find_source(chip, fmt, fmt->clock, visited, in snd_usb_clock_find_source()
/Linux-v6.6/drivers/net/ethernet/microchip/lan966x/
Dlan966x_lag.c9 u32 visited = GENMASK(lan966x->num_phys_ports - 1, 0); in lan966x_lag_set_aggr_pgids() local
18 lan_wr(ANA_PGID_PGID_SET(visited), in lan966x_lag_set_aggr_pgids()
35 visited &= ~BIT(p); in lan966x_lag_set_aggr_pgids()
45 if (!bond || (visited & BIT(lag))) in lan966x_lag_set_aggr_pgids()
83 visited |= BIT(p); in lan966x_lag_set_aggr_pgids()
/Linux-v6.6/fs/
Dpnode.c557 static void cleanup_umount_visitations(struct list_head *visited) in cleanup_umount_visitations() argument
559 while (!list_empty(visited)) { in cleanup_umount_visitations()
561 list_first_entry(visited, struct mount, mnt_umounting); in cleanup_umount_visitations()
578 LIST_HEAD(visited); in propagate_umount()
594 list_add_tail(&mnt->mnt_umounting, &visited); in propagate_umount()
619 list_add_tail(&child->mnt_umounting, &visited); in propagate_umount()
636 cleanup_umount_visitations(&visited); in propagate_umount()
/Linux-v6.6/scripts/genksyms/
Dgenksyms.c282 sym->visited = NULL; in __add_symbol()
624 if (!sym->visited) { in expand_and_crc_sym()
626 end = &sym->visited; in expand_and_crc_sym()
627 sym->visited = (struct symbol *)-1L; in expand_and_crc_sym()
848 visited_symbols = sym->visited; in main()
849 sym->visited = NULL; in main()
Dgenksyms.h39 struct symbol *visited; member
/Linux-v6.6/tools/perf/util/
Dmetricgroup.c800 const struct visited_metric *visited; member
817 const struct visited_metric *visited,
847 const struct visited_metric *visited, in resolve_metric() argument
893 root_metric, visited, table); in resolve_metric()
931 const struct visited_metric *visited, in __add_metric() argument
940 .parent = visited, in __add_metric()
943 for (vm = visited; vm; vm = vm->parent) { in __add_metric()
1084 const struct visited_metric *visited, in add_metric() argument
1094 system_wide, root_metric, visited, table); in add_metric()
1108 system_wide, root_metric, visited, table); in add_metric()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_rq_dlg_calc_32.c304 bool visited[DC__NUM_PIPES__MAX]; in dml32_rq_dlg_get_dlg_reg() local
308 visited[k] = false; in dml32_rq_dlg_get_dlg_reg()
313 if (e2e_pipe_param[i].pipe.src.is_hsplit && !visited[i]) { in dml32_rq_dlg_get_dlg_reg()
320 && e2e_pipe_param[j].pipe.src.is_hsplit && !visited[j]) { in dml32_rq_dlg_get_dlg_reg()
325 visited[j] = true; in dml32_rq_dlg_get_dlg_reg()
/Linux-v6.6/tools/objtool/include/objtool/
Dcheck.h65 visited : 4, member
/Linux-v6.6/tools/objtool/
Dcheck.c3549 u8 visited; in validate_branch() local
3573 visited = VISITED_BRANCH << state.uaccess; in validate_branch()
3574 if (insn->visited & VISITED_BRANCH_MASK) { in validate_branch()
3578 if (insn->visited & visited) in validate_branch()
3606 if (!save_insn->visited) { in validate_branch()
3627 insn->visited |= visited; in validate_branch()
3782 if (insn->hint && !insn->visited && !insn->ignore) { in validate_unwind_hint()
3828 if (insn->visited & VISITED_UNRET) in validate_unret()
3831 insn->visited |= VISITED_UNRET; in validate_unret()
4033 if (insn->visited) in ignore_unreachable_insn()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c1188 bool visited[DC__NUM_PIPES__MAX] = { false }; in dml_rq_dlg_get_dlg_params() local
1192 visited[k] = false; in dml_rq_dlg_get_dlg_params()
1197 if (e2e_pipe_param[i].pipe.src.is_hsplit && !visited[i]) { in dml_rq_dlg_get_dlg_params()
1204 && e2e_pipe_param[j].pipe.src.is_hsplit && !visited[j]) { in dml_rq_dlg_get_dlg_params()
1208 visited[j] = true; in dml_rq_dlg_get_dlg_params()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c1063 bool visited[DC__NUM_PIPES__MAX]; in dml_rq_dlg_get_dlg_params() local
1067 visited[k] = false; in dml_rq_dlg_get_dlg_params()
1072 if (e2e_pipe_param[i].pipe.src.is_hsplit && !visited[i]) { in dml_rq_dlg_get_dlg_params()
1078 …_pipe_param[j].pipe.src.hsplit_grp == grp && e2e_pipe_param[j].pipe.src.is_hsplit && !visited[j]) { in dml_rq_dlg_get_dlg_params()
1082 visited[j] = true; in dml_rq_dlg_get_dlg_params()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c1150 bool visited[DC__NUM_PIPES__MAX]; in dml_rq_dlg_get_dlg_params() local
1154 visited[k] = false; in dml_rq_dlg_get_dlg_params()
1159 if (e2e_pipe_param[i].pipe.src.is_hsplit && !visited[i]) { in dml_rq_dlg_get_dlg_params()
1165 …_pipe_param[j].pipe.src.hsplit_grp == grp && e2e_pipe_param[j].pipe.src.is_hsplit && !visited[j]) { in dml_rq_dlg_get_dlg_params()
1169 visited[j] = true; in dml_rq_dlg_get_dlg_params()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_vba.c523 bool visited[DC__NUM_DPP__MAX]; in fetch_pipe_params() local
527 visited[k] = false; in fetch_pipe_params()
540 if (visited[j]) in fetch_pipe_params()
542 visited[j] = true; in fetch_pipe_params()
787 if (src_k->is_hsplit && !visited[k] in fetch_pipe_params()
809 visited[k] = true; in fetch_pipe_params()
/Linux-v6.6/include/acpi/
Dacpi_bus.h199 u32 visited:1; member
575 return adev && adev->flags.initialized && adev->flags.visited; in acpi_device_enumerated()
/Linux-v6.6/Documentation/admin-guide/pm/
Dsuspend-flows.rst83 Every device is visited in each phase, but typically it is not physically
143 Every device is visited in each phase, but typically it is not physically
/Linux-v6.6/include/linux/
Dacpi.h726 adev->flags.visited = true; in acpi_device_set_enumerated()
731 adev->flags.visited = false; in acpi_device_clear_enumerated()
/Linux-v6.6/drivers/net/ethernet/mscc/
Docelot.c2033 unsigned long visited = GENMASK(ocelot->num_phys_ports - 1, 0); in ocelot_set_aggr_pgids() local
2058 visited &= ~BIT(port); in ocelot_set_aggr_pgids()
2068 if (!bond || (visited & BIT(lag))) in ocelot_set_aggr_pgids()
2107 visited |= BIT(port); in ocelot_set_aggr_pgids()
/Linux-v6.6/net/ipv4/netfilter/
Darp_tables.c324 int visited = e->comefrom & (1 << hook); in mark_source_chains() local
336 t->verdict < 0) || visited) { in mark_source_chains()
Dip_tables.c388 int visited = e->comefrom & (1 << hook); in mark_source_chains() local
399 t->verdict < 0) || visited) { in mark_source_chains()
/Linux-v6.6/net/ipv6/netfilter/
Dip6_tables.c406 int visited = e->comefrom & (1 << hook); in mark_source_chains() local
417 t->verdict < 0) || visited) { in mark_source_chains()
/Linux-v6.6/drivers/acpi/
Dscan.c2178 bool skip = !first_pass && device->flags.visited; in acpi_bus_attach()
2206 } else if (device->flags.visited) { in acpi_bus_attach()

12