Home
last modified time | relevance | path

Searched refs:jfs_ip (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/fs/jfs/
Djfs_txnmgr.c580 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in txLock() local
599 lid = jfs_ip->xtlid; in txLock()
641 if (jfs_ip->atlhead == lid) { in txLock()
642 if (jfs_ip->atltail == lid) { in txLock()
647 list_del_init(&jfs_ip->anon_inode_list); in txLock()
650 jfs_ip->atlhead = tlck->next; in txLock()
653 for (last = jfs_ip->atlhead; in txLock()
659 if (jfs_ip->atltail == lid) in txLock()
660 jfs_ip->atltail = last; in txLock()
723 jfs_ip->xtlid = lid; in txLock()
[all …]
Djfs_imap.c580 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in diWrite() local
599 ipimap = jfs_ip->ipimap; in diWrite()
603 if (!addressPXD(&(jfs_ip->ixpxd)) || in diWrite()
604 (lengthPXD(&(jfs_ip->ixpxd)) != in diWrite()
614 blkno = INOPBLK(&(jfs_ip->ixpxd), ino, sbi->l2nbperpage); in diWrite()
667 if (S_ISDIR(ip->i_mode) && (lid = jfs_ip->xtlid)) { in diWrite()
675 jfs_ip->xtlid = 0; in diWrite()
685 p = &jfs_ip->i_xtroot; in diWrite()
701 if ((lid = jfs_ip->blid) == 0) in diWrite()
703 jfs_ip->blid = 0; in diWrite()
[all …]
Dsuper.c917 struct jfs_inode_info *jfs_ip = (struct jfs_inode_info *) foo; in init_once() local
919 memset(jfs_ip, 0, sizeof(struct jfs_inode_info)); in init_once()
920 INIT_LIST_HEAD(&jfs_ip->anon_inode_list); in init_once()
921 init_rwsem(&jfs_ip->rdwrlock); in init_once()
922 mutex_init(&jfs_ip->commit_mutex); in init_once()
923 init_rwsem(&jfs_ip->xattr_sem); in init_once()
924 spin_lock_init(&jfs_ip->ag_lock); in init_once()
925 jfs_ip->active_ag = -1; in init_once()
926 inode_init_once(&jfs_ip->vfs_inode); in init_once()
Djfs_xtree.c218 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in xtSearch() local
266 if ((jfs_ip->btorder & BT_SEQUENTIAL) && in xtSearch()
268 (index = jfs_ip->btindex) < in xtSearch()
341 jfs_ip->btindex = index; in xtSearch()
388 btindex = jfs_ip->btindex; in xtSearch()
391 jfs_ip->btorder = BT_SEQUENTIAL; in xtSearch()
393 jfs_ip->btorder = BT_RANDOM; in xtSearch()
394 jfs_ip->btindex = index; in xtSearch()
446 btindex = jfs_ip->btindex; in xtSearch()
448 jfs_ip->btorder = BT_SEQUENTIAL; in xtSearch()
[all …]
Djfs_dtree.c239 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in find_index() local
254 if (index >= jfs_ip->next_index) { in find_index()
264 slot = &jfs_ip->i_dirtable[index - 2]; in find_index()
325 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in add_index() local
339 if (jfs_ip->next_index < 2) { in add_index()
341 jfs_ip->next_index); in add_index()
342 jfs_ip->next_index = 2; in add_index()
345 index = jfs_ip->next_index++; in add_index()
356 dirtab_slot = &jfs_ip->i_dirtable[index-2]; in add_index()
383 memcpy(temp_table, &jfs_ip->i_dirtable, sizeof(temp_table)); in add_index()
[all …]
Dnamei.c1351 struct jfs_inode_info *jfs_ip; in jfs_mknod() local
1375 jfs_ip = JFS_IP(ip); in jfs_mknod()
1409 jfs_ip->dev = new_encode_dev(rdev); in jfs_mknod()