/osnet-11/usr/src/cmd/ntfsprogs/ |
H A D | ntfsinfo.c | 523 printf(" UNKNOWN: 0x%08x", (unsigned int)le32_to_cpu(flags)); 525 printf(" (0x%08x)\n", (unsigned)le32_to_cpu(flags)); 587 value_length = le32_to_cpu(attr->u.res.value_length); 592 le32_to_cpu(standard_attr->u.v30.maximum_versions)); 594 le32_to_cpu(standard_attr->u.v30.version_number)); 596 (unsigned int)le32_to_cpu(standard_attr->u.v30.class_id)); 598 (unsigned int)le32_to_cpu(standard_attr->u.v30.owner_id), 599 (unsigned int)le32_to_cpu(standard_attr->u.v30.owner_id)); 601 (unsigned int)le32_to_cpu(standard_attr->u.v30.security_id), 602 (unsigned int)le32_to_cpu(standard_att [all...] |
H A D | ntfslabel.c | 248 new_muse = le32_to_cpu(m->bytes_in_use) - le32_to_cpu(a->length) + 251 if ((u32)new_muse > le32_to_cpu(m->bytes_allocated)) { 256 memmove((char*)a + new_alen, (char*)a + le32_to_cpu(a->length), 257 le32_to_cpu(m->bytes_in_use) - ((char*)a - (char*)m) - 258 le32_to_cpu(a->length)); 340 u32 biu = le32_to_cpu(ctx->mrec->bytes_in_use); 341 if (biu + asize > le32_to_cpu(ctx->mrec->bytes_allocated)) {
|
H A D | mkntfs.c | 701 pos > (char*)m + le32_to_cpu(m->bytes_allocated) || 702 pos + size > (char*)m + le32_to_cpu(m->bytes_allocated)) 705 if (pos - (char*)m > (int)le32_to_cpu(m->bytes_in_use) - 8) 708 biu = le32_to_cpu(m->bytes_in_use); 710 if (biu + size > le32_to_cpu(m->bytes_allocated)) 914 le32_to_cpu(ctx->attr->length)); 916 for (;; a = (ATTR_RECORD*)((char*)a + le32_to_cpu(a->length))) { 918 le32_to_cpu(ctx->mrec->bytes_allocated)) 921 if (((type != AT_UNUSED) && (le32_to_cpu(a->type) > 922 le32_to_cpu(typ [all...] |
H A D | ntfsfix.c | 221 if ((char*)c + le32_to_cpu(a->u.res.value_length) > 222 (char*)m + le32_to_cpu(m->bytes_in_use) || 224 le32_to_cpu(a->u.res.value_length) > le32_to_cpu(a->length)) {
|
H A D | ntfsclone.c | 575 u32 csize = le32_to_cpu(image_hdr.cluster_size); 736 s32 csize = le32_to_cpu(image_hdr.cluster_size); 845 le32_to_cpu( 850 entry = (INDEX_ENTRY *)((u8 *)tmp_indexa + le32_to_cpu( 859 le32_to_cpu( 866 le32_to_cpu(indexr->index_block_size)); 893 le32_to_cpu(iroot->index.entries_offset) + 0x10); 921 if (le32_to_cpu(quota_q->version) == 2) { 976 for (i = 0; i < le32_to_cpu(a->u.res.value_length); i++) { 1042 (unsigned int)le32_to_cpu( [all...] |
H A D | ntfscmp.c | 558 ib_size = le32_to_cpu(cia1.ia->index.allocated_size) + 0x18; 577 le32_to_cpu(cia1.ia-> 660 header_size = le32_to_cpu(a1->length); 840 if (!ret1 && (le32_to_cpu(atype1) <= le32_to_cpu(atype2) || 843 if (!ret2 && (le32_to_cpu(old_atype1) >= le32_to_cpu(atype2) || 858 if (ret2 || le32_to_cpu(atype1) < le32_to_cpu(atype2)) { 866 } else if (ret1 || le32_to_cpu(atype [all...] |
H A D | ntfsresize.c | 761 (unsigned int)le32_to_cpu(resize->ctx->attr->type), 809 (unsigned int)le32_to_cpu(a->type), lcn, 1167 l = (int)le32_to_cpu(a->length) - le16_to_cpu(a->u.nonres.mapping_pairs_offset); 1179 le32_to_cpu(ctx->mrec->bytes_in_use)); 1181 next_attr = (char *)a + le32_to_cpu(a->length); 1185 le32_to_cpu(ctx->mrec->bytes_in_use)); 1187 le32_to_cpu(ctx->mrec->bytes_allocated)); 1189 remains_size = le32_to_cpu(ctx->mrec->bytes_in_use); 1196 if (le32_to_cpu(ctx->mrec->bytes_in_use) + l > 1197 le32_to_cpu(ct [all...] |
H A D | sd.c | 50 acl = (ACL*)((char*)sd + le32_to_cpu(sd->dacl)); 132 sid = (SID*)((char*)sd + le32_to_cpu(sd->owner)); 147 sid = (SID*)((char*)sd + le32_to_cpu(sd->group)); 364 sid = (SID*)((char*)sd + le32_to_cpu(sd->owner)); 377 sid = (SID*)((char*)sd + le32_to_cpu(sd->group)); 472 sid = (SID*)((char*)sd + le32_to_cpu(sd->owner)); 487 sid = (SID*)((char*)sd + le32_to_cpu(sd->group)); 568 sid = (SID*)((char*)sd + le32_to_cpu(sd->owner)); 584 sid = (SID*)((char*)sd + le32_to_cpu(sd->group));
|
H A D | ntfscat.c | 326 return le32_to_cpu(iroot->index_block_size); 349 le32_to_cpu(type));
|
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | big_bswap.h | 12 #define le32_to_cpu(x) __bswap_32(x) macro
|
H A D | little_bswap.h | 12 #define le32_to_cpu(x) (x) macro
|
H A D | epic100.c | 15 #define le32desc_to_virt(addr) bus_to_virt(le32_to_cpu(addr)) 347 while ((le32_to_cpu(tx_ring[entry].status) & (TRING_OWN)) && timer2_running()) 350 if ((le32_to_cpu(tx_ring[entry].status) & TRING_OWN) != 0) 380 status = le32_to_cpu(rx_ring[entry].status); 397 nic->packetlen = le32_to_cpu((rx_ring[entry].buflength))- 4;
|
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | logfile.c | 67 logfile_system_page_size = le32_to_cpu(rp->system_page_size); 68 logfile_log_page_size = le32_to_cpu(rp->log_page_size); 203 if ((u32)(ra_ofs + ra_len) > le32_to_cpu(rp->system_page_size) || 205 le32_to_cpu(rp->system_page_size) || 238 if (le32_to_cpu(ra->seq_number_bits) != (u32)(67 - fs_bits)) { 375 trp = ntfs_malloc(le32_to_cpu(rp->system_page_size)); 383 if (le32_to_cpu(rp->system_page_size) <= NTFS_BLOCK_SIZE) 384 memcpy(trp, rp, le32_to_cpu(rp->system_page_size)); 386 le32_to_cpu(rp->system_page_size), trp) != 387 le32_to_cpu(r [all...] |
H A D | attrib.c | 81 return (s64)le32_to_cpu(a->u.res.value_length); 122 if (le32_to_cpu(a->u.res.value_length) + le16_to_cpu(a->u.res.value_offset) 123 > le32_to_cpu(a->length)) { 128 le32_to_cpu(a->u.res.value_length)); 130 return (s64)le32_to_cpu(a->u.res.value_length); 439 s64 l = le32_to_cpu(a->u.res.value_length); 920 le32_to_cpu(ctx->attr->u.res.value_length) > 1101 le32_to_cpu(ctx->attr->u.res.value_length) > 1703 le32_to_cpu(ctx->attr->length)); 1704 for (;; a = (ATTR_RECORD*)((char*)a + le32_to_cpu( [all...] |
H A D | index.c | 212 return (INDEX_ENTRY *)((u8 *)ih + le32_to_cpu(ih->entries_offset)); 223 return (u8 *)ih + le32_to_cpu(ih->index_length); 340 new_size = le32_to_cpu(ih->index_length) - le16_to_cpu(ie->length); 360 ih->index_length = cpu_to_le32(le32_to_cpu(ih->index_length) + ie_size); 362 le32_to_cpu(ih->index_length) - ((u8 *)pos - (u8 *)ih) - 400 u32 ib_size = (unsigned)le32_to_cpu(ib->index.allocated_size) + 0x18; 684 icx->block_size = le32_to_cpu(ir->index_block_size); 702 (unsigned)le32_to_cpu(icx->cr)); 994 if (!(ib = ntfs_ib_alloc(ib_vcn, le32_to_cpu(ir->index_block_size), 1011 le32_to_cpu(i [all...] |
H A D | dir.c | 140 index_block_size = le32_to_cpu(ir->index_block_size); 147 index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length); 150 le32_to_cpu(ir->index.entries_offset)); 304 if (le32_to_cpu(ia->index.allocated_size) + 0x18 != index_block_size) { 309 mft_no, (unsigned)le32_to_cpu(ia->index. 315 index_end = (u8*)&ia->index + le32_to_cpu(ia->index.index_length); 327 le32_to_cpu(ia->index.entries_offset)); 682 if ((u8*)fn + le32_to_cpu(ctx->attr->u.res.value_length) > 683 (u8*)ctx->attr + le32_to_cpu(ctx->attr->length)) { 813 index_block_size = le32_to_cpu(i [all...] |
H A D | crypto.c | 928 ntfs_log_debug("algorithm_id 0x%x\n", le32_to_cpu(fek->alg_id)); 970 le32_to_cpu(fek->alg_id)); 1034 df_count = le32_to_cpu(df_array->df_count); 1039 (u8*)df_header + le32_to_cpu(df_header->df_length))) { 1041 le32_to_cpu(df_header->cred_header_offset)); 1048 le32_to_cpu( 1050 if (le32_to_cpu(df_cert->thumbprint_size) != thumbprint_size) { 1054 le32_to_cpu(df_cert->thumbprint_size), 1059 le32_to_cpu(df_cert->thumbprint_offset), 1069 fek_size = le32_to_cpu(df_heade [all...] |
H A D | attrlist.c | 117 (unsigned) le32_to_cpu(attr->type)); 159 0 : le32_to_cpu(attr->u.res.value_length), ctx)) { 270 (unsigned) le32_to_cpu(ctx->al_entry->type),
|
H A D | bootsect.c | 80 if (le32_to_cpu(b->checksum) && le32_to_cpu(b->checksum) != i) { 124 le32_to_cpu(b->bpb.large_sectors) ||
|
H A D | collate.c | 170 * u32 i = le32_to_cpu(cr); 207 i = le32_to_cpu(cr);
|
H A D | volume.c | 1112 if ((char*)vinf + le32_to_cpu(a->u.res.value_length) > (char*)ctx->mrec + 1113 le32_to_cpu(ctx->mrec->bytes_in_use) || 1114 le16_to_cpu(a->u.res.value_offset) + le32_to_cpu( 1115 a->u.res.value_length) > le32_to_cpu(a->length)) { 1170 u = le32_to_cpu(a->u.res.value_length) / 2; 1665 if ((char*)c + le32_to_cpu(a->u.res.value_length) > (char*)ctx->mrec + 1666 le32_to_cpu(ctx->mrec->bytes_in_use) || 1668 le32_to_cpu(a->u.res.value_length) > le32_to_cpu(a->length)) {
|
H A D | inode.c | 237 ni->data_size = le32_to_cpu(ctx->attr->u.res.value_length); 510 le32_to_cpu(ale->type)); 913 if (le32_to_cpu(ni->mrec->bytes_allocated) - 914 le32_to_cpu(ni->mrec->bytes_in_use) < 1027 freed = (le32_to_cpu(ni->mrec->bytes_allocated) - 1028 le32_to_cpu(ni->mrec->bytes_in_use)); 1085 record_size = le32_to_cpu(ctx->attr->length);
|
H A D | security.c | 235 le32_to_cpu(sid->sub_authority[j]));
|
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/ |
H A D | mft.h | 102 return le32_to_cpu(m->bytes_in_use);
|
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | md5.c | 42 #define le32_to_cpu(x) cpu_to_le32(x) macro 108 tmp = a + F (b, c, d) + le32_to_cpu (x[i]) + T[i]; 116 tmp = a + G (b, c, d) + le32_to_cpu (x[j & 15]) + T[i+16]; 124 tmp = a + H (b, c, d) + le32_to_cpu (x[j & 15]) + T[i+32]; 132 tmp = a + I (b, c, d) + le32_to_cpu (x[j & 15]) + T[i+48];
|