Home
last modified time | relevance | path

Searched refs:N_DEVS (Results 1 – 3 of 3) sorted by relevance

/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/block/aoe/
H A Daoedev.c35 #define N_DEVS ((1U<<MINORBITS)/AOE_PARTITIONS) macro
38 static DECLARE_BITMAP(used_minors, N_DEVS);
48 n = find_first_zero_bit(used_minors, N_DEVS); in minor_get_dyn()
49 if (n < N_DEVS) in minor_get_dyn()
80 if (n >= N_DEVS) { in minor_get_static()
117 BUG_ON(minor >= N_DEVS); in minor_free()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/block/aoe/
H A Daoedev.c35 #define N_DEVS ((1U<<MINORBITS)/AOE_PARTITIONS) macro
38 static DECLARE_BITMAP(used_minors, N_DEVS);
48 n = find_first_zero_bit(used_minors, N_DEVS); in minor_get_dyn()
49 if (n < N_DEVS) in minor_get_dyn()
80 if (n >= N_DEVS) { in minor_get_static()
117 BUG_ON(minor >= N_DEVS); in minor_free()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/block/aoe/
H A Daoedev.c35 #define N_DEVS ((1U<<MINORBITS)/AOE_PARTITIONS) macro
38 static DECLARE_BITMAP(used_minors, N_DEVS);
48 n = find_first_zero_bit(used_minors, N_DEVS); in minor_get_dyn()
49 if (n < N_DEVS) in minor_get_dyn()
80 if (n >= N_DEVS) { in minor_get_static()
117 BUG_ON(minor >= N_DEVS); in minor_free()