Lines Matching refs:sr
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()
416 if (sr.volNumber < 0) { in __ncp_ioctl()
422 } else if (sr.volNumber >= NCP_NUMBER_OF_VOLUMES) { in __ncp_ioctl()
424 } else if (ncp_mount_subdir(server, sr.volNumber, in __ncp_ioctl()
425 sr.namespace, sr.dirEntNum, in __ncp_ioctl()