Searched refs:tn (Results 1 – 4 of 4) sorted by relevance
/fs/jffs2/ |
D | readinode.c | 29 static int check_node_data(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info *tn) in check_node_data() argument 31 struct jffs2_raw_node_ref *ref = tn->fn->raw; in check_node_data() 38 BUG_ON(tn->csize == 0); in check_node_data() 42 len = tn->csize; in check_node_data() 49 if (adj >= tn->csize) { in check_node_data() 51 ref_offset(ref), tn->csize, ofs); in check_node_data() 60 ref_offset(ref), tn->csize, tn->partial_crc, tn->data_crc, ofs - len, ofs, len); in check_node_data() 69 JFFS2_WARNING("MTD point returned len too short: %zu instead of %u.\n", retlen, tn->csize); in check_node_data() 99 crc = crc32(tn->partial_crc, buffer, len); in check_node_data() 107 if (crc != tn->data_crc) { in check_node_data() [all …]
|
D | nodelist.h | 350 #define tn_next(tn) rb_entry(rb_next(&(tn)->rb), struct jffs2_tmp_dnode_info, rb) argument 351 #define tn_prev(tn) rb_entry(rb_prev(&(tn)->rb), struct jffs2_tmp_dnode_info, rb) argument 352 #define tn_parent(tn) rb_entry(rb_parent(&(tn)->rb), struct jffs2_tmp_dnode_info, rb) argument 353 #define tn_left(tn) rb_entry((tn)->rb.rb_left, struct jffs2_tmp_dnode_info, rb) argument 354 #define tn_right(tn) rb_entry((tn)->rb.rb_right, struct jffs2_tmp_dnode_info, rb) argument 355 #define tn_erase(tn, list) rb_erase(&tn->rb, list); argument
|
/fs/yaffs2/ |
D | yaffs_guts.c | 73 static int yaffs_DeleteWorker(yaffs_Object *in, yaffs_Tnode *tn, __u32 level, 110 static __u32 yaffs_GetChunkGroupBase(yaffs_Device *dev, yaffs_Tnode *tn, 601 static int yaffs_VerifyTnodeWorker(yaffs_Object *obj, yaffs_Tnode *tn, in yaffs_VerifyTnodeWorker() argument 608 if (tn) { in yaffs_VerifyTnodeWorker() 612 if (tn->internal[i]) { in yaffs_VerifyTnodeWorker() 614 tn->internal[i], in yaffs_VerifyTnodeWorker() 626 __u32 theChunk = yaffs_GetChunkGroupBase(dev, tn, i); in yaffs_VerifyTnodeWorker() 656 yaffs_Tnode *tn; in yaffs_VerifyFile() local 694 tn = yaffs_FindLevel0Tnode(dev, &obj->variant.fileVariant, i); in yaffs_VerifyFile() 696 if (tn) { in yaffs_VerifyFile() [all …]
|
/fs/ |
D | compat_ioctl.c | 1814 struct timeval __user *tn = compat_alloc_user_space(sizeof(struct timeval)); in lp_timeout_trans() local 1818 put_user(ts.tv_sec, &tn->tv_sec) || in lp_timeout_trans() 1819 put_user(ts.tv_usec, &tn->tv_usec)) in lp_timeout_trans() 1821 return sys_ioctl(fd, cmd, (unsigned long)tn); in lp_timeout_trans()
|