Searched refs:PFM_CMD_IS_VALID (Results 1 – 1 of 1) sorted by relevance
376 #define PFM_CMD_IS_VALID(cmd) ((PFM_CMD_IDX(cmd) >= 0) && (PFM_CMD_IDX(cmd) < PFM_CMD_COUNT) \ macro2694 PFM_CMD_IS_VALID(cmd), PFM_CMD_NARG(cmd))); in sys_perfmonctl()2696 if (PFM_CMD_IS_VALID(cmd) == 0) return -EINVAL; in sys_perfmonctl()