Searched refs:sr (Results 1 – 6 of 6) sorted by relevance
/fs/ncpfs/ |
D | ioctl.c | 371 struct ncp_setroot_ioctl sr; in __ncp_ioctl() local 382 sr.volNumber = NCP_FINFO(s_inode)->volNumber; in __ncp_ioctl() 383 sr.dirEntNum = NCP_FINFO(s_inode)->dirEntNum; in __ncp_ioctl() 384 sr.namespace = server->name_space[sr.volNumber]; in __ncp_ioctl() 391 sr.volNumber = -1; in __ncp_ioctl() 392 sr.namespace = 0; in __ncp_ioctl() 393 sr.dirEntNum = 0; in __ncp_ioctl() 397 if (!result && copy_to_user(argp, &sr, sizeof(sr))) in __ncp_ioctl() 404 struct ncp_setroot_ioctl sr; in __ncp_ioctl() local 410 if (copy_from_user(&sr, argp, sizeof(sr))) in __ncp_ioctl() [all …]
|
/fs/ocfs2/ |
D | file.c | 1842 struct ocfs2_space_resv *sr, in __ocfs2_change_file_space() argument 1878 switch (sr->l_whence) { in __ocfs2_change_file_space() 1882 sr->l_start += f_pos; in __ocfs2_change_file_space() 1885 sr->l_start += i_size_read(inode); in __ocfs2_change_file_space() 1891 sr->l_whence = 0; in __ocfs2_change_file_space() 1893 llen = sr->l_len > 0 ? sr->l_len - 1 : sr->l_len; in __ocfs2_change_file_space() 1895 if (sr->l_start < 0 in __ocfs2_change_file_space() 1896 || sr->l_start > max_off in __ocfs2_change_file_space() 1897 || (sr->l_start + llen) < 0 in __ocfs2_change_file_space() 1898 || (sr->l_start + llen) > max_off) { in __ocfs2_change_file_space() [all …]
|
D | ioctl.c | 848 struct ocfs2_space_resv sr; in ocfs2_ioctl() local 880 if (copy_from_user(&sr, (int __user *) arg, sizeof(sr))) in ocfs2_ioctl() 883 return ocfs2_change_file_space(filp, cmd, &sr); in ocfs2_ioctl()
|
D | file.h | 81 struct ocfs2_space_resv *sr);
|
/fs/ |
D | ioctl.c | 456 struct space_resv sr; in ioctl_preallocate() local 458 if (copy_from_user(&sr, argp, sizeof(sr))) in ioctl_preallocate() 461 switch (sr.l_whence) { in ioctl_preallocate() 465 sr.l_start += filp->f_pos; in ioctl_preallocate() 468 sr.l_start += i_size_read(inode); in ioctl_preallocate() 474 return vfs_fallocate(filp, FALLOC_FL_KEEP_SIZE, sr.l_start, sr.l_len); in ioctl_preallocate()
|
/fs/nilfs2/ |
D | recovery.c | 143 struct nilfs_super_root *sr; in nilfs_read_super_root_block() local 154 sr = (struct nilfs_super_root *)bh_sr->b_data; in nilfs_read_super_root_block() 156 unsigned int bytes = le16_to_cpu(sr->sr_bytes); in nilfs_read_super_root_block() 163 nilfs, bh_sr, &crc, sizeof(sr->sr_sum), bytes, in nilfs_read_super_root_block() 168 if (crc != le32_to_cpu(sr->sr_sum)) { in nilfs_read_super_root_block()
|