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

/osnet-11/usr/src/lib/libfru/libfruraw/
H A Dfruraw.c345 int num_sect; local
349 num_sect = fru_get_num_sections(cont, NULL);
350 if (num_sect == -1) {
354 sect = malloc(sizeof (*sect) * (num_sect));
359 acc_err = fru_get_sections(cont, sect, num_sect, NULL);
365 for (i = 0; i < num_sect; i++) {
428 int num_sect; local
439 num_sect = fru_get_num_sections(cont, NULL);
440 if (num_sect == -1) {
444 sects = malloc((num_sect
501 int num_sect; local
[all...]
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Ddisk_io.c168 int soff, num_sect, size = byte_len; local
200 num_sect = sectors_per_vtrack - soff;
214 if (slen > num_sect)
217 read_len = num_sect;
235 if (slen > num_sect
269 if (size > ((num_sect << sector_size_bits) - byte_offset))
270 size = (num_sect << sector_size_bits) - byte_offset;
298 sector += num_sect;

Completed in 24 milliseconds