Home
last modified time | relevance | path

Searched refs:share (Results 1 – 25 of 63) sorted by relevance

123

/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DStatisticsManager.cpp17 ShareStatistics(const char* share) in ShareStatistics() argument
18 : fShare(share), in ShareStatistics()
167 StatisticsManager::ShareRemoved(Share* share) in ShareRemoved() argument
169 if (!share) in ShareRemoved()
174 ShareStatistics* statistics = fShareStatistics->Remove(share->GetName()); in ShareRemoved()
180 StatisticsManager::ShareMounted(Share* share, User* user) in ShareMounted() argument
182 if (!share || !user) in ShareMounted()
188 ShareStatistics* statistics = fShareStatistics->Get(share->GetName()); in ShareMounted()
191 statistics = new(std::nothrow) ShareStatistics(share->GetName()); in ShareMounted()
196 if (fShareStatistics->Put(share->GetName(), statistics) != B_OK) { in ShareMounted()
[all …]
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 DSecurityContext.cpp477 Share* share = it.Next().value; in ~SecurityContext() local
478 share->ReleaseReference(); in ~SecurityContext()
512 Share* share = it.Next().value; in Archive() local
514 error = share->Archive(&shareArchive, deep); in Archive()
778 Share* share = new(std::nothrow) Share; in AddShare() local
779 if (!share) in AddShare()
781 BReference<Share> shareReference(share, true); in AddShare()
782 status_t error = share->Init(name, ref); in AddShare()
787 error = fShares->Put(name, share); in AddShare()
793 *_share = share; in AddShare()
[all …]
H A DNetFSServer.cpp473 const char* share; in MessageReceived() local
475 if (message->FindString("share", &share) != B_OK in MessageReceived()
482 status_t error = fSecurityContext->AddShare(share, path); in MessageReceived()
501 Share* share; in MessageReceived() local
502 status_t error = fSecurityContext->RemoveShare(shareName, &share); in MessageReceived()
510 connection->ShareRemoved(share); in MessageReceived()
513 share->ReleaseReference(); in MessageReceived()
551 Share* share = fSecurityContext->FindShare(shareName); in MessageReceived() local
552 if (!share) { in MessageReceived()
556 BReference<Share> shareReference(share, true); in MessageReceived()
[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) in Mount() argument
78 if (!securityContext || !share) in Mount()
86 fShare = share; in Mount()
88 dev_t volumeID = share->GetVolumeID(); in Mount()
89 ino_t nodeID = share->GetNodeID(); in Mount()
H A DClientConnection.h51 void ShareRemoved(Share* share);
52 void UserPermissionsChanged(Share* share,
H A DClientVolume.h43 Share* share);
/haiku/src/add-ons/kernel/file_systems/netfs/netfs_server_prefs/
H A DNetFSServerRoster.cpp185 NetFSServerRoster::AddShare(const char* share, const char* path) in AddShare() argument
188 if (!share || strlen(share) < 1 || !path || strlen(path) < 1) in AddShare()
193 if (request.AddString("share", share) != B_OK in AddShare()
204 NetFSServerRoster::RemoveShare(const char* share) in RemoveShare() argument
207 if (!share || strlen(share) < 1) in RemoveShare()
212 if (request.AddString("share", share) != B_OK) in RemoveShare()
245 NetFSServerRoster::GetShareUsers(const char* share, BMessage* users) in GetShareUsers() argument
248 if (!share || strlen(share) < 1 || !users) in GetShareUsers()
253 if (request.AddString("share", share) != B_OK) in GetShareUsers()
271 NetFSServerRoster::GetShareStatistics(const char* share, BMessage* statistics) in GetShareStatistics() 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.cpp156 const char* share; in list() local
157 for (int32 i = 0; shares.FindString("shares", i, &share) == B_OK; i++) { in list()
165 roster.GetShareUsers(share, &shareUsers); in list()
169 roster.GetShareStatistics(share, &statistics); in list()
171 printf("%s:\n", share); in list()
186 roster.GetUserPermissions(share, user, &permissions); in list()
309 set_user_permissions(const char* user, const char* share, uint32 permissions) in set_user_permissions() argument
323 if (roster.GetShareStatistics(share, &statistics) != B_OK) { in set_user_permissions()
324 fprintf(stderr, "A share `%s' does not exist.\n", share); in set_user_permissions()
329 status_t error = roster.SetUserPermissions(share, user, permissions); in set_user_permissions()
[all …]
/haiku/src/add-ons/kernel/file_systems/netfs/authentication_server/
H A DAuthenticationServer.cpp145 status_t SetAuthentication(const char* share, const char* user, in SetAuthentication() argument
150 Authentication* authentication = fAuthentications.Get(share); in SetAuthentication()
159 error = fAuthentications.Put(share, authentication); in SetAuthentication()
165 Authentication* GetAuthentication(const char* share) const in GetAuthentication()
167 return fAuthentications.Get(share); in GetAuthentication()
187 const char* context, const char* server, const char* share, in UserDialogTask() argument
194 fShare(share), in UserDialogTask()
333 const char* share = NULL; in _RequestThread() local
337 request.FindString("share", &share); in _RequestThread()
339 if (!context || !server || !share) in _RequestThread()
[all …]
H A DAuthenticationServer.h22 const char* server, const char* share,
25 const char* server, const char* share,
H A DAuthenticationPanel.cpp87 const char* share, in GetAuthentication() argument
97 helper << (share ? share : "<unkown share>"); in GetAuthentication()
H A DAuthenticationPanel.h22 const char* share,
/haiku/src/add-ons/kernel/file_systems/netfs/
H A Dnetfs-server13 share ttttt {
20 share sub-ttttt {
27 #share home {
34 #share tmp {
/haiku/src/add-ons/kernel/file_systems/netfs/client/
H A DAuthenticationServer.cpp34 const char* share, uid_t uid, bool badPassword, in GetAuthentication() argument
39 if (!context || !server || !share || !_foundPassword) in GetAuthentication()
54 error = request.AddString("share", share); in GetAuthentication()
H A DAuthenticationServer.h16 const char* server, const char* share,
/haiku/data/system/boot/
H A DSetupEnvironment65 # defaults to ~/.local/share
75 # default to /usr/local/share/:/usr/share/
/haiku/3rdparty/os_probe/
H A D83haiku10 . /usr/share/os-prober/common.sh
/haiku/src/system/libroot/posix/glibc/locale/
H A DJamfile3 SubDirCcFlags -D_GNU_SOURCE -DUSE_IN_LIBIO -DLOCALEDIR=\'\"/share/locale\"\' ;
/haiku/docs/develop/busses/agp_gart/
H A DReadMe.rst4 The GART is an IO-MMU allowing the videocard and CPU to share some
/haiku/3rdparty/docker/bootstrap/
H A DDockerfile24 RUN echo "source /usr/share/vim/vim80/defaults.vim" > ~/.vimrc
H A DDockerfile.fedora24 RUN echo "source /usr/share/vim/vim80/defaults.vim" > ~/.vimrc
/haiku/docs/develop/packages/
H A DDirectoryStructure.rst44 - ``share`` and ``etc`` (in ``common``) have been removed. Their contents goes

123