Home
last modified time | relevance | path

Searched refs:n_commands (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/include/uapi/linux/
H A Dcxl_mem.h143 * @n_commands: In/out parameter. When @n_commands is > 0, the driver will
144 * return min(num_support_commands, n_commands). When @n_commands
148 * by userspace to be at least min(num_support_commands, @n_commands)
156 * - { .n_commands = 0 } // Get number of supported commands
157 * - { .n_commands = 15, .commands = buf } // Return first 15 (or less)
167 * If n_commands is 0, kernel will only return number of commands and
171 __u32 n_commands; member
/kernel/linux/linux-6.6/drivers/cxl/core/
H A Dmbox.c519 u32 n_commands; in cxl_query_cmd() local
524 if (get_user(n_commands, &q->n_commands)) in cxl_query_cmd()
528 if (n_commands == 0) in cxl_query_cmd()
529 return put_user(ARRAY_SIZE(cxl_mem_commands), &q->n_commands); in cxl_query_cmd()
532 * otherwise, return max(n_commands, total commands) cxl_command_info in cxl_query_cmd()
546 if (j == n_commands) in cxl_query_cmd()

Completed in 3 milliseconds