Home
last modified time | relevance | path

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

/Linux-v4.19/fs/jfs/
Djfs_imap.c595 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in diWrite() local
614 ipimap = jfs_ip->ipimap; in diWrite()
618 if (!addressPXD(&(jfs_ip->ixpxd)) || in diWrite()
619 (lengthPXD(&(jfs_ip->ixpxd)) != in diWrite()
629 blkno = INOPBLK(&(jfs_ip->ixpxd), ino, sbi->l2nbperpage); in diWrite()
682 if (S_ISDIR(ip->i_mode) && (lid = jfs_ip->xtlid)) { in diWrite()
690 jfs_ip->xtlid = 0; in diWrite()
700 p = &jfs_ip->i_xtroot; in diWrite()
716 if ((lid = jfs_ip->blid) == 0) in diWrite()
718 jfs_ip->blid = 0; in diWrite()
[all …]
Djfs_txnmgr.c593 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in txLock() local
612 lid = jfs_ip->xtlid; in txLock()
654 if (jfs_ip->atlhead == lid) { in txLock()
655 if (jfs_ip->atltail == lid) { in txLock()
660 list_del_init(&jfs_ip->anon_inode_list); in txLock()
663 jfs_ip->atlhead = tlck->next; in txLock()
666 for (last = jfs_ip->atlhead; in txLock()
672 if (jfs_ip->atltail == lid) in txLock()
673 jfs_ip->atltail = last; in txLock()
736 jfs_ip->xtlid = lid; in txLock()
[all …]
Dsuper.c950 struct jfs_inode_info *jfs_ip = (struct jfs_inode_info *) foo; in init_once() local
952 memset(jfs_ip, 0, sizeof(struct jfs_inode_info)); in init_once()
953 INIT_LIST_HEAD(&jfs_ip->anon_inode_list); in init_once()
954 init_rwsem(&jfs_ip->rdwrlock); in init_once()
955 mutex_init(&jfs_ip->commit_mutex); in init_once()
956 init_rwsem(&jfs_ip->xattr_sem); in init_once()
957 spin_lock_init(&jfs_ip->ag_lock); in init_once()
958 jfs_ip->active_ag = -1; in init_once()
959 inode_init_once(&jfs_ip->vfs_inode); in init_once()
Djfs_dtree.c252 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in find_index() local
267 if (index >= jfs_ip->next_index) { in find_index()
277 slot = &jfs_ip->i_dirtable[index - 2]; in find_index()
338 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in add_index() local
352 if (jfs_ip->next_index < 2) { in add_index()
354 jfs_ip->next_index); in add_index()
355 jfs_ip->next_index = 2; in add_index()
358 index = jfs_ip->next_index++; in add_index()
369 dirtab_slot = &jfs_ip->i_dirtable[index-2]; in add_index()
396 memcpy(temp_table, &jfs_ip->i_dirtable, sizeof(temp_table)); in add_index()
[all …]
Djfs_xtree.c242 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in xtSearch() local
290 if ((jfs_ip->btorder & BT_SEQUENTIAL) && in xtSearch()
292 (index = jfs_ip->btindex) < in xtSearch()
365 jfs_ip->btindex = index; in xtSearch()
412 btindex = jfs_ip->btindex; in xtSearch()
415 jfs_ip->btorder = BT_SEQUENTIAL; in xtSearch()
417 jfs_ip->btorder = BT_RANDOM; in xtSearch()
418 jfs_ip->btindex = index; in xtSearch()
470 btindex = jfs_ip->btindex; in xtSearch()
472 jfs_ip->btorder = BT_SEQUENTIAL; in xtSearch()
[all …]
Dnamei.c1363 struct jfs_inode_info *jfs_ip; in jfs_mknod() local
1387 jfs_ip = JFS_IP(ip); in jfs_mknod()
1421 jfs_ip->dev = new_encode_dev(rdev); in jfs_mknod()