1INPUT_GET_NEW_MINOR(9)          Input Subsystem         INPUT_GET_NEW_MINOR(9)
2
3
4

NAME

6       input_get_new_minor - allocates a new input minor number
7

SYNOPSIS

9       int input_get_new_minor(int legacy_base, unsigned int legacy_num,
10                               bool allow_dynamic);
11

ARGUMENTS

13       legacy_base
14           beginning or the legacy range to be searched
15
16       legacy_num
17           size of legacy range
18
19       allow_dynamic
20           whether we can also take ID from the dynamic range
21

DESCRIPTION

23       This function allocates a new device minor for from input major
24       namespace. Caller can request legacy minor by specifying legacy_base
25       and legacy_num parameters and whether ID can be allocated from dynamic
26       range if there are no free IDs in legacy range.
27
29Kernel Hackers Manual 3.10         June 2019            INPUT_GET_NEW_MINOR(9)
Impressum