Searched refs:old_fd (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.c | 1191 read_obj_data(int old_fd, char **buf, ssize_t *bytes_read) in read_obj_data() argument 1202 nread = readn_nointr(old_fd, *buf, BUFSIZ); in read_obj_data() 1219 nread_tmp = readn_nointr(old_fd, in read_obj_data() 1248 int old_fd, new_fd, version, ret_val = -1; in reencrypt_obj() local 1254 old_fd = open_nointr(orig_obj_name, O_RDONLY|O_NONBLOCK); in reencrypt_obj() 1255 if (old_fd < 0) { in reencrypt_obj() 1259 if (acquire_file_lock(&old_fd, orig_obj_name, O_RDONLY) != 0) { in reencrypt_obj() 1260 if (old_fd > 0) { in reencrypt_obj() 1261 (void) close(old_fd); in reencrypt_obj() 1269 (void) close(old_fd); in reencrypt_obj() [all …]
|
/titanic_44/usr/src/uts/common/os/ |
H A D | fio.c | 494 int *old_fd; in set_active_fd() local 519 old_fd = afd->a_fd; in set_active_fd() 529 afd->a_fd[i] = old_fd[i]; in set_active_fd() 535 kmem_free(old_fd, old_nfd * sizeof (afd->a_fd[0])); in set_active_fd()
|