Home
last modified time | relevance | path

Searched refs:ranges (Results 1 – 5 of 5) sorted by relevance

/fs/ubifs/
Dtnc_misc.c344 if (c->ranges[type].max_len == 0) { in read_znode()
345 if (zbr->len != c->ranges[type].len) { in read_znode()
348 ubifs_err(c, "have to be %d", c->ranges[type].len); in read_znode()
352 } else if (zbr->len < c->ranges[type].min_len || in read_znode()
353 zbr->len > c->ranges[type].max_len) { in read_znode()
357 c->ranges[type].min_len, in read_znode()
358 c->ranges[type].max_len); in read_znode()
Dsuper.c570 c->ranges[UBIFS_PAD_NODE].len = UBIFS_PAD_NODE_SZ; in init_constants_early()
571 c->ranges[UBIFS_SB_NODE].len = UBIFS_SB_NODE_SZ; in init_constants_early()
572 c->ranges[UBIFS_MST_NODE].len = UBIFS_MST_NODE_SZ; in init_constants_early()
573 c->ranges[UBIFS_REF_NODE].len = UBIFS_REF_NODE_SZ; in init_constants_early()
574 c->ranges[UBIFS_TRUN_NODE].len = UBIFS_TRUN_NODE_SZ; in init_constants_early()
575 c->ranges[UBIFS_CS_NODE].len = UBIFS_CS_NODE_SZ; in init_constants_early()
576 c->ranges[UBIFS_AUTH_NODE].min_len = UBIFS_AUTH_NODE_SZ; in init_constants_early()
577 c->ranges[UBIFS_AUTH_NODE].max_len = UBIFS_AUTH_NODE_SZ + in init_constants_early()
579 c->ranges[UBIFS_SIG_NODE].min_len = UBIFS_SIG_NODE_SZ; in init_constants_early()
580 c->ranges[UBIFS_SIG_NODE].max_len = c->leb_size - UBIFS_SB_NODE_SZ; in init_constants_early()
[all …]
Dio.c255 if (c->ranges[type].max_len == 0) { in ubifs_check_node()
256 if (node_len != c->ranges[type].len) in ubifs_check_node()
258 } else if (node_len < c->ranges[type].min_len || in ubifs_check_node()
259 node_len > c->ranges[type].max_len) in ubifs_check_node()
Dmaster.c208 if (c->zroot.len < c->ranges[UBIFS_IDX_NODE].min_len || in validate_master()
209 c->zroot.len > c->ranges[UBIFS_IDX_NODE].max_len) { in validate_master()
Dubifs.h1380 struct ubifs_node_range ranges[UBIFS_NODE_TYPES_CNT]; member