Home
last modified time | relevance | path

Searched refs:run (Results 1 – 25 of 35) sorted by relevance

12

/fs/ntfs3/
Drun.c34 bool run_lookup(const struct runs_tree *run, CLST vcn, size_t *index) in run_lookup() argument
39 if (!run->count) { in run_lookup()
45 max_idx = run->count - 1; in run_lookup()
48 r = run->runs; in run_lookup()
61 *index = run->count; in run_lookup()
72 r = run->runs + mid_idx; in run_lookup()
93 static void run_consolidate(struct runs_tree *run, size_t index) in run_consolidate() argument
96 struct ntfs_run *r = run->runs + index; in run_consolidate()
98 while (index + 1 < run->count) { in run_consolidate()
154 i = run->count - (index + 1); in run_consolidate()
[all …]
Dattrib.c88 struct runs_tree *run, const CLST *vcn) in attr_load_runs() argument
96 if (svcn >= evcn + 1 || run_is_mapped_full(run, svcn, evcn)) in attr_load_runs()
108 err = run_unpack_ex(run, ni->mi.sbi, ni->mi.rno, svcn, evcn, in attr_load_runs()
120 static int run_deallocate_ex(struct ntfs_sb_info *sbi, struct runs_tree *run, in run_deallocate_ex() argument
130 if (!run_lookup_entry(run, vcn, &lcn, &clen, &idx)) { in run_deallocate_ex()
132 run_truncate(run, vcn0); in run_deallocate_ex()
156 if (!run_get_entry(run, ++idx, &vcn, &lcn, &clen) || in run_deallocate_ex()
173 int attr_allocate_clusters(struct ntfs_sb_info *sbi, struct runs_tree *run, in attr_allocate_clusters() argument
181 size_t cnt = run->count; in attr_allocate_clusters()
201 if (!run_add_entry(run, vcn, lcn, flen, opt == ALLOCATE_MFT)) { in attr_allocate_clusters()
[all …]
Dntfs_fs.h141 struct runs_tree run; member
375 struct runs_tree run; member
383 struct runs_tree run; member
415 struct runs_tree *run, const CLST *vcn);
416 int attr_allocate_clusters(struct ntfs_sb_info *sbi, struct runs_tree *run,
422 u64 new_size, struct runs_tree *run,
425 const __le16 *name, u8 name_len, struct runs_tree *run,
433 const __le16 *name, u8 name_len, struct runs_tree *run,
436 const __le16 *name, u8 name_len, struct runs_tree *run,
439 struct runs_tree *run, u64 frame, u64 frames,
[all …]
Dfrecord.c122 run_close(&ni->file.run); in ni_clear()
528 struct runs_tree run; in ni_repack() local
530 run_init(&run); in ni_repack()
566 run_close(&run); in ni_repack()
576 err = run_unpack(&run, sbi, ni->mi.rno, svcn, evcn, svcn, in ni_repack()
596 err = mi_pack_runs(mi_p, attr_p, &run, evcn + 1 - svcn_p); in ni_repack()
615 err = mi_pack_runs(mi, attr, &run, in ni_repack()
626 run_truncate_head(&run, next_svcn); in ni_repack()
636 mi_pack_runs(mi_p, attr_p, &run, evcn_p + 1 - svcn_p); in ni_repack()
639 run_close(&run); in ni_repack()
[all …]
Dfsntfs.c316 err = ntfs_bio_fill_1(sbi, &ni->file.run); in ntfs_loadlog_and_replay()
483 err = attr_set_size(ni, ATTR_DATA, NULL, 0, &ni->file.run, in ntfs_extend_mft()
498 err = attr_set_size(ni, ATTR_BITMAP, NULL, 0, &sbi->mft.bitmap.run, in ntfs_extend_mft()
743 struct runs_tree *run; in ntfs_clear_mft_tail() local
751 run = &ni->file.run; in ntfs_clear_mft_tail()
758 err = ntfs_get_bh(sbi, run, vbo, rs, &nb); in ntfs_clear_mft_tail()
805 if (!run_lookup_entry(&ni->file.run, vcn - 1, &lcn, &len, NULL)) in ntfs_refresh_zone()
1101 int ntfs_sb_write_run(struct ntfs_sb_info *sbi, const struct runs_tree *run, in ntfs_sb_write_run() argument
1111 if (!run_lookup_entry(run, vcn, &lcn, &clen, &idx)) in ntfs_sb_write_run()
1132 if (!run_get_entry(run, ++idx, &vcn, &lcn, &clen) || in ntfs_sb_write_run()
[all …]
Dattrlist.c31 run_close(&ni->attr_list.run); in al_destroy()
70 run_init(&ni->attr_list.run); in ntfs_load_attr_list()
77 err = run_unpack_ex(&ni->attr_list.run, ni->mi.sbi, ni->mi.rno, in ntfs_load_attr_list()
100 err = ntfs_read_run_nb(ni->mi.sbi, &ni->attr_list.run, 0, le, in ntfs_load_attr_list()
339 err = attr_set_size(ni, ATTR_LIST, NULL, 0, &al->run, new_size, in al_add_le()
351 err = ntfs_sb_write_run(ni->mi.sbi, &al->run, 0, al->le, in al_add_le()
452 err = attr_set_size(ni, ATTR_LIST, NULL, 0, &al->run, al->size, NULL, in al_update()
460 err = ntfs_sb_write_run(ni->mi.sbi, &al->run, 0, al->le, in al_update()
Dinode.c46 struct runs_tree *run; in ntfs_read_mft() local
63 if (!run_add_entry(&ni->file.run, 0, t64, t32, true)) { in ntfs_read_mft()
120 run = NULL; in ntfs_read_mft()
131 run = &ni->file.run; in ntfs_read_mft()
259 run = ino == MFT_REC_BITMAP ? &sbi->used.bitmap.run in ntfs_read_mft()
260 : &ni->file.run; in ntfs_read_mft()
301 run = &ni->dir.alloc_run; in ntfs_read_mft()
313 run = &sbi->mft.bitmap.run; in ntfs_read_mft()
319 run = &ni->dir.bitmap_run; in ntfs_read_mft()
347 run_close(&ni->file.run); in ntfs_read_mft()
[all …]
Drecord.c123 struct runs_tree *run = mft_ni ? &mft_ni->file.run : NULL; in mi_read() local
133 err = ntfs_read_bh(sbi, run, vbo, &rec->rhdr, bpr, &mi->nb); in mi_read()
151 err = attr_load_runs_vcn(mft_ni, ATTR_DATA, NULL, 0, run, in mi_read()
162 err = ntfs_read_bh(sbi, run, vbo, &rec->rhdr, bpr, &mi->nb); in mi_read()
399 err = ntfs_get_bh(sbi, &ni->file.run, vbo, sbi->record_size, in mi_format_new()
587 struct runs_tree *run, CLST len) in mi_pack_runs() argument
608 err = run_pack(run, svcn, len, Add2Ptr(attr, run_off), run_size + dsize, in mi_pack_runs()
Dindex.c368 struct runs_tree *run = &indx->bitmap_run; in scan_nres_bitmap() local
393 ok = run_lookup_entry(run, vcn, &lcn, &clen, &idx); in scan_nres_bitmap()
403 name->name_len, run, vcn); in scan_nres_bitmap()
408 ok = run_lookup_entry(run, vcn, &lcn, &clen, &idx); in scan_nres_bitmap()
451 ok = run_get_entry(run, ++idx, &vcn, &lcn, &clen) && vcn == vcn_next; in scan_nres_bitmap()
1042 struct runs_tree *run = &indx->alloc_run; in indx_read() local
1067 err = ntfs_read_bh(ni->mi.sbi, run, vbo, &ib->rhdr, bytes, &in->nb); in indx_read()
1081 run, vbo, vbo + bytes); in indx_read()
1087 err = ntfs_read_bh(ni->mi.sbi, run, vbo, &ib->rhdr, bytes, &in->nb); in indx_read()
1448 struct runs_tree run; in indx_create_allocate() local
[all …]
Dxattr.c122 struct runs_tree run; in ntfs_read_ea() local
124 run_init(&run); in ntfs_read_ea()
126 err = attr_load_runs_range(ni, ATTR_EA, NULL, 0, &run, 0, size); in ntfs_read_ea()
128 err = ntfs_read_run_nb(sbi, &run, 0, ea_p, size, NULL); in ntfs_read_ea()
129 run_close(&run); in ntfs_read_ea()
DMakefile27 run.o \
/fs/befs/
Dendian.h74 befs_block_run run; in fsrun_to_cpu() local
77 run.allocation_group = le32_to_cpu((__force __le32)n.allocation_group); in fsrun_to_cpu()
78 run.start = le16_to_cpu((__force __le16)n.start); in fsrun_to_cpu()
79 run.len = le16_to_cpu((__force __le16)n.len); in fsrun_to_cpu()
81 run.allocation_group = be32_to_cpu((__force __be32)n.allocation_group); in fsrun_to_cpu()
82 run.start = be16_to_cpu((__force __be16)n.start); in fsrun_to_cpu()
83 run.len = be16_to_cpu((__force __be16)n.len); in fsrun_to_cpu()
85 return run; in fsrun_to_cpu()
91 befs_disk_block_run run; in cpu_to_fsrun() local
94 run.allocation_group = cpu_to_le32(n.allocation_group); in cpu_to_fsrun()
[all …]
Ddatastream.c26 befs_blocknr_t blockno, befs_block_run *run);
31 befs_block_run *run);
36 befs_block_run *run);
53 befs_block_run run; in befs_read_datastream() local
61 if (befs_fblock2brun(sb, ds, block, &run) != BEFS_OK) { in befs_read_datastream()
67 bh = befs_bread_iaddr(sb, run); in befs_read_datastream()
96 befs_blocknr_t fblock, befs_block_run *run) in befs_fblock2brun() argument
102 err = befs_find_brun_direct(sb, data, fblock, run); in befs_fblock2brun()
105 err = befs_find_brun_indirect(sb, data, fblock, run); in befs_fblock2brun()
108 err = befs_find_brun_dblindirect(sb, data, fblock, run); in befs_fblock2brun()
[all …]
Ddatastream.h12 befs_blocknr_t fblock, befs_block_run *run);
Ddebug.c213 befs_dump_run(const struct super_block *sb, befs_disk_block_run run)
217 befs_block_run n = fsrun_to_cpu(sb, run);
Dlinuxvfs.c139 befs_block_run run = BAD_IADDR; in befs_get_block() local
152 res = befs_fblock2brun(sb, ds, block, &run); in befs_get_block()
161 disk_off = (ulong) iaddr2blockno(sb, &run); in befs_get_block()
/fs/jbd2/
Dcommit.c478 stats.run.rs_wait = commit_transaction->t_max_wait; in jbd2_journal_commit_transaction()
479 stats.run.rs_request_delay = 0; in jbd2_journal_commit_transaction()
480 stats.run.rs_locked = jiffies; in jbd2_journal_commit_transaction()
482 stats.run.rs_request_delay = in jbd2_journal_commit_transaction()
484 stats.run.rs_locked); in jbd2_journal_commit_transaction()
485 stats.run.rs_running = jbd2_time_diff(commit_transaction->t_start, in jbd2_journal_commit_transaction()
486 stats.run.rs_locked); in jbd2_journal_commit_transaction()
563 stats.run.rs_flushing = jiffies; in jbd2_journal_commit_transaction()
564 stats.run.rs_locked = jbd2_time_diff(stats.run.rs_locked, in jbd2_journal_commit_transaction()
565 stats.run.rs_flushing); in jbd2_journal_commit_transaction()
[all …]
Djournal.c1184 jiffies_to_msecs(s->stats->run.rs_wait / s->stats->ts_tid)); in jbd2_seq_info_show()
1187 jiffies_to_msecs(s->stats->run.rs_request_delay / in jbd2_seq_info_show()
1190 jiffies_to_msecs(s->stats->run.rs_running / s->stats->ts_tid)); in jbd2_seq_info_show()
1192 jiffies_to_msecs(s->stats->run.rs_locked / s->stats->ts_tid)); in jbd2_seq_info_show()
1194 jiffies_to_msecs(s->stats->run.rs_flushing / s->stats->ts_tid)); in jbd2_seq_info_show()
1196 jiffies_to_msecs(s->stats->run.rs_logging / s->stats->ts_tid)); in jbd2_seq_info_show()
1200 s->stats->run.rs_handle_count / s->stats->ts_tid); in jbd2_seq_info_show()
1202 s->stats->run.rs_blocks / s->stats->ts_tid); in jbd2_seq_info_show()
1204 s->stats->run.rs_blocks_logged / s->stats->ts_tid); in jbd2_seq_info_show()
/fs/omfs/
Dbitmap.c139 int i, run, bit; in omfs_allocate_range() local
151 run = count_run(&sbi->s_imap[i], bits_per_entry, in omfs_allocate_range()
154 if (run >= min_request) in omfs_allocate_range()
156 bit += run; in omfs_allocate_range()
164 *return_size = run; in omfs_allocate_range()
165 ret = set_run(sb, i, bits_per_entry, bit, run, 1); in omfs_allocate_range()
/fs/
DKconfig.binfmt13 systems. Saying Y here will enable your kernel to run ELF binaries
17 to run executables from different architectures or operating systems
18 however) and makes building run-time libraries very easy. Many new
26 here, you still can't run any ELF binaries (they just crash), then
57 It is also possible to run FDPIC ELF binaries on MMU linux also.
94 gets loaded, you cannot run scripts. Thus, if you want to load this
152 who need to run binaries from that era.
176 programs that need an interpreter to run like Java, Python, .NET or
177 Emacs-Lisp. It's also useful if you often run DOS executables under
203 need debugging or only ever run flawless code.
/fs/btrfs/
DKconfig69 during the run of a regression test, say N
72 bool "Btrfs will run sanity tests upon loading"
75 This will run some basic sanity tests on the free space cache
86 Enable run-time debugging support for the btrfs filesystem. This may
96 Enable run-time assertion checking. This will result in panics if
106 Enable run-time extent reference verification instrumentation. This
/fs/sysv/
DKconfig13 to run these binaries, you will want to install linux-abi which is
14 a set of kernel modules that lets you run SCO, Xenix, Wyse,
/fs/ocfs2/
DKconfig38 run-time selectable.
49 It is safe to say Y, as the clustering method is run-time
/fs/ext4/
DKconfig99 Enables run-time debugging support for the ext4 filesystem.
111 KUnit tests run during boot and output the results to the debug log
/fs/ksmbd/
DKconfig35 More detail about how to run the ksmbd kernel server is

12