Searched defs:sr (Results 1 - 5 of 5) sorted by relevance

/fs/
H A Dioctl.c428 struct space_resv sr; local
430 if (copy_from_user(&sr, argp, sizeof(sr)))
433 switch (sr.l_whence) {
437 sr.l_start += filp->f_pos;
440 sr.l_start += i_size_read(inode);
446 return do_fallocate(filp, FALLOC_FL_KEEP_SIZE, sr.l_start, sr.l_len);
/fs/ncpfs/
H A Dioctl.c371 struct ncp_setroot_ioctl sr; local
382 sr.volNumber = NCP_FINFO(s_inode)->volNumber;
383 sr.dirEntNum = NCP_FINFO(s_inode)->dirEntNum;
384 sr.namespace = server->name_space[sr.volNumber];
391 sr.volNumber = -1;
392 sr.namespace = 0;
393 sr.dirEntNum = 0;
397 if (!result && copy_to_user(argp, &sr, sizeof(sr)))
404 struct ncp_setroot_ioctl sr; local
[all...]
/fs/nilfs2/
H A Drecovery.c146 struct nilfs_super_root *sr; local
157 sr = (struct nilfs_super_root *)bh_sr->b_data;
159 unsigned bytes = le16_to_cpu(sr->sr_bytes);
166 nilfs, bh_sr, &crc, sizeof(sr->sr_sum), bytes,
171 if (crc != le32_to_cpu(sr->sr_sum)) {
/fs/ocfs2/
H A Dioctl.c850 struct ocfs2_space_resv sr; local
882 if (copy_from_user(&sr, (int __user *) arg, sizeof(sr)))
885 return ocfs2_change_file_space(filp, cmd, &sr);
H A Dfile.c1832 struct ocfs2_space_resv *sr,
1868 switch (sr->l_whence) {
1872 sr->l_start += f_pos;
1875 sr->l_start += i_size_read(inode);
1881 sr->l_whence = 0;
1883 llen = sr->l_len > 0 ? sr->l_len - 1 : sr->l_len;
1885 if (sr->l_start < 0
1886 || sr
1830 __ocfs2_change_file_space(struct file *file, struct inode *inode, loff_t f_pos, unsigned int cmd, struct ocfs2_space_resv *sr, int change_size) argument
1969 ocfs2_change_file_space(struct file *file, unsigned int cmd, struct ocfs2_space_resv *sr) argument
2002 struct ocfs2_space_resv sr; local
[all...]

Completed in 147 milliseconds