Lines Matching refs:result
426 int result, mtime_valid = 0; in ncp_readdir() local
434 result = -EIO; in ncp_readdir()
439 result = 0; in ncp_readdir()
567 return result; in ncp_readdir()
788 int result; in ncp_conn_logged_in() local
799 result = ncp_io2vol(server, __name, &len, server->m.mounted_vol, in ncp_conn_logged_in()
801 if (result) in ncp_conn_logged_in()
803 result = -ENOENT; in ncp_conn_logged_in()
816 result = 0; in ncp_conn_logged_in()
824 result = 0; in ncp_conn_logged_in()
827 return result; in ncp_conn_logged_in()
915 int error, result, len; in ncp_create_new() local
935 result = ncp_open_create_file_or_subdir(server, dir, __name, in ncp_create_new()
939 if (result) { in ncp_create_new()
940 result = ncp_open_create_file_or_subdir(server, dir, __name, in ncp_create_new()
943 if (result) { in ncp_create_new()
944 if (result == 0x87) in ncp_create_new()
946 else if (result < 0) in ncp_create_new()
947 error = result; in ncp_create_new()
1015 int error, result, len; in ncp_rmdir() local
1026 result = ncp_del_file_or_subdir(server, dir, __name); in ncp_rmdir()
1027 switch (result) { in ncp_rmdir()
1049 error = result < 0 ? result : -EACCES; in ncp_rmdir()