/third_party/ntfs-3g/libntfs-3g/ |
H A D | reparse.c | 297 int lth; in search_relative() local 337 lth = 0; in search_relative() 338 while (((pos + lth) < count) in search_relative() 339 && (path[pos + lth] != const_cpu_to_le16('\\'))) in search_relative() 340 lth++; in search_relative() 341 if (lth > 0) in search_relative() 342 inum = ntfs_fix_file_name(curni,&path[pos],lth); in search_relative() 345 if (!lth in search_relative() 357 if (ok && ((pos + lth) < count)) { in search_relative() 358 path[pos + lth] in search_relative() 473 unsigned int lth; valid_reparse_data() local 790 unsigned int lth; ntfs_make_symlink() local [all...] |
H A D | ea.c | 419 int lth; in ntfs_ea_check_wsldev() local 433 lth = ntfs_get_ntfs_ea(ni, buf, bufsize); in ntfs_ea_check_wsldev() 435 if (lth > bufsize) { in ntfs_ea_check_wsldev() 437 bufsize = lth; in ntfs_ea_check_wsldev() 440 lth = ntfs_get_ntfs_ea(ni, buf, bufsize); in ntfs_ea_check_wsldev() 443 if (buf && (lth > 0) && (lth <= bufsize)) { in ntfs_ea_check_wsldev() 456 } while (!found && (next > 0) && (offset < lth)); in ntfs_ea_check_wsldev()
|
H A D | inode.c | 742 u32 lth; in ntfs_inode_sync_standard_information() local 770 lth = le32_to_cpu(lthle); in ntfs_inode_sync_standard_information() 772 && (lth < offsetof(STANDARD_INFORMATION, v3_end))) in ntfs_inode_sync_standard_information() 775 if (lth >= offsetof(STANDARD_INFORMATION, v3_end)) { in ntfs_inode_sync_standard_information()
|
H A D | volume.c | 227 s64 lth; in ntfs_attr_setup_flag() local 231 AT_STANDARD_INFORMATION, AT_UNNAMED, 0, <h); in ntfs_attr_setup_flag() 233 if ((u64)lth >= offsetof(STANDARD_INFORMATION, owner_id)) in ntfs_attr_setup_flag()
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsrecover.h | 143 struct ATTR *getattrentry(unsigned int key, unsigned int lth); 155 void hexdump(const char *buf, unsigned int lth);
|
H A D | ntfssecaudit.c | 2039 static BOOL ishexdump(const char *line, int first, int lth) in ishexdump() argument 2045 ok = (first >= 0) && (lth >= (first + 16)); in ishexdump() 2046 for (i=0; ((first+i)<lth) && ok; i++) { in ishexdump() 2076 int lth; in showhex() local 2095 lth = 0; in showhex() 2100 first = lth; in showhex() 2105 line[lth++] = c; in showhex() 2106 } while (!done && (c != '\n') && (lth < MAXLINE)); in showhex() 2108 isdump = ishexdump(line, first, lth); in showhex() 2159 for (i=first+8; i<lth; in showhex() 2279 int lth; restore() local [all...] |
H A D | ntfsrecover.c | 212 static int replaceusa(struct BUFFER *buffer, unsigned int lth) in replaceusa() argument 230 && ((xusa + 1) < lth) in replaceusa() 231 && ((nusa - 1)*NTFSBLKLTH == lth)) { in replaceusa() 254 struct ATTR *getattrentry(unsigned int key, unsigned int lth) in getattrentry() argument 278 if (pa->namelen < lth) { in getattrentry() 280 sizeof(struct ATTR) + lth); in getattrentry() 287 pa = (struct ATTR*)malloc(sizeof(struct ATTR) + lth); in getattrentry() 389 void hexdump(const char *buf, unsigned int lth) in hexdump() argument 393 for (i=0; i<lth; i+=16) { in hexdump() 395 k = ((lth in hexdump() 1313 int lth; fixup() local [all...] |
H A D | ntfsresize.c | 4086 u64 lth; in rebase_runlists_meta() local 4098 lth = expand->boot_size >> vol->cluster_size_bits; in rebase_runlists_meta() 4103 lth = expand->bitmap_allocated >> vol->cluster_size_bits; in rebase_runlists_meta() 4109 lth = expand->mft_size >> vol->cluster_size_bits; in rebase_runlists_meta() 4114 lth = vol->nr_clusters + expand->cluster_increment; in rebase_runlists_meta() 4115 data_size = lth << vol->cluster_size_bits; in rebase_runlists_meta() 4118 lcn = lth = data_size = 0; in rebase_runlists_meta() 4121 allocated_size = lth << vol->cluster_size_bits; in rebase_runlists_meta() 4148 rl[0].length = lth; in rebase_runlists_meta() 4149 rl[1].vcn = lth; in rebase_runlists_meta() [all...] |
H A D | playlog.c | 227 int lth; in sanity_indx_list() local 233 lth = getle16(buffer,k+8); in sanity_indx_list() 236 switch (lth) { in sanity_indx_list() 239 printf("index to none lth 0x%x" in sanity_indx_list() 241 (int)lth, in sanity_indx_list() 247 printf("index to reparse of 0x%016llx lth 0x%x" in sanity_indx_list() 250 (int)lth, in sanity_indx_list() 254 printf("index to securid 0x%lx lth 0x%x" in sanity_indx_list() 257 (int)lth, in sanity_indx_list() 261 printf("index to securid 0x%lx lth in sanity_indx_list() [all...] |
H A D | ntfsundelete.c | 233 int lth; in regcomp() local 243 lth = ntfs_mbstoucs(pattern, &rp); in regcomp() 244 pre->pattern_len = lth; in regcomp() 247 for (i=0; i<lth; i++) { in regcomp() 255 return (*re && (lth > 0) ? 0 : -1); in regcomp()
|
/third_party/ntfs-3g/src/ |
H A D | ntfs-3g.c | 1102 int lth; in junction_readlink() local 1115 lth = snprintf(*pbuf, ntfs_bad_reparse_lth + 1, in junction_readlink() 1118 if (lth != ntfs_bad_reparse_lth) { in junction_readlink() 1143 int lth; in ntfs_fuse_readlink() local 1195 lth = snprintf(buf, ntfs_bad_reparse_lth + 1, in ntfs_fuse_readlink() 1199 if (lth != ntfs_bad_reparse_lth) in ntfs_fuse_readlink()
|
H A D | lowntfs-3g.c | 1086 int lth; in junction_readlink() local 1099 lth = snprintf(*pbuf, ntfs_bad_reparse_lth + 1, in junction_readlink() 1102 if (lth != ntfs_bad_reparse_lth) { in junction_readlink() 1137 int lth; in ntfs_fuse_readlink() local 1159 lth = snprintf(buf, ntfs_bad_reparse_lth + 1, in ntfs_fuse_readlink() 1163 if (lth != ntfs_bad_reparse_lth) { in ntfs_fuse_readlink()
|