Searched refs:lf (Results 1 - 7 of 7) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_lockf.c | 368 struct lockf **lf = lock->lf_head; local 370 while (*lf != NOLOCKF) { 372 if ((*lf == lock) || 373 ((*lf)->lf_id != lock->lf_id) || 374 ((*lf)->lf_type != lock->lf_type)) { 375 lf = &(*lf)->lf_next; 383 if ((*lf)->lf_end != -1 && 384 ((*lf)->lf_end + 1) == lock->lf_start) { 385 struct lockf *adjacent = *lf; 781 struct lockf *lf = *head; local 918 struct lockf **prev, *overlap, *lf = *(lock->lf_head); local 988 lf_findoverlap(struct lockf *lf, struct lockf *lock, int type, struct lockf ***prev, struct lockf **overlap) argument 1272 struct lockf *lf, *blk; local [all...] |
H A D | kern_descrip.c | 4546 struct flock lf; local 4572 lf.l_whence = SEEK_SET; 4573 lf.l_start = 0; 4574 lf.l_len = 0; 4575 lf.l_type = F_UNLCK; 4579 (void) VNOP_ADVLOCK(vp, (caddr_t)p, F_UNLCK, &lf, F_POSIX, &context); 4731 struct flock lf; local 4744 lf.l_whence = SEEK_SET; 4745 lf.l_start = 0; 4746 lf [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_lro.c | 854 struct lro_flow *lf; local 864 lf = &lro_flow_list[flow_id]; 865 if ((lf->lr_faddr.s_addr == ip_hdr->ip_src.s_addr) && 866 (lf->lr_laddr.s_addr == ip_hdr->ip_dst.s_addr) && 867 (lf->lr_fport == tcp_hdr->th_sport) && 868 (lf->lr_lport == tcp_hdr->th_dport)) { 869 if ((lf->lr_tcphdr == NULL) && 870 (lf->lr_seq != (tcp_hdr->th_seq + tlen))) { 871 lf->lr_seq = tcp_hdr->th_seq + tlen; 873 lf 907 struct lro_flow *lf; local 937 struct lro_flow *lf; local [all...] |
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_syscalls.c | 517 struct flock lf; local 615 lf.l_whence = SEEK_SET; 616 lf.l_start = 0; 617 lf.l_len = 0; 619 lf.l_type = F_WRLCK; 621 lf.l_type = F_RDLCK; 625 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, type, ctx))) {
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_xattr.c | 3280 struct flock lf; local 3283 lf.l_whence = SEEK_SET; 3284 lf.l_start = 0; 3285 lf.l_len = 0; 3286 lf.l_type = locktype; /* F_WRLCK or F_RDLCK */ 3288 error = VNOP_ADVLOCK(xvp, (caddr_t)xvp, F_SETLK, &lf, F_FLOCK|F_WAIT, context); 3295 struct flock lf; local 3298 lf.l_whence = SEEK_SET; 3299 lf.l_start = 0; 3300 lf [all...] |
H A D | vfs_vnops.c | 1412 struct flock lf; local 1417 lf.l_whence = SEEK_SET; 1418 lf.l_start = 0; 1419 lf.l_len = 0; 1420 lf.l_type = F_UNLCK; 1422 (void)VNOP_ADVLOCK(vp, (caddr_t)fg, F_UNLCK, &lf, F_FLOCK, ctx);
|
H A D | vfs_syscalls.c | 2974 struct flock lf; local 3059 lf.l_whence = SEEK_SET; 3060 lf.l_start = 0; 3061 lf.l_len = 0; 3063 lf.l_type = F_WRLCK; 3065 lf.l_type = F_RDLCK; 3071 F_SETLK, &lf); 3075 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, type, ctx)))
|
Completed in 4898 milliseconds