Searched refs:n_commands (Results 1 - 2 of 2) sorted by last modified time

/linux-master/include/uapi/linux/
H A Dcxl_mem.h147 * @n_commands: In/out parameter. When @n_commands is > 0, the driver will
148 * return min(num_support_commands, n_commands). When @n_commands
152 * by userspace to be at least min(num_support_commands, @n_commands)
160 * - { .n_commands = 0 } // Get number of supported commands
161 * - { .n_commands = 15, .commands = buf } // Return first 15 (or less)
171 * If n_commands is 0, kernel will only return number of commands and
175 __u32 n_commands; member in struct:cxl_mem_query_commands
/linux-master/drivers/cxl/core/
H A Dmbox.c532 u32 n_commands; local
537 if (get_user(n_commands, &q->n_commands))
541 if (n_commands == 0)
542 return put_user(ARRAY_SIZE(cxl_mem_commands), &q->n_commands);
545 * otherwise, return max(n_commands, total commands) cxl_command_info
559 if (j == n_commands)

Completed in 330 milliseconds