/third_party/ntfs-3g/libntfs-3g/ |
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] = const_cpu_to_le16('/'); in search_relative() [all …]
|
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()
|
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()
|
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/ |
D | ntfsrecover.h | 143 struct ATTR *getattrentry(unsigned int key, unsigned int lth); 155 void hexdump(const char *buf, unsigned int lth);
|
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; i+=9) { in showhex() [all …]
|
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 - i) < 16 ? lth : 16 + i); in hexdump() [all …]
|
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 …]
|
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() 241 (int)lth, in sanity_indx_list() 250 (int)lth, in sanity_indx_list() 257 (int)lth, in sanity_indx_list() 264 (int)lth, in sanity_indx_list() 271 (int)lth, in sanity_indx_list() 273 if ((lth < 80) || (lth & 7)) { in sanity_indx_list() 275 " length %d\n",lth); in sanity_indx_list() [all …]
|
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/ |
D | ntfs-3g.c | 1101 int lth; in junction_readlink() local 1114 lth = snprintf(*pbuf, ntfs_bad_reparse_lth + 1, in junction_readlink() 1117 if (lth != ntfs_bad_reparse_lth) { in junction_readlink() 1142 int lth; in ntfs_fuse_readlink() local 1194 lth = snprintf(buf, ntfs_bad_reparse_lth + 1, in ntfs_fuse_readlink() 1198 if (lth != ntfs_bad_reparse_lth) in ntfs_fuse_readlink()
|
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()
|