Searched refs:xd (Results 1 – 8 of 8) sorted by relevance
/fs/jffs2/ |
D | xattr.c | 71 static int is_xattr_datum_unchecked(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in is_xattr_datum_unchecked() argument 77 for (raw=xd->node; raw != (void *)xd; raw=raw->next_in_ino) { in is_xattr_datum_unchecked() 87 static void unload_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in unload_xattr_datum() argument 90 D1(dbg_xattr("%s: xid=%u, version=%u\n", __func__, xd->xid, xd->version)); in unload_xattr_datum() 91 if (xd->xname) { in unload_xattr_datum() 92 c->xdatum_mem_usage -= (xd->name_len + 1 + xd->value_len); in unload_xattr_datum() 93 kfree(xd->xname); in unload_xattr_datum() 96 list_del_init(&xd->xindex); in unload_xattr_datum() 97 xd->hashkey = 0; in unload_xattr_datum() 98 xd->xname = NULL; in unload_xattr_datum() [all …]
|
D | malloc.c | 279 struct jffs2_xattr_datum *xd; in jffs2_alloc_xattr_datum() local 280 xd = kmem_cache_zalloc(xattr_datum_cache, GFP_KERNEL); in jffs2_alloc_xattr_datum() 281 dbg_memalloc("%p\n", xd); in jffs2_alloc_xattr_datum() 282 if (!xd) in jffs2_alloc_xattr_datum() 285 xd->class = RAWNODE_CLASS_XATTR_DATUM; in jffs2_alloc_xattr_datum() 286 xd->node = (void *)xd; in jffs2_alloc_xattr_datum() 287 INIT_LIST_HEAD(&xd->xindex); in jffs2_alloc_xattr_datum() 288 return xd; in jffs2_alloc_xattr_datum() 291 void jffs2_free_xattr_datum(struct jffs2_xattr_datum *xd) in jffs2_free_xattr_datum() argument 293 dbg_memalloc("%p\n", xd); in jffs2_free_xattr_datum() [all …]
|
D | scan.c | 334 struct jffs2_xattr_datum *xd; in jffs2_scan_xattr_node() local 360 xd = jffs2_setup_xattr_datum(c, xid, version); in jffs2_scan_xattr_node() 361 if (IS_ERR(xd)) in jffs2_scan_xattr_node() 362 return PTR_ERR(xd); in jffs2_scan_xattr_node() 364 if (xd->version > version) { in jffs2_scan_xattr_node() 367 raw->next_in_ino = xd->node->next_in_ino; in jffs2_scan_xattr_node() 368 xd->node->next_in_ino = raw; in jffs2_scan_xattr_node() 370 xd->version = version; in jffs2_scan_xattr_node() 371 xd->xprefix = rx->xprefix; in jffs2_scan_xattr_node() 372 xd->name_len = rx->name_len; in jffs2_scan_xattr_node() [all …]
|
D | xattr.h | 59 struct jffs2_xattr_datum *xd; /* reference to jffs2_xattr_datum */ member 84 extern int jffs2_garbage_collect_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd, 89 extern void jffs2_release_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd);
|
D | summary.c | 492 struct jffs2_xattr_datum *xd; in jffs2_sum_process_sum_data() local 501 xd = jffs2_setup_xattr_datum(c, je32_to_cpu(spx->xid), in jffs2_sum_process_sum_data() 503 if (IS_ERR(xd)) in jffs2_sum_process_sum_data() 504 return PTR_ERR(xd); in jffs2_sum_process_sum_data() 505 if (xd->version > je32_to_cpu(spx->version)) { in jffs2_sum_process_sum_data() 510 raw->next_in_ino = xd->node->next_in_ino; in jffs2_sum_process_sum_data() 511 xd->node->next_in_ino = raw; in jffs2_sum_process_sum_data() 513 xd->version = je32_to_cpu(spx->version); in jffs2_sum_process_sum_data() 515 PAD(je32_to_cpu(spx->totlen)), (void *)xd); in jffs2_sum_process_sum_data()
|
D | wbuf.c | 477 struct jffs2_xattr_datum *xd = (void *)ic; in jffs2_wbuf_recover() local 478 BUG_ON(xd->node != raw); in jffs2_wbuf_recover() 479 adjust_ref = &xd->node; in jffs2_wbuf_recover()
|
/fs/jfs/ |
D | jfs_dtree.h | 20 pxd_t xd; member 53 pxd_t xd; /* 8: child extent descriptor */ member
|
D | jfs_dtree.c | 1220 data->xd = rpxd; /* child page xd */ in dtSplitUp() 3046 pxd_t *xd; in dtReadFirst() local 3087 xd = (pxd_t *) & p->slot[stbl[0]]; in dtReadFirst() 3090 bn = addressPXD(xd); in dtReadFirst() 3091 psize = lengthPXD(xd) << JFS_SBI(ip->i_sb)->l2bsize; in dtReadFirst() 3125 pxd_t *xd; in dtReadNext() local 3224 xd = (pxd_t *) & p->slot[stbl[pn]]; in dtReadNext() 3225 bn = addressPXD(xd); in dtReadNext() 3610 pxd_t *xd; in dtInsertEntry() local 3652 xd = (pxd_t *) ih; in dtInsertEntry() [all …]
|