Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/ksmbd/
A Dvfs_cache.c119 return (fp->f_ci->m_flags & S_DEL_PENDING); in ksmbd_inode_pending_delete()
124 fp->f_ci->m_flags |= S_DEL_PENDING; in ksmbd_set_inode_pending_delete()
129 fp->f_ci->m_flags &= ~S_DEL_PENDING; in ksmbd_clear_inode_pending_delete()
136 fp->f_ci->m_flags |= S_DEL_ON_CLS_STREAM; in ksmbd_fd_set_delete_on_close()
140 fp->f_ci->m_flags |= S_DEL_ON_CLS; in ksmbd_fd_set_delete_on_close()
248 struct ksmbd_inode *ci = fp->f_ci; in __ksmbd_inode_close()
294 write_lock(&fp->f_ci->m_lock); in __ksmbd_remove_fd()
296 write_unlock(&fp->f_ci->m_lock); in __ksmbd_remove_fd()
576 fp->f_ci = ksmbd_inode_get(fp); in ksmbd_open_fd()
578 if (!fp->f_ci) { in ksmbd_open_fd()
[all …]
A Doplock.c177 struct ksmbd_inode *ci = opinfo->o_fp->f_ci; in opinfo_add()
201 return atomic_read(&fp->f_ci->sop_count); in opinfo_count()
203 return atomic_read(&fp->f_ci->op_count); in opinfo_count()
209 return atomic_inc(&fp->f_ci->sop_count); in opinfo_count_inc()
211 return atomic_inc(&fp->f_ci->op_count); in opinfo_count_inc()
217 return atomic_dec(&fp->f_ci->sop_count); in opinfo_count_dec()
219 return atomic_dec(&fp->f_ci->op_count); in opinfo_count_dec()
999 if (opinfo->o_fp->f_ci == ci) in find_same_lease_key()
1100 struct ksmbd_inode *ci = fp->f_ci; in smb_grant_oplock()
1226 brk_opinfo = opinfo_get_list(fp->f_ci); in smb_break_all_write_oplock()
[all …]
A Dsmb_common.c524 read_lock(&curr_fp->f_ci->m_lock); in ksmbd_smb_check_shared_mode()
525 list_for_each_entry(prev_fp, &curr_fp->f_ci->m_fp_list, node) { in ksmbd_smb_check_shared_mode()
600 read_unlock(&curr_fp->f_ci->m_lock); in ksmbd_smb_check_shared_mode()
A Dvfs_cache.h70 struct ksmbd_inode *f_ci; member
A Dsmb2pdu.c2364 da.attr = le32_to_cpu(fp->f_ci->m_fattr); in smb2_new_xattrs()
2391 fp->f_ci->m_fattr = cpu_to_le32(da.attr); in smb2_update_xattrs()
3033 write_lock(&fp->f_ci->m_lock); in smb2_open()
3035 write_unlock(&fp->f_ci->m_lock); in smb2_open()
3132 fp->f_ci->m_fattr = in smb2_open()
3159 rsp->FileAttributes = fp->f_ci->m_fattr; in smb2_open()
5349 rsp->Attributes = fp->f_ci->m_fattr; in smb2_close()
7094 if (atomic_read(&fp->f_ci->op_count) > 1) in smb2_lock()
7521 old_fattr = fp->f_ci->m_fattr; in fsctl_set_sparse()
7527 if (fp->f_ci->m_fattr != old_fattr && in fsctl_set_sparse()
[all …]
A Dvfs.c1011 if (fp->f_ci->m_fattr & FILE_ATTRIBUTE_SPARSE_FILE_LE) in ksmbd_vfs_zero_data()

Completed in 24 milliseconds