Lines Matching refs: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);
203 &cipso_v4_cache[iter].list, list) {
204 list_del(&entry->list);
249 list_for_each_entry(entry, &cipso_v4_cache[bkt].list, list) {
268 __list_del(entry->list.prev, entry->list.next);
269 __list_add(&entry->list,
270 prev_entry->list.prev,
271 &prev_entry->list);
291 * head of the cache bucket's list, if the cache bucket is out of room remove
292 * the last entry in the list first. It is important to note that there is
328 list_add(&entry->list, &cipso_v4_cache[bkt].list);
331 old_entry = list_entry(cipso_v4_cache[bkt].list.prev,
332 struct cipso_v4_map_cache_entry, list);
333 list_del(&old_entry->list);
334 list_add(&entry->list, &cipso_v4_cache[bkt].list);
356 * Search the DOI definition list for a DOI definition with a DOI value that
364 list_for_each_entry_rcu(iter, &cipso_v4_doi_list, list)
377 * function to add it to the list of acceptable domains. The caller must
427 list_add_tail_rcu(&doi_def->list, &cipso_v4_doi_list);
508 * domain list. Returns zero on success and negative values on failure.
524 list_del_rcu(&doi_def->list);
596 * Iterate over the DOI definition list, skipping the first @skip_cnt entries.
598 * 'walking' through the list and return. Updates the value in @skip_cnt upon
611 list_for_each_entry_rcu(iter_doi, &cipso_v4_doi_list, list)
899 * @enumcat: category list
900 * @enumcat_len: length of the category list in bytes
933 * @net_cat: the zero'd out category list in network/CIPSO format
934 * @net_cat_len: the length of the CIPSO category list in bytes
938 * correct CIPSO category list using the given DOI definition. Returns the
968 * @net_cat: the category list in network/CIPSO format
973 * Perform a label mapping to translate a CIPSO category list to the correct
1000 * @rngcat: category list
1001 * @rngcat_len: length of the category list in bytes
1041 * @net_cat: the zero'd out category list in network/CIPSO format
1042 * @net_cat_len: the length of the CIPSO category list in bytes
1046 * correct CIPSO category list using the given DOI definition. Returns the
1100 * @net_cat: the category list in network/CIPSO format
1105 * Perform a label mapping to translate a CIPSO category list to the correct