Home
last modified time | relevance | path

Searched refs:type_page (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/arch/sparc/kernel/
Dsys_sunos.c763 char *dir_page, *type_page; in sunos_mount() local
789 type_page = getname(type); in sunos_mount()
790 ret = PTR_ERR(type_page); in sunos_mount()
791 if (IS_ERR(type_page)) in sunos_mount()
794 if(strcmp(type_page, "ext2") == 0) { in sunos_mount()
796 } else if(strcmp(type_page, "iso9660") == 0) { in sunos_mount()
798 } else if(strcmp(type_page, "minix") == 0) { in sunos_mount()
800 } else if(strcmp(type_page, "nfs") == 0) { in sunos_mount()
803 } else if(strcmp(type_page, "ufs") == 0) { in sunos_mount()
807 } else if(strcmp(type_page, "proc")) { in sunos_mount()
[all …]
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sunos32.c730 char *dir_page, *type_page; in sunos_mount() local
755 type_page = getname(type); in sunos_mount()
756 ret = PTR_ERR(type_page); in sunos_mount()
757 if (IS_ERR(type_page)) in sunos_mount()
760 if(strcmp(type_page, "ext2") == 0) { in sunos_mount()
762 } else if(strcmp(type_page, "iso9660") == 0) { in sunos_mount()
764 } else if(strcmp(type_page, "minix") == 0) { in sunos_mount()
766 } else if(strcmp(type_page, "nfs") == 0) { in sunos_mount()
769 } else if(strcmp(type_page, "ufs") == 0) { in sunos_mount()
773 } else if(strcmp(type_page, "proc")) { in sunos_mount()
[all …]
Dsys_sparc32.c1814 unsigned long type_page = 0; in sys32_mount() local
1822 err = copy_mount_stuff_to_kernel((const void *)type, &type_page); in sys32_mount()
1826 if (type_page) { in sys32_mount()
1827 is_smb = !strcmp((char *)type_page, SMBFS_NAME); in sys32_mount()
1828 is_ncp = !strcmp((char *)type_page, NCPFS_NAME); in sys32_mount()
1848 (char*)type_page, new_flags, (char*)data_page); in sys32_mount()
1858 (char*)type_page, new_flags, (char*)data_page); in sys32_mount()
1870 free_page(type_page); in sys32_mount()
/linux-2.4.37.9/fs/
Dnamespace.c700 long do_mount(char * dev_name, char * dir_name, char *type_page, in do_mount() argument
743 retval = do_add_mount(&nd, type_page, flags, mnt_flags, in do_mount()
834 unsigned long type_page; in sys_mount() local
838 retval = copy_mount_options (type, &type_page); in sys_mount()
856 retval = do_mount((char*)dev_page, dir_page, (char*)type_page, in sys_mount()
866 free_page(type_page); in sys_mount()
/linux-2.4.37.9/arch/parisc/kernel/
Dsys_parisc32.c1185 unsigned long type_page = 0; in sys32_mount() local
1193 err = copy_mount_stuff_to_kernel((const void *)type, &type_page); in sys32_mount()
1197 if (!type_page) { in sys32_mount()
1202 is_smb = !strcmp((char *)type_page, SMBFS_NAME); in sys32_mount()
1203 is_ncp = !strcmp((char *)type_page, NCPFS_NAME); in sys32_mount()
1220 (char*)type_page, new_flags, (char*)data_page); in sys32_mount()
1233 (char*)type_page, new_flags, (char*)data_page); in sys32_mount()
1245 free_page(type_page); in sys32_mount()
/linux-2.4.37.9/arch/ia64/ia32/
Dsys_ia32.c4158 unsigned long type_page; in sys32_mount() local
4164 err = copy_mount_stuff_to_kernel((const void *)type, &type_page); in sys32_mount()
4167 if(type_page) { in sys32_mount()
4168 is_smb = !strcmp((char *)type_page, SMBFS_NAME); in sys32_mount()
4169 is_ncp = !strcmp((char *)type_page, NCPFS_NAME); in sys32_mount()
4172 if(type_page) in sys32_mount()
4173 free_page(type_page); in sys32_mount()
4198 (char *)type_page, new_flags, in sys32_mount()
4209 if(type_page) in sys32_mount()
4210 free_page(type_page); in sys32_mount()
/linux-2.4.37.9/arch/ppc64/kernel/
Dsys_ppc32.c419 unsigned long type_page = 0; in sys32_mount() local
429 err = copy_mount_stuff_to_kernel((const void *)type, &type_page); in sys32_mount()
433 if (!type_page) { in sys32_mount()
438 is_smb = !strcmp((char *)type_page, SMBFS_NAME); in sys32_mount()
439 is_ncp = !strcmp((char *)type_page, NCPFS_NAME); in sys32_mount()
456 (char*)type_page, new_flags, (char*)data_page); in sys32_mount()
466 (char*)type_page, new_flags, (char*)data_page); in sys32_mount()
478 free_page(type_page); in sys32_mount()
/linux-2.4.37.9/arch/s390x/kernel/
Dlinux32.c1737 unsigned long type_page = 0; in sys32_mount() local
1745 err = copy_mount_stuff_to_kernel((const void *)type, &type_page); in sys32_mount()
1749 if (!type_page) { in sys32_mount()
1754 is_smb = !strcmp((char *)type_page, SMBFS_NAME); in sys32_mount()
1755 is_ncp = !strcmp((char *)type_page, NCPFS_NAME); in sys32_mount()
1772 (char*)type_page, new_flags, (char*)data_page); in sys32_mount()
1782 (char*)type_page, new_flags, (char*)data_page); in sys32_mount()
1794 free_page(type_page); in sys32_mount()