/illumos-gate/ |
H A D | CODE_OF_CONDUCT.md | 8 body size, disability, ethnicity, sex characteristics, gender identity and
|
/illumos-gate/usr/src/boot/common/ |
H A D | bcache.c | 192 nblk = size / bcache_blksize; in write_strategy() 228 if (nblk == 0 && size != 0) in read_strategy() 251 buf, size); in read_strategy() 339 size = i * bcache_blksize; in read_strategy() 341 if (size != 0) { in read_strategy() 343 buf, size); in read_strategy() 349 *rsize = size; in read_strategy() 386 if (size != 0 && nblk == 0) in bcache_strategy() 391 while (size) { in bcache_strategy() 397 csize = size; in bcache_strategy() [all …]
|
H A D | bootstrap.h | 80 size_t size, char *buf, size_t *rsize); 88 size_t size, char *buf, size_t *rsize);
|
H A D | dev_net.c | 234 size_t size __unused, char *buf __unused, size_t *rsize __unused) in net_strategy()
|
H A D | disk.c | 60 display_size(uint64_t size, uint_t sectorsize) in display_size() argument 65 size = size * sectorsize / 1024; in display_size() 67 if (size >= 10485760000LL) { in display_size() 68 size /= 1073741824; in display_size() 70 } else if (size >= 10240000) { in display_size() 71 size /= 1048576; in display_size() 73 } else if (size >= 10000) { in display_size() 74 size /= 1024; in display_size() 77 snprintf(buf, sizeof (buf), "%4" PRIu64 "%cB", size, unit); in display_size()
|
H A D | gfx_fb.c | 456 if (o >= size) in gfx_mem_wr1() 465 if (o >= size) in gfx_mem_wr2() 474 if (o >= size) in gfx_mem_wr4() 490 size_t size; in gfxfb_blt_fill() local 1069 max_alpha = (1 << (rgb_info.red.size + rgb_info.green.size + in alpha_blend() 1113 size_t size; in allocate_glyphbuffer() local 1134 uint32_t size; in gfx_fb_cons_display() local 1903 size = roundup(size * 2, 10) / 10; in gfx_get_font() 1960 size_t size; in builtin_mapping() local 1995 size_t size; in load_font() local [all …]
|
H A D | load_elf.c | 328 Elf_Size size; in __elfN() local 574 size = shdr[i].sh_size; in __elfN() 576 sizeof (size), &size); in __elfN() 633 size = shdr[i].sh_size; in __elfN() 634 archsw.arch_copyin(&size, lastaddr, sizeof (size)); in __elfN() 635 lastaddr += sizeof (size); in __elfN() 645 printf("0x%lx+0x%lx", (long)sizeof (size), (long)size); in __elfN() 666 lastaddr = roundup(lastaddr, sizeof (size)); in __elfN() 836 size_t size; in __elfN() local 853 size = ef.ehdr->e_shnum * ef.ehdr->e_shentsize; in __elfN() [all …]
|
H A D | md.c | 44 #error Image size must be a multiple of 512. 87 md_strategy(void *devdata, int rw, daddr_t blk, size_t size, char *buf, in md_strategy() argument 99 if (size % MD_BLOCK_SIZE) in md_strategy() 103 if ((ofs + size) > MD_IMAGE_SIZE) in md_strategy() 104 size = MD_IMAGE_SIZE - ofs; in md_strategy() 107 *rsize = size; in md_strategy() 111 bcopy(md_image.start + ofs, buf, size); in md_strategy() 114 bcopy(buf, md_image.start + ofs, size); in md_strategy()
|
H A D | module.c | 424 size_t size = 0; in env_get_size() local 430 size++; /* "=" */ in env_get_size() 436 return (size); in env_get_size() 464 size_t size; in build_environment_module() local 481 size = env_get_size(); in build_environment_module() 526 size_t size; in build_font_module() local 580 size += roundup2(size, 8); in build_font_module() 901 size); in file_addmetadata() 903 md->md_size = size; in file_addmetadata() 1288 size = st.st_size - size; in moduledir_readhints() [all …]
|
H A D | multiboot2.c | 686 size = roundup(size, MULTIBOOT_TAG_ALIGN); in module_size() 724 size = roundup2(size, EFI_PAGE_SIZE); in efimemmap_size() 758 size = roundup2(size, MULTIBOOT_TAG_ALIGN); in mbi_size() 760 size = roundup2(size, MULTIBOOT_TAG_ALIGN); in mbi_size() 763 size = roundup2(size, MULTIBOOT_TAG_ALIGN); in mbi_size() 766 size = roundup2(size, MULTIBOOT_TAG_ALIGN); in mbi_size() 769 size = roundup2(size, MULTIBOOT_TAG_ALIGN); in mbi_size() 771 size = roundup2(size, MULTIBOOT_TAG_ALIGN); in mbi_size() 780 size = roundup2(size, MULTIBOOT_TAG_ALIGN); in mbi_size() 790 size = roundup2(size, MULTIBOOT_TAG_ALIGN); in mbi_size() [all …]
|
H A D | nvstore.c | 140 void *data, size_t size) in nvstore_set_var() argument 144 return (st->nvs_cb->nvs_setter(st->nvs_data, type, name, data, size)); in nvstore_set_var()
|
H A D | part.c | 228 gpt_checktbl(const struct gpt_hdr *hdr, uint8_t *tbl, size_t size, in gpt_checktbl() argument 234 cnt = size / hdr->hdr_entsz; in gpt_checktbl() 264 size_t size, i; in ptable_gptread() local 286 size = MIN(MAXTBLSZ, (phdr->hdr_entries * phdr->hdr_entsz + in ptable_gptread() 288 if (dread(dev, tbl, size, phdr->hdr_lba_table) == 0 && in ptable_gptread() 289 gpt_checktbl(phdr, tbl, size * table->sectorsize, in ptable_gptread() 319 size = MIN(MAXTBLSZ, (phdr->hdr_entries * in ptable_gptread() 322 if (dread(dev, tbl, size, phdr->hdr_lba_table) == 0 && in ptable_gptread() 323 gpt_checktbl(phdr, tbl, size * table->sectorsize, in ptable_gptread() 336 size = MIN(hdr.hdr_entries * hdr.hdr_entsz, in ptable_gptread() [all …]
|
H A D | tem.c | 219 size_t size, width, height; in tem_internal_init() local 231 size = width * sizeof (tem_char_t); in tem_internal_init() 232 ptem->tvs_outbuf = malloc(size); in tem_internal_init() 252 size = width * height * sizeof (term_char_t); in tem_internal_init() 253 ptem->tvs_screen_buf = malloc(size); in tem_internal_init()
|
H A D | util.h | 41 #define bzero(buf, size) memset((buf), 0, (size)) argument
|
H A D | vdisk.c | 247 vdisk_strategy(void *devdata, int rw, daddr_t blk, size_t size, in vdisk_strategy() argument 261 if (size == 0 || (size % 512) != 0) in vdisk_strategy() 277 rv = read(vd->vdisk_fd, buf, size); in vdisk_strategy() 280 rv = write(vd->vdisk_fd, buf, size); in vdisk_strategy()
|
H A D | zfs_cmd.c | 63 uint64_t size; in ldi_get_size() local 65 ioctl(fd, DIOCGMEDIASIZE, &size); in ldi_get_size() 66 return (size); in ldi_get_size()
|
/illumos-gate/usr/src/boot/efi/include/IndustryStandard/ |
H A D | Tpm20.h | 920 UINT16 size; member 926 UINT16 size; member 941 UINT16 size; member 947 UINT16 size; member 953 UINT16 size; member 959 UINT16 size; member 965 UINT16 size; member 977 UINT16 size; member 1079 UINT16 size; member 1218 UINT16 size; member [all …]
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | efipart.c | 1046 size, buf, rsize)); in efipart_strategy() 1077 if (size == 0 || (size % 512) != 0) in efipart_realstrategy() 1108 size = size * blkio->Media->BlockSize; in efipart_realstrategy() 1134 bio_size = size; in efipart_realstrategy() 1141 *rsize = size; in efipart_realstrategy() 1147 while (size > 0) { in efipart_realstrategy() 1158 if (size < blksz) in efipart_realstrategy() 1159 blksz = size; in efipart_realstrategy() 1186 blksz = size; in efipart_realstrategy() 1214 size -= blksz; in efipart_realstrategy() [all …]
|
/illumos-gate/usr/src/boot/efi/loader/arch/arm/ |
H A D | ldscript.arm | 40 we can shorten the on-disk segment size. */
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | bootinfo.c | 347 vm_offset_t size; in bi_load() local 435 size = bi_copymodules(0); in bi_load() 436 kernend = roundup(addr + size, PAGE_SIZE); in bi_load()
|
H A D | copy.c | 64 if ((start >= addr) && (start <= addr + size)) { in addr_verify() 76 vm_offset_t addr, size_t size) in memmap_find() argument 114 size_t size) in efi_physaddr() argument 128 off = addr_verify(module, off, size); in efi_physaddr() 149 off = addr_verify(module, laddr, size); in efi_physaddr() 168 size_t size; in efi_loadaddr() local 179 size = *(size_t *)data; in efi_loadaddr() 182 size = st.st_size; in efi_loadaddr() 186 if (size == 0) in efi_loadaddr() 189 pages = EFI_SIZE_TO_PAGES(size); in efi_loadaddr() [all …]
|
H A D | framebuffer.c | 167 while (size > 0) { in efifb_uga_find_pixel() 168 count = min(size, maxcount); in efifb_uga_find_pixel() 203 size -= count; in efifb_uga_find_pixel() 247 uint64_t addr, size; in efifb_uga_locate_framebuffer() local 266 size = le32dec(resattr + 22); in efifb_uga_locate_framebuffer() 273 size = 0; in efifb_uga_locate_framebuffer() 276 if (addr == 0 || size == 0) in efifb_uga_locate_framebuffer() 280 if (size > *sizep) { in efifb_uga_locate_framebuffer() 282 *sizep = size; in efifb_uga_locate_framebuffer() 461 size_t size; in efifb_gop_get_edid() local [all …]
|
H A D | main.c | 961 size_t size; in fw_setup() local 964 size = sizeof (os_indications); in fw_setup() 966 &os_indications, &size); in fw_setup() 967 if (EFI_ERROR(status) || size != sizeof (os_indications) || in fw_setup()
|
H A D | memmap.c | 73 UINTN size, desc_size, key; in efi_getsmap() local 83 size = 0; in efi_getsmap() 85 status = BS->GetMemoryMap(&size, efi_mmap, &key, &desc_size, NULL); in efi_getsmap() 86 efi_mmap = malloc(size); in efi_getsmap() 87 status = BS->GetMemoryMap(&size, efi_mmap, &key, &desc_size, NULL); in efi_getsmap() 99 ndesc = size / desc_size; in efi_getsmap() 158 size_t size; in efi_addsmapdata() local 162 size = smaplen * sizeof (*smapbase); in efi_addsmapdata() 163 file_addmetadata(kfp, MODINFOMD_SMAP, size, smapbase); in efi_addsmapdata()
|
/illumos-gate/usr/src/boot/forth/ |
H A D | support.4th | 145 int pf.size 158 int md.size 161 0 member: md.data \ variable size 369 \ Read buffer size 853 name_buffer .len @ value_buffer .len @ + 5 chars + \ size of result string 1291 \ calculate size of concatenated string
|