Lines Matching refs:xlat
639 struct xlat { struct
647 static struct xlat poll_flags[] = { argument
653 static struct xlat sigaction_flags[] = {
658 static struct xlat linux_socketcall_ops[] = {
667 static struct xlat lio_modes[] = {
672 static struct xlat lio_opcodes[] = {
677 static struct xlat aio_fsync_ops[] = {
690 lookup(struct xlat *xlat, int val, int base) in lookup() argument
694 for (; xlat->str != NULL; xlat++) in lookup()
695 if (xlat->val == val) in lookup()
696 return (xlat->str); in lookup()
714 xlookup(struct xlat *xlat, int val) in xlookup() argument
717 return (lookup(xlat, val, 16)); in xlookup()
726 xlookup_bits(struct xlat *xlat, int val) in xlookup_bits() argument
733 for (; xlat->str != NULL; xlat++) { in xlookup_bits()
734 if ((xlat->val & rem) == xlat->val) { in xlookup_bits()
739 if (xlat->val == 0 && val != 0) in xlookup_bits()
741 len += sprintf(str + len, "%s|", xlat->str); in xlookup_bits()
742 rem &= ~(xlat->val); in xlookup_bits()