Home
last modified time | relevance | path

Searched refs:userBuffer (Results 1 – 7 of 7) sorted by relevance

/haiku/src/add-ons/kernel/bus_managers/i2c/
H A Dbus_raw.cpp71 void* userBuffer = NULL; in i2c_bus_raw_control() local
99 userBuffer = exec.buffer; in i2c_bus_raw_control()
117 if (user_memcpy(userBuffer, exec.buffer, exec.bufferLength) in i2c_bus_raw_control()
121 exec.buffer = userBuffer; in i2c_bus_raw_control()
/haiku/src/bin/multiuser/
H A Dlogin.cpp57 char userBuffer[64]; in login() local
69 status_t status = read_string(userBuffer, sizeof(userBuffer)); in login()
74 user = userBuffer; in login()
/haiku/src/system/kernel/debug/
H A Dsafemode_settings.cpp250 _user_get_safemode_option(const char* userParameter, char* userBuffer, in _user_get_safemode_option() argument
257 if (!IS_USER_ADDRESS(userParameter) || !IS_USER_ADDRESS(userBuffer) in _user_get_safemode_option()
270 && (user_strlcpy(userBuffer, buffer, originalBufferSize) < B_OK in _user_get_safemode_option()
/haiku/src/system/kernel/
H A Dport.cpp1871 _user_read_port_etc(port_id port, int32 *userCode, void *userBuffer, in _user_read_port_etc() argument
1879 if (userBuffer == NULL && bufferSize != 0) in _user_read_port_etc()
1882 || (userBuffer != NULL && !IS_USER_ADDRESS(userBuffer))) in _user_read_port_etc()
1885 bytesRead = read_port_etc(port, &messageCode, userBuffer, bufferSize, in _user_read_port_etc()
1897 _user_write_port_etc(port_id port, int32 messageCode, const void *userBuffer, in _user_write_port_etc() argument
1900 iovec vec = { (void *)userBuffer, bufferSize }; in _user_write_port_etc()
1904 if (userBuffer == NULL && bufferSize != 0) in _user_write_port_etc()
1906 if (userBuffer != NULL && !IS_USER_ADDRESS(userBuffer)) in _user_write_port_etc()
/haiku/src/system/kernel/fs/
H A Dfd.cpp919 _user_read_dir(int fd, struct dirent* userBuffer, size_t bufferSize, in _user_read_dir() argument
923 "%" B_PRIu32 ")\n", fd, userBuffer, bufferSize, maxCount)); in _user_read_dir()
928 if (userBuffer == NULL || !IS_USER_ADDRESS(userBuffer)) in _user_read_dir()
968 if (user_memcpy(userBuffer, buffer, sizeToCopy) != B_OK) in _user_read_dir()
H A Dvfs.cpp9387 _user_read_link(int fd, const char* userPath, char* userBuffer, in _user_read_link() argument
9396 if (!IS_USER_ADDRESS(userBuffer) || !IS_USER_ADDRESS(userBufferSize) in _user_read_link()
9427 if (user_memcpy(userBuffer, buffer, bufferSize) != B_OK) in _user_read_link()
9778 _user_read_attr(int fd, const char* userAttribute, off_t pos, void* userBuffer, in _user_read_attr() argument
9795 ssize_t bytes = _user_read(attr, pos, userBuffer, readBytes); in _user_read_attr()
10017 _user_getcwd(char* userBuffer, size_t size) in _user_getcwd() argument
10021 if (!IS_USER_ADDRESS(userBuffer)) in _user_getcwd()
10031 TRACE(("user_getcwd: buf %p, %ld\n", userBuffer, size)); in _user_getcwd()
10040 if (user_strlcpy(userBuffer, path, size) < B_OK) in _user_getcwd()
/haiku/src/system/kernel/cache/
H A Dfile_cache.cpp824 bool userBuffer = IS_USER_ADDRESS(buffer); in cache_io() local
828 bytesInPage, userBuffer); in cache_io()
834 bytesInPage, userBuffer); in cache_io()