Home
last modified time | relevance | path

Searched refs:visited (Results 1 - 25 of 44) sorted by relevance

12

/kernel/linux/linux-6.6/lib/
H A 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()
90 /* Both entries should have been visited exactly once. */ 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()
114 /* The deleted entry should not have been visited in hashtable_test_hash_del()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/map_tests/
H A Darray_map_batch_ops.c30 static void map_batch_verify(int *visited, __u32 max_entries, in map_batch_verify() argument
35 memset(visited, 0, max_entries * sizeof(*visited)); in map_batch_verify()
39 visited[i] = 1; in map_batch_verify()
42 CHECK(visited[i] != 1, "visited checking", in map_batch_verify()
55 int map_fd, *keys, *values, *visited; in test_array_map_batch_ops() local
73 visited = malloc(max_entries * sizeof(int)); in test_array_map_batch_ops()
74 CHECK(!keys || !values || !visited, "malloc()", "error:%s\n", in test_array_map_batch_ops()
84 map_batch_verify(visited, max_entrie in test_array_map_batch_ops()
[all...]
H A Dhtab_map_batch_ops.c40 static void map_batch_verify(int *visited, __u32 max_entries, in map_batch_verify() argument
50 memset(visited, 0, max_entries * sizeof(*visited)); in map_batch_verify()
67 visited[i] = 1; in map_batch_verify()
71 CHECK(visited[i] != 1, "visited checking", in map_batch_verify()
80 int map_fd, *keys, *visited, key; in __test_map_lookup_and_delete_batch() local
109 visited = malloc(max_entries * sizeof(int)); in __test_map_lookup_and_delete_batch()
110 CHECK(!keys || !values || !visited, "malloc()", in __test_map_lookup_and_delete_batch()
139 map_batch_verify(visited, max_entrie in __test_map_lookup_and_delete_batch()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/map_tests/
H A 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, "mallo in __test_map_lookup_and_update_batch()
[all...]
H A 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_entrie in test_lpm_trie_map_batch_ops()
[all...]
H A 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_entrie in __test_map_lookup_and_delete_batch()
[all...]
/kernel/linux/linux-5.10/sound/usb/
H A Dclock.c268 unsigned long *visited, bool validate) in __uac_clock_find_source()
276 if (test_and_set_bit(entity_id, visited)) { in __uac_clock_find_source()
320 visited, validate); in __uac_clock_find_source()
343 visited, true); in __uac_clock_find_source()
365 visited, validate); in __uac_clock_find_source()
372 unsigned long *visited, bool validate) in __uac3_clock_find_source()
380 if (test_and_set_bit(entity_id, visited)) { in __uac3_clock_find_source()
424 visited, validate); in __uac3_clock_find_source()
443 visited, true); in __uac3_clock_find_source()
466 visited, validat in __uac3_clock_find_source()
266 __uac_clock_find_source(struct snd_usb_audio *chip, struct audioformat *fmt, int entity_id, unsigned long *visited, bool validate) __uac_clock_find_source() argument
370 __uac3_clock_find_source(struct snd_usb_audio *chip, struct audioformat *fmt, int entity_id, unsigned long *visited, bool validate) __uac3_clock_find_source() argument
[all...]
/kernel/linux/linux-6.6/sound/usb/
H A Dclock.c256 unsigned long *visited, bool validate) in __uac_clock_find_source()
267 if (test_and_set_bit(entity_id, visited)) { in __uac_clock_find_source()
325 visited, validate); in __uac_clock_find_source()
354 visited, true); in __uac_clock_find_source()
376 visited, validate); in __uac_clock_find_source()
388 * The 'visited' bitfield is used internally to detect recursive loops.
395 DECLARE_BITMAP(visited, 256); in snd_usb_clock_find_source()
396 memset(visited, 0, sizeof(visited)); in snd_usb_clock_find_source()
401 return __uac_clock_find_source(chip, fmt, fmt->clock, visited, in snd_usb_clock_find_source()
254 __uac_clock_find_source(struct snd_usb_audio *chip, const struct audioformat *fmt, int entity_id, unsigned long *visited, bool validate) __uac_clock_find_source() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A 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()
21 /* The visited ports bitmask holds the list of ports offloading any in lan966x_lag_set_aggr_pgids()
25 * port ID == LAG ID. So we mark as visited all further ports in the in lan966x_lag_set_aggr_pgids()
35 visited &= ~BIT(p); in lan966x_lag_set_aggr_pgids()
46 if (!port || !port->bond || (visited & BIT(lag))) in lan966x_lag_set_aggr_pgids()
78 /* Mark all ports in the same LAG as visited to avoid applying in lan966x_lag_set_aggr_pgids()
88 visited |= BIT(p); in lan966x_lag_set_aggr_pgids()
/kernel/linux/linux-5.10/fs/
H A Dpnode.c519 static void cleanup_umount_visitations(struct list_head *visited) in cleanup_umount_visitations() argument
521 while (!list_empty(visited)) { in cleanup_umount_visitations()
523 list_first_entry(visited, struct mount, mnt_umounting); in cleanup_umount_visitations()
540 LIST_HEAD(visited); in propagate_umount()
548 * If this mount has already been visited it is known that it's in propagate_umount()
550 * tree for the mountpoint has already been visited and there is in propagate_umount()
556 list_add_tail(&mnt->mnt_umounting, &visited); in propagate_umount()
566 * If the child has already been visited it is in propagate_umount()
569 * mountpoint has already been visited and there in propagate_umount()
577 * mount in list that has not been visited ye in propagate_umount()
[all...]
/kernel/linux/linux-6.6/fs/
H A 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()
586 * If this mount has already been visited it is known that it's in propagate_umount()
588 * tree for the mountpoint has already been visited and there is in propagate_umount()
594 list_add_tail(&mnt->mnt_umounting, &visited); in propagate_umount()
604 * If the child has already been visited it is in propagate_umount()
607 * mountpoint has already been visited and there in propagate_umount()
615 * mount in list that has not been visited ye in propagate_umount()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A 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()
/kernel/linux/linux-5.10/scripts/genksyms/
H A 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()
858 visited_symbols = sym->visited; in main()
859 sym->visited = NULL; in main()
H A Dgenksyms.h39 struct symbol *visited; member
/kernel/linux/linux-6.6/scripts/genksyms/
H A 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()
H A Dgenksyms.h39 struct symbol *visited; member
/kernel/linux/linux-6.6/tools/perf/util/
H A Dmetricgroup.c800 const struct visited_metric *visited; member
817 const struct visited_metric *visited,
834 * @visited: A singly linked list of metric names being added that is used to
847 const struct visited_metric *visited, in resolve_metric()
893 root_metric, visited, table); in resolve_metric()
917 * @visited: A singly linked list of metric names being added that is used to
931 const struct visited_metric *visited, in __add_metric()
940 .parent = visited, in __add_metric()
943 for (vm = visited; vm; vm = vm->parent) { in __add_metric()
1006 * the visited nod in __add_metric()
839 resolve_metric(struct list_head *metric_list, const char *pmu, const char *modifier, bool metric_no_group, bool metric_no_threshold, const char *user_requested_cpu_list, bool system_wide, struct metric *root_metric, const struct visited_metric *visited, const struct pmu_metrics_table *table) resolve_metric() argument
922 __add_metric(struct list_head *metric_list, const struct pmu_metric *pm, const char *modifier, bool metric_no_group, bool metric_no_threshold, int runtime, const char *user_requested_cpu_list, bool system_wide, struct metric *root_metric, const struct visited_metric *visited, const struct pmu_metrics_table *table) __add_metric() argument
1076 add_metric(struct list_head *metric_list, const struct pmu_metric *pm, const char *modifier, bool metric_no_group, bool metric_no_threshold, const char *user_requested_cpu_list, bool system_wide, struct metric *root_metric, const struct visited_metric *visited, const struct pmu_metrics_table *table) add_metric() argument
[all...]
/kernel/linux/linux-5.10/tools/objtool/
H A Dcheck.h54 u8 visited; member
H A Dcheck.c2867 u8 visited; in validate_branch() local
2887 visited = VISITED_BRANCH << state.uaccess; in validate_branch()
2888 if (insn->visited & VISITED_BRANCH_MASK) { in validate_branch()
2892 if (insn->visited & visited) in validate_branch()
2921 if (!save_insn->visited) { in validate_branch()
2943 insn->visited |= visited; in validate_branch()
3130 if (insn->hint && !insn->visited) { in validate_unwind_hints()
3157 if (insn->visited in validate_entry()
[all...]
/kernel/linux/linux-6.6/tools/objtool/include/objtool/
H A Dcheck.h65 visited : 4, member
/kernel/linux/linux-6.6/tools/objtool/
H A 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()
3611 * save insn hasn't been visited yet, in validate_branch()
3639 insn->visited |= visited; in validate_branch()
3794 if (insn->hint && !insn->visited in validate_unwind_hint()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/
H A Ddisplay_mode_vba.c372 bool visited[DC__NUM_DPP__MAX]; in fetch_pipe_params() local
376 visited[k] = false; in fetch_pipe_params()
389 if (visited[j]) in fetch_pipe_params()
391 visited[j] = true; in fetch_pipe_params()
605 if (src_k->is_hsplit && !visited[k] in fetch_pipe_params()
627 visited[k] = true; in fetch_pipe_params()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/
H A 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()
/kernel/linux/linux-5.10/include/acpi/
H A Dacpi_bus.h197 u32 visited:1; member
544 return adev && adev->flags.initialized && adev->flags.visited; in acpi_device_enumerated()
/kernel/linux/linux-6.6/include/acpi/
H A Dacpi_bus.h199 u32 visited:1; member
576 return adev && adev->flags.initialized && adev->flags.visited; in acpi_device_enumerated()

Completed in 29 milliseconds

12