Searched refs:num (Results 1 – 3 of 3) sorted by relevance
/block/partitions/ |
D | ldm.c | 1248 int rec, num, group; in ldm_frag_add() local 1259 num = get_unaligned_be16(data + 0x0E); in ldm_frag_add() 1260 if ((num < 1) || (num > 4)) { in ldm_frag_add() 1261 ldm_error ("A VBLK claims to have %d parts.", num); in ldm_frag_add() 1264 if (rec >= num) { in ldm_frag_add() 1265 ldm_error("REC value (%d) exceeds NUM value (%d)", rec, num); in ldm_frag_add() 1275 f = kmalloc (sizeof (*f) + size*num, GFP_KERNEL); in ldm_frag_add() 1282 f->num = num; in ldm_frag_add() 1284 f->map = 0xFF << num; in ldm_frag_add() 1288 if (rec >= f->num) { in ldm_frag_add() [all …]
|
D | ldm.h | 107 u8 num; /* Total number of records */ member
|
/block/ |
D | sed-opal.c | 77 int num; member 693 if (n >= resp->num) { in response_get_token() 695 n, resp->num); in response_get_token() 866 resp->num = num_entries; in response_parse() 880 if (n >= resp->num) { in response_get_string() 882 resp->num, n); in response_get_string() 902 if (n >= resp->num) { in response_get_u64() 904 resp->num, n); in response_get_u64() 941 if (resp->num < 5) in response_status() 944 tok = response_get_token(resp, resp->num - 5); in response_status() [all …]
|