Searched refs:nsectors (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/partmap/
H A Dgpt.c130 gpt_partition_map_embed (struct grub_disk *disk, unsigned int *nsectors,
180 if (len < *nsectors)
185 *nsectors = len;
186 *sectors = grub_malloc (*nsectors * sizeof (**sectors));
189 for (i = 0; i < *nsectors; i++)
129 gpt_partition_map_embed(struct grub_disk *disk, unsigned int *nsectors, grub_embed_type_t embed_type, grub_disk_addr_t **sectors) argument
H A Dmsdos.c156 pc_partition_map_embed (struct grub_disk *disk, unsigned int *nsectors,
248 if (end >= *nsectors + 2)
251 *nsectors = end - 2;
252 *sectors = grub_malloc (*nsectors * sizeof (**sectors));
255 for (i = 0; i < *nsectors; i++)
265 if (*nsectors > 62)
155 pc_partition_map_embed(struct grub_disk *disk, unsigned int *nsectors, grub_embed_type_t embed_type, grub_disk_addr_t **sectors) argument
H A Dsunpc.c175 sunpc_partition_map_embed (struct grub_disk *disk, unsigned int *nsectors, argument
226 (partlen < *nsectors + usablestart))
354 *nsectors = usablelen;
356 *sectors = grub_zalloc (*nsectors * sizeof (**sectors));
362 for (i = 0; i < *nsectors; i++)
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dfs.h82 grub_err_t (*embed) (grub_device_t device, unsigned int *nsectors,
H A Dpartition.h51 grub_err_t (*embed) (struct grub_disk *disk, unsigned int *nsectors,
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Data.c319 grub_size_t nsectors = 0; local
320 while (nsectors < size)
325 if (size - nsectors < batch)
326 batch = size - nsectors;
345 nsectors += batch;
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dbtrfs.c1614 unsigned int *nsectors,
1624 if (64 * 2 - 1 < *nsectors)
1629 *nsectors = 64 * 2 - 1;
1630 *sectors = grub_malloc (*nsectors * sizeof (**sectors));
1633 for (i = 0; i < *nsectors; i++)
1613 grub_btrfs_embed(grub_device_t device __attribute__ ((unused)), unsigned int *nsectors, grub_embed_type_t embed_type, grub_disk_addr_t **sectors) argument
/osnet-11/usr/src/grub/grub2/grub-core/fs/zfs/
H A Dzfs.c4742 unsigned int *nsectors,
4752 if ((VDEV_BOOT_SIZE >> GRUB_DISK_SECTOR_BITS) < *nsectors)
4757 *nsectors = (VDEV_BOOT_SIZE >> GRUB_DISK_SECTOR_BITS);
4758 *sectors = grub_malloc (*nsectors * sizeof (**sectors));
4761 for (i = 0; i < *nsectors; i++)
4741 grub_zfs_embed(grub_device_t device __attribute__ ((unused)), unsigned int *nsectors, grub_embed_type_t embed_type, grub_disk_addr_t **sectors) argument

Completed in 42 milliseconds