Searched refs:typdatum (Results 1 – 2 of 2) sorted by relevance
595 struct type_datum *typdatum; in type_index() local597 typdatum = datum; in type_index()600 if (typdatum->primary) { in type_index()601 if (!typdatum->value || typdatum->value > p->p_types.nprim || in type_index()605 p->type_val_to_struct[typdatum->value - 1] = typdatum; in type_index()1480 typdatum = kzalloc(sizeof(*typdatum), GFP_KERNEL); in type_read()1481 if (!typdatum) in type_read()1497 typdatum->primary = 1; in type_read()1499 typdatum->attribute = 1; in type_read()3218 if (typdatum->primary) in type_write()[all …]
1461 struct type_datum *typdatum; in string_to_context_struct() local1511 typdatum = symtab_search(&pol->p_types, scontextp); in string_to_context_struct()1512 if (!typdatum || typdatum->attribute) in string_to_context_struct()1515 ctx->type = typdatum->value; in string_to_context_struct()2036 struct type_datum *typdatum; in services_convert_context() local2091 typdatum = symtab_search(&args->newp->p_types, in services_convert_context()2093 if (!typdatum) in services_convert_context()2095 newc->type = typdatum->value; in services_convert_context()