Home
last modified time | relevance | path

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

/third_party/f2fs-tools/fsck/
Dresize.c456 struct f2fs_checkpoint *new_cp; in rebuild_checkpoint() local
467 new_cp = calloc(new_cp_blks * BLOCK_SZ, 1); in rebuild_checkpoint()
468 ASSERT(new_cp); in rebuild_checkpoint()
540 memcpy(new_cp, cp, (unsigned char *)cp->sit_nat_version_bitmap - in rebuild_checkpoint()
543 memcpy((void *)new_cp + CP_BITMAP_OFFSET, in rebuild_checkpoint()
547 new_cp->checkpoint_ver = cpu_to_le64(cp_ver + 1); in rebuild_checkpoint()
549 crc = f2fs_checkpoint_chksum(new_cp); in rebuild_checkpoint()
550 *((__le32 *)((unsigned char *)new_cp + get_cp(checksum_offset))) = in rebuild_checkpoint()
561 ret = dev_write_block(new_cp, new_cp_blk_no++); in rebuild_checkpoint()
589 ret = dev_write_block(new_cp, new_cp_blk_no++); in rebuild_checkpoint()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom.c252 struct gl_program *new_cp = ctx->ComputeProgram._Current; in st_validate_state() local
254 if (new_cp != old_cp) { in st_validate_state()
257 assert(new_cp); in st_validate_state()
258 st->dirty |= 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()