HomeSort by: relevance | last modified time | path
    Searched refs:lf (Results 1 - 15 of 15) sorted by relevancy

  /src/sys/kern/
vfs_lockf.c 157 struct lockf *lf, *blk; local
160 for (lf = *lock->lf_head; lf; lf = lf->lf_next) {
161 printf("\tlock %p for ", lf);
162 if (lf->lf_flags & F_POSIX)
163 printf("proc %d", ((struct proc *)lf->lf_id)->p_pid);
165 printf("file %p", (struct file *)lf->lf_id);
167 lf->lf_type == F_RDLCK ? "shared"
415 struct lockf *lf = *head; local
483 struct lockf **prev, *overlap, *lf = *(lock->lf_head); local
    [all...]
sys_descrip.c 632 struct flock lf; local
647 lf.l_whence = SEEK_SET;
648 lf.l_start = 0;
649 lf.l_len = 0;
653 lf.l_type = F_UNLCK;
655 error = (*fo_advlock)(fp, fp, F_UNLCK, &lf, F_FLOCK);
658 lf.l_type = F_WRLCK;
661 lf.l_type = F_RDLCK;
670 error = (*fo_advlock)(fp, fp, F_SETLK, &lf, F_FLOCK);
672 error = (*fo_advlock)(fp, fp, F_SETLK, &lf, F_FLOCK|F_WAIT)
    [all...]
kern_descrip.c 609 struct flock lf; local
730 lf.l_whence = SEEK_SET;
731 lf.l_start = 0;
732 lf.l_len = 0;
733 lf.l_type = F_UNLCK;
735 (void)(*fp->f_ops->fo_advlock)(fp, p, F_UNLCK, &lf, F_POSIX);
838 struct flock lf; local
858 lf.l_whence = SEEK_SET;
859 lf.l_start = 0;
860 lf.l_len = 0
    [all...]
vfs_syscalls.c 309 struct flock lf; local
312 lf.l_whence = SEEK_SET;
313 lf.l_start = 0;
314 lf.l_len = 0;
316 lf.l_type = F_WRLCK;
318 lf.l_type = F_RDLCK;
323 error = VOP_ADVLOCK(vp, fp, F_SETLK, &lf, type);
  /src/usr.bin/btkey/
btkey.c 57 bool cf, cd, lf, ld, rf, rd, wf, wd, nk; local
62 cf = cd = lf = ld = rf = rd = wf = wd = nk = false;
105 lf = true;
139 if ((lf || ld) && (rf || rd || wf || wd || cf || cd || nk))
145 if (((bdaddr_any(&laddr) || bdaddr_any(&raddr)) && !(lf || ld))
146 || ((lf || ld) && (bdaddr_any(&laddr) || !bdaddr_any(&raddr)))
159 if (lf && !list_file())
  /src/sys/arch/hppa/stand/boot/
Makefile 6 PROGSOURCE= srt0.S boot.c bootinfo.c ct.c conf.c lf.c lif.c tgets.c
  /src/usr.bin/mail/
complete.c 759 emacs_ctrl_d(EditLine *el, const LineInfo *lf, int ch)
764 if (lf->buffer == lf->lastchar)
766 if (lf->cursor != lf->lastchar) { /* delete without using ^D */
780 get_dolist(const LineInfo *lf)
788 len = lf->lastchar - lf->buffer;
792 cursor_pos = last_line + (lf->cursor - lf->buffer)
918 const LineInfo *lf; local
994 const LineInfo *lf; local
1031 const LineInfo *lf; local
    [all...]
  /src/usr.bin/ftp/
complete.c 358 const LineInfo *lf; local
362 lf = el_line(cel);
363 len = lf->lastchar - lf->buffer;
366 (void)strlcpy(line, lf->buffer, len + 1);
367 cursor_pos = line + (lf->cursor - lf->buffer);
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_flags.cc 78 __lsan::Flags *lf = __lsan::flags(); local
79 lf->SetDefaults();
82 __lsan::RegisterLsanFlags(&lsan_parser, lf);
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/
nouveau_nvkm_subdev_fb_gddr5.c 42 int pd, lf, xd, vh, vr, vo, l3; local
51 lf = ram->next->bios.ramcfg_11_01_40;
120 ram->mr[7] |= (lf & 0x01) << 3;
  /src/lib/libukfs/
ukfs.c 1194 struct loadfail *lf, *nlf; local
1219 lf = malloc(sizeof(*lf));
1220 if (lf == NULL) {
1224 lf->pname = strdup(nbuf);
1225 if (lf->pname == NULL) {
1226 free(lf);
1230 LIST_INSERT_HEAD(&lfs, lf, entries);
1251 while ((lf = nlf) != NULL) {
1252 nlf = LIST_NEXT(lf, entries)
    [all...]
  /src/lib/libedit/TEST/
tc1.c 93 const LineInfo *lf = el_line(el); local
100 for (ptr = lf->cursor - 1;
101 !isspace((unsigned char)*ptr) && ptr > lf->buffer; ptr--)
103 len = lf->cursor - ++ptr;
wtc1.c 63 const LineInfoW *lf = el_wline(el); local
69 for (ptr = lf->cursor -1; !iswspace(*ptr) && ptr > lf->buffer; --ptr)
71 len = lf->cursor - ++ptr;
  /src/sys/dev/ic/
isp_stds.h 87 } lf; member in union:__anon2813::__anon2814
  /src/sys/compat/sunos32/
sunos32_misc.c 922 int lf, r; local
927 lf = SCARG(uap, flags);
928 noctty = lf & 0x8000;
929 r = (lf & (0x0001 | 0x0002 | 0x0008 | 0x0040 | 0x0200 | 0x0400 | 0x0800));
930 r |= ((lf & (0x0004 | 0x1000 | 0x4000)) ? O_NONBLOCK : 0);
931 r |= ((lf & 0x0080) ? O_SHLOCK : 0);
932 r |= ((lf & 0x0100) ? O_EXLOCK : 0);
933 r |= ((lf & 0x2000) ? O_FSYNC : 0);

Completed in 26 milliseconds