Searched refs:num (Results 1 – 3 of 3) sorted by relevance
/block/partitions/ |
D | ldm.c | 1231 int rec, num, group; in ldm_frag_add() local 1242 num = get_unaligned_be16(data + 0x0E); in ldm_frag_add() 1243 if ((num < 1) || (num > 4)) { in ldm_frag_add() 1244 ldm_error ("A VBLK claims to have %d parts.", num); in ldm_frag_add() 1247 if (rec >= num) { in ldm_frag_add() 1248 ldm_error("REC value (%d) exceeds NUM value (%d)", rec, num); in ldm_frag_add() 1258 f = kmalloc (sizeof (*f) + size*num, GFP_KERNEL); in ldm_frag_add() 1265 f->num = num; in ldm_frag_add() 1267 f->map = 0xFF << num; in ldm_frag_add() 1271 if (rec >= f->num) { in ldm_frag_add() [all …]
|
D | ldm.h | 90 u8 num; /* Total number of records */ member
|
/block/ |
D | sed-opal.c | 72 int num; member 741 if (n >= resp->num) { in response_get_token() 743 n, resp->num); in response_get_token() 910 resp->num = num_entries; in response_parse() 990 if (resp->num < 5) in response_status() 993 tok = response_get_token(resp, resp->num - 5); in response_status() 997 tok = response_get_token(resp, resp->num - 1); in response_status() 1001 return response_get_u64(resp, resp->num - 4); in response_status()
|