• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jfs/

Lines Matching defs:ji

181 	struct jfs_inode_info *ji = JFS_IP(ip);
188 assert(size <= sizeof (ji->i_inline_ea));
194 if (!(ji->mode2 & INLINEEA) && !(ji->ea.flag & DXD_INLINE))
200 memcpy(ji->i_inline_ea, ealist, size);
202 ji->mode2 &= ~INLINEEA;
210 if (ji->ea.flag & DXD_INLINE)
211 ji->mode2 |= INLINEEA;
240 struct jfs_inode_info *ji = JFS_IP(ip);
254 if (!ealist || size <= sizeof (ji->i_inline_ea)) {
328 if (ji->ea.flag & DXD_INLINE)
329 ji->mode2 |= INLINEEA;
354 struct jfs_inode_info *ji = JFS_IP(ip);
355 int ea_size = sizeDXD(&ji->ea);
363 if ((sizeDXD(&ji->ea) > sizeof (ji->i_inline_ea)))
365 if (le32_to_cpu(((struct jfs_ea_list *) &ji->i_inline_ea)->size)
369 memcpy(ealist, ji->i_inline_ea, ea_size);
389 struct jfs_inode_info *ji = JFS_IP(ip);
400 if (ji->ea.flag & DXD_INLINE)
403 nbytes = sizeDXD(&ji->ea);
413 nblocks = lengthDXD(&ji->ea) << sbi->l2nbperpage;
414 blkno = addressDXD(&ji->ea) << sbi->l2nbperpage;
463 struct jfs_inode_info *ji = JFS_IP(inode);
466 int ea_size = sizeDXD(&ji->ea);
473 if (ji->ea.flag == 0)
483 if ((min_size <= sizeof (ji->i_inline_ea)) &&
484 (ji->mode2 & INLINEEA)) {
486 ea_buf->max_size = sizeof (ji->i_inline_ea);
487 ea_buf->xattr = (struct jfs_ea_list *) ji->i_inline_ea;
495 } else if (ji->ea.flag & DXD_INLINE) {
496 if (min_size <= sizeof (ji->i_inline_ea)) {
498 ea_buf->max_size = sizeof (ji->i_inline_ea);
499 ea_buf->xattr = (struct jfs_ea_list *) ji->i_inline_ea;
504 if (!(ji->ea.flag & DXD_EXTENT)) {
579 ea_buf->mp = read_metapage(inode, addressDXD(&ji->ea),
580 lengthDXD(&ji->ea) << sb->s_blocksize_bits,
626 struct jfs_inode_info *ji = JFS_IP(inode);
634 assert(new_size <= sizeof (ji->i_inline_ea));
635 ji->mode2 &= ~INLINEEA;
656 if (ji->ea.flag & DXD_EXTENT) {
657 invalidate_dxd_metapages(inode, ji->ea);
658 old_blocks = lengthDXD(&ji->ea);
662 txEA(tid, inode, &ji->ea, &ea_buf->new_ea);
665 if (ji->ea.flag & DXD_INLINE)
666 ji->mode2 |= INLINEEA;
668 ji->ea = ea_buf->new_ea;
670 txEA(tid, inode, &ji->ea, NULL);
671 if (ji->ea.flag & DXD_INLINE)
672 ji->mode2 |= INLINEEA;
673 ji->ea.flag = 0;
674 ji->ea.size = 0;
925 struct jfs_inode_info *ji = JFS_IP(inode);
938 mutex_lock(&ji->commit_mutex);
944 mutex_unlock(&ji->commit_mutex);
1089 struct jfs_inode_info *ji = JFS_IP(inode);
1097 mutex_lock(&ji->commit_mutex);
1102 mutex_unlock(&ji->commit_mutex);