Searched refs:num_sect (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/lib/libfru/libfruraw/ |
H A D | fruraw.c | 345 int num_sect; in find_segment() local 349 num_sect = fru_get_num_sections(cont, NULL); in find_segment() 350 if (num_sect == -1) { in find_segment() 354 sect = malloc(sizeof (*sect) * (num_sect)); in find_segment() 359 acc_err = fru_get_sections(cont, sect, num_sect, NULL); in find_segment() 365 for (i = 0; i < num_sect; i++) { in find_segment() 428 int num_sect; in frt_for_each_segment() local 439 num_sect = fru_get_num_sections(cont, NULL); in frt_for_each_segment() 440 if (num_sect == -1) { in frt_for_each_segment() 444 sects = malloc((num_sect + 1) * sizeof (section_t)); in frt_for_each_segment() [all …]
|
/titanic_41/usr/src/cmd/sgs/mcs/common/ |
H A D | main.c | 55 int error_count = 0, num_sect = 0, errflag = 0; in main() local 136 num_sect++; in main() 186 if ((num_sect >= 2) && (CHK_OPT(cmd_info, pFLAG) || in main() 198 if (num_sect == 0 && my_prog == MCS) { in main()
|
/titanic_41/usr/src/grub/grub-0.97/stage2/ |
H A D | disk_io.c | 169 int soff, num_sect, size = byte_len; in rawread() local 201 num_sect = sectors_per_vtrack - soff; in rawread() 215 if (slen > num_sect) in rawread() 218 read_len = num_sect; in rawread() 236 if (slen > num_sect in rawread() 270 if (size > ((num_sect << sector_size_bits) - byte_offset)) in rawread() 271 size = (num_sect << sector_size_bits) - byte_offset; in rawread() 299 sector += num_sect; in rawread()
|
/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_ioctl.c | 1865 int num_sect; in tavor_flash_erase_chip() local 1912 num_sect = state->ts_fw_device_sz / size; in tavor_flash_erase_chip() 1914 for (i = 0; i < num_sect; i++) { in tavor_flash_erase_chip()
|
/titanic_41/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_ioctl.c | 1985 int num_sect; in hermon_flash_erase_chip() local 2047 num_sect = state->hs_fw_device_sz / size; in hermon_flash_erase_chip() 2049 for (i = 0; i < num_sect; i++) { in hermon_flash_erase_chip()
|