Searched refs:new_cp (Results 1 – 3 of 3) sorted by relevance
456 struct f2fs_checkpoint *new_cp; in rebuild_checkpoint() local467 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 …]
252 struct gl_program *new_cp = ctx->ComputeProgram._Current; in st_validate_state() local254 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()
770 struct cil_classperms *new_cp; in cil_fill_classperms_list() local771 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()