Searched refs:userInfo (Results 1 - 18 of 18) sorted by relevance

/haiku/headers/private/kernel/
H A Dkimage.h66 extern image_id _user_register_image(extended_image_info *userInfo,
71 image_info *userInfo, size_t size);
72 extern status_t _user_get_image_info(image_id id, image_info *userInfo, size_t size);
H A Dksystem_info.h24 status_t _user_get_system_info(system_info *userInfo);
/haiku/src/add-ons/kernel/file_systems/nfs4/idmapper/
H A DIdMapper.cpp81 struct passwd* userInfo = NULL; local
84 userInfo = getpwnam(userName);
86 if (userInfo == NULL)
89 return write_port(gReplyPort, MsgReply, &userInfo->pw_uid, sizeof(uid_t));
100 struct passwd* userInfo = getpwuid(userId); local
101 if (userInfo != NULL) {
102 name = userInfo->pw_name;
266 struct passwd* userInfo = getpwnam(kNobodyName); local
267 if (userInfo != NULL)
268 gNobodyId = userInfo
[all...]
/haiku/src/system/kernel/arch/x86/
H A Darch_system_info.cpp138 _user_get_cpuid(cpuid_info *userInfo, uint32 eaxRegister, uint32 cpuNum) argument
143 if (!IS_USER_ADDRESS(userInfo))
149 && user_memcpy(userInfo, &info, sizeof(cpuid_info)) < B_OK)
/haiku/src/system/kernel/
H A Dimage.cpp462 _user_register_image(extended_image_info *userInfo, size_t size) argument
469 if (!IS_USER_ADDRESS(userInfo)
470 || user_memcpy(&info, userInfo, size) < B_OK)
514 _user_get_image_info(image_id id, image_info *userInfo, size_t size) argument
522 if (!IS_USER_ADDRESS(userInfo))
527 if (user_memcpy(userInfo, &info, size) < B_OK)
535 _user_get_next_image_info(team_id team, int32 *_cookie, image_info *userInfo, argument
545 if (!IS_USER_ADDRESS(userInfo) || !IS_USER_ADDRESS(_cookie)
552 if (user_memcpy(userInfo, &info, size) < B_OK
H A Dsystem_info.cpp557 _user_get_system_info(system_info* userInfo) argument
559 if (userInfo == NULL || !IS_USER_ADDRESS(userInfo))
565 if (user_memcpy(userInfo, &info, sizeof(system_info)) < B_OK)
576 _user_get_cpu_info(uint32 firstCPU, uint32 cpuCount, cpu_info* userInfo) argument
578 if (userInfo == NULL || !IS_USER_ADDRESS(userInfo))
581 return get_cpu_info(firstCPU, cpuCount, userInfo);
H A Dsem.cpp1246 _user_get_sem_info(sem_id id, struct sem_info *userInfo, size_t size) argument
1251 if (userInfo == NULL || !IS_USER_ADDRESS(userInfo))
1255 if (status == B_OK && user_memcpy(userInfo, &info, size) < B_OK)
1263 _user_get_next_sem_info(team_id team, int32 *userCookie, struct sem_info *userInfo, argument
1270 if (userCookie == NULL || userInfo == NULL
1271 || !IS_USER_ADDRESS(userCookie) || !IS_USER_ADDRESS(userInfo)
1278 if (user_memcpy(userInfo, &info, size) < B_OK
H A Dport.cpp1799 _user_get_port_info(port_id id, struct port_info *userInfo) argument
1804 if (userInfo == NULL)
1806 if (!IS_USER_ADDRESS(userInfo))
1813 && user_memcpy(userInfo, &info, sizeof(struct port_info)) < B_OK)
1822 struct port_info *userInfo)
1828 if (userCookie == NULL || userInfo == NULL)
1830 if (!IS_USER_ADDRESS(userCookie) || !IS_USER_ADDRESS(userInfo)
1838 || (status == B_OK && user_memcpy(userInfo, &info,
1951 _user_get_port_message_info_etc(port_id port, port_message_info *userInfo, argument
1954 if (userInfo
1821 _user_get_next_port_info(team_id team, int32 *userCookie, struct port_info *userInfo) argument
[all...]
H A DUserTimer.cpp1766 struct user_timer_info* userInfo)
1787 if (userInfo != NULL
1788 && (!IS_USER_ADDRESS(userInfo)
1789 || user_memcpy(userInfo, &info, sizeof(info)) != B_OK)) {
1765 _user_get_timer(int32 timerID, thread_id threadID, struct user_timer_info* userInfo) argument
H A Dteam.cpp3971 _user_wait_for_child(thread_id child, uint32 flags, siginfo_t* userInfo, argument
3974 if (userInfo != NULL && !IS_USER_ADDRESS(userInfo))
3986 if (userInfo != NULL && user_memcpy(userInfo, &info, sizeof(info)) != B_OK)
4311 _user_get_team_info(team_id id, team_info* userInfo) argument
4316 if (!IS_USER_ADDRESS(userInfo))
4321 if (user_memcpy(userInfo, &info, sizeof(team_info)) < B_OK)
4330 _user_get_next_team_info(int32* userCookie, team_info* userInfo) argument
4337 || !IS_USER_ADDRESS(userInfo)
4361 _user_get_team_usage_info(team_id team, int32 who, team_usage_info* userInfo, size_t size) argument
[all...]
H A Dsignal.cpp2319 _user_sigwait(const sigset_t *userSet, siginfo_t *userInfo, uint32 flags, argument
2329 // userInfo is optional, but must be a user address when given
2330 if (userInfo != NULL && !IS_USER_ADDRESS(userInfo))
2341 if (userInfo != NULL)
2342 status = user_memcpy(userInfo, &info, sizeof(info));
H A Dthread.cpp3593 _user_get_thread_info(thread_id id, thread_info *userInfo)
3598 if (!IS_USER_ADDRESS(userInfo))
3604 && user_memcpy(userInfo, &info, sizeof(thread_info)) < B_OK)
3613 thread_info *userInfo)
3619 if (!IS_USER_ADDRESS(userCookie) || !IS_USER_ADDRESS(userInfo)
3628 || user_memcpy(userInfo, &info, sizeof(thread_info)) < B_OK)
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/
H A DVolume.cpp489 PackageFSDirectoryInfo* userInfo local
491 if (addr_t(userInfo + 1) > (addr_t)buffer + size)
494 if (user_memcpy(userInfo, &info, sizeof(info)) != B_OK)
528 PackageFSPackageInfo* userInfo = request->infos + packageIndex; local
529 if (addr_t(userInfo + 1) <= bufferEnd) {
530 if (user_memcpy(userInfo, &info, sizeof(info)) != B_OK)
/haiku/src/apps/haikudepot/model/
H A DPackageInfo.h69 UserRating(const UserInfo& userInfo,
H A DModel.cpp669 BMessage userInfo; local
670 if (item.FindMessage("user", &userInfo) != B_OK
671 || userInfo.FindString("nickname", &user) != B_OK) {
H A DPackageInfo.cpp114 UserRating::UserRating(const UserInfo& userInfo, float rating, argument
118 fUserInfo(userInfo),
/haiku/src/system/kernel/fs/
H A Dvfs.cpp8916 _user_read_fs_info(dev_t device, struct fs_info* userInfo) argument
8921 if (userInfo == NULL)
8924 if (!IS_USER_ADDRESS(userInfo))
8931 if (user_memcpy(userInfo, &info, sizeof(struct fs_info)) != B_OK)
8939 _user_write_fs_info(dev_t device, const struct fs_info* userInfo, int mask) argument
8943 if (userInfo == NULL)
8946 if (!IS_USER_ADDRESS(userInfo)
8947 || user_memcpy(&info, userInfo, sizeof(struct fs_info)) != B_OK)
8984 _user_get_next_fd_info(team_id team, uint32* userCookie, fd_info* userInfo, argument
8997 if (!IS_USER_ADDRESS(userCookie) || !IS_USER_ADDRESS(userInfo)
[all...]
/haiku/src/system/kernel/vm/
H A Dvm.cpp6149 _user_get_area_info(area_id area, area_info* userInfo) argument
6151 if (!IS_USER_ADDRESS(userInfo))
6162 if (user_memcpy(userInfo, &info, sizeof(area_info)) < B_OK)
6170 _user_get_next_area_info(team_id team, ssize_t* userCookie, area_info* userInfo) argument
6175 || !IS_USER_ADDRESS(userInfo)
6188 || user_memcpy(userInfo, &info, sizeof(area_info)) < B_OK)

Completed in 398 milliseconds