Home
last modified time | relevance | path

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

/third_party/f2fs-tools/fsck/
Dresize.c453 struct f2fs_checkpoint *new_cp; in rebuild_checkpoint() local
464 new_cp = calloc(new_cp_blks * BLOCK_SZ, 1); in rebuild_checkpoint()
465 ASSERT(new_cp); in rebuild_checkpoint()
527 memcpy(new_cp, cp, (unsigned char *)cp->sit_nat_version_bitmap - in rebuild_checkpoint()
529 new_cp->checkpoint_ver = cpu_to_le64(cp_ver + 1); in rebuild_checkpoint()
531 crc = f2fs_checkpoint_chksum(new_cp); in rebuild_checkpoint()
532 *((__le32 *)((unsigned char *)new_cp + get_cp(checksum_offset))) = in rebuild_checkpoint()
543 ret = dev_write_block(new_cp, new_cp_blk_no++); in rebuild_checkpoint()
571 ret = dev_write_block(new_cp, new_cp_blk_no++); in rebuild_checkpoint()
576 write_nat_bits(sbi, new_sb, new_cp, sbi->cur_cp == 1 ? 2 : 1); in rebuild_checkpoint()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom.c230 struct gl_program *new_cp = ctx->ComputeProgram._Current; in st_validate_state() local
232 if (new_cp != &old_cp->Base) { in st_validate_state()
235 assert(new_cp); in st_validate_state()
236 st->dirty |= st_program(new_cp)->affected_states; in st_validate_state()
/third_party/selinux/libsepol/cil/src/
Dcil_build_ast.c770 struct cil_classperms *new_cp; in cil_fill_classperms_list() local
771 rc = cil_fill_classperms(curr, &new_cp); in cil_fill_classperms_list()
775 cil_list_append(*cp_list, CIL_CLASSPERMS, new_cp); in cil_fill_classperms_list()