Lines Matching defs:strmap
110 struct strmap {
121 int str_to_value(struct strmap *map, char *str);
122 struct strmap *str_lookup(struct strmap *map, char *str);
123 char *value_to_string(struct strmap *map, int val);
150 struct strmap *Offset_Mode; /* M_SEQUENTIAL, M_RANDOM, etc. */
172 struct strmap *Flag_List[128]; /* flags selected from cmdline */
174 struct strmap *Syscall_List[128]; /* syscalls selected on cmdline */
178 struct strmap *Aio_Strat_List[128]; /* Async io completion types */
185 struct strmap Aio_Strat_Map[] = {
222 struct strmap Omode_Map[] = {
238 struct strmap Syscall_Map[] = {
321 struct strmap Flag_Map[] = {
361 struct strmap Ftype_Map[] = {
585 struct strmap *flags, *sc, *aio_strat;
1321 * Function to convert a string to its corresponding value in a strmap array.
1326 int str_to_value(struct strmap *map, char *str)
1328 struct strmap *mp;
1338 * Function to convert a string to its corresponding entry in a strmap array.
1342 struct strmap *str_lookup(struct strmap *map, char *str)
1344 struct strmap *mp;
1354 * Function to convert a value to its corresponding string in a strmap array.
1358 char *value_to_string(struct strmap *map, int val)
1360 struct strmap *mp;
1377 struct strmap *flgs, *sc;
1382 struct strmap *mp;
1391 struct strmap *type;