Searched refs:f_ci (Results 1 – 6 of 6) sorted by relevance
119 return (fp->f_ci->m_flags & (S_DEL_PENDING | S_DEL_ON_CLS)); 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()247 struct ksmbd_inode *ci = fp->f_ci; in __ksmbd_inode_close()291 write_lock(&fp->f_ci->m_lock); in __ksmbd_remove_fd()293 write_unlock(&fp->f_ci->m_lock); in __ksmbd_remove_fd()585 fp->f_ci = ksmbd_inode_get(fp); in ksmbd_open_fd()587 if (!fp->f_ci) { in ksmbd_open_fd()[all …]
207 struct ksmbd_inode *ci = opinfo->o_fp->f_ci; in opinfo_add()216 struct ksmbd_inode *ci = opinfo->o_fp->f_ci; in opinfo_del()231 return atomic_read(&fp->f_ci->sop_count); in opinfo_count()233 return atomic_read(&fp->f_ci->op_count); in opinfo_count()239 return atomic_inc(&fp->f_ci->sop_count); in opinfo_count_inc()241 return atomic_inc(&fp->f_ci->op_count); in opinfo_count_inc()247 return atomic_dec(&fp->f_ci->sop_count); in opinfo_count_dec()249 return atomic_dec(&fp->f_ci->op_count); in opinfo_count_dec()1010 if (opinfo->o_fp->f_ci == ci) in find_same_lease_key()1196 struct ksmbd_inode *ci = fp->f_ci; in smb_grant_oplock()[all …]
646 read_lock(&curr_fp->f_ci->m_lock); in ksmbd_smb_check_shared_mode()647 list_for_each_entry(prev_fp, &curr_fp->f_ci->m_fp_list, node) { in ksmbd_smb_check_shared_mode()722 read_unlock(&curr_fp->f_ci->m_lock); in ksmbd_smb_check_shared_mode()
2525 da.attr = le32_to_cpu(fp->f_ci->m_fattr); in smb2_new_xattrs()2541 fp->f_ci->m_fattr &= ~(FILE_ATTRIBUTE_HIDDEN_LE | FILE_ATTRIBUTE_SYSTEM_LE); in smb2_update_xattrs()2551 fp->f_ci->m_fattr = cpu_to_le32(da.attr); in smb2_update_xattrs()3189 write_lock(&fp->f_ci->m_lock); in smb2_open()3190 list_add(&fp->node, &fp->f_ci->m_fp_list); in smb2_open()3191 write_unlock(&fp->f_ci->m_lock); in smb2_open()3233 rc = find_same_lease_key(sess, fp->f_ci, lc); in smb2_open()3307 if (req->FileAttributes || fp->f_ci->m_fattr == 0) in smb2_open()3308 fp->f_ci->m_fattr = in smb2_open()3335 rsp->FileAttributes = fp->f_ci->m_fattr; in smb2_open()[all …]
76 struct ksmbd_inode *f_ci; member
980 if (fp->f_ci->m_fattr & FILE_ATTRIBUTE_SPARSE_FILE_LE) in ksmbd_vfs_zero_data()