Lines Matching refs:entry
520 struct tracing_map_entry *entry; in __tracing_map_insert() local
530 entry = TRACING_MAP_ENTRY(map->map, idx); in __tracing_map_insert()
531 test_key = entry->key; in __tracing_map_insert()
534 val = READ_ONCE(entry->val); in __tracing_map_insert()
566 if (!cmpxchg(&entry->key, 0, key_hash)) { in __tracing_map_insert()
572 entry->key = 0; in __tracing_map_insert()
582 WRITE_ONCE(entry->val, elt); in __tracing_map_insert()
585 return entry->val; in __tracing_map_insert()
922 static void destroy_sort_entry(struct tracing_map_sort_entry *entry) in destroy_sort_entry() argument
924 if (!entry) in destroy_sort_entry()
927 if (entry->elt_copied) in destroy_sort_entry()
928 tracing_map_elt_free(entry->elt); in destroy_sort_entry()
930 kfree(entry); in destroy_sort_entry()
1088 struct tracing_map_entry *entry; in tracing_map_sort_entries() local
1090 entry = TRACING_MAP_ENTRY(map->map, i); in tracing_map_sort_entries()
1092 if (!entry->key || !entry->val) in tracing_map_sort_entries()
1095 entries[n_entries] = create_sort_entry(entry->val->key, in tracing_map_sort_entries()
1096 entry->val); in tracing_map_sort_entries()