Home
last modified time | relevance | path

Searched refs:file_system_info (Results 1 – 25 of 192) sorted by relevance

12345678

/dports/misc/e2fsprogs-libblkid/e2fsprogs-1.46.5/ext2ed/
H A Dinode_com.c40 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___prev()
49 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in type_ext2_inode___prev()
88 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___next()
130 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___show()
139 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1; in type_ext2_inode___show()
296 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___entry()
378 block_num=inode_offset/file_system_info.block_size; in inode_offset_to_group_num()
380 group_offset=file_system_info.first_group_desc_offset; in inode_offset_to_group_num()
406 block_num=inode_offset/file_system_info.block_size; in inode_offset_to_inode_num()
415 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1; in inode_offset_to_inode_num()
[all …]
H A Dfile_com.c37 file_info.blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size; in init_file_info()
134 if (offset < file_system_info.block_size) { in type_file___offset()
266 for (l=0;l<file_system_info.block_size/16;l++) { in file_show_hex()
330 last_offset=file_system_info.block_size-1; in file_show_text()
471 if (file_info.offset_in_block==file_system_info.block_size) { in type_file___set()
513 last_indirect=last_direct+file_system_info.block_size/4; in file_block_to_global_block()
514 last_dindirect=last_indirect+(file_system_info.block_size/4)*(file_system_info.block_size/4); in file_block_to_global_block()
543 …low_read ((char *) block_table,file_system_info.block_size,table_block*file_system_info.block_size… in return_indirect()
552 f_indirect=block_num/(file_system_info.block_size/4); in return_dindirect()
562 s_indirect=block_num/((file_system_info.block_size/4)*(file_system_info.block_size/4)); in return_tindirect()
[all …]
H A Dgroup_com.c68 if (group_num < 0 || group_num >= file_system_info.groups_count) { in type_ext2_group_desc___entry()
72 device_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc); in type_ext2_group_desc___entry()
94 …offset=file_system_info.first_group_desc_offset+copy_num*file_system_info.super_block.s_blocks_per… in type_ext2_group_desc___gocopy()
96 if (offset > file_system_info.file_system_size) { in type_ext2_group_desc___gocopy()
113 …temp=(device_offset-file_system_info.first_group_desc_offset) % (file_system_info.super_block.s_bl… in type_ext2_group_desc___show()
119 wprintw (show_win,"Group %ld of %ld ",group_num,file_system_info.groups_count-1); in type_ext2_group_desc___show()
129 if (group_num==file_system_info.groups_count-1) { in type_ext2_group_desc___show()
H A Dinit.c380 file_system_info.super_block_offset=1024; in set_file_system_info()
383 …low_read ((char *) &file_system_info.super_block,sizeof (struct ext2_super_block),file_system_info in set_file_system_info()
385 sb=&file_system_info.super_block; in set_file_system_info()
415 if (file_system_info.block_size == EXT2_MIN_BLOCK_SIZE) in set_file_system_info()
418 file_system_info.first_group_desc_offset=file_system_info.block_size; in set_file_system_info()
422 file_system_info.inodes_per_block=file_system_info.block_size/sizeof (struct ext2_inode); in set_file_system_info()
423 file_system_info.blocks_per_group=sb->s_inodes_per_group/file_system_info.inodes_per_block; in set_file_system_info()
425 file_system_info.file_system_size=(ext2fs_blocks_count(sb)-1)*file_system_info.block_size; in set_file_system_info()
430 file_system_info.block_size=DefaultBlockSize; in set_file_system_info()
431 file_system_info.no_blocks_in_group=DefaultBlocksInGroup; in set_file_system_info()
[all …]
H A Dblockbitmap_com.c58 …if (entry_num >= file_system_info.super_block.s_blocks_per_group) { /* Check if it is a valid entr… in type_ext2_block_bitmap___entry()
130 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) { in type_ext2_block_bitmap___allocate()
158 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) { in type_ext2_block_bitmap___deallocate()
221 for (i=0,entry_num=0;i<file_system_info.super_block.s_blocks_per_group/8;i++,ptr++) { in type_ext2_block_bitmap___show()
253 …block_num=block_bitmap_info.entry_num+block_bitmap_info.group_num*file_system_info.super_block.s_b… in type_ext2_block_bitmap___show()
254 block_num+=file_system_info.super_block.s_first_data_block; in type_ext2_block_bitmap___show()
H A Ddir_com.c62 info_ptr->global_block_offset=ptr->i_block [0]*file_system_info.block_size; in init_dir_info()
67 info_ptr->blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size; in init_dir_info()
106 low_read (info.buffer,file_system_info.block_size,info.global_block_offset); in search_dir_entries()
123 next = file_system_info.block_size - info.dir_entry_offset; in search_dir_entries()
129 if (info.dir_entry_offset >= file_system_info.block_size) { /* We crossed a block boundary */ in search_dir_entries()
133 info.global_block_offset=info.global_block_num*file_system_info.block_size; in search_dir_entries()
134 info.file_offset=info.block_num*file_system_info.block_size; in search_dir_entries()
138 low_read (info.buffer,file_system_info.block_size,info.global_block_offset); in search_dir_entries()
403 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); in type_dir___followinode()
676 low_write (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); in type_dir___writedata()
/dports/misc/e2fsprogs-libuuid/e2fsprogs-1.46.5/ext2ed/
H A Dinode_com.c40 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___prev()
49 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in type_ext2_inode___prev()
88 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___next()
130 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___show()
139 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1; in type_ext2_inode___show()
296 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___entry()
378 block_num=inode_offset/file_system_info.block_size; in inode_offset_to_group_num()
380 group_offset=file_system_info.first_group_desc_offset; in inode_offset_to_group_num()
406 block_num=inode_offset/file_system_info.block_size; in inode_offset_to_inode_num()
415 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1; in inode_offset_to_inode_num()
[all …]
H A Dfile_com.c37 file_info.blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size; in init_file_info()
134 if (offset < file_system_info.block_size) { in type_file___offset()
266 for (l=0;l<file_system_info.block_size/16;l++) { in file_show_hex()
330 last_offset=file_system_info.block_size-1; in file_show_text()
471 if (file_info.offset_in_block==file_system_info.block_size) { in type_file___set()
513 last_indirect=last_direct+file_system_info.block_size/4; in file_block_to_global_block()
514 last_dindirect=last_indirect+(file_system_info.block_size/4)*(file_system_info.block_size/4); in file_block_to_global_block()
543 …low_read ((char *) block_table,file_system_info.block_size,table_block*file_system_info.block_size… in return_indirect()
552 f_indirect=block_num/(file_system_info.block_size/4); in return_dindirect()
562 s_indirect=block_num/((file_system_info.block_size/4)*(file_system_info.block_size/4)); in return_tindirect()
[all …]
H A Dgroup_com.c68 if (group_num < 0 || group_num >= file_system_info.groups_count) { in type_ext2_group_desc___entry()
72 device_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc); in type_ext2_group_desc___entry()
94 …offset=file_system_info.first_group_desc_offset+copy_num*file_system_info.super_block.s_blocks_per… in type_ext2_group_desc___gocopy()
96 if (offset > file_system_info.file_system_size) { in type_ext2_group_desc___gocopy()
113 …temp=(device_offset-file_system_info.first_group_desc_offset) % (file_system_info.super_block.s_bl… in type_ext2_group_desc___show()
119 wprintw (show_win,"Group %ld of %ld ",group_num,file_system_info.groups_count-1); in type_ext2_group_desc___show()
129 if (group_num==file_system_info.groups_count-1) { in type_ext2_group_desc___show()
H A Dinit.c380 file_system_info.super_block_offset=1024; in set_file_system_info()
383 …low_read ((char *) &file_system_info.super_block,sizeof (struct ext2_super_block),file_system_info in set_file_system_info()
385 sb=&file_system_info.super_block; in set_file_system_info()
415 if (file_system_info.block_size == EXT2_MIN_BLOCK_SIZE) in set_file_system_info()
418 file_system_info.first_group_desc_offset=file_system_info.block_size; in set_file_system_info()
422 file_system_info.inodes_per_block=file_system_info.block_size/sizeof (struct ext2_inode); in set_file_system_info()
423 file_system_info.blocks_per_group=sb->s_inodes_per_group/file_system_info.inodes_per_block; in set_file_system_info()
425 file_system_info.file_system_size=(ext2fs_blocks_count(sb)-1)*file_system_info.block_size; in set_file_system_info()
430 file_system_info.block_size=DefaultBlockSize; in set_file_system_info()
431 file_system_info.no_blocks_in_group=DefaultBlocksInGroup; in set_file_system_info()
[all …]
H A Dblockbitmap_com.c58 …if (entry_num >= file_system_info.super_block.s_blocks_per_group) { /* Check if it is a valid entr… in type_ext2_block_bitmap___entry()
130 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) { in type_ext2_block_bitmap___allocate()
158 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) { in type_ext2_block_bitmap___deallocate()
221 for (i=0,entry_num=0;i<file_system_info.super_block.s_blocks_per_group/8;i++,ptr++) { in type_ext2_block_bitmap___show()
253 …block_num=block_bitmap_info.entry_num+block_bitmap_info.group_num*file_system_info.super_block.s_b… in type_ext2_block_bitmap___show()
254 block_num+=file_system_info.super_block.s_first_data_block; in type_ext2_block_bitmap___show()
H A Ddir_com.c62 info_ptr->global_block_offset=ptr->i_block [0]*file_system_info.block_size; in init_dir_info()
67 info_ptr->blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size; in init_dir_info()
106 low_read (info.buffer,file_system_info.block_size,info.global_block_offset); in search_dir_entries()
123 next = file_system_info.block_size - info.dir_entry_offset; in search_dir_entries()
129 if (info.dir_entry_offset >= file_system_info.block_size) { /* We crossed a block boundary */ in search_dir_entries()
133 info.global_block_offset=info.global_block_num*file_system_info.block_size; in search_dir_entries()
134 info.file_offset=info.block_num*file_system_info.block_size; in search_dir_entries()
138 low_read (info.buffer,file_system_info.block_size,info.global_block_offset); in search_dir_entries()
403 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); in type_dir___followinode()
676 low_write (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); in type_dir___writedata()
/dports/sysutils/e2fsprogs/e2fsprogs-1.46.5/ext2ed/
H A Dinode_com.c40 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___prev()
49 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in type_ext2_inode___prev()
88 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___next()
130 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___show()
139 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1; in type_ext2_inode___show()
296 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___entry()
378 block_num=inode_offset/file_system_info.block_size; in inode_offset_to_group_num()
380 group_offset=file_system_info.first_group_desc_offset; in inode_offset_to_group_num()
406 block_num=inode_offset/file_system_info.block_size; in inode_offset_to_inode_num()
415 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1; in inode_offset_to_inode_num()
[all …]
H A Dfile_com.c37 file_info.blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size; in init_file_info()
134 if (offset < file_system_info.block_size) { in type_file___offset()
266 for (l=0;l<file_system_info.block_size/16;l++) { in file_show_hex()
330 last_offset=file_system_info.block_size-1; in file_show_text()
471 if (file_info.offset_in_block==file_system_info.block_size) { in type_file___set()
513 last_indirect=last_direct+file_system_info.block_size/4; in file_block_to_global_block()
514 last_dindirect=last_indirect+(file_system_info.block_size/4)*(file_system_info.block_size/4); in file_block_to_global_block()
543 …low_read ((char *) block_table,file_system_info.block_size,table_block*file_system_info.block_size… in return_indirect()
552 f_indirect=block_num/(file_system_info.block_size/4); in return_dindirect()
562 s_indirect=block_num/((file_system_info.block_size/4)*(file_system_info.block_size/4)); in return_tindirect()
[all …]
H A Dgroup_com.c68 if (group_num < 0 || group_num >= file_system_info.groups_count) { in type_ext2_group_desc___entry()
72 device_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc); in type_ext2_group_desc___entry()
94 …offset=file_system_info.first_group_desc_offset+copy_num*file_system_info.super_block.s_blocks_per… in type_ext2_group_desc___gocopy()
96 if (offset > file_system_info.file_system_size) { in type_ext2_group_desc___gocopy()
113 …temp=(device_offset-file_system_info.first_group_desc_offset) % (file_system_info.super_block.s_bl… in type_ext2_group_desc___show()
119 wprintw (show_win,"Group %ld of %ld ",group_num,file_system_info.groups_count-1); in type_ext2_group_desc___show()
129 if (group_num==file_system_info.groups_count-1) { in type_ext2_group_desc___show()
H A Dinit.c380 file_system_info.super_block_offset=1024; in set_file_system_info()
383 …low_read ((char *) &file_system_info.super_block,sizeof (struct ext2_super_block),file_system_info in set_file_system_info()
385 sb=&file_system_info.super_block; in set_file_system_info()
415 if (file_system_info.block_size == EXT2_MIN_BLOCK_SIZE) in set_file_system_info()
418 file_system_info.first_group_desc_offset=file_system_info.block_size; in set_file_system_info()
422 file_system_info.inodes_per_block=file_system_info.block_size/sizeof (struct ext2_inode); in set_file_system_info()
423 file_system_info.blocks_per_group=sb->s_inodes_per_group/file_system_info.inodes_per_block; in set_file_system_info()
425 file_system_info.file_system_size=(ext2fs_blocks_count(sb)-1)*file_system_info.block_size; in set_file_system_info()
430 file_system_info.block_size=DefaultBlockSize; in set_file_system_info()
431 file_system_info.no_blocks_in_group=DefaultBlocksInGroup; in set_file_system_info()
[all …]
H A Dblockbitmap_com.c58 …if (entry_num >= file_system_info.super_block.s_blocks_per_group) { /* Check if it is a valid entr… in type_ext2_block_bitmap___entry()
130 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) { in type_ext2_block_bitmap___allocate()
158 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) { in type_ext2_block_bitmap___deallocate()
221 for (i=0,entry_num=0;i<file_system_info.super_block.s_blocks_per_group/8;i++,ptr++) { in type_ext2_block_bitmap___show()
253 …block_num=block_bitmap_info.entry_num+block_bitmap_info.group_num*file_system_info.super_block.s_b… in type_ext2_block_bitmap___show()
254 block_num+=file_system_info.super_block.s_first_data_block; in type_ext2_block_bitmap___show()
H A Ddir_com.c62 info_ptr->global_block_offset=ptr->i_block [0]*file_system_info.block_size; in main()
67 info_ptr->blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size;
106 low_read (info.buffer,file_system_info.block_size,info.global_block_offset);
123 next = file_system_info.block_size - info.dir_entry_offset;
129 if (info.dir_entry_offset >= file_system_info.block_size) { /* We crossed a block boundary */
133 info.global_block_offset=info.global_block_num*file_system_info.block_size;
134 info.file_offset=info.block_num*file_system_info.block_size;
138 low_read (info.buffer,file_system_info.block_size,info.global_block_offset);
403 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset);
676 low_write (file_info.buffer,file_system_info.block_size,file_info.global_block_offset);
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/file_system_provider/
H A Dservice_unittest.cc337 ProvidedFileSystemInfo file_system_info( in TEST_F() local
359 EXPECT_EQ(file_system_info.provider_id(), in TEST_F()
361 EXPECT_EQ(file_system_info.file_system_id(), in TEST_F()
363 EXPECT_EQ(file_system_info.writable(), in TEST_F()
365 EXPECT_EQ(file_system_info.watchable(), in TEST_F()
398 EXPECT_FALSE(registry_->file_system_info()); in TEST_F()
407 EXPECT_FALSE(registry_->file_system_info()); in TEST_F()
417 EXPECT_FALSE(registry_->file_system_info()); in TEST_F()
425 ASSERT_TRUE(registry_->file_system_info()); in TEST_F()
451 EXPECT_TRUE(registry_->file_system_info()); in TEST_F()
[all …]
H A Dservice.cc134 ProvidedFileSystemInfo file_system_info( in MountFileSystemInternal() local
184 const Watchers& watchers = file_system_info.watchable() in MountFileSystemInternal()
218 const ProvidedFileSystemInfo& file_system_info = in UnmountFileSystem() local
222 file_system_info.mount_path().BaseName().value(); in UnmountFileSystem()
328 const ProvidedFileSystemInfo& file_system_info = in UnmountFileSystems() local
333 if (file_system_info.provider_id() == provider_id) { in UnmountFileSystems()
335 UnmountFileSystem(file_system_info.provider_id(), in UnmountFileSystems()
405 const ProvidedFileSystemInfo& file_system_info, in OnRequestUnmountStatus() argument
425 const ProvidedFileSystemInfo& file_system_info, in OnWatcherTagUpdated() argument
430 registry_->UpdateWatcherTag(file_system_info, watcher); in OnWatcherTagUpdated()
[all …]
H A Dmount_path_util_unittest.cc48 const ProvidedFileSystemInfo& file_system_info, in CreateFileSystemURL() argument
51 const base::FilePath mount_path = file_system_info.mount_path(); in CreateFileSystemURL()
133 const ProvidedFileSystemInfo file_system_info = in TEST_F() local
141 CreateFileSystemURL(profile_, file_system_info, kFilePath); in TEST_F()
158 const ProvidedFileSystemInfo file_system_info = in TEST_F() local
165 CreateFileSystemURL(profile_, file_system_info, kFilePath); in TEST_F()
178 const ProvidedFileSystemInfo file_system_info( in TEST_F() local
186 CreateFileSystemURL(profile_, file_system_info, kFilePath); in TEST_F()
200 const ProvidedFileSystemInfo file_system_info = in TEST_F() local
245 const ProvidedFileSystemInfo file_system_info = in TEST_F() local
[all …]
H A Dlogging_observer.h19 Event(const ProvidedFileSystemInfo& file_system_info, in Event() argument
22 : file_system_info_(file_system_info), in Event()
27 const ProvidedFileSystemInfo& file_system_info() const { in file_system_info() function
43 void OnProvidedFileSystemMount(const ProvidedFileSystemInfo& file_system_info,
48 const ProvidedFileSystemInfo& file_system_info,
H A Dregistry.cc52 const ProvidedFileSystemInfo& file_system_info, in RememberFileSystem() argument
56 base::Value(file_system_info.file_system_id())); in RememberFileSystem()
58 base::Value(file_system_info.display_name())); in RememberFileSystem()
60 base::Value(file_system_info.writable())); in RememberFileSystem()
62 base::Value(file_system_info.supports_notify_tag())); in RememberFileSystem()
64 base::Value(file_system_info.opened_files_limit())); in RememberFileSystem()
98 file_system_info.provider_id().ToString(), base::Value::Type::DICTIONARY); in RememberFileSystem()
101 dict_update->SetKey(file_system_info.provider_id().ToString(), in RememberFileSystem()
105 file_systems_per_extension->SetKey(file_system_info.file_system_id(), in RememberFileSystem()
267 file_system_info.provider_id().ToString(), in UpdateWatcherTag()
[all …]
H A Dlogging_observer.cc14 const ProvidedFileSystemInfo& file_system_info, in OnProvidedFileSystemMount() argument
17 mounts.push_back(Event(file_system_info, context, error)); in OnProvidedFileSystemMount()
21 const ProvidedFileSystemInfo& file_system_info, in OnProvidedFileSystemUnmount() argument
25 unmounts.push_back(Event(file_system_info, MOUNT_CONTEXT_USER, error)); in OnProvidedFileSystemUnmount()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/extensions/file_system_provider/
H A Dfile_system_provider_api.cc78 void FillFileSystemInfo(const ProvidedFileSystemInfo& file_system_info, in FillFileSystemInfo() argument
85 output->file_system_id = file_system_info.file_system_id(); in FillFileSystemInfo()
86 output->display_name = file_system_info.display_name(); in FillFileSystemInfo()
87 output->writable = file_system_info.writable(); in FillFileSystemInfo()
88 output->opened_files_limit = file_system_info.opened_files_limit(); in FillFileSystemInfo()
197 for (const auto& file_system_info : file_systems) { in Run() local
202 file_system_info.provider_id(), file_system_info.file_system_id()); in Run()
207 file_system_info, in Run()
238 FileSystemInfo file_system_info; in Run() local
243 file_system->GetOpenedFiles(), &file_system_info); in Run()
[all …]

12345678