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

12345

/freebsd-10-stable/lib/libc/gen/
H A Dlockf.c44 struct flock fl; local
47 fl.l_start = 0;
48 fl.l_len = size;
49 fl.l_whence = SEEK_CUR;
54 fl.l_type = F_UNLCK;
58 fl.l_type = F_WRLCK;
62 fl.l_type = F_WRLCK;
65 fl.l_type = F_WRLCK;
67 __libc_interposing[INTERPOS_fcntl])(filedes, F_GETLK, &fl)
70 if (fl
[all...]
/freebsd-10-stable/tools/regression/mac/mac_portacl/
H A Dnobody.t18 bind_test fl fl uid nobody tcp 77
20 bind_test fl fl uid nobody udp 77
23 bind_test fl fl gid nobody tcp 77
25 bind_test fl fl gid nobody udp 77
30 bind_test fl fl ui
[all...]
H A Droot.t29 bind_test fl ok uid root tcp 77
31 bind_test fl ok uid root udp 77
34 bind_test fl ok gid root tcp 77
36 bind_test fl ok gid root udp 77
43 bind_test fl ok uid root tcp 77
44 bind_test fl ok uid root tcp 7777
45 bind_test fl ok uid root udp 77
46 bind_test fl ok uid root udp 7777
48 bind_test fl ok gid root tcp 77
49 bind_test fl o
[all...]
/freebsd-10-stable/tests/sys/mac/portacl/
H A Dnobody_test.sh18 bind_test fl fl uid nobody tcp 77
20 bind_test fl fl uid nobody udp 77
23 bind_test fl fl gid nobody tcp 77
25 bind_test fl fl gid nobody udp 77
30 bind_test fl fl ui
[all...]
H A Droot_test.sh29 bind_test fl ok uid root tcp 77
31 bind_test fl ok uid root udp 77
34 bind_test fl ok gid root tcp 77
36 bind_test fl ok gid root udp 77
43 bind_test fl ok uid root tcp 77
44 bind_test fl ok uid root tcp 7777
45 bind_test fl ok uid root udp 77
46 bind_test fl ok uid root udp 7777
48 bind_test fl ok gid root tcp 77
49 bind_test fl o
[all...]
/freebsd-10-stable/contrib/netbsd-tests/usr.bin/xlint/lint1/
H A Dd_typename_as_var.c13 } fl; member in struct:foo
/freebsd-10-stable/tests/sys/file/
H A Dflock_helper.c189 struct flock fl; local
196 fl.l_start = 0;
197 fl.l_len = 0;
198 fl.l_type = F_WRLCK;
199 fl.l_whence = SEEK_SET;
211 if (fcntl(fd, F_SETLK, &fl) < 0)
231 res = fcntl(fd, F_SETLK, &fl);
260 struct flock fl; local
267 fl.l_start = 0;
268 fl
330 struct flock fl; local
416 struct flock fl; local
502 struct flock fl; local
604 struct flock fl; local
676 struct flock fl; local
753 struct flock fl; local
825 struct flock fl; local
893 struct flock fl; local
978 struct flock fl; local
1056 struct flock fl; local
1145 struct flock fl; local
1343 struct flock fl; local
[all...]
/freebsd-10-stable/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
1478 unlock_partialfilelock(const struct file_lock *fl) argument
1669 test_partialfilelock(const struct file_lock *fl, struct file_lock **conflicting_fl) argument
1714 do_test(struct file_lock *fl, struct file_lock **conflicting_fl) argument
1773 do_lock(struct file_lock *fl) argument
1824 do_unlock(struct file_lock *fl) argument
1997 struct file_lock fl; local
[all...]
/freebsd-10-stable/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-stable/usr.bin/sort/
H A Dfile.h108 void file_list_init(struct file_list *fl, bool tmp);
109 void file_list_add(struct file_list *fl, char *fn, bool allocate);
110 void file_list_populate(struct file_list *fl, int argc, char **argv, bool allocate);
111 void file_list_clean(struct file_list *fl);
114 void merge_files(struct file_list *fl, const char *fn_out);
117 int procfile(const char *fn, struct sort_list *list, struct file_list *fl);
H A Dfile.c213 file_list_init(struct file_list *fl, bool tmp) argument
216 if (fl) {
217 fl->count = 0;
218 fl->sz = 0;
219 fl->fns = NULL;
220 fl->tmp = tmp;
228 file_list_add(struct file_list *fl, char *fn, bool allocate) argument
231 if (fl && fn) {
232 if (fl->count >= fl
246 file_list_populate(struct file_list *fl, int argc, char **argv, bool allocate) argument
262 file_list_clean(struct file_list *fl) argument
833 procfile(const char *fsrc, struct sort_list *list, struct file_list *fl) argument
1150 shrink_file_list(struct file_list *fl) argument
1195 merge_files(struct file_list *fl, const char *fn_out) argument
[all...]
/freebsd-10-stable/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-stable/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-stable/contrib/netbsd-tests/net/net/
H A Dt_tcp.c77 int ok, fl; local
121 fl = fcntl(srvr, F_GETFL, 0);
122 if (fl == -1)
125 ok = fcntl(srvr, F_SETFL, fl & ~O_NONBLOCK);
136 fl = fcntl(as, F_GETFL, 0);
137 if (fl == -1)
139 if (fl != (O_RDWR|O_NONBLOCK))
140 FAIL("fl 0x%x != 0x%x\n", fl, O_RDWR|O_NONBLOCK);
141 ok = fcntl(as, F_SETFL, fl
[all...]
/freebsd-10-stable/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-stable/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-stable/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-stable/sys/dev/cxgbe/
H A Dt4_sge.c1072 * a) initialize iq and fl
1084 snprintf(name, sizeof(name), "%s rxq%d-fl",
1086 init_fl(sc, &rxq->fl, vi->qsize_rxq / 8, maxp, name);
1112 snprintf(name, sizeof(name), "%s ofld_rxq%d-fl",
1114 init_fl(sc, &ofld_rxq->fl, vi->qsize_rxq / 8, maxp, name);
1386 struct sge_fl *fl; /* Use iff IQ_HAS_FL */ local
1404 fl = &rxq->fl;
1405 fl_hw_cidx = fl->hw_cidx; /* stable snapshot */
1407 fl
1591 cl_has_metadata(struct sge_fl *fl, struct cluster_layout *cll) argument
1602 cl_metadata(struct adapter *sc, struct sge_fl *fl, struct cluster_layout *cll, caddr_t cl) argument
1637 get_scatter_segment(struct adapter *sc, struct sge_fl *fl, int fr_offset, int remaining) argument
1747 get_fl_payload(struct adapter *sc, struct sge_fl *fl, uint32_t len_newbuf) argument
1990 struct sge_fl *fl; local
2569 init_fl(struct adapter *sc, struct sge_fl *fl, int qsize, int maxp, char *name) argument
2655 alloc_iq_fl(struct vi_info *vi, struct sge_iq *iq, struct sge_fl *fl, int intr_idx, int cong) argument
2845 free_iq_fl(struct vi_info *vi, struct sge_iq *iq, struct sge_fl *fl) argument
2889 add_fl_sysctls(struct adapter *sc, struct sysctl_ctx_list *ctx, struct sysctl_oid *oid, struct sge_fl *fl) argument
3775 ring_fl_db(struct adapter *sc, struct sge_fl *fl) argument
3799 refill_fl(struct adapter *sc, struct sge_fl *fl, int n) argument
3926 struct sge_fl *fl, *fl_temp; local
3944 alloc_fl_sdesc(struct sge_fl *fl) argument
3954 free_fl_sdesc(struct adapter *sc, struct sge_fl *fl) argument
4841 find_best_refill_source(struct adapter *sc, struct sge_fl *fl, int maxp) argument
4972 find_safe_refill_source(struct adapter *sc, struct sge_fl *fl) argument
5016 add_fl_to_sfl(struct adapter *sc, struct sge_fl *fl) argument
[all...]
/freebsd-10-stable/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
270 KASSERT(fl->l_start == 0 && fl->l_len == 0,
286 svid = fl->l_pid;
294 && fl->l_type == F_WRLCK) {
307 vp, F_SETLK, fl, flag
402 nlm_set_creds_for_lock(struct thread *td, struct flock *fl) argument
451 nlm_reclaim_free_lock(struct vnode *vp, struct flock *fl, void *arg) argument
488 nlm_client_recover_lock(struct vnode *vp, struct flock *fl, void *arg) argument
695 nlm_record_lock(struct vnode *vp, int op, struct flock *fl, int svid, int sysid, off_t size) argument
752 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
951 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
1026 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
1215 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-stable/sys/vm/
H A Dvm_phys.c137 static void vm_phys_split_pages(vm_page_t m, int oind, struct vm_freelist *fl,
180 struct vm_freelist *fl; local
203 fl = vm_phys_free_queues[dom][flind][pind];
205 fl[oind].lcnt);
246 vm_freelist_add(struct vm_freelist *fl, vm_page_t m, int order, int tail) argument
251 TAILQ_INSERT_TAIL(&fl[order].pl, m, plinks.q);
253 TAILQ_INSERT_HEAD(&fl[order].pl, m, plinks.q);
254 fl[order].lcnt++;
258 vm_freelist_rem(struct vm_freelist *fl, vm_page_t m, int order) argument
261 TAILQ_REMOVE(&fl[orde
364 struct vm_freelist *fl; local
482 vm_phys_split_pages(vm_page_t m, int oind, struct vm_freelist *fl, int order) argument
588 struct vm_freelist *fl; local
776 struct vm_freelist *fl; local
876 struct vm_freelist *fl; local
937 static struct vm_freelist *fl; local
992 struct vm_freelist *fl; local
1094 struct vm_freelist *fl; local
[all...]
/freebsd-10-stable/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);
412 fl
[all...]
/freebsd-10-stable/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-stable/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-stable/contrib/netbsd-tests/kernel/
H A Dt_lockf.c85 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);

Completed in 340 milliseconds

12345