Searched refs:string_list (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/scripts/genksyms/
H A Dgenksyms.h37 struct string_list { struct
38 struct string_list *next;
48 struct string_list *defn;
57 typedef struct string_list **yystype;
66 struct string_list *defn, int is_extern);
69 void free_node(struct string_list *list);
70 void free_list(struct string_list *s, struct string_list *e);
71 struct string_list *copy_node(struct string_list *);
72 struct string_list *copy_list_range(struct string_list *start,
73 struct string_list *end);
H A Dgenksyms.c68 static int equal_list(struct string_list *a, struct string_list *b);
69 static void print_list(FILE * f, struct string_list *list);
70 static struct string_list *concat_list(struct string_list *start, ...);
71 static struct string_list *mk_node(const char *string);
184 struct string_list *defn; is_unknown_symbol()
198 struct string_list *defn, int is_extern, __add_symbol()
209 static struct string_list *last_enum_expr; __add_symbol()
217 struct string_list *expr; __add_symbol()
322 struct string_list *defn, int is_extern) add_symbol()
328 struct string_list *defn, int is_extern) add_reference_symbol()
335 void free_node(struct string_list *node) free_node()
341 void free_list(struct string_list *s, struct string_list *e) free_list()
344 struct string_list *next = s->next; free_list()
350 static struct string_list *mk_node(const char *string) mk_node()
352 struct string_list *newnode; mk_node()
362 static struct string_list *concat_list(struct string_list *start, ...) concat_list()
365 struct string_list *n, *n2; concat_list()
369 for (va_start(ap, start); (n = va_arg(ap, struct string_list *));) { concat_list()
379 struct string_list *copy_node(struct string_list *node) copy_node()
381 struct string_list *newnode; copy_node()
390 struct string_list *copy_list_range(struct string_list *start, copy_list_range()
391 struct string_list *end) copy_list_range()
393 struct string_list *res, *n; copy_list_range()
406 static int equal_list(struct string_list *a, struct string_list *b) equal_list()
420 static struct string_list *read_node(FILE *f) read_node()
423 struct string_list node = { read_node()
469 struct string_list *defn = NULL; read_reference()
470 struct string_list *sym, *def; read_reference()
502 static void print_node(FILE * f, struct string_list *list) print_node()
511 static void print_list(FILE * f, struct string_list *list) print_list()
513 struct string_list **e, **b; print_list()
514 struct string_list *tmp, **tmp2; print_list()
542 struct string_list *list = sym->defn; expand_and_crc_sym()
543 struct string_list **e, **b; expand_and_crc_sym()
544 struct string_list *tmp, **tmp2; expand_and_crc_sym()
563 struct string_list *cur; expand_and_crc_sym()
596 struct string_list *n; expand_and_crc_sym()
H A Dparse.y34 static struct string_list *decl_spec;
39 remove_node(struct string_list **p)
41 struct string_list *node = *p;
47 remove_list(struct string_list **pb, struct string_list **pe)
49 struct string_list *b = *pb, *e = *pe;
55 static void record_compound(struct string_list **keyw,
56 struct string_list **ident,
57 struct string_list **body,
60 struct string_list *b = *body, *i = *ident, *r;
150 struct string_list *decl = (*$3)->next;
168 { struct string_list *decl = *$1;
176 { struct string_list *decl = *$3;
396 { struct string_list *decl = *$2;
479 struct string_list *expr = copy_list_range(*$3, *$2);
/linux-4.1.27/include/linux/usb/
H A Dgadget_configfs.h77 list_for_each_entry(gs, &gi->string_list, list) { \
86 list_add_tail(&new->list, &gi->string_list); \
/linux-4.1.27/drivers/usb/gadget/
H A Dconfigfs.c54 struct list_head string_list; member in struct:gadget_info
72 struct list_head string_list; member in struct:config_usb_cfg
346 WARN_ON(!list_empty(&gi->string_list)); gadget_info_attr_release()
684 INIT_LIST_HEAD(&cfg->string_list); config_desc_make()
1346 if (!list_empty(&gi->string_list)) { configfs_composite_bind()
1350 list_for_each_entry(gs, &gi->string_list, list) { configfs_composite_bind()
1387 if (!list_empty(&cfg->string_list)) { configfs_composite_bind()
1389 list_for_each_entry(cn, &cfg->string_list, list) { configfs_composite_bind()
1497 INIT_LIST_HEAD(&gi->string_list); gadgets_make()

Completed in 154 milliseconds