Lines Matching refs:list
69 #include "list.h"
78 struct ntfs_list_head list; /* Previous/Next links */
96 struct ntfs_list_head list; /* Previous/Next links */
118 struct ntfs_list_head name; /* A list of filenames */
119 struct ntfs_list_head data; /* A list of data streams */
158 * usage - Print a list of the parameters to the program
160 * Print a list of the parameters and options for the program.
181 " -b list --bytes list List of values to write(default = 0)\n"
194 * parse_list - Read a comma-separated list of numbers
195 * @list: The comma-separated list of numbers
196 * @result: Store the parsed list here (must be freed by caller)
198 * Read a comma-separated list of numbers and allocate an array of ints to store
207 static int parse_list(char *list, int **result)
215 if (!list || !result)
218 for (count = 0, ptr = list; ptr; ptr = strchr(ptr+1, ','))
229 for (ptr = list, i = 0; i < count; i++) {
235 ntfs_log_error("Invalid list '%s'\n", list);
249 ntfs_log_debug("Parsing list '%s' - ", list);
444 /* Create a default list */
451 ntfs_log_error("Couldn't allocate memory for byte list.\n");
1592 f = ntfs_list_entry(item, struct filename, list);
1604 d = ntfs_list_entry(item, struct data, list);