/linux-master/lib/ |
H A D | hashtable_test.c | 16 int visited; member in struct:hashtable_test_entry 73 a.visited = 0; 77 b.visited = 0; 81 x->visited++; 90 /* Both entries should have been visited exactly once. */ 91 KUNIT_EXPECT_EQ(test, a.visited, 1); 92 KUNIT_EXPECT_EQ(test, b.visited, 1); 105 b.visited = 0; 110 x->visited++; 114 /* The deleted entry should not have been visited [all...] |
/linux-master/tools/testing/selftests/bpf/map_tests/ |
H A D | array_map_batch_ops.c | 40 static void map_batch_verify(int *visited, __u32 max_entries, int *keys, argument 46 memset(visited, 0, max_entries * sizeof(*visited)); 62 visited[i] = 1; 65 CHECK(visited[i] != 1, "visited checking", 72 int map_fd, *keys, *visited; local 94 visited = calloc(max_entries, sizeof(*visited)); 95 CHECK(!keys || !values || !visited, "mallo [all...] |
H A D | lpm_trie_map_batch_ops.c | 44 static void map_batch_verify(int *visited, __u32 max_entries, argument 51 memset(visited, 0, max_entries * sizeof(*visited)); 58 visited[i] = 1; 61 CHECK(visited[i] != 1, "visited checking", 70 int map_fd, *values, *visited; local 88 visited = malloc(max_entries * sizeof(int)); 89 CHECK(!keys || !values || !visited, "malloc()", "error:%s\n", 95 map_batch_verify(visited, max_entrie [all...] |
H A D | htab_map_batch_ops.c | 41 static void map_batch_verify(int *visited, __u32 max_entries, argument 51 memset(visited, 0, max_entries * sizeof(*visited)); 68 visited[i] = 1; 72 CHECK(visited[i] != 1, "visited checking", 81 int map_fd, *keys, *visited, key; local 103 visited = malloc(max_entries * sizeof(int)); 104 CHECK(!keys || !values || !visited, "malloc()", 133 map_batch_verify(visited, max_entrie [all...] |
/linux-master/scripts/genksyms/ |
H A D | genksyms.h | 39 struct symbol *visited; member in struct:symbol
|
H A D | genksyms.c | 280 sym->visited = NULL; 622 if (!sym->visited) { 624 end = &sym->visited; 625 sym->visited = (struct symbol *)-1L; 828 visited_symbols = sym->visited; 829 sym->visited = NULL;
|
/linux-master/fs/ |
H A D | pnode.c | 557 static void cleanup_umount_visitations(struct list_head *visited) argument 559 while (!list_empty(visited)) { 561 list_first_entry(visited, struct mount, mnt_umounting); 578 LIST_HEAD(visited); 586 * If this mount has already been visited it is known that it's 588 * tree for the mountpoint has already been visited and there is 594 list_add_tail(&mnt->mnt_umounting, &visited); 604 * If the child has already been visited it is 607 * mountpoint has already been visited and there 615 * mount in list that has not been visited ye [all...] |
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_lag.c | 9 u32 visited = GENMASK(lan966x->num_phys_ports - 1, 0); local 18 lan_wr(ANA_PGID_PGID_SET(visited), 21 /* The visited ports bitmask holds the list of ports offloading any 25 * port ID == LAG ID. So we mark as visited all further ports in the 35 visited &= ~BIT(p); 46 if (!port || !port->bond || (visited & BIT(lag))) 78 /* Mark all ports in the same LAG as visited to avoid applying 88 visited |= BIT(p);
|
/linux-master/sound/usb/ |
H A D | clock.c | 256 unsigned long *visited, bool validate) 269 if (test_and_set_bit(entity_id, visited)) { 343 visited, validate); 376 visited, true); 398 visited, validate); 410 * The 'visited' bitfield is used internally to detect recursive loops. 417 DECLARE_BITMAP(visited, 256); 418 memset(visited, 0, sizeof(visited)); 423 return __uac_clock_find_source(chip, fmt, fmt->clock, visited, 254 __uac_clock_find_source(struct snd_usb_audio *chip, const struct audioformat *fmt, int entity_id, unsigned long *visited, bool validate) argument [all...] |
/linux-master/tools/objtool/include/objtool/ |
H A D | check.h | 65 visited : 4, member in struct:instruction
|
/linux-master/tools/perf/util/ |
H A D | metricgroup.c | 800 const struct visited_metric *visited; member in struct:metricgroup_add_iter_data 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, 893 root_metric, visited, table); 917 * @visited: A singly linked list of metric names being added that is used to 931 const struct visited_metric *visited, 940 .parent = visited, 943 for (vm = visited; vm; vm = vm->parent) { 1006 * the visited nod 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) 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) 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) argument [all...] |
H A D | annotate.c | 2463 struct list_head visited; member in struct:basic_block_data 2497 if (basic_block_has_offset(&bb_data->visited, offset)) 2548 /* Check if it's already visited */ 2549 if (basic_block_has_offset(&bb_data->visited, dl->al.offset)) 2632 list_for_each_entry_safe(link, tmp, &bb_data->visited, node) { 2656 .visited = LIST_HEAD_INIT(bb_data.visited), 2678 list_move(&link->node, &bb_data.visited);
|
/linux-master/fs/xfs/scrub/ |
H A D | iscan.c | 49 * the hook code when an inode has been visited with xchk_iscan_mark_visit. 190 * Advance both the scan and the visited cursors. 194 * inodes in these sparse areas, so we must move the visited cursor forward at 206 xfs_ino_t cursor, visited; local 217 visited = XFS_MAXINUMBER; 219 visited = cursor - 1; 223 iscan->__visited_ino = visited; 722 * Mark this inode as having been visited. Callers must hold a sufficiently 758 * has visited this inode and the scan hasn't been aborted due to errors. 783 * No inodes have been visited ye [all...] |
H A D | trace.h | 1281 __field(xfs_ino_t, visited) 1286 __entry->visited = iscan->__visited_ino; 1288 TP_printk("dev %d:%d iscan cursor 0x%llx visited 0x%llx", 1291 __entry->visited) 1309 __field(xfs_ino_t, visited) 1316 __entry->visited = iscan->__visited_ino; 1319 TP_printk("dev %d:%d iscan start 0x%llx cursor 0x%llx visited 0x%llx ino 0x%llx", 1323 __entry->visited, 1339 __field(xfs_ino_t, visited) 1345 __entry->visited [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_rq_dlg_calc_32.c | 304 bool visited[DC__NUM_PIPES__MAX]; local 308 visited[k] = false; 313 if (e2e_pipe_param[i].pipe.src.is_hsplit && !visited[i]) { 320 && e2e_pipe_param[j].pipe.src.is_hsplit && !visited[j]) { 325 visited[j] = true;
|
/linux-master/tools/objtool/ |
H A D | check.c | 3581 u8 visited; local 3605 visited = VISITED_BRANCH << state.uaccess; 3606 if (insn->visited & VISITED_BRANCH_MASK) { 3610 if (insn->visited & visited) 3638 if (!save_insn->visited) { 3643 * save insn hasn't been visited yet, 3671 insn->visited |= visited; 3826 if (insn->hint && !insn->visited [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_rq_dlg_calc_31.c | 1063 bool visited[DC__NUM_PIPES__MAX]; local 1067 visited[k] = false; 1072 if (e2e_pipe_param[i].pipe.src.is_hsplit && !visited[i]) { 1078 if (e2e_pipe_param[j].pipe.src.hsplit_grp == grp && e2e_pipe_param[j].pipe.src.is_hsplit && !visited[j]) { 1082 visited[j] = true;
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_rq_dlg_calc_30.c | 1188 bool visited[DC__NUM_PIPES__MAX] = { false }; local 1192 visited[k] = false; 1197 if (e2e_pipe_param[i].pipe.src.is_hsplit && !visited[i]) { 1204 && e2e_pipe_param[j].pipe.src.is_hsplit && !visited[j]) { 1208 visited[j] = true;
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_rq_dlg_calc_314.c | 1150 bool visited[DC__NUM_PIPES__MAX]; local 1154 visited[k] = false; 1159 if (e2e_pipe_param[i].pipe.src.is_hsplit && !visited[i]) { 1165 if (e2e_pipe_param[j].pipe.src.hsplit_grp == grp && e2e_pipe_param[j].pipe.src.is_hsplit && !visited[j]) { 1169 visited[j] = true;
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | display_mode_vba.c | 523 bool visited[DC__NUM_DPP__MAX]; local 527 visited[k] = false; 540 if (visited[j]) 542 visited[j] = true; 787 if (src_k->is_hsplit && !visited[k] 809 visited[k] = true;
|
/linux-master/include/acpi/ |
H A D | acpi_bus.h | 209 u32 visited:1; member in struct:acpi_device_flags 683 return adev && adev->flags.initialized && adev->flags.visited;
|
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot.c | 2033 unsigned long visited = GENMASK(ocelot->num_phys_ports - 1, 0); local 2044 /* The visited ports bitmask holds the list of ports offloading any 2048 * port ID == LAG ID. So we mark as visited all further ports in the 2058 visited &= ~BIT(port); 2068 if (!bond || (visited & BIT(lag))) 2097 /* Mark all ports in the same LAG as visited to avoid applying 2107 visited |= BIT(port);
|
/linux-master/kernel/trace/ |
H A D | trace_events_filter.c | 2737 printk(KERN_INFO "\npred visited %s\n", field->name); 2806 "Failed, unwanted pred visited for filter %s\n",
|
/linux-master/include/linux/ |
H A D | acpi.h | 728 adev->flags.visited = true; 733 adev->flags.visited = false;
|
/linux-master/net/ipv4/netfilter/ |
H A D | ip_tables.c | 388 int visited = e->comefrom & (1 << hook); local 399 t->verdict < 0) || visited) {
|