Lines Matching defs:list

27 #include <linux/list.h>
44 * if in practice there are a lot of different DOIs this list should
59 struct list_head list;
70 struct list_head list;
180 INIT_LIST_HEAD(&cipso_v4_cache[iter].list);
202 &cipso_v4_cache[iter].list, list) {
203 list_del(&entry->list);
248 list_for_each_entry(entry, &cipso_v4_cache[bkt].list, list) {
267 __list_del(entry->list.prev, entry->list.next);
268 __list_add(&entry->list,
269 prev_entry->list.prev,
270 &prev_entry->list);
290 * head of the cache bucket's list, if the cache bucket is out of room remove
291 * the last entry in the list first. It is important to note that there is
327 list_add(&entry->list, &cipso_v4_cache[bkt].list);
330 old_entry = list_entry(cipso_v4_cache[bkt].list.prev,
331 struct cipso_v4_map_cache_entry, list);
332 list_del(&old_entry->list);
333 list_add(&entry->list, &cipso_v4_cache[bkt].list);
355 * Search the DOI definition list for a DOI definition with a DOI value that
363 list_for_each_entry_rcu(iter, &cipso_v4_doi_list, list)
376 * function to add it to the list of acceptable domains. The caller must
426 list_add_tail_rcu(&doi_def->list, &cipso_v4_doi_list);
507 * domain list. Returns zero on success and negative values on failure.
523 list_del_rcu(&doi_def->list);
595 * Iterate over the DOI definition list, skipping the first @skip_cnt entries.
597 * 'walking' through the list and return. Updates the value in @skip_cnt upon
610 list_for_each_entry_rcu(iter_doi, &cipso_v4_doi_list, list)
898 * @enumcat: category list
899 * @enumcat_len: length of the category list in bytes
932 * @net_cat: the zero'd out category list in network/CIPSO format
933 * @net_cat_len: the length of the CIPSO category list in bytes
937 * correct CIPSO category list using the given DOI definition. Returns the
967 * @net_cat: the category list in network/CIPSO format
972 * Perform a label mapping to translate a CIPSO category list to the correct
999 * @rngcat: category list
1000 * @rngcat_len: length of the category list in bytes
1040 * @net_cat: the zero'd out category list in network/CIPSO format
1041 * @net_cat_len: the length of the CIPSO category list in bytes
1045 * correct CIPSO category list using the given DOI definition. Returns the
1099 * @net_cat: the category list in network/CIPSO format
1104 * Perform a label mapping to translate a CIPSO category list to the correct