Lines Matching refs:__val
60 #define PREFL_MEMOP_FAIL(__val, __type) do { \
61 if (__val <= 0) { \
62 IORERROR("%s - %s <= 0!", __func__, #__val); \
65 } else if (__val > INT_MAX / (int)sizeof(__type)) { \
66 IORERROR("%s - %s > INT_MAX / sizeof(%s)!", __func__, #__val, #__type);\
72 #define PREFL_MEMOP_PANIC(__val, __type) do { \
73 if (__val <= 0) { \
74 panic("%s - %s <= 0!", __func__, #__val); \
75 } else if (__val > INT_MAX / (int)sizeof(__type)) { \
76 panic("%s - %s > INT_MAX / sizeof(%s)!", __func__, #__val, #__type); \