Home
last modified time | relevance | path

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

/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1245 static jint Linux_fcntlFlock(JNIEnv* env, jobject, jobject javaFd, jint cmd, jobject javaFlock) { in Linux_fcntlFlock() argument
1254 lock.l_type = env->GetShortField(javaFlock, typeFid); in Linux_fcntlFlock()
1255 lock.l_whence = env->GetShortField(javaFlock, whenceFid); in Linux_fcntlFlock()
1256 lock.l_start = env->GetLongField(javaFlock, startFid); in Linux_fcntlFlock()
1257 lock.l_len = env->GetLongField(javaFlock, lenFid); in Linux_fcntlFlock()
1258 lock.l_pid = env->GetIntField(javaFlock, pidFid); in Linux_fcntlFlock()
1262 env->SetShortField(javaFlock, typeFid, lock.l_type); in Linux_fcntlFlock()
1263 env->SetShortField(javaFlock, whenceFid, lock.l_whence); in Linux_fcntlFlock()
1264 env->SetLongField(javaFlock, startFid, lock.l_start); in Linux_fcntlFlock()
1265 env->SetLongField(javaFlock, lenFid, lock.l_len); in Linux_fcntlFlock()
[all …]