Home
last modified time | relevance | path

Searched refs:li (Results 1 – 10 of 10) sorted by relevance

/fs/logfs/
Dinode.c124 struct logfs_inode *li; in logfs_safe_iget() local
132 list_for_each_entry(li, &super->s_freeing_list, li_freeing_list) in logfs_safe_iget()
133 if (li->vfs_inode.i_ino == ino) { in logfs_safe_iget()
134 li->li_refcount++; in logfs_safe_iget()
137 return &li->vfs_inode; in logfs_safe_iget()
153 struct logfs_inode *li = logfs_inode(inode); in __logfs_destroy_inode() local
155 BUG_ON(li->li_block); in __logfs_destroy_inode()
156 list_del(&li->li_freeing_list); in __logfs_destroy_inode()
162 struct logfs_inode *li = logfs_inode(inode); in __logfs_destroy_meta_inode() local
163 BUG_ON(li->li_block); in __logfs_destroy_meta_inode()
[all …]
Dreadwrite.c116 struct logfs_inode *li = logfs_inode(inode); in logfs_disk_to_inode() local
120 li->li_height = di->di_height; in logfs_disk_to_inode()
121 li->li_flags = be32_to_cpu(di->di_flags); in logfs_disk_to_inode()
143 li->li_data[i] = be64_to_cpu(di->di_data[i]); in logfs_disk_to_inode()
152 struct logfs_inode *li = logfs_inode(inode); in logfs_inode_to_disk() local
156 di->di_height = li->li_height; in logfs_inode_to_disk()
158 di->di_flags = cpu_to_be32(li->li_flags); in logfs_inode_to_disk()
162 di->di_used_bytes = cpu_to_be64(li->li_used_bytes); in logfs_inode_to_disk()
180 di->di_data[i] = cpu_to_be64(li->li_data[i]); in logfs_inode_to_disk()
190 struct logfs_inode *li = logfs_inode(inode); in __logfs_set_blocks() local
[all …]
Djournal.c92 struct logfs_inode *li = logfs_inode(inode); in read_anchor() local
96 li->li_flags = 0; in read_anchor()
97 li->li_height = da->da_height; in read_anchor()
99 li->li_used_bytes = be64_to_cpu(da->da_used_bytes); in read_anchor()
102 li->li_data[i] = be64_to_cpu(da->da_data[i]); in read_anchor()
495 struct logfs_inode *li = logfs_inode(inode); in account_shadows() local
503 if (li->li_block) { in account_shadows()
510 li->li_block->ops->free_block(sb, li->li_block); in account_shadows()
512 BUG_ON((s64)li->li_used_bytes < 0); in account_shadows()
521 struct logfs_inode *li = logfs_inode(inode); in __logfs_write_anchor() local
[all …]
Dfile.c188 struct logfs_inode *li = logfs_inode(inode); in logfs_ioctl() local
194 flags = li->li_flags & LOGFS_FL_USER_VISIBLE; in logfs_ioctl()
208 oldflags = li->li_flags; in logfs_ioctl()
211 li->li_flags = flags; in logfs_ioctl()
Ddir.c411 struct logfs_inode *li = logfs_inode(inode); in __logfs_create() local
438 li->li_flags |= LOGFS_IF_STILLBORN; in __logfs_create()
/fs/cifs/
Dsmb2file.c118 struct cifsLockInfo *li, *tmp; in smb2_unlock_range() local
140 list_for_each_entry_safe(li, tmp, &cfile->llist->locks, llist) { in smb2_unlock_range()
141 if (flock->fl_start > li->offset || in smb2_unlock_range()
143 (li->offset + li->length)) in smb2_unlock_range()
145 if (current->tgid != li->pid) in smb2_unlock_range()
152 list_del(&li->llist); in smb2_unlock_range()
153 cifs_del_lock_waiters(li); in smb2_unlock_range()
154 kfree(li); in smb2_unlock_range()
157 cur->Length = cpu_to_le64(li->length); in smb2_unlock_range()
158 cur->Offset = cpu_to_le64(li->offset); in smb2_unlock_range()
[all …]
Dfile.c374 struct cifsLockInfo *li, *tmp; in cifsFileInfo_put() local
436 list_for_each_entry_safe(li, tmp, &cifs_file->llist->locks, llist) { in cifsFileInfo_put()
437 list_del(&li->llist); in cifsFileInfo_put()
438 cifs_del_lock_waiters(li); in cifsFileInfo_put()
439 kfree(li); in cifsFileInfo_put()
885 struct cifsLockInfo *li, *tmp; in cifs_del_lock_waiters() local
886 list_for_each_entry_safe(li, tmp, &lock->blist, blist) { in cifs_del_lock_waiters()
887 list_del_init(&li->blist); in cifs_del_lock_waiters()
888 wake_up(&li->block_q); in cifs_del_lock_waiters()
902 struct cifsLockInfo *li; in cifs_find_fid_lock_conflict() local
[all …]
/fs/xfs/libxfs/
Dxfs_defer.c198 struct list_head *li; in xfs_defer_intake_work() local
207 list_for_each(li, &dfp->dfp_work) in xfs_defer_intake_work()
208 dfp->dfp_type->log_item(tp, dfp->dfp_intent, li); in xfs_defer_intake_work()
324 struct list_head *li; in xfs_defer_finish() local
354 list_for_each_safe(li, n, &dfp->dfp_work) { in xfs_defer_finish()
355 list_del(li); in xfs_defer_finish()
357 error = dfp->dfp_type->finish_item(*tp, dop, li, in xfs_defer_finish()
365 list_add(li, &dfp->dfp_work); in xfs_defer_finish()
391 list_for_each(li, &dfp->dfp_work) in xfs_defer_finish()
393 li); in xfs_defer_finish()
[all …]
/fs/udf/
Dinode.c1069 struct kernel_long_ad *li /*l[i]*/ = &laarr[i]; in udf_merge_extents() local
1072 if (((li->extLength >> 30) == (lip1->extLength >> 30)) && in udf_merge_extents()
1073 (((li->extLength >> 30) == in udf_merge_extents()
1076 li->extLocation.logicalBlockNum) == in udf_merge_extents()
1077 (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1080 if (((li->extLength & UDF_EXTENT_LENGTH_MASK) + in udf_merge_extents()
1084 (li->extLength & in udf_merge_extents()
1088 li->extLength = (li->extLength & in udf_merge_extents()
1093 li->extLocation.logicalBlockNum + in udf_merge_extents()
1094 ((li->extLength & in udf_merge_extents()
[all …]
/fs/jfs/
Djfs_dtree.c182 static int ciGetLeafPrefixKey(dtpage_t * lp, int li, dtpage_t * rp,
3774 static int ciGetLeafPrefixKey(dtpage_t * lp, int li, dtpage_t * rp, in ciGetLeafPrefixKey() argument
3795 dtGetKey(lp, li, &lkey, flag); in ciGetLeafPrefixKey()