Searched refs:reservations (Results 1 - 9 of 9) sorted by relevance

/linux-master/fs/ocfs2/
H A DMakefile31 reservations.o \
/linux-master/fs/bcachefs/
H A Djournal.h126 return j->buf + j->reservations.idx;
262 }).v, &j->reservations.counter);
330 u64 v = atomic64_read(&j->reservations.counter);
359 } while ((v = atomic64_cmpxchg(&j->reservations.counter,
413 return j->reservations.cur_entry_offset == JOURNAL_ENTRY_ERROR_VAL
H A Djournal.c47 return __journal_entry_is_open(j->reservations);
52 union journal_res_state s = READ_ONCE(j->reservations);
209 if (!journal_state_count(j->reservations, idx)) {
243 u64 v = atomic64_read(&j->reservations.counter);
258 } while ((v = atomic64_cmpxchg(&j->reservations.counter,
297 * could be a newer entry open with reservations/pins that have been
445 v = atomic64_read(&j->reservations.counter);
459 } while ((v = atomic64_cmpxchg(&j->reservations.counter,
492 if (__journal_entry_is_open(j->reservations)) {
640 state = READ_ONCE(j->reservations);
[all...]
H A Djournal_types.h171 union journal_res_state reservations; member in struct:journal::__anon100
H A Djournal_io.c1665 v = atomic64_read(&j->reservations.counter);
1672 } while ((v = atomic64_cmpxchg(&j->reservations.counter, old.v, new.v)) != old.v);
1823 * reservations that weren't fully used) and merging jset_entries that
/linux-master/fs/btrfs/
H A Dblock-group.h232 atomic_t reservations; member in struct:btrfs_block_group
H A Dblock-group.c374 if (atomic_dec_and_test(&bg->reservations))
375 wake_up_var(&bg->reservations);
394 * block group's reservations counter is incremented while a read lock
401 wait_var_event(&bg->reservations, !atomic_read(&bg->reservations));
H A Dextent-tree.c2743 atomic_inc(&bg->reservations);
/linux-master/mm/
H A Dhugetlb.c121 * remain, give up any reservations based on minimum size and
214 * Return the number of global page reservations that must be dropped.
1026 * Flags for MAP_PRIVATE reservations. These are stored in the bottom
1104 * reservations are to be un-charged from here.
1238 struct resv_map *reservations = vma_resv_map(vma); local
1240 if (reservations && is_vma_resv_set(vma, HPAGE_RESV_OWNER)) {
1241 resv_map_put_hugetlb_cgroup_uncharge_info(reservations);
1242 kref_put(&reservations->refs, resv_map_release);
1403 * have no page reserves. This check ensures that reservations are
2784 * are used by the huge page allocation routines to manage reservations
[all...]

Completed in 147 milliseconds