Lines Matching defs:file
22 * distribution in the file COPYING); if not, write to the Free Software
173 " -t --tails Wipe file tails\n"
857 * wipe_tails - Wipe the file tails in all its data attributes
862 * Disk space is allocated in clusters. If a file isn't an exact multiple of
1484 * Windows recreates the file at bootup, so it can be wiped without harm.
1572 * free_file - Release the resources used by a file object
1573 * \param file The unwanted file object
1575 * This will free up the memory used by a file object and iterate through the
1580 static void free_file (struct ufile *file)
1586 if (file == NULL)
1589 ntfs_list_for_each_safe(item, tmp, &(file->name)) {
1601 ntfs_list_for_each_safe(item, tmp, &(file->data)) {
1613 free(file->mft);
1614 free(file);
1716 struct ufile *file = NULL;
1727 file = (struct ufile *) malloc(sizeof(struct ufile));
1728 if (file == NULL) {
1732 NTFS_INIT_LIST_HEAD(&(file->name));
1733 NTFS_INIT_LIST_HEAD(&(file->data));
1734 file->inode = record;
1736 file->mft = (MFT_RECORD*)malloc(nv->mft_record_size);
1737 if (file->mft == NULL) {
1738 free_file (file);
1744 free_file(file);
1752 nv->mft_record_size, file->mft) < 1) {
1756 free_file(file);
1763 ctx = ntfs_attr_get_search_ctx(NULL, file->mft);
1765 free_file(file);
1769 /* Wiping file names */
1807 /* Wiping file name length */
1839 /* Wiping file data */
2000 } /* end of 'wiping file data' loop */
2003 free_file(file);
2051 /* read a part of the file bitmap */