Searched refs:fl (Results 1 - 25 of 103) sorted by relevance

12345

/freebsd-10.1-release/lib/libc/gen/
H A Dlockf.c43 struct flock fl; local
46 fl.l_start = 0;
47 fl.l_len = size;
48 fl.l_whence = SEEK_CUR;
53 fl.l_type = F_UNLCK;
57 fl.l_type = F_WRLCK;
61 fl.l_type = F_WRLCK;
64 fl.l_type = F_WRLCK;
65 if (_fcntl(filedes, F_GETLK, &fl) == -1)
67 if (fl
[all...]
/freebsd-10.1-release/tools/regression/mac/mac_portacl/
H A Dnobody.t16 bind_test fl fl uid nobody tcp 77
18 bind_test fl fl uid nobody udp 77
21 bind_test fl fl gid nobody tcp 77
23 bind_test fl fl gid nobody udp 77
28 bind_test fl fl ui
[all...]
H A Droot.t27 bind_test fl ok uid root tcp 77
29 bind_test fl ok uid root udp 77
32 bind_test fl ok gid root tcp 77
34 bind_test fl ok gid root udp 77
41 bind_test fl ok uid root tcp 77
42 bind_test fl ok uid root tcp 7777
43 bind_test fl ok uid root udp 77
44 bind_test fl ok uid root udp 7777
46 bind_test fl ok gid root tcp 77
47 bind_test fl o
[all...]
/freebsd-10.1-release/tools/regression/file/flock/
H A Dflock.c184 struct flock fl; local
191 fl.l_start = 0;
192 fl.l_len = 0;
193 fl.l_type = F_WRLCK;
194 fl.l_whence = SEEK_SET;
206 if (fcntl(fd, F_SETLK, &fl) < 0)
226 res = fcntl(fd, F_SETLK, &fl);
255 struct flock fl; local
262 fl.l_start = 0;
263 fl
325 struct flock fl; local
411 struct flock fl; local
497 struct flock fl; local
599 struct flock fl; local
671 struct flock fl; local
748 struct flock fl; local
820 struct flock fl; local
888 struct flock fl; local
973 struct flock fl; local
1051 struct flock fl; local
1140 struct flock fl; local
1338 struct flock fl; local
[all...]
/freebsd-10.1-release/usr.sbin/rpc.lockd/
H A Dlockd_lock.c154 enum partialfilelock_status lock_partialfilelock(struct file_lock *fl);
156 void send_granted(struct file_lock *fl, int opcode);
168 void deallocate_file_lock(struct file_lock *fl);
169 void fill_file_lock(struct file_lock *fl, const fhandle_t *fh,
187 void dump_filelock(const struct file_lock *fl);
188 struct file_lock * get_lock_matching_unlock(const struct file_lock *fl);
189 enum nfslock_status test_nfslock(const struct file_lock *fl,
191 enum nfslock_status lock_nfslock(struct file_lock *fl);
192 enum nfslock_status delete_nfslock(struct file_lock *fl);
193 enum nfslock_status unlock_nfslock(const struct file_lock *fl,
317 dump_filelock(const struct file_lock *fl) argument
443 fill_file_lock(struct file_lock *fl, const fhandle_t *fh, const bool_t exclusive, const int32_t svid, const u_int64_t offset, const u_int64_t len, const int state, const int status, const int flags, const int blocking) argument
465 deallocate_file_lock(struct file_lock *fl) argument
724 get_lock_matching_unlock(const struct file_lock *fl) argument
788 test_nfslock(const struct file_lock *fl, struct file_lock **conflicting_fl) argument
889 lock_nfslock(struct file_lock *fl) argument
923 delete_nfslock(struct file_lock *fl) argument
1053 lock_hwlock(struct file_lock *fl) argument
1136 unlock_hwlock(const struct file_lock *fl) argument
1198 duplicate_block(struct file_lock *fl) argument
1228 add_blockingfilelock(struct file_lock *fl) argument
1256 remove_blockingfilelock(struct file_lock *fl) argument
1362 lock_partialfilelock(struct file_lock *fl) argument
1477 unlock_partialfilelock(const struct file_lock *fl) argument
1667 test_partialfilelock(const struct file_lock *fl, struct file_lock **conflicting_fl) argument
1712 do_test(struct file_lock *fl, struct file_lock **conflicting_fl) argument
1771 do_lock(struct file_lock *fl) argument
1822 do_unlock(struct file_lock *fl) argument
1995 struct file_lock fl; local
[all...]
/freebsd-10.1-release/usr.sbin/fifolog/lib/
H A Dlibfifolog.h43 off_t fifolog_reader_seek(const struct fifolog_reader *fl, time_t t0);
44 void fifolog_reader_process(struct fifolog_reader *fl, off_t from, fifolog_reader_render_t *func, void *priv, time_t end);
/freebsd-10.1-release/usr.bin/sort/
H A Dfile.h120 void file_list_init(struct file_list *fl, bool tmp);
121 void file_list_add(struct file_list *fl, char *fn, bool allocate);
122 void file_list_populate(struct file_list *fl, int argc, char **argv, bool allocate);
123 void file_list_clean(struct file_list *fl);
126 void merge_files(struct file_list *fl, const char *fn_out);
129 int procfile(const char *fn, struct sort_list *list, struct file_list *fl);
H A Dfile.c249 file_list_init(struct file_list *fl, bool tmp) argument
252 if (fl) {
253 fl->count = 0;
254 fl->sz = 0;
255 fl->fns = NULL;
256 fl->tmp = tmp;
264 file_list_add(struct file_list *fl, char *fn, bool allocate) argument
267 if (fl && fn) {
268 if (fl->count >= fl
282 file_list_populate(struct file_list *fl, int argc, char **argv, bool allocate) argument
298 file_list_clean(struct file_list *fl) argument
869 procfile(const char *fsrc, struct sort_list *list, struct file_list *fl) argument
1186 shrink_file_list(struct file_list *fl) argument
1231 merge_files(struct file_list *fl, const char *fn_out) argument
[all...]
/freebsd-10.1-release/contrib/ntp/scripts/calc_tickadj/
H A Dcalc_tickadj.in20 my ($fl) = `tickadj`;
21 if (defined $fl && $fl =~ /(?:KERNEL|PRESET)?\s*tick\s+=\s+(\d+)/) {
/freebsd-10.1-release/contrib/nvi/ex/
H A Dex_move.c91 recno_t cnt, diff, fl, tl, mfl, mtl; local
121 fl = fm1.lno;
128 lmp->lno >= fl && lmp->lno <= tl) {
139 if (tl > fl) { /* Destination > source. */
143 if (db_get(sp, fl, DBG_FATAL, &p, &len))
152 lmp->lno == fl)
154 if (db_delete(sp, fl))
161 if (db_get(sp, fl, DBG_FATAL, &p, &len))
170 lmp->lno == fl)
172 ++fl;
[all...]
/freebsd-10.1-release/sys/geom/vinum/
H A Dgeom_vinum_subr.c570 struct gv_freelist *fl, *fl2; local
606 LIST_FOREACH(fl, &d->freelist, freelist) {
607 if (fl->size < s->size)
609 s->size = fl->size;
610 s->drive_offset = fl->offset;
611 fl2 = fl;
627 LIST_FOREACH(fl, &d->freelist, freelist) {
628 if (fl->size < s->size)
632 s->drive_offset = fl->offset;
633 fl2 = fl;
762 struct gv_freelist *fl, *fl2; local
820 struct gv_freelist *fl, *fl2; local
1091 struct gv_freelist *fl, *fl2; local
[all...]
/freebsd-10.1-release/usr.bin/lsvfs/
H A Dlsvfs.c28 } fl[] = { variable in typeref:struct:flaglist
85 static char buf[sizeof(struct flaglist) * sizeof(fl)];
89 for (i = 0; i < (int)nitems(fl); i++)
90 if (flags & fl[i].flag) {
91 strlcat(buf, fl[i].str, sizeof(buf));
/freebsd-10.1-release/sys/nfs/
H A Dnfs_lock.c241 struct flock *fl; local
249 fl = ap->a_fl;
262 if (fl->l_whence != SEEK_END) {
263 if ((fl->l_whence != SEEK_CUR && fl->l_whence != SEEK_SET) ||
264 fl->l_start < 0 ||
265 (fl->l_len < 0 &&
266 (fl->l_start == 0 || fl->l_start + fl
[all...]
/freebsd-10.1-release/sys/dev/cxgbe/
H A Dt4_sge.c781 "pack multiple frames in one fl buffer");
992 * a) initialize iq and fl
1005 snprintf(name, sizeof(name), "%s rxq%d-fl",
1007 init_fl(sc, &rxq->fl, pi->qsize_rxq / 8, maxp, pack, name);
1029 snprintf(name, sizeof(name), "%s ofld_rxq%d-fl",
1031 init_fl(sc, &ofld_rxq->fl, pi->qsize_rxq / 8, maxp, pack, name);
1314 struct sge_fl *fl; /* Use iff IQ_HAS_FL */ local
1332 fl = &rxq->fl;
1333 fl_hw_cidx = fl
1518 cl_has_metadata(struct sge_fl *fl, struct cluster_layout *cll) argument
1529 cl_metadata(struct adapter *sc, struct sge_fl *fl, struct cluster_layout *cll, caddr_t cl) argument
1564 get_scatter_segment(struct adapter *sc, struct sge_fl *fl, int total, int flags) argument
1661 get_fl_payload(struct adapter *sc, struct sge_fl *fl, uint32_t len_newbuf) argument
2072 struct sge_fl *fl; local
2125 init_fl(struct adapter *sc, struct sge_fl *fl, int qsize, int maxp, int pack, char *name) argument
2214 alloc_iq_fl(struct port_info *pi, struct sge_iq *iq, struct sge_fl *fl, int intr_idx, int cong) argument
2400 free_iq_fl(struct port_info *pi, struct sge_iq *iq, struct sge_fl *fl) argument
2444 add_fl_sysctls(struct sysctl_ctx_list *ctx, struct sysctl_oid *oid, struct sge_fl *fl) argument
3246 ring_fl_db(struct adapter *sc, struct sge_fl *fl) argument
3270 refill_fl(struct adapter *sc, struct sge_fl *fl, int n) argument
3397 struct sge_fl *fl, *fl_temp; local
3416 alloc_fl_sdesc(struct sge_fl *fl) argument
3426 free_fl_sdesc(struct adapter *sc, struct sge_fl *fl) argument
4298 find_best_refill_source(struct adapter *sc, struct sge_fl *fl, int maxp) argument
4418 find_safe_refill_source(struct adapter *sc, struct sge_fl *fl) argument
4461 add_fl_to_sfl(struct adapter *sc, struct sge_fl *fl) argument
[all...]
H A Dadapter.h438 FL_STARVING = (1 << 0), /* on the adapter's list of starving fl's */
444 #define FL_RUNNING_LOW(fl) \
445 (IDXDIFF(fl->dbidx * 8, fl->cidx, fl->sidx * 8) <= fl->lowat)
446 #define FL_NOT_RUNNING_LOW(fl) \
447 (IDXDIFF(fl->dbidx * 8, fl->cidx, fl
524 struct sge_fl fl; /* MUST follow iq */ member in struct:sge_rxq
552 struct sge_fl fl; /* MUST follow iq */ member in struct:sge_ofld_rxq
[all...]
/freebsd-10.1-release/sys/nlm/
H A Dnlm_advlock.c78 struct vnode *vp, int op, struct flock *fl, int flags,
82 struct vnode *vp, int op, struct flock *fl, int flags,
86 struct vnode *vp, int op, struct flock *fl, int flags,
91 static int nlm_init_lock(struct flock *fl, int flags, int svid,
195 nlm_advlock_internal(struct vnode *vp, void *id, int op, struct flock *fl, argument
268 KASSERT(fl->l_start == 0 && fl->l_len == 0,
284 svid = fl->l_pid;
292 && fl->l_type == F_WRLCK) {
305 vp, F_SETLK, fl, flag
398 nlm_set_creds_for_lock(struct thread *td, struct flock *fl) argument
447 nlm_reclaim_free_lock(struct vnode *vp, struct flock *fl, void *arg) argument
484 nlm_client_recover_lock(struct vnode *vp, struct flock *fl, void *arg) argument
691 nlm_record_lock(struct vnode *vp, int op, struct flock *fl, int svid, int sysid, off_t size) argument
718 nlm_setlock(struct nlm_host *host, struct rpc_callextra *ext, rpcvers_t vers, struct timeval *timo, int retries, struct vnode *vp, int op, struct flock *fl, int flags, int svid, size_t fhlen, void *fh, off_t size, bool_t reclaim) argument
917 nlm_clearlock(struct nlm_host *host, struct rpc_callextra *ext, rpcvers_t vers, struct timeval *timo, int retries, struct vnode *vp, int op, struct flock *fl, int flags, int svid, size_t fhlen, void *fh, off_t size) argument
992 nlm_getlock(struct nlm_host *host, struct rpc_callextra *ext, rpcvers_t vers, struct timeval *timo, int retries, struct vnode *vp, int op, struct flock *fl, int flags, int svid, size_t fhlen, void *fh, off_t size) argument
1181 nlm_init_lock(struct flock *fl, int flags, int svid, rpcvers_t vers, size_t fhlen, void *fh, off_t size, struct nlm4_lock *lock, char oh_space[32]) argument
[all...]
/freebsd-10.1-release/sys/vm/
H A Dvm_phys.c113 static void vm_phys_split_pages(vm_page_t m, int oind, struct vm_freelist *fl,
156 struct vm_freelist *fl; local
179 fl = vm_phys_free_queues[dom][flind][pind];
181 fl[oind].lcnt);
222 vm_freelist_add(struct vm_freelist *fl, vm_page_t m, int order, int tail) argument
227 TAILQ_INSERT_TAIL(&fl[order].pl, m, plinks.q);
229 TAILQ_INSERT_HEAD(&fl[order].pl, m, plinks.q);
230 fl[order].lcnt++;
234 vm_freelist_rem(struct vm_freelist *fl, vm_page_t m, int order) argument
237 TAILQ_REMOVE(&fl[orde
310 struct vm_freelist *fl; local
363 vm_phys_split_pages(vm_page_t m, int oind, struct vm_freelist *fl, int order) argument
464 struct vm_freelist *fl; local
652 struct vm_freelist *fl; local
752 struct vm_freelist *fl; local
813 static struct vm_freelist *fl; local
868 struct vm_freelist *fl; local
970 struct vm_freelist *fl; local
[all...]
/freebsd-10.1-release/contrib/ipfilter/tools/
H A Dipf.c362 int fl = 0, rem; local
368 fl = 0;
370 fl = 1;
372 fl = atoi(arg);
373 rem = fl;
392 fl = -1;
394 fl = obj.ipfo_retval;
397 if (ioctl(fd, SIOCIPFFL, &fl) == -1) {
407 printf("%d state entries removed\n", fl);
422 if (ioctl(fd, SIOCIPFFA, &fl)
[all...]
/freebsd-10.1-release/contrib/groff/font/devdvi/
H A DTBI8 ligatures ff fi fl ffi ffl 0
228 fl 738078,728178,203890,113890 3 0015
H A DTI9 ligatures ff fi fl ffi ffl 0
229 fl 616326,728178,203890,108354 3 0015
/freebsd-10.1-release/usr.sbin/fifolog/fifolog_reader/
H A Dfifolog_reader.c99 struct fifolog_reader *fl; local
158 fl = fifolog_reader_open(argv[0]);
168 o = fifolog_reader_seek(fl, opt_B);
169 fifolog_reader_process(fl, o, Render, NULL, opt_E);
/freebsd-10.1-release/sys/kern/
H A Dkern_lockf.c295 lf_hash_owner(caddr_t id, struct flock *fl, int flags) argument
300 h = HASHSTEP(0, fl->l_pid);
301 h = HASHSTEP(h, fl->l_sysid);
318 lf_owner_matches(struct lock_owner *lo, caddr_t id, struct flock *fl, argument
322 return lo->lo_pid == fl->l_pid
323 && lo->lo_sysid == fl->l_sysid;
412 struct flock *fl = ap->a_fl; local
427 lf_clearremotesys(fl->l_sysid);
434 switch (fl->l_whence) {
442 start = fl
1573 lf_getlock(struct lockf *state, struct lockf_entry *lock, struct flock *fl) argument
1864 struct flock fl; member in struct:lockdesc
1999 lf_clearremotesys_iterator(struct vnode *vp, struct flock *fl, void *arg) argument
[all...]
/freebsd-10.1-release/sys/ofed/drivers/infiniband/core/
H A Daddr.c225 struct flowi fl; local
230 memset(&fl, 0, sizeof fl);
231 fl.nl_u.ip4_u.daddr = dst_ip;
232 fl.nl_u.ip4_u.saddr = src_ip;
233 fl.oif = addr->bound_dev_if;
235 ret = ip_route_output_key(&init_net, &rt, &fl);
278 struct flowi fl; local
283 memset(&fl, 0, sizeof fl);
[all...]
/freebsd-10.1-release/usr.bin/find/
H A Dfind.h87 } fl; member in union:_plandata::__anon11785
115 #define fl_flags p_un.fl._f_flags
116 #define fl_notflags p_un.fl._f_notflags
/freebsd-10.1-release/crypto/openssl/crypto/rsa/
H A Drsa.h400 const unsigned char *f, int fl);
402 const unsigned char *f, int fl,
405 const unsigned char *f, int fl);
407 const unsigned char *f, int fl,
412 const unsigned char *f, int fl,
415 const unsigned char *f, int fl, int rsa_len,
418 const unsigned char *f, int fl);
420 const unsigned char *f, int fl, int rsa_len);
422 int fl);
424 const unsigned char *f, int fl, in
[all...]

Completed in 404 milliseconds

12345