Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Dresize.c419 struct f2fs_checkpoint *new_cp; in rebuild_checkpoint() local
430 new_cp = calloc(new_cp_blks * BLOCK_SZ, 1); in rebuild_checkpoint()
431 ASSERT(new_cp); in rebuild_checkpoint()
483 memcpy(new_cp, cp, (unsigned char *)cp->sit_nat_version_bitmap - in rebuild_checkpoint()
485 new_cp->checkpoint_ver = cpu_to_le64(cp_ver + 1); in rebuild_checkpoint()
487 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, new_cp, CHECKSUM_OFFSET); in rebuild_checkpoint()
488 *((__le32 *)((unsigned char *)new_cp + CHECKSUM_OFFSET)) = in rebuild_checkpoint()
499 ret = dev_write_block(new_cp, new_cp_blk_no++); in rebuild_checkpoint()
527 ret = dev_write_block(new_cp, new_cp_blk_no++); in rebuild_checkpoint()
532 write_nat_bits(sbi, new_sb, new_cp, sbi->cur_cp == 1 ? 2 : 1); in rebuild_checkpoint()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atom.c181 struct gl_program *new_cp = ctx->ComputeProgram._Current; in st_validate_state() local
183 if (new_cp != &old_cp->Base) { in st_validate_state()
186 assert(new_cp); in st_validate_state()
187 st->dirty |= st_compute_program(new_cp)->affected_states; in st_validate_state()
/external/eigen/Eigen/src/OrderingMethods/
DEigen_Colamd.h721 IndexType *new_cp ; /* new column pointer */ in init_scoring() local
822 new_cp = cp ; in init_scoring()
834 *new_cp++ = row ; in init_scoring()
841 col_length = (IndexType) (new_cp - &A [Col [c].start]) ; in init_scoring()
958 IndexType *new_cp ; /* modified column pointer */ in find_ordering() local
1245 new_cp = cp ; in find_ordering()
1263 *new_cp++ = row ; in find_ordering()
1273 Col [col].length = (IndexType) (new_cp - &A [Col [col].start]) ; in find_ordering()
/external/selinux/libsepol/cil/src/
Dcil_build_ast.c674 struct cil_classperms *new_cp; in cil_fill_classperms_list() local
675 rc = cil_fill_classperms(curr, &new_cp); in cil_fill_classperms_list()
679 cil_list_append(*cp_list, CIL_CLASSPERMS, new_cp); in cil_fill_classperms_list()