Home
last modified time | relevance | path

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

/freebsd/lib/libc/gen/
H A Dtelldir.c51 struct ddloc_mem *lp, *flp; in telldir() local
70 flp = NULL; in telldir()
73 if (flp == NULL) in telldir()
74 flp = lp; in telldir()
77 } else if (flp != NULL) { in telldir()
92 if (flp != NULL) in telldir()
93 LIST_INSERT_BEFORE(flp, lp, loc_lqe); in telldir()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clrpcops.c6258 struct nfsclflayout *flp; in nfsrpc_getlayout() local
6275 off, rw, &flp, &recalled); in nfsrpc_getlayout()
6277 if (lyp == NULL || flp == NULL) { in nfsrpc_getlayout()
6864 nfscl_getdevlist(struct nfsclclient *clp, struct nfsclflayout *flp, int mirror) in nfscl_getdevlist() argument
6870 dpp = tdpp = malloc(sizeof(*dpp) * flp->nfsfl_ffm[mirror].stripecnt, in nfscl_getdevlist()
6872 sp = flp->nfsfl_ffm[mirror].stripep; in nfscl_getdevlist()
6873 for (i = 0; i < flp->nfsfl_ffm[mirror].stripecnt; i++, sp++, tdpp++) { in nfscl_getdevlist()
6890 nfscl_reldevlist(struct nfscldevinfo **dpp, struct nfsclflayout *flp, in nfscl_reldevlist() argument
6897 for (i = 0; i < flp->nfsfl_ffm[mirror].stripecnt; i++, tdpp++) { in nfscl_reldevlist()
6912 struct nfsclflayout *flp, *nflp, *rflp; in nfscl_findlayoutforio() local
[all …]
H A Dnfs_clstate.c5338 struct nfsclflayout *flp; in nfscl_layout() local
5419 flp = LIST_FIRST(fhlp); in nfscl_layout()
5420 if (flp != NULL) { in nfscl_layout()
5421 if (flp->nfsfl_iomode == NFSLAYOUTIOMODE_READ) in nfscl_layout()
5682 struct nfsclflayout *flp, *nflp, *prevflp, *tflp; in nfscl_mergeflayouts() local
5684 flp = LIST_FIRST(fhlp); in nfscl_mergeflayouts()
5687 while (flp != NULL && flp->nfsfl_off < nflp->nfsfl_off) { in nfscl_mergeflayouts()
5688 prevflp = flp; in nfscl_mergeflayouts()
5689 flp = LIST_NEXT(flp, nfsfl_list); in nfscl_mergeflayouts()
5705 int stripe, struct nfsclflayout *flp) in nfscl_adddevinfo() argument
[all …]
/freebsd/sys/kern/
H A Dkern_descrip.c572 struct flock *flp; in kern_fcntl() local
731 flp = (struct flock *)arg; in kern_fcntl()
732 if ((flg & F_REMOTE) != 0 && flp->l_sysid == 0) { in kern_fcntl()
746 if (flp->l_whence == SEEK_CUR) { in kern_fcntl()
749 (flp->l_start > 0 && in kern_fcntl()
750 foffset > OFF_MAX - flp->l_start)) { in kern_fcntl()
755 flp->l_start += foffset; in kern_fcntl()
759 switch (flp->l_type) { in kern_fcntl()
771 flp, flg); in kern_fcntl()
784 flp, flg); in kern_fcntl()
[all …]
/freebsd/usr.bin/top/
H A Dmachine.c733 get_io_stats(const struct kinfo_proc *pp, long *inp, long *oup, long *flp, in get_io_stats() argument
747 *flp = RU(pp)->ru_majflt - RU(oldp)->ru_majflt; in get_io_stats()