Searched refs:NVRAM_BLOCK_LEN (Results 1 – 1 of 1) sorted by relevance
40 #define NVRAM_BLOCK_LEN NVRAM_HEADER_LEN macro997 req_size = _ALIGN_UP(req_size, NVRAM_BLOCK_LEN) / NVRAM_BLOCK_LEN; in nvram_create_partition()998 min_size = _ALIGN_UP(min_size, NVRAM_BLOCK_LEN) / NVRAM_BLOCK_LEN; in nvram_create_partition()1055 free_part->index += size * NVRAM_BLOCK_LEN; in nvram_create_partition()1071 tmp_index < ((size - 1) * NVRAM_BLOCK_LEN); in nvram_create_partition()1072 tmp_index += NVRAM_BLOCK_LEN) { in nvram_create_partition()1073 rc = ppc_md.nvram_write(nv_init_vals, NVRAM_BLOCK_LEN, &tmp_index); in nvram_create_partition()1096 return (part->header.length - 1) * NVRAM_BLOCK_LEN; in nvram_get_partition_size()1117 NVRAM_BLOCK_LEN; in nvram_find_partition()1184 cur_index += phead.length * NVRAM_BLOCK_LEN; in nvram_scan_partitions()[all …]