Searched refs:f_ci (Results 1 – 6 of 6) sorted by relevance
118 return (fp->f_ci->m_flags & S_DEL_PENDING); in ksmbd_inode_pending_delete()123 fp->f_ci->m_flags |= S_DEL_PENDING; in ksmbd_set_inode_pending_delete()128 fp->f_ci->m_flags &= ~S_DEL_PENDING; in ksmbd_clear_inode_pending_delete()135 fp->f_ci->m_flags |= S_DEL_ON_CLS_STREAM; in ksmbd_fd_set_delete_on_close()139 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()293 write_lock(&fp->f_ci->m_lock); in __ksmbd_remove_fd()295 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 …]
177 struct ksmbd_inode *ci = opinfo->o_fp->f_ci; in opinfo_add()186 struct ksmbd_inode *ci = opinfo->o_fp->f_ci; in opinfo_del()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()[all …]
524 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()
70 struct ksmbd_inode *f_ci; member
2381 da.attr = le32_to_cpu(fp->f_ci->m_fattr); in smb2_new_xattrs()2398 fp->f_ci->m_fattr &= ~(FILE_ATTRIBUTE_HIDDEN_LE | FILE_ATTRIBUTE_SYSTEM_LE); in smb2_update_xattrs()2408 fp->f_ci->m_fattr = cpu_to_le32(da.attr); in smb2_update_xattrs()3050 write_lock(&fp->f_ci->m_lock); in smb2_open()3051 list_add(&fp->node, &fp->f_ci->m_fp_list); in smb2_open()3052 write_unlock(&fp->f_ci->m_lock); in smb2_open()3074 rc = find_same_lease_key(sess, fp->f_ci, lc); in smb2_open()3148 if (req->FileAttributes || fp->f_ci->m_fattr == 0) in smb2_open()3149 fp->f_ci->m_fattr = in smb2_open()3176 rsp->FileAttributes = fp->f_ci->m_fattr; in smb2_open()[all …]
1010 if (fp->f_ci->m_fattr & FILE_ATTRIBUTE_SPARSE_FILE_LE) in ksmbd_vfs_zero_data()