Home
last modified time | relevance | path

Searched refs:xdatum_mem_usage (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/fs/jffs2/
Dxattr.c92 c->xdatum_mem_usage -= (xd->name_len + 1 + xd->value_len); in unload_xattr_datum()
110 if (c->xdatum_mem_threshold > c->xdatum_mem_usage) in reclaim_xattr_datum()
113 before = c->xdatum_mem_usage; in reclaim_xattr_datum()
114 target = c->xdatum_mem_usage * 4 / 5; /* 20% reduction */ in reclaim_xattr_datum()
122 if (c->xdatum_mem_usage <= target) in reclaim_xattr_datum()
129 before, c->xdatum_mem_usage, before - c->xdatum_mem_usage); in reclaim_xattr_datum()
245 c->xdatum_mem_usage += length; in do_load_xattr_datum()
398 c->xdatum_mem_usage += (xd->name_len + 1 + xd->value_len); in create_xattr_datum()
721 c->xdatum_mem_usage = 0; in jffs2_init_xattr_subsystem()
Djffs2_fs_sb.h156 uint32_t xdatum_mem_usage; member
/kernel/liteos_a/fs/jffs2/
Djffs2.patch8763 - c->xdatum_mem_usage -= (xd->name_len + 1 + xd->value_len);
8781 - if (c->xdatum_mem_threshold > c->xdatum_mem_usage)
8784 - before = c->xdatum_mem_usage;
8785 - target = c->xdatum_mem_usage * 4 / 5; /* 20% reduction */
8793 - if (c->xdatum_mem_usage <= target)
8799 - JFFS2_NOTICE("xdatum_mem_usage from %u byte to %u byte (%u byte reclaimed)\n",
8800 - before, c->xdatum_mem_usage, before - c->xdatum_mem_usage);
8916 - c->xdatum_mem_usage += length;
9069 - c->xdatum_mem_usage += (xd->name_len + 1 + xd->value_len);
9392 - c->xdatum_mem_usage = 0;