Searched refs:lock_type_table (Results 1 – 1 of 1) sorted by relevance
1580 } lock_type_table[] = { variable1602 for (unsigned int i = 0; i < ARRAY_SIZE(lock_type_table); i++) { in get_type_str()1603 if (lock_type_table[i].flags == flags) in get_type_str()1604 return lock_type_table[i].str; in get_type_str()1613 for (unsigned int i = 0; i < ARRAY_SIZE(lock_type_table); i++) { in get_type_name()1614 if (lock_type_table[i].flags == flags) in get_type_name()1615 return lock_type_table[i].name; in get_type_name()1622 for (unsigned int i = 0; i < ARRAY_SIZE(lock_type_table); i++) { in get_type_flag()1623 if (!strcmp(lock_type_table[i].name, str)) in get_type_flag()1624 return lock_type_table[i].flags; in get_type_flag()[all …]