Searched refs:share (Results 1 - 23 of 23) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DStatisticsManager.h26 void ShareRemoved(Share* share);
28 void ShareMounted(Share* share, User* user);
29 void ShareUnmounted(Share* share, User* user);
36 status_t GetShareStatistics(Share* share,
38 status_t GetShareStatistics(const char* share,
H A DStatisticsManager.cpp17 ShareStatistics(const char* share) argument
18 : fShare(share),
93 // delete the share statistics
111 // create share info map
167 StatisticsManager::ShareRemoved(Share* share) argument
169 if (!share)
174 ShareStatistics* statistics = fShareStatistics->Remove(share->GetName());
180 StatisticsManager::ShareMounted(Share* share, User* user) argument
182 if (!share || !user)
188 ShareStatistics* statistics = fShareStatistics->Get(share
208 ShareUnmounted(Share* share, User* user) argument
248 GetShareStatistics(Share* share, BMessage* statistics) argument
258 GetShareStatistics(const char* share, BMessage* _statistics) argument
[all...]
H A DSecurityContext.cpp475 // remove all share references
477 Share* share = it.Next().value; local
478 share->ReleaseReference();
512 Share* share = it.Next().value; local
514 error = share->Archive(&shareArchive, deep);
772 // check, if the share does already exist
777 // create a the share
778 Share* share = new(std::nothrow) Share;
779 if (!share)
781 BReference<Share> shareReference(share, tru
847 Share* share = FindShare(name); local
864 RemoveShare(Share* share) argument
892 Share* share = fShares->Get(name); local
917 Share* share = it.Next().value; local
[all...]
H A DNetFSServer.cpp472 // get share name and path
473 const char* share; local
475 if (message->FindString("share", &share) != B_OK
481 // add the share
482 status_t error = fSecurityContext->AddShare(share, path);
493 // get share name
495 if (message->FindString("share", &shareName) != B_OK) {
500 // remove the share
501 Share* share; local
551 Share* share = fSecurityContext->FindShare(shareName); local
615 Share* share = fSecurityContext->FindShare(shareName); local
655 Share* share = fSecurityContext->FindShare(shareName); local
701 Share* share = fSecurityContext->FindShare(shareName); local
836 Share* share; local
[all...]
H A DSecurityContext.h98 Share** share = NULL);
100 Share** share = NULL);
102 Share** share = NULL);
103 status_t RemoveShare(Share* share);
H A DClientVolume.cpp76 ClientVolume::Mount(UserSecurityContext* securityContext, Share* share) argument
78 if (!securityContext || !share)
86 fShare = share;
88 dev_t volumeID = share->GetVolumeID();
89 ino_t nodeID = share->GetNodeID();
95 // get the share permissions
240 // in the first place. Otherwise someone with access to a low-security share
H A DClientConnection.h51 void ShareRemoved(Share* share);
52 void UserPermissionsChanged(Share* share,
H A DClientVolume.h43 Share* share);
H A DClientConnection.cpp371 ClientConnection::ShareRemoved(Share* share) argument
396 bool unmount = (volume->GetShare() == share);
411 ClientConnection::UserPermissionsChanged(Share* share, User* user, argument
439 bool concerned = (volume->GetShare() == share
531 const char* shareName = request->share.GetString();
573 // get the share
574 Share* share = NULL; local
579 share = fSecurityContext->FindShare(shareName);
580 if (share) {
581 mountPoint = share
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/netfs_server_prefs/
H A DNetFSServerRoster.cpp185 NetFSServerRoster::AddShare(const char* share, const char* path) argument
188 if (!share || strlen(share) < 1 || !path || strlen(path) < 1)
193 if (request.AddString("share", share) != B_OK
204 NetFSServerRoster::RemoveShare(const char* share) argument
207 if (!share || strlen(share) < 1)
212 if (request.AddString("share", share) !
245 GetShareUsers(const char* share, BMessage* users) argument
271 GetShareStatistics(const char* share, BMessage* statistics) argument
300 SetUserPermissions(const char* share, const char* user, uint32 permissions) argument
321 GetUserPermissions(const char* share, const char* user, uint32* permissions) argument
[all...]
H A DNetFSServerRoster.h29 status_t AddShare(const char* share, const char* path);
30 status_t RemoveShare(const char* share);
32 status_t GetShareUsers(const char* share,
34 status_t GetShareStatistics(const char* share,
38 status_t SetUserPermissions(const char* share,
40 status_t GetUserPermissions(const char* share,
H A DNetFSServerPrefs.cpp37 " add share <name> <path>\n"
38 " add a new share with the name <name> and path <path>\n"
39 " remove share <name>\n"
40 " remove the share named <name>\n"
46 " permissions <user> <share> [ m ] [ r ] [ w ] [ q ]\n"
47 " set the permissions of user <user> for share <share> to m(ount),\n"
156 const char* share; local
157 for (int32 i = 0; shares.FindString("shares", i, &share) == B_OK; i++) {
163 // get share user
309 set_user_permissions(const char* user, const char* share, uint32 permissions) argument
473 const char* share = next_arg(argc, argv, argi); local
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/client/
H A DAuthenticationServer.h16 const char* server, const char* share,
H A DAuthenticationServer.cpp34 const char* share, uid_t uid, bool badPassword,
39 if (!context || !server || !share || !_foundPassword)
54 error = request.AddString("share", share);
33 GetAuthentication(const char* context, const char* server, const char* share, uid_t uid, bool badPassword, bool* _cancelled, char* _foundUser, int32 foundUserSize, char* _foundPassword, int32 foundPasswordSize) argument
H A DShareVolume.cpp154 fMountLock("share mount lock"),
1274 // if the entry is the parent of the share root, we need to
3012 // get references to the server and share info
3033 // get the share name
3034 const char* share = shareInfo->GetShareName(); local
3036 PRINT("ShareVolume::_MountShare(%s, %s)\n", server, share);
3062 (serverName ? serverName : server), share,
3070 request.share.SetTo(share);
/haiku/src/add-ons/kernel/file_systems/netfs/authentication_server/
H A DAuthenticationServer.cpp145 status_t SetAuthentication(const char* share, const char* user, argument
148 // check, if an entry already exists for the share -- if it does,
150 Authentication* authentication = fAuthentications.Get(share);
159 error = fAuthentications.Put(share, authentication);
165 Authentication* GetAuthentication(const char* share) const
167 return fAuthentications.Get(share);
187 const char* context, const char* server, const char* share,
194 fShare(share),
333 const char* share = NULL; local
337 request.FindString("share",
186 UserDialogTask(AuthenticationServer* authenticationServer, const char* context, const char* server, const char* share, bool badPassword, port_id replyPort, int32 replyToken) argument
373 _GetAuthentication(const char* context, const char* server, const char* share, HashString* user, HashString* password) argument
401 _AddAuthentication(const char* context, const char* server, const char* share, const char* user, const char* password, bool makeDefault) argument
[all...]
H A DAuthenticationServer.h22 const char* server, const char* share,
25 const char* server, const char* share,
H A DAuthenticationPanel.h22 const char* share,
H A DAuthenticationPanel.cpp87 const char* share,
97 helper << (share ? share : "<unkown share>");
86 GetAuthentication(const char* server, const char* share, const char* previousUser, const char* previousPass, bool previousKeep, bool badPassword, char* user, char* pass, bool* keep) argument
/haiku/3rdparty/os_probe/
H A D83haiku10 . /usr/share/os-prober/common.sh
/haiku/3rdparty/mmu_man/onlinedemo/
H A Dhaiku.php27 // /usr/share/vnc-java
34 // /usr/share/tightvnc-java
77 define("QEMU_KEYMAPS", QEMU_BASE . "/share/qemu/keymaps");
737 //echo "<param name=\"share desktop\" value=\"no\" />";
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dwin32_io.c883 ULONG share; local
912 share = (mode == O_RDWR ?
920 share,
/haiku/src/add-ons/kernel/file_systems/netfs/headers/shared/
H A DRequests.h333 visitor->Visit(this, share);
339 StringData share; member in struct:MountRequest

Completed in 182 milliseconds