Home
last modified time | relevance | path

Searched refs:oz (Results 1 – 4 of 4) sorted by relevance

/linux/fs/xfs/
H A Dxfs_zone_alloc.c34 struct xfs_open_zone *oz = container_of(cb, typeof(*oz), oz_rcu); in xfs_open_zone_free_rcu() local
36 xfs_rtgroup_rele(oz->oz_rtg); in xfs_open_zone_free_rcu()
37 kfree(oz); in xfs_open_zone_free_rcu()
42 struct xfs_open_zone *oz) in xfs_open_zone_put() argument
44 if (atomic_dec_and_test(&oz->oz_ref)) in xfs_open_zone_put()
45 call_rcu(&oz->oz_rcu, xfs_open_zone_free_rcu); in xfs_open_zone_put()
166 struct xfs_open_zone *oz) in xfs_open_zone_mark_full() argument
168 struct xfs_rtgroup *rtg = oz->oz_rtg; in xfs_open_zone_mark_full()
178 if (oz->oz_is_gc) in xfs_open_zone_mark_full()
182 list_del_init(&oz->oz_entry); in xfs_open_zone_mark_full()
[all …]
H A Dxfs_zone_gc.c104 struct xfs_open_zone *oz; member
129 struct xfs_open_zone *oz; member
543 struct xfs_open_zone *oz, *found = NULL; in xfs_zone_gc_steal_open_zone() local
546 list_for_each_entry(oz, &zi->zi_open_zones, oz_entry) { in xfs_zone_gc_steal_open_zone()
547 if (!found || oz->oz_allocated < found->oz_allocated) in xfs_zone_gc_steal_open_zone()
548 found = oz; in xfs_zone_gc_steal_open_zone()
562 data->oz = found; in xfs_zone_gc_steal_open_zone()
575 if (data->oz) { in xfs_zone_gc_select_target()
580 if (data->oz->oz_allocated < rtg_blocks(data->oz->oz_rtg)) in xfs_zone_gc_select_target()
587 if (data->oz->oz_written < rtg_blocks(data->oz->oz_rtg)) in xfs_zone_gc_select_target()
[all …]
H A Dxfs_trace.h426 TP_PROTO(struct xfs_open_zone *oz, xfs_rgblock_t rgbno,
428 TP_ARGS(oz, rgbno, len),
439 __entry->dev = rtg_mount(oz->oz_rtg)->m_super->s_dev;
440 __entry->rgno = rtg_rgno(oz->oz_rtg);
441 __entry->used = rtg_rmap(oz->oz_rtg)->i_used_blocks;
442 __entry->allocated = oz->oz_allocated;
443 __entry->written = oz->oz_written;
459 TP_PROTO(struct xfs_open_zone *oz, xfs_rgblock_t rgbno, \
461 TP_ARGS(oz, rgbno, len))
/linux/Documentation/crypto/
H A Ddescore-readme.rst118 (code from eay@psych.psy.uq.oz.au via comp.sources.misc)