Home
last modified time | relevance | path

Searched refs:fl (Results 1 – 25 of 242) sorted by relevance

12345678910

/openbmc/linux/net/ipv6/
H A Dip6_flowlabel.c63 fl = rcu_dereference(fl->next))
65 for (fl = rcu_dereference(fl->next); \
67 fl = rcu_dereference(fl->next))
91 if (fl && !atomic_inc_not_zero(&fl->users)) in fl_lookup()
120 if (fl_shared_exclusive(fl) || fl->opt) in fl_free()
250 fl->next = fl_ht[FL_HASH(fl->label)]; in fl_intern()
271 struct ip6_flowlabel *fl = sfl->fl; in __fl6_sock_lookup() local
369 fl->expires = fl->lastuse + expires; in fl6_renew()
390 fl = kzalloc(sizeof(*fl), GFP_KERNEL); in fl_create()
404 memset(fl->opt, 0, sizeof(*fl->opt)); in fl_create()
[all …]
/openbmc/linux/tools/testing/selftests/filelock/
H A Dofdlocks.c49 fl.l_start = 5; in main()
50 fl.l_len = 3; in main()
61 fl.l_start = 5; in main()
62 fl.l_len = 1; in main()
72 fl.l_start = 5; in main()
73 fl.l_len = 1; in main()
88 fl.l_len = 1; in main()
98 fl.l_type, fl.l_pid, fl.l_len); in main()
114 if (memcmp(&fl, &fl2, sizeof(fl))) { in main()
117 fl.l_type, fl.l_pid, fl.l_len); in main()
[all …]
/openbmc/linux/fs/
H A Dlocks.c77 #define IS_REMOTELCK(fl) (fl->fl_pid <= 0) argument
245 fl->fl_owner, fl->fl_flags, fl->fl_type, fl->fl_pid); in locks_check_ctx_file_list()
290 fl->fl_ops->fl_release_private(fl); in locks_release_private()
393 fl->fl_ops->fl_copy_lock(new, fl); in locks_copy_lock()
487 fl->fl_end = fl->fl_start - 1; in flock64_to_posix_lock()
984 fl = fl->fl_blocker; in what_owner_is_waiting_for()
1537 if (fl->fl_lmops->lm_break(fl)) in __break_lease()
1612 if (fl && (fl->fl_type == F_WRLCK)) in lease_get_mtime()
2188 fl->fl_end - fl->fl_start + 1; in posix_lock_to_flock()
2200 fl->fl_end - fl->fl_start + 1; in posix_lock_to_flock64()
[all …]
/openbmc/linux/include/trace/events/
H A Dfilelock.h82 __entry->fl = fl ? fl : NULL;
86 __entry->fl_owner = fl ? fl->fl_owner : NULL;
87 __entry->fl_pid = fl ? fl->fl_pid : 0;
88 __entry->fl_flags = fl ? fl->fl_flags : 0;
89 __entry->fl_type = fl ? fl->fl_type : 0;
90 __entry->fl_start = fl ? fl->fl_start : 0;
91 __entry->fl_end = fl ? fl->fl_end : 0;
137 __entry->fl = fl ? fl : NULL;
141 __entry->fl_owner = fl ? fl->fl_owner : NULL;
142 __entry->fl_flags = fl ? fl->fl_flags : 0;
[all …]
/openbmc/linux/fs/lockd/
H A Dclntproc.c143 lock->fl.fl_start = fl->fl_start; in nlmclnt_setlockargs()
144 lock->fl.fl_end = fl->fl_end; in nlmclnt_setlockargs()
145 lock->fl.fl_type = fl->fl_type; in nlmclnt_setlockargs()
194 fl->fl_ops->fl_release_private(fl); in nlmclnt_proc()
195 fl->fl_ops = NULL; in nlmclnt_proc()
447 fl->fl_start = req->a_res.lock.fl.fl_start; in nlmclnt_test()
448 fl->fl_end = req->a_res.lock.fl.fl_end; in nlmclnt_test()
449 fl->fl_type = req->a_res.lock.fl.fl_type; in nlmclnt_test()
450 fl->fl_pid = -req->a_res.lock.fl.fl_pid; in nlmclnt_test()
495 return locks_lock_file_wait(fl->fl_file, fl); in do_vfs_lock()
[all …]
H A Dsvclock.c156 (long long)lock->fl.fl_end, lock->fl.fl_type); in nlmsvc_lookup_block()
159 fl = &block->b_call->a_args.lock.fl; in nlmsvc_lookup_block()
163 (long long)fl->fl_end, fl->fl_type, in nlmsvc_lookup_block()
422 locks_copy_lock(&call->a_args.lock.fl, &lock->fl); in nlmsvc_setgrantargs()
495 lock->fl.fl_type, lock->fl.fl_pid, in nlmsvc_lock()
634 lock->fl.fl_type, (long long)lock->fl.fl_start, in nlmsvc_testlock()
640 conflock->fl.fl_type = lock->fl.fl_type; in nlmsvc_testlock()
641 conflock->fl.fl_start = lock->fl.fl_start; in nlmsvc_testlock()
642 conflock->fl.fl_end = lock->fl.fl_end; in nlmsvc_testlock()
713 struct file_lock *fl = &block->b_call->a_args.lock.fl; in nlmsvc_cancel_blocked() local
[all …]
H A Dxdr4.c40 fl->fl_start = off; in nlm4svc_set_file_lock_range()
42 fl->fl_end = OFFSET_MAX; in nlm4svc_set_file_lock_range()
44 fl->fl_end = end; in nlm4svc_set_file_lock_range()
76 struct file_lock *fl = &lock->fl; in svcxdr_decode_lock() local
91 locks_init_lock(fl); in svcxdr_decode_lock()
92 fl->fl_flags = FL_POSIX; in svcxdr_decode_lock()
93 fl->fl_type = F_RDLCK; in svcxdr_decode_lock()
101 const struct file_lock *fl = &lock->fl; in svcxdr_encode_holder() local
112 if (fl->fl_end == OFFSET_MAX) in svcxdr_encode_holder()
115 len = loff_t_to_s64(fl->fl_end - fl->fl_start + 1); in svcxdr_encode_holder()
[all …]
H A Dxdr.c74 struct file_lock *fl = &lock->fl; in svcxdr_decode_lock() local
90 locks_init_lock(fl); in svcxdr_decode_lock()
91 fl->fl_flags = FL_POSIX; in svcxdr_decode_lock()
92 fl->fl_type = F_RDLCK; in svcxdr_decode_lock()
96 fl->fl_end = OFFSET_MAX; in svcxdr_decode_lock()
98 fl->fl_end = s32_to_loff_t(end); in svcxdr_decode_lock()
106 const struct file_lock *fl = &lock->fl; in svcxdr_encode_holder() local
117 if (fl->fl_end == OFFSET_MAX) in svcxdr_encode_holder()
120 len = loff_t_to_s32(fl->fl_end - fl->fl_start + 1); in svcxdr_encode_holder()
226 argp->lock.fl.fl_type = F_UNLCK; in nlmsvc_decode_unlockargs()
[all …]
/openbmc/linux/fs/ceph/
H A Dlocks.c64 fl->fl_u.ceph.inode = NULL; in ceph_fl_release_lock()
93 fl->fl_ops->fl_copy_lock(fl, NULL); in ceph_lock_message()
110 length = fl->fl_end - fl->fl_start + 1; in ceph_lock_message()
116 (int)operation, owner, (u64)fl->fl_pid, fl->fl_start, length, in ceph_lock_message()
117 wait, fl->fl_type); in ceph_lock_message()
134 fl->fl_type = F_RDLCK; in ceph_lock_message()
136 fl->fl_type = F_WRLCK; in ceph_lock_message()
138 fl->fl_type = F_UNLCK; in ceph_lock_message()
144 fl->fl_end = length -1; in ceph_lock_message()
146 fl->fl_end = 0; in ceph_lock_message()
[all …]
H A Dutil.c34 fl->stripe_unit = le32_to_cpu(legacy->fl_stripe_unit); in ceph_file_layout_from_legacy()
35 fl->stripe_count = le32_to_cpu(legacy->fl_stripe_count); in ceph_file_layout_from_legacy()
36 fl->object_size = le32_to_cpu(legacy->fl_object_size); in ceph_file_layout_from_legacy()
37 fl->pool_id = le32_to_cpu(legacy->fl_pg_pool); in ceph_file_layout_from_legacy()
38 if (fl->pool_id == 0 && fl->stripe_unit == 0 && in ceph_file_layout_from_legacy()
39 fl->stripe_count == 0 && fl->object_size == 0) in ceph_file_layout_from_legacy()
40 fl->pool_id = -1; in ceph_file_layout_from_legacy()
46 legacy->fl_stripe_unit = cpu_to_le32(fl->stripe_unit); in ceph_file_layout_to_legacy()
48 legacy->fl_object_size = cpu_to_le32(fl->object_size); in ceph_file_layout_to_legacy()
49 if (fl->pool_id >= 0) in ceph_file_layout_to_legacy()
[all …]
/openbmc/linux/fs/afs/
H A Dflock.c467 fl->fl_start, fl->fl_end, fl->fl_type, mode); in afs_do_setlk()
473 partial = (fl->fl_start != 0 || fl->fl_end != OFFSET_MAX); in afs_do_setlk()
648 if (fl->fl_u.afs.state >= 0 && fl->fl_u.afs.state != AFS_LOCK_GRANTED) { in afs_do_setlk()
677 ret = fl->fl_u.afs.state; in afs_do_setlk()
733 fl->fl_type = F_UNLCK; in afs_do_getlk()
746 fl->fl_type = F_RDLCK; in afs_do_getlk()
749 fl->fl_start = 0; in afs_do_getlk()
751 fl->fl_pid = 0; in afs_do_getlk()
772 fl->fl_type, fl->fl_flags, in afs_lock()
773 (long long) fl->fl_start, (long long) fl->fl_end); in afs_lock()
[all …]
/openbmc/linux/fs/dlm/
H A Dplock.c26 void *fl; member
149 if (fl->fl_lmops && fl->fl_lmops->lm_grant) { in dlm_posix_lock()
163 op_data->fl = fl; in dlm_posix_lock()
246 struct file_lock *fl; in dlm_plock_callback() local
256 fl = op_data->fl; in dlm_plock_callback()
279 rv = notify(fl, 0); in dlm_plock_callback()
329 if (fl->fl_lmops && fl->fl_lmops->lm_grant) in dlm_posix_unlock()
377 if (WARN_ON_ONCE(!fl->fl_lmops || !fl->fl_lmops->lm_grant)) in dlm_posix_cancel()
453 if (fl->fl_lmops && fl->fl_lmops->lm_grant) in dlm_posix_get()
472 locks_init_lock(fl); in dlm_posix_get()
[all …]
/openbmc/linux/drivers/misc/
H A Dfastrpc.c414 buf->fl = fl; in __fastrpc_buf_alloc()
446 if (fl->sctx && fl->sctx->sid) in fastrpc_buf_alloc()
772 map->fl = fl; in fastrpc_map_create()
1064 struct fastrpc_user *fl = ctx->fl; in fastrpc_put_args() local
1109 struct fastrpc_user *fl = ctx->fl; in fastrpc_invoke_send() local
1218 if (!fl->is_secure_dev && fl->cctx->secure) { in is_session_rejected()
1286 fl->cctx->vmperms, fl->cctx->vmcount); in fastrpc_init_create_static_process()
1412 err = fastrpc_buf_alloc(fl, fl->sctx->dev, memlen, in fastrpc_init_create_process()
1550 kfree(fl); in fastrpc_device_release()
1566 fl = kzalloc(sizeof(*fl), GFP_KERNEL); in fastrpc_device_open()
[all …]
/openbmc/linux/include/linux/
H A Dthread_info.h149 #define set_syscall_work(fl) \ argument
151 #define test_syscall_work(fl) \ argument
153 #define clear_syscall_work(fl) \ argument
156 #define set_task_syscall_work(t, fl) \ argument
158 #define test_task_syscall_work(t, fl) \ argument
160 #define clear_task_syscall_work(t, fl) \ argument
165 #define set_syscall_work(fl) \ argument
167 #define test_syscall_work(fl) \ argument
169 #define clear_syscall_work(fl) \ argument
172 #define set_task_syscall_work(t, fl) \ argument
[all …]
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_catalog.c619 {.fl = 4, .lut = 0x1b},
620 {.fl = 5, .lut = 0x5b},
621 {.fl = 6, .lut = 0x15b},
622 {.fl = 7, .lut = 0x55b},
623 {.fl = 8, .lut = 0x155b},
624 {.fl = 9, .lut = 0x555b},
632 {.fl = 4, .lut = 0x357},
633 {.fl = 5, .lut = 0x3357},
691 {.fl = 0, .lut = 0x0},
695 {.fl = 0, .lut = 0x0},
[all …]
/openbmc/linux/fs/9p/
H A Dvfs_file.c139 switch (fl->fl_type) { in v9fs_file_do_lock()
154 flock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_do_lock()
211 fl_type = fl->fl_type; in v9fs_file_do_lock()
212 fl->fl_type = F_UNLCK; in v9fs_file_do_lock()
215 fl->fl_type = fl_type; in v9fs_file_do_lock()
247 glock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_getlock()
257 fl->fl_type = F_RDLCK; in v9fs_file_getlock()
260 fl->fl_type = F_WRLCK; in v9fs_file_getlock()
263 fl->fl_type = F_UNLCK; in v9fs_file_getlock()
294 filp, cmd, fl, filp); in v9fs_file_lock_dotl()
[all …]
/openbmc/linux/fs/nfs/filelayout/
H A Dfilelayout.c568 fl->num_fh > 1 && fl->num_fh != dsaddr->ds_num) || in filelayout_check_deviceid()
638 if (fl->fh_array) { in _filelayout_free_lseg()
646 kfree(fl); in _filelayout_free_lseg()
677 memcpy(&fl->deviceid, p, sizeof(fl->deviceid)); in filelayout_decode_layout()
695 __func__, nfl_util, fl->num_fh, fl->first_stripe_index, in filelayout_decode_layout()
700 if (fl->num_fh > in filelayout_decode_layout()
705 fl->fh_array = kcalloc(fl->num_fh, sizeof(fl->fh_array[0]), in filelayout_decode_layout()
730 memcpy(fl->fh_array[i]->data, p, fl->fh_array[i]->size); in filelayout_decode_layout()
774 fl = kzalloc(sizeof(*fl), gfp_flags); in filelayout_alloc_lseg()
775 if (!fl) in filelayout_alloc_lseg()
[all …]
/openbmc/linux/fs/ocfs2/
H A Dlocks.c24 int cmd, struct file_lock *fl) in ocfs2_do_flock() argument
30 if (fl->fl_type == F_WRLCK) in ocfs2_do_flock()
72 ret = locks_lock_file_wait(file, fl); in ocfs2_do_flock()
89 ret = locks_lock_file_wait(file, fl); in ocfs2_do_funlock()
103 if (!(fl->fl_flags & FL_FLOCK)) in ocfs2_flock()
108 return locks_lock_file_wait(file, fl); in ocfs2_flock()
110 if (fl->fl_type == F_UNLCK) in ocfs2_flock()
111 return ocfs2_do_funlock(file, cmd, fl); in ocfs2_flock()
113 return ocfs2_do_flock(file, inode, cmd, fl); in ocfs2_flock()
116 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_lock() argument
[all …]
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c484 if (++fl->cidx == fl->size) in free_rx_bufs()
512 if (++fl->cidx == fl->size) in unmap_rx_buf()
611 __be64 *d = &fl->desc[fl->pidx]; in refill_fl()
667 if (++fl->pidx == fl->size) { in refill_fl()
696 if (++fl->pidx == fl->size) { in refill_fl()
1715 fl->cidx = fl->size - 1; in restore_rx_bufs()
1718 sdesc = &fl->sdesc[fl->cidx]; in restore_rx_bufs()
2391 if (fl && fl->desc) { in t4vf_sge_alloc_rxq()
2395 fl->desc, fl->addr); in t4vf_sge_alloc_rxq()
2544 free_rx_bufs(adapter, fl, fl->avail); in free_rspq_fl()
[all …]
/openbmc/linux/fs/nfsd/
H A Dflexfilelayout.c31 struct pnfs_ff_layout *fl; in nfsd4_ff_proc_layoutget() local
39 fl = kzalloc(sizeof(*fl), GFP_KERNEL); in nfsd4_ff_proc_layoutget()
40 if (!fl) in nfsd4_ff_proc_layoutget()
42 args->lg_content = fl; in nfsd4_ff_proc_layoutget()
49 fl->flags = FF_FLAGS_NO_LAYOUTCOMMIT | FF_FLAGS_NO_IO_THRU_MDS | in nfsd4_ff_proc_layoutget()
55 fl->uid = make_kuid(&init_user_ns, u); in nfsd4_ff_proc_layoutget()
57 fl->uid = inode->i_uid; in nfsd4_ff_proc_layoutget()
58 fl->gid = inode->i_gid; in nfsd4_ff_proc_layoutget()
60 error = nfsd4_set_deviceid(&fl->deviceid, fhp, device_generation); in nfsd4_ff_proc_layoutget()
64 fl->fh.size = fhp->fh_handle.fh_size; in nfsd4_ff_proc_layoutget()
[all …]
H A Dflexfilelayoutxdr.c22 struct pnfs_ff_layout *fl = lgp->lg_content; in nfsd4_ff_encode_layoutget() local
33 fh_len = 4 + fl->fh.size; in nfsd4_ff_encode_layoutget()
35 uid.len = sprintf(uid.buf, "%u", from_kuid(&init_user_ns, fl->uid)); in nfsd4_ff_encode_layoutget()
36 gid.len = sprintf(gid.buf, "%u", from_kgid(&init_user_ns, fl->gid)); in nfsd4_ff_encode_layoutget()
57 p = xdr_encode_opaque_fixed(p, &fl->deviceid, in nfsd4_ff_encode_layoutget()
62 *p++ = cpu_to_be32(fl->stateid.si_generation); in nfsd4_ff_encode_layoutget()
63 p = xdr_encode_opaque_fixed(p, &fl->stateid.si_opaque, in nfsd4_ff_encode_layoutget()
67 p = xdr_encode_opaque(p, fl->fh.data, fl->fh.size); in nfsd4_ff_encode_layoutget()
72 *p++ = cpu_to_be32(fl->flags); in nfsd4_ff_encode_layoutget()
/openbmc/linux/drivers/mtd/parsers/
H A Dredboot.c221 prev = &fl; in parse_redboot_partitions()
230 if (fl->img->flash_base) { in parse_redboot_partitions()
259 if (fl->img->flash_base) { in parse_redboot_partitions()
267 parts[i].size = fl->img->size; in parse_redboot_partitions()
271 strcpy(names, fl->img->name); in parse_redboot_partitions()
282 …if (fl->next && fl->img->flash_base + fl->img->size + master->erasesize <= fl->next->img->flash_ba… in parse_redboot_partitions()
289 tmp_fl = fl; in parse_redboot_partitions()
290 fl = fl->next; in parse_redboot_partitions()
296 while (fl) { in parse_redboot_partitions()
297 struct fis_list *old = fl; in parse_redboot_partitions()
[all …]
/openbmc/u-boot/scripts/kconfig/
H A Dkxgettext.c137 struct file_line *fl = file_line__new(file, lineno); in message__add_file_line() local
139 if (fl == NULL) in message__add_file_line()
142 fl->next = self->files; in message__add_file_line()
143 self->files = fl; in message__add_file_line()
191 struct file_line *fl = self->files; in message__print_file_lineno() local
197 printf("#: %s:%d", fl->file, fl->lineno); in message__print_file_lineno()
198 fl = fl->next; in message__print_file_lineno()
200 while (fl != NULL) { in message__print_file_lineno()
201 printf(", %s:%d", fl->file, fl->lineno); in message__print_file_lineno()
202 fl = fl->next; in message__print_file_lineno()
/openbmc/openbmc/poky/meta/recipes-connectivity/nfs-utils/nfs-utils/
H A D0001-tools-locktest-Use-intmax_t-to-print-off_t.patch17 | 85 | fname, fl.l_pid, fl.l_start, fl.l_len);
41 if (fl.l_type == F_UNLCK) {
45 - fname, fl.l_pid, fl.l_start, fl.l_len);
47 + fname, fl.l_pid, (intmax_t)fl.l_start, (intmax_t)fl.l_len);
/openbmc/linux/drivers/net/wireguard/
H A Dsocket.c23 struct flowi4 fl = { in send4() local
46 fl.fl4_sport = inet_sk(sock)->inet_sport; in send4()
49 rt = dst_cache_get_ip4(cache, &fl.saddr); in send4()
54 fl.saddr, RT_SCOPE_HOST))) { in send4()
57 fl.saddr = 0; in send4()
67 fl.saddr = 0; in send4()
85 udp_tunnel_xmit_skb(rt, sock, skb, fl.saddr, fl.daddr, ds, in send4()
87 fl.fl4_dport, false, false); in send4()
101 struct flowi6 fl = { in send6() local
152 udp_tunnel6_xmit_skb(dst, sock, skb, skb->dev, &fl.saddr, &fl.daddr, ds, in send6()
[all …]

12345678910