• Home
  • Raw
  • Download

Lines Matching refs:m

167 		inode->i_mode = server->m.dir_mode;  in ncp_update_attrs()
174 inode->i_mode = server->m.file_mode; in ncp_update_attrs()
178 if ((server->m.flags & (NCP_MOUNT_EXTRAS|NCP_MOUNT_SYMLINKS)) in ncp_update_attrs()
182 if (server->m.flags & NCP_MOUNT_SYMLINKS) { in ncp_update_attrs()
192 if (server->m.flags & NCP_MOUNT_EXTRAS) in ncp_update_attrs()
196 if (server->m.flags & NCP_MOUNT_EXTRAS) in ncp_update_attrs()
236 inode->i_uid = server->m.uid; in ncp_set_attr()
237 inode->i_gid = server->m.gid; in ncp_set_attr()
335 if (!uid_eq(server->m.uid, GLOBAL_ROOT_UID)) in ncp_show_options()
337 from_kuid_munged(&init_user_ns, server->m.uid)); in ncp_show_options()
338 if (!gid_eq(server->m.gid, GLOBAL_ROOT_GID)) in ncp_show_options()
340 from_kgid_munged(&init_user_ns, server->m.gid)); in ncp_show_options()
341 if (!uid_eq(server->m.mounted_uid, GLOBAL_ROOT_UID)) in ncp_show_options()
343 from_kuid_munged(&init_user_ns, server->m.mounted_uid)); in ncp_show_options()
344 tmp = server->m.file_mode & S_IALLUGO; in ncp_show_options()
347 tmp = server->m.dir_mode & S_IALLUGO; in ncp_show_options()
350 if (server->m.time_out != NCP_DEFAULT_TIME_OUT * HZ / 100) { in ncp_show_options()
351 tmp = server->m.time_out * 100 / HZ; in ncp_show_options()
354 if (server->m.retry_count != NCP_DEFAULT_RETRY_COUNT) in ncp_show_options()
355 seq_printf(seq, ",retry=%u", server->m.retry_count); in ncp_show_options()
356 if (server->m.flags != 0) in ncp_show_options()
357 seq_printf(seq, ",flags=%lu", server->m.flags); in ncp_show_options()
358 if (server->m.wdog_pid != NULL) in ncp_show_options()
359 seq_printf(seq, ",wdogpid=%u", pid_vnr(server->m.wdog_pid)); in ncp_show_options()
613 server->m = data; in ncp_fill_super()
616 if (server->m.time_out < 1) { in ncp_fill_super()
617 server->m.time_out = 10; in ncp_fill_super()
620 server->m.time_out = server->m.time_out * HZ / 100; in ncp_fill_super()
621 server->m.file_mode = (server->m.file_mode & S_IRWXUGO) | S_IFREG; in ncp_fill_super()
622 server->m.dir_mode = (server->m.dir_mode & S_IRWXUGO) | S_IFDIR; in ncp_fill_super()
802 kill_pid(server->m.wdog_pid, SIGTERM, 1); in ncp_put_super()
803 put_pid(server->m.wdog_pid); in ncp_put_super()
842 if (!s->m.mounted_vol[0]) { in ncp_statfs()
903 if ((attr->ia_valid & ATTR_UID) && !uid_eq(attr->ia_uid, server->m.uid)) in ncp_notify_change()
906 if ((attr->ia_valid & ATTR_GID) && !gid_eq(attr->ia_gid, server->m.gid)) in ncp_notify_change()
925 newmode &= server->m.dir_mode; in ncp_notify_change()
928 if (server->m.flags & NCP_MOUNT_EXTRAS) { in ncp_notify_change()
930 if (newmode & ~server->m.file_mode & S_IXUGO) in ncp_notify_change()
933 else if (newmode & ~server->m.file_mode & S_IRUGO) in ncp_notify_change()
937 newmode &= server->m.file_mode; in ncp_notify_change()