/freebsd-10.0-release/lib/libc/sys/ |
H A D | fcntl.c | 45 struct flock *flp; local 60 flp = (struct flock *) (uintptr_t) arg; 61 ofl.l_start = flp->l_start; 62 ofl.l_len = flp->l_len; 63 ofl.l_pid = flp->l_pid; 64 ofl.l_type = flp->l_type; 65 ofl.l_whence = flp->l_whence; 71 flp->l_start = ofl.l_start; 72 flp->l_len = ofl.l_len; 73 flp [all...] |
/freebsd-10.0-release/sys/i386/ibcs2/ |
H A D | ibcs2_fcntl.c | 79 cvt_flock2iflock(flp, iflp) 80 struct flock *flp; 83 switch (flp->l_type) { 94 iflp->l_whence = (short)flp->l_whence; 95 iflp->l_start = (ibcs2_off_t)flp->l_start; 96 iflp->l_len = (ibcs2_off_t)flp->l_len; 97 iflp->l_sysid = flp->l_sysid; 98 iflp->l_pid = (ibcs2_pid_t)flp->l_pid; 103 print_flock(struct flock *flp) argument 106 (int)flp [all...] |
/freebsd-10.0-release/sys/compat/svr4/ |
H A D | svr4_fcntl.c | 312 fd_truncate(td, fd, flp) 315 struct flock *flp; 348 switch (flp->l_whence) { 350 start = fp->f_offset + flp->l_start; 354 start = flp->l_start + length; 358 start = flp->l_start; 366 if (start + flp->l_len < length) {
|
/freebsd-10.0-release/sys/fs/nfsclient/ |
H A D | nfs_clrpcops.c | 4659 struct nfsclflayout *flp, *prevflp, *tflp; local 4664 flp = NULL; 4721 flp = malloc(sizeof(*flp) + (fhcnt - 1) * 4725 flp = malloc(sizeof(*flp), 4727 flp->nfsfl_flags = 0; 4728 flp->nfsfl_fhcnt = 0; 4729 flp->nfsfl_devp = NULL; 4730 flp 5099 struct nfsclflayout *flp, *tflp; local 5511 struct nfsclflayout *flp, *nflp, *rflp; local 5548 nfscl_doflayoutio(vnode_t vp, struct uio *uiop, int *iomode, int *must_commit, int *eofp, nfsv4stateid_t *stateidp, int rwflag, struct nfscldevinfo *dp, struct nfscllayout *lyp, struct nfsclflayout *flp, uint64_t off, uint64_t len, struct ucred *cred, NFSPROC_T *p) argument [all...] |
H A D | nfs_clstate.c | 4686 struct nfsclflayout *flp; local 4760 flp = LIST_FIRST(fhlp); 4761 if (flp != NULL) { 4762 if (flp->nfsfl_iomode == NFSLAYOUTIOMODE_READ) 4946 struct nfsclflayout *flp, *nflp, *prevflp, *tflp; local 4948 flp = LIST_FIRST(fhlp); 4951 while (flp != NULL && flp->nfsfl_off < nflp->nfsfl_off) { 4952 prevflp = flp; 4953 flp 4968 nfscl_adddevinfo(struct nfsmount *nmp, struct nfscldevinfo *dip, struct nfsclflayout *flp) argument 5009 struct nfsclflayout *flp, *nflp; local 5032 nfscl_freeflayout(struct nfsclflayout *flp) argument 5148 struct nfsclflayout *flp; local [all...] |
/freebsd-10.0-release/sys/kern/ |
H A D | kern_descrip.c | 455 struct flock *flp; local 601 flp = (struct flock *)arg; 602 if (flp->l_whence == SEEK_CUR) { 605 (flp->l_start > 0 && 606 foffset > OFF_MAX - flp->l_start)) { 612 flp->l_start += foffset; 616 switch (flp->l_type) { 626 flp, flg); 637 flp, flg); 641 flp, fl 692 F_UNLCK, flp, F_POSIX); local [all...] |
/freebsd-10.0-release/contrib/gcc/ |
H A D | gengtype.c | 1409 static void finish_root_table (struct flist *flp, const char *pfx, 2504 finish_root_table (struct flist *flp, const char *pfx, const char *lastname, 2509 for (fli2 = flp; fli2; fli2 = fli2->next) 2516 for (fli2 = flp; fli2; fli2 = fli2->next) 2542 for (fli2 = flp; fli2; fli2 = fli2->next) 2787 struct flist *flp = NULL; 2815 for (fli = flp; fli; fli = fli->next) 2822 fli->next = flp; 2825 flp = fli; 2859 for (fli = flp; fl 2501 finish_root_table(struct flist *flp, const char *pfx, const char *lastname, const char *tname, const char *name) argument 2784 struct flist *flp = NULL; local [all...] |
/freebsd-10.0-release/contrib/gdb/gdb/ |
H A D | dwarf2read.c | 2826 struct fnfieldlist *flp; local 2852 flp = &fip->fnfieldlists[i]; 2864 flp = &fip->fnfieldlists[fip->nfnfields]; 2865 flp->name = fieldname; 2866 flp->length = 0; 2867 flp->head = NULL; 2876 new_fnfield->next = flp->head; 2877 flp->head = new_fnfield; 2878 flp->length++; 2964 struct fnfieldlist *flp; local [all...] |
/freebsd-10.0-release/usr.bin/top/ |
H A D | machine.c | 620 get_io_stats(struct kinfo_proc *pp, long *inp, long *oup, long *flp, argument 634 *flp = RU(pp)->ru_majflt - RU(oldp)->ru_majflt;
|