Searched refs:phys_ofs (Results 1 – 2 of 2) sorted by relevance
/fs/jffs2/ |
D | xattr.c | 291 uint32_t phys_ofs = write_ofs(c); in save_xattr_datum() local 317 rc = jffs2_flash_writev(c, vecs, 2, phys_ofs, &length, 0); in save_xattr_datum() 320 rc, totlen, length, phys_ofs); in save_xattr_datum() 323 jffs2_add_physical_node_ref(c, phys_ofs | REF_OBSOLETE, PAD(totlen), NULL); in save_xattr_datum() 328 jffs2_add_physical_node_ref(c, phys_ofs | REF_PRISTINE, PAD(totlen), (void *)xd); in save_xattr_datum() 511 uint32_t xseqno, phys_ofs = write_ofs(c); in save_xattr_ref() local 531 ret = jffs2_flash_write(c, phys_ofs, sizeof(rr), &length, (char *)&rr); in save_xattr_ref() 534 ret, sizeof(rr), length, phys_ofs); in save_xattr_ref() 537 jffs2_add_physical_node_ref(c, phys_ofs | REF_OBSOLETE, PAD(sizeof(rr)), NULL); in save_xattr_ref() 543 jffs2_add_physical_node_ref(c, phys_ofs | REF_PRISTINE, PAD(sizeof(rr)), (void *)ref); in save_xattr_ref()
|
D | gc.c | 598 uint32_t phys_ofs, alloclen; in jffs2_garbage_collect_pristine() local 698 phys_ofs = write_ofs(c); in jffs2_garbage_collect_pristine() 700 ret = jffs2_flash_write(c, phys_ofs, rawlen, &retlen, (char *)node); in jffs2_garbage_collect_pristine() 704 rawlen, phys_ofs, ret, retlen); in jffs2_garbage_collect_pristine() 706 jffs2_add_physical_node_ref(c, phys_ofs | REF_OBSOLETE, rawlen, NULL); in jffs2_garbage_collect_pristine() 709 phys_ofs); in jffs2_garbage_collect_pristine() 714 struct jffs2_eraseblock *jeb = &c->blocks[phys_ofs / c->sector_size]; in jffs2_garbage_collect_pristine() 729 phys_ofs); in jffs2_garbage_collect_pristine() 744 jffs2_add_physical_node_ref(c, phys_ofs | REF_PRISTINE, rawlen, ic); in jffs2_garbage_collect_pristine()
|