Searched refs:lf (Results 1 - 7 of 7) sorted by relevance
/xnu-2782.1.97/bsd/kern/ |
H A D | kern_lockf.c | 373 struct lockf **lf = lock->lf_head; local 375 while (*lf != NOLOCKF) { 377 if ((*lf == lock) || 378 ((*lf)->lf_id != lock->lf_id) || 379 ((*lf)->lf_type != lock->lf_type)) { 380 lf = &(*lf)->lf_next; 388 if ((*lf)->lf_end != -1 && 389 ((*lf)->lf_end + 1) == lock->lf_start) { 390 struct lockf *adjacent = *lf; 829 struct lockf *lf = *head; local 971 struct lockf **prev, *overlap, *lf = *(lock->lf_head); local 1041 lf_findoverlap(struct lockf *lf, struct lockf *lock, int type, struct lockf ***prev, struct lockf **overlap) argument 1325 struct lockf *lf, *blk; local [all...] |
H A D | kern_descrip.c | 4917 struct flock lf; local 4944 lf.l_whence = SEEK_SET; 4945 lf.l_start = 0; 4946 lf.l_len = 0; 4947 lf.l_type = F_UNLCK; 4951 (void) VNOP_ADVLOCK(vp, (caddr_t)p, F_UNLCK, &lf, F_POSIX, &context, NULL); 5109 struct flock lf; local 5122 lf.l_whence = SEEK_SET; 5123 lf.l_start = 0; 5124 lf [all...] |
/xnu-2782.1.97/bsd/netinet/ |
H A D | tcp_lro.c | 772 struct lro_flow *lf; local 782 lf = &lro_flow_list[flow_id]; 783 if ((lf->lr_faddr.s_addr == ip_hdr->ip_src.s_addr) && 784 (lf->lr_laddr.s_addr == ip_hdr->ip_dst.s_addr) && 785 (lf->lr_fport == tcp_hdr->th_sport) && 786 (lf->lr_lport == tcp_hdr->th_dport)) { 787 if ((lf->lr_tcphdr == NULL) && 788 (lf->lr_seq != (tcp_hdr->th_seq + tlen))) { 789 lf->lr_seq = tcp_hdr->th_seq + tlen; 791 lf 825 struct lro_flow *lf; local 855 struct lro_flow *lf; local [all...] |
/xnu-2782.1.97/bsd/vfs/ |
H A D | vfs_xattr.c | 3308 struct flock lf; local 3311 lf.l_whence = SEEK_SET; 3312 lf.l_start = 0; 3313 lf.l_len = 0; 3314 lf.l_type = locktype; /* F_WRLCK or F_RDLCK */ 3316 error = VNOP_ADVLOCK(xvp, (caddr_t)xvp, F_SETLK, &lf, F_FLOCK|F_WAIT, context, NULL); 3323 struct flock lf; local 3326 lf.l_whence = SEEK_SET; 3327 lf.l_start = 0; 3328 lf [all...] |
H A D | vfs_vnops.c | 1481 struct flock lf; local 1487 lf.l_whence = SEEK_SET; 1488 lf.l_start = 0; 1489 lf.l_len = 0; 1490 lf.l_type = F_UNLCK; 1492 (void)VNOP_ADVLOCK(vp, (caddr_t)fg, F_UNLCK, &lf, F_FLOCK, ctx, NULL);
|
H A D | vfs_syscalls.c | 3285 struct flock lf; local 3368 lf.l_whence = SEEK_SET; 3369 lf.l_start = 0; 3370 lf.l_len = 0; 3372 lf.l_type = F_WRLCK; 3374 lf.l_type = F_RDLCK; 3380 F_SETLK, &lf); 3384 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, type, ctx, NULL))) 3459 lf.l_whence = SEEK_SET; 3460 lf 3465 vp, (caddr_t)fp->f_fglob, F_UNLCK, &lf, F_FLOCK, ctx, NULL); local [all...] |
/xnu-2782.1.97/bsd/nfs/ |
H A D | nfs_syscalls.c | 596 struct flock lf; local 693 lf.l_whence = SEEK_SET; 694 lf.l_start = 0; 695 lf.l_len = 0; 697 lf.l_type = F_WRLCK; 699 lf.l_type = F_RDLCK; 703 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, type, ctx, NULL))) {
|
Completed in 143 milliseconds