HomeSort by: relevance | last modified time | path
    Searched defs:fl (Results 1 - 25 of 104) sorted by relevancy

1 2 3 4 5

  /src/lib/libc/gen/
lockf.c 50 struct flock fl; local
53 fl.l_start = 0;
54 fl.l_len = size;
55 fl.l_whence = SEEK_CUR;
60 fl.l_type = F_UNLCK;
64 fl.l_type = F_WRLCK;
68 fl.l_type = F_WRLCK;
71 fl.l_type = F_WRLCK;
72 if (fcntl(filedes, F_GETLK, &fl) == -1)
74 if (fl.l_type == F_UNLCK || fl.l_pid == getpid()
    [all...]
  /src/tools/compat/
flock.c 47 struct flock fl = {0}; local
51 fl.l_type = F_WRLCK;
55 fl.l_type = F_RDLCK;
59 fl.l_type = F_UNLCK;
67 fl.l_whence = SEEK_SET;
68 rc = fcntl(fd, op & LOCK_NB ? F_SETLK : F_SETLKW, &fl);
  /src/external/gpl2/xcvs/dist/lib/
ftruncate.c 35 struct flock fl; local
56 fl.l_whence = 0;
57 fl.l_len = 0;
58 fl.l_start = length;
59 fl.l_type = F_WRLCK; /* write lock on file space */
63 indicated by fl.l_start. Will minor miracles never cease? */
65 if (fcntl (fd, F_FREESP, &fl) < 0)
  /src/external/lgpl3/gmp/dist/mpf/
fits_u.h 42 mp_limb_t fl; variable
56 fl = fp[fn-1];
61 fl = fp[fn-1];
62 if ((fl >> GMP_NAIL_BITS) != 0)
64 fl = (fl << GMP_NUMB_BITS);
66 fl |= fp[fn-2];
72 return fl <= MAXIMUM;
get_ui.c 79 mp_limb_t fl; variable
85 fl = 0;
92 fl = fp[size-exp];
96 fl += (fp[size-exp+1] << GMP_NUMB_BITS);
100 return (unsigned long) fl;
fits_s.h 42 mp_limb_t fl; variable
54 fl = fp[fn-1];
59 fl = fp[fn-1];
60 if ((fl >> GMP_NAIL_BITS) != 0)
62 fl = (fl << GMP_NUMB_BITS);
64 fl |= fp[fn-2];
70 return fl <= (fs >= 0 ? (mp_limb_t) MAXIMUM : NEG_CAST (mp_limb_t, MINIMUM));
get_si.c 44 fl is established in basically the same way as for mpf_get_ui, see that
48 f is a negative fraction (ie. size<0 and exp<=0) we can't let fl==0 go
49 through to the zany final "~ ((fl - 1) & LONG_MAX)", that would give
58 mp_limb_t fl; variable
71 fl = 0;
74 fl = fp[abs_size-exp];
78 fl |= fp[abs_size - exp + 1] << GMP_NUMB_BITS;
82 return fl & LONG_MAX;
85 return -1 - (long) ((fl - 1) & LONG_MAX);
  /src/external/bsd/libbind/dist/bsd/
ftruncate.c 52 struct flock fl; local
54 fl.l_whence = 0;
55 fl.l_len = 0;
56 fl.l_start = wantsize;
57 fl.l_type = F_WRLCK;
58 return (fcntl(fd, F_FREESP, &fl));
  /src/tests/lib/librumpclient/
t_fd.c 108 int fl; local
120 RL(fl = rump_sys_fcntl(ls, F_GETFL));
121 RL(rump_sys_fcntl(ls, F_SETFL, fl | O_ASYNC));
  /src/sys/lib/libsa/
alloc.c 125 * unallocated: depends on packing of struct fl
130 * unallocated: depends on packing of struct fl
134 * be at least 'sizeof(struct fl)', so that blocks can be used as structures
140 struct fl { struct
142 struct fl *next;
166 struct fl **f = &freelist, **bestf = NULL;
196 /* make _sure_ the region can hold a struct fl. */
197 if (size < ALIGN(sizeof (struct fl *)))
198 size = ALIGN(sizeof (struct fl *));
222 struct fl *f
    [all...]
  /src/external/bsd/nvi/dist/ex/
ex_move.c 97 db_recno_t cnt, diff, fl, tl, mfl, mtl; local
127 fl = fm1.lno;
134 lmp->lno >= fl && lmp->lno <= tl) {
145 if (tl > fl) { /* Destination > source. */
149 if (db_get(sp, fl, DBG_FATAL, &p, &len))
158 lmp->lno == fl)
160 if (db_delete(sp, fl))
167 if (db_get(sp, fl, DBG_FATAL, &p, &len))
176 lmp->lno == fl)
178 ++fl;
    [all...]
  /src/sys/fs/nfs/common/
nfs_lock.c 243 struct flock *fl; local
252 fl = ap->a_fl;
265 if (fl->l_whence != SEEK_END) {
266 if ((fl->l_whence != SEEK_CUR && fl->l_whence != SEEK_SET) ||
267 fl->l_start < 0 ||
268 (fl->l_len < 0 &&
269 (fl->l_start == 0 || fl->l_start + fl->l_len < 0))
    [all...]
  /src/tests/kernel/
t_lockf.c 85 struct flock fl; local
87 fl.l_start = random_uint32() % filesize;
88 fl.l_len = random_uint32() % filesize;
91 fl.l_type = F_RDLCK;
94 fl.l_type = F_WRLCK;
97 fl.l_type = F_UNLCK;
100 fl.l_whence = SEEK_SET;
102 (void)fcntl(fd, F_SETLKW, &fl);
  /src/external/bsd/libarchive/dist/libarchive/
filter_fork_windows.c 85 DWORD fl, fl_old; local
114 fl = MAX_PATH;
116 if (archive_string_ensure(&fullpath, fl) == NULL)
118 fl_old = fl;
119 fl = SearchPathA(NULL, acmd->path, ext, fl, fullpath.s,
121 } while (fl != 0 && fl > fl_old);
122 if (fl == 0)
  /src/sys/arch/emips/stand/common/
enic.c 122 unsigned int isr, saf, hi, lo, fl; local
153 fl = saf & (ES_F_MASK &~ ES_F_DONE);
155 if (fl == ES_F_RECV)
160 } else if (fl == ES_F_XMIT)
163 } else if (fl != ES_F_CMD)
  /src/sys/arch/sparc/sparc/
emul.c 230 unsigned fl:1; /* 1 bit float flag */ member in struct:__anon1985::__anon1986
296 "w*hd"[op.bits.sz], op.bits.fl ? 'f' : REGNAME(code.i_op3.i_rd),
304 if (op.bits.fl && l != cpuinfo.fplwp)
309 if (op.bits.fl) {
357 if (op.bits.fl) {
  /src/sys/arch/sparc64/sparc64/
emul.c 227 unsigned fl:1; /* 1 bit float flag */ member in struct:__anon2067::__anon2068
287 "w*hd"[op.bits.sz], op.bits.fl ? 'f' : REGNAME(code.i_op3.i_rd),
295 if (op.bits.fl && l != fplwp)
300 if (op.bits.fl) {
348 if (op.bits.fl) {
  /src/sys/dev/mca/
esp_mca.c 358 int fl; local
370 fl = (datain) ? BUS_DMA_READ : BUS_DMA_WRITE;
373 *len, NULL, BUS_DMA_STREAMING|fl))) {
  /src/sys/dev/ppbus/
lpt.c 626 int val, fl; local
697 fl = 0;
704 fl |= LPT_DMA;
711 fl |= LPT_IEEE;
718 fl |= LPT_INTR;
721 fl |= sc->sc_flags;
723 *(int *)data = fl;
727 fl = *(int *)data;
730 val = (fl & LPT_DMA);
736 val = (fl & LPT_IEEE)
    [all...]
  /src/sys/uvm/
uvm_pgflcache.c 113 uvm_pgflcache_fill(struct uvm_cpu *ucpu, int fl, int b, int c)
126 if (__predict_false((pc = ucpu->pgflcache[fl]) == NULL)) {
132 pgb = uvm.page_free[fl].pgfl_buckets[b];
166 uvm_pgflcache_spill(struct uvm_cpu *ucpu, int fl, int c)
176 pc = ucpu->pgflcache[fl];
178 pgfl = &uvm.page_free[fl];
204 uvm_pgflcache_alloc(struct uvm_cpu *ucpu, int fl, int c)
211 if (__predict_false((pc = ucpu->pgflcache[fl]) == NULL)) {
223 KASSERT(uvm_page_get_freelist(pg) == fl);
241 int fl, c local
296 int fl, color, s; local
340 int fl; local
    [all...]
  /src/tests/net/net/
t_tcp.c 76 int ok, fl; local
190 fl = fcntl(srvr, F_GETFL, 0);
191 if (fl == -1)
194 ok = fcntl(srvr, F_SETFL, fl & ~O_NONBLOCK);
227 fl = fcntl(acpt, F_GETFL, 0);
228 if (fl == -1)
232 if (fl != (O_RDWR|O_NONBLOCK))
233 FAIL("fl 0x%x != 0x%x\n", fl, O_RDWR|O_NONBLOCK);
234 ok = fcntl(acpt, F_SETFL, fl & ~O_NONBLOCK)
    [all...]
  /src/crypto/external/apache2/openssl/dist/ssl/quic/
quic_rstream.c 17 SFRAME_LIST fl; member in struct:quic_rstream_st
38 ossl_sframe_list_init(&ret->fl);
51 cleanse = qrs->fl.cleanse;
52 ossl_sframe_list_destroy(&qrs->fl);
73 return ossl_sframe_list_insert(&qrs->fl, &range, pkt, data, fin);
86 while (ossl_sframe_list_peek(&qrs->fl, &iter, &range, &data, &fin_)) {
125 ret = ossl_sframe_list_drop_frames(&qrs->fl, offset);
126 ring_buf_cpop_range(&qrs->rbuf, 0, offset - 1, qrs->fl.cleanse);
180 while (ossl_sframe_list_peek(&qrs->fl, &iter, &range, &data, fin))
198 if (!ossl_sframe_list_lock_head(&qrs->fl, &qrs->head_range, &record_, fin))
    [all...]
  /src/crypto/external/bsd/heimdal/dist/lib/krb5/
test_config.c 93 char *fl; member in struct:__anon915
117 check_config_file(context, test[i].fl, test[i].res, 0);
118 check_config_file(context, test[i].fl, test[i].res, 1);
  /src/crypto/external/cpl/trousers/dist/src/tcs/ps/
tcsps.c 55 static struct flock fl; variable in typeref:struct:flock
65 fl.l_type = F_WRLCK;
66 if ((rc = fcntl(system_ps_fd, F_SETLKW, &fl))) {
82 fl.l_type = F_WRLCK;
83 if ((rc = fcntl(system_ps_fd, F_SETLKW, &fl))) {
98 fl.l_type = F_UNLCK;
99 if ((rc = fcntl(fd, F_SETLKW, &fl))) {
  /src/external/lgpl3/mpfr/dist/src/
rndna.c 41 mpfr_flags_t fl; member in union:__anon23609
96 ext[OLD_FLAGS].fl = expo.saved_flags;
161 expo.saved_flags = ext[OLD_FLAGS].fl;

Completed in 101 milliseconds

1 2 3 4 5