Searched refs:newfl (Results 1 – 2 of 2) sorted by relevance
375 struct file_lock *newfl; in allocate_file_lock() local384 newfl = malloc(sizeof(*newfl) - sizeof(newfl->client_name) + n + 1); in allocate_file_lock()385 if (newfl == NULL) { in allocate_file_lock()388 bzero(newfl, sizeof(*newfl) - sizeof(newfl->client_name)); in allocate_file_lock()394 free(newfl); in allocate_file_lock()403 free(newfl); in allocate_file_lock()413 free(newfl); in allocate_file_lock()418 return newfl; in allocate_file_lock()1906 struct file_lock *newfl; in getlock() local1918 if (newfl == NULL) { in getlock()[all …]
454 struct flock newfl; in nlm_reclaim_free_lock() local459 newfl = *fl; in nlm_reclaim_free_lock()460 newfl.l_type = F_UNLCK; in nlm_reclaim_free_lock()463 nlm_set_creds_for_lock(td, &newfl); in nlm_reclaim_free_lock()700 struct flock newfl; in nlm_record_lock() local707 a.a_fl = &newfl; in nlm_record_lock()711 newfl.l_start = fl->l_start; in nlm_record_lock()712 newfl.l_len = fl->l_len; in nlm_record_lock()713 newfl.l_type = fl->l_type; in nlm_record_lock()714 newfl.l_whence = fl->l_whence; in nlm_record_lock()[all …]