/linux-4.4.14/net/ipv6/ |
D | ip6_flowlabel.c | 60 #define for_each_fl_rcu(hash, fl) \ argument 61 for (fl = rcu_dereference_bh(fl_ht[(hash)]); \ 62 fl != NULL; \ 63 fl = rcu_dereference_bh(fl->next)) 64 #define for_each_fl_continue_rcu(fl) \ argument 65 for (fl = rcu_dereference_bh(fl->next); \ 66 fl != NULL; \ 67 fl = rcu_dereference_bh(fl->next)) 76 struct ip6_flowlabel *fl; in __fl_lookup() local 78 for_each_fl_rcu(FL_HASH(label), fl) { in __fl_lookup() [all …]
|
D | xfrm6_state.c | 24 __xfrm6_init_tempsel(struct xfrm_selector *sel, const struct flowi *fl) in __xfrm6_init_tempsel() argument 26 const struct flowi6 *fl6 = &fl->u.ip6; in __xfrm6_init_tempsel() 32 sel->dport = xfrm_flowi_dport(fl, &fl6->uli); in __xfrm6_init_tempsel() 34 sel->sport = xfrm_flowi_sport(fl, &fl6->uli); in __xfrm6_init_tempsel()
|
D | ip6_vti.c | 430 vti6_xmit(struct sk_buff *skb, struct net_device *dev, struct flowi *fl) in vti6_xmit() argument 444 dst = xfrm_lookup(t->net, dst, fl, NULL, 0); in vti6_xmit() 513 struct flowi fl; in vti6_tnl_xmit() local 516 memset(&fl, 0, sizeof(fl)); in vti6_tnl_xmit() 526 xfrm_decode_session(skb, &fl, AF_INET6); in vti6_tnl_xmit() 530 xfrm_decode_session(skb, &fl, AF_INET); in vti6_tnl_xmit() 538 fl.flowi_mark = be32_to_cpu(t->parms.o_key); in vti6_tnl_xmit() 540 ret = vti6_xmit(skb, dev, &fl); in vti6_tnl_xmit()
|
D | xfrm6_policy.c | 72 static int xfrm6_get_tos(const struct flowi *fl) in xfrm6_get_tos() argument 91 const struct flowi *fl) in xfrm6_fill_dst() argument 119 _decode_session6(struct sk_buff *skb, struct flowi *fl, int reverse) in _decode_session6() argument 121 struct flowi6 *fl6 = &fl->u.ip6; in _decode_session6()
|
D | mip6.c | 209 const struct flowi *fl) in mip6_destopt_reject() argument 213 const struct flowi6 *fl6 = &fl->u.ip6; in mip6_destopt_reject() 247 sel.dport = xfrm_flowi_dport(fl, &fl6->uli); in mip6_destopt_reject() 250 sel.sport = xfrm_flowi_sport(fl, &fl6->uli); in mip6_destopt_reject()
|
D | netfilter.c | 111 struct flowi *fl, bool strict) in nf_ip6_route() argument 123 result = ip6_route_output(net, sk, &fl->u.ip6); in nf_ip6_route()
|
D | fib6_rules.c | 161 static int fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib6_rule_match() argument 164 struct flowi6 *fl6 = &fl->u.ip6; in fib6_rule_match()
|
D | ip6_gre.c | 786 memcpy(&fl6, &t->fl.u.ip6, sizeof(fl6)); in ip6gre_xmit_ipv4() 836 memcpy(&fl6, &t->fl.u.ip6, sizeof(fl6)); in ip6gre_xmit_ipv6() 888 memcpy(&fl6, &t->fl.u.ip6, sizeof(fl6)); in ip6gre_xmit_other() 934 struct flowi6 *fl6 = &t->fl.u.ip6; in ip6gre_tnl_link_config() 1183 t->fl.u.ip6.flowlabel, true, in ip6gre_header() 1184 &t->fl.u.ip6)); in ip6gre_header()
|
D | ip6_output.c | 1227 cork->fl.u.ip6 = *fl6; in ip6_setup_cork() 1586 fl6 = &inet->cork.fl.u.ip6; in ip6_append_data() 1613 memset(&cork->fl, 0, sizeof(cork->fl)); in ip6_cork_release() 1629 struct flowi6 *fl6 = &cork->fl.u.ip6; in __ip6_make_skb()
|
D | tcp_ipv6.c | 440 struct flowi *fl, in tcp_v6_send_synack() argument 447 struct flowi6 *fl6 = &fl->u.ip6; in tcp_v6_send_synack() 701 struct flowi *fl, in tcp_v6_route_req() argument 707 return inet6_csk_route_req(sk, &fl->u.ip6, req, IPPROTO_TCP); in tcp_v6_route_req()
|
D | ip6_tunnel.c | 1192 memcpy(&fl6, &t->fl.u.ip6, sizeof(fl6)); in ip4ip6_tnl_xmit() 1246 memcpy(&fl6, &t->fl.u.ip6, sizeof(fl6)); in ip6ip6_tnl_xmit() 1301 struct flowi6 *fl6 = &t->fl.u.ip6; in ip6_tnl_link_config()
|
D | udp.c | 1088 fl6 = inet_sk(sk)->cork.fl.u.ip6; in udp_v6_push_pending_frames()
|
/linux-4.4.14/fs/ |
D | locks.c | 138 #define IS_POSIX(fl) (fl->fl_flags & FL_POSIX) argument 139 #define IS_FLOCK(fl) (fl->fl_flags & FL_FLOCK) argument 140 #define IS_LEASE(fl) (fl->fl_flags & (FL_LEASE|FL_DELEG|FL_LAYOUT)) argument 141 #define IS_OFDLCK(fl) (fl->fl_flags & FL_OFDLCK) argument 143 static bool lease_breaking(struct file_lock *fl) in lease_breaking() argument 145 return fl->fl_flags & (FL_UNLOCK_PENDING | FL_DOWNGRADE_PENDING); in lease_breaking() 148 static int target_leasetype(struct file_lock *fl) in target_leasetype() argument 150 if (fl->fl_flags & FL_UNLOCK_PENDING) in target_leasetype() 152 if (fl->fl_flags & FL_DOWNGRADE_PENDING) in target_leasetype() 154 return fl->fl_type; in target_leasetype() [all …]
|
D | read_write.c | 1163 int fl; in do_sendfile() local 1215 fl = 0; in do_sendfile() 1224 fl = SPLICE_F_NONBLOCK; in do_sendfile() 1227 retval = do_splice_direct(in.file, &pos, out.file, &out_pos, count, fl); in do_sendfile()
|
/linux-4.4.14/include/trace/events/ |
D | filelock.h | 39 TP_PROTO(struct inode *inode, struct file_lock *fl), 41 TP_ARGS(inode, fl), 44 __field(struct file_lock *, fl) 56 __entry->fl = fl ? fl : NULL; 59 __entry->fl_next = fl ? fl->fl_next : NULL; 60 __entry->fl_owner = fl ? fl->fl_owner : NULL; 61 __entry->fl_flags = fl ? fl->fl_flags : 0; 62 __entry->fl_type = fl ? fl->fl_type : 0; 63 __entry->fl_break_time = fl ? fl->fl_break_time : 0; 64 __entry->fl_downgrade_time = fl ? fl->fl_downgrade_time : 0; [all …]
|
/linux-4.4.14/fs/afs/ |
D | flock.c | 17 static void afs_fl_copy_lock(struct file_lock *new, struct file_lock *fl); 18 static void afs_fl_release_private(struct file_lock *fl); 83 static void afs_grant_locks(struct afs_vnode *vnode, struct file_lock *fl) in afs_grant_locks() argument 87 list_move_tail(&fl->fl_u.afs.link, &vnode->granted_locks); in afs_grant_locks() 88 if (fl->fl_type == F_RDLCK) { in afs_grant_locks() 110 struct file_lock *fl; in afs_lock_work() local 144 fl = list_entry(vnode->granted_locks.next, in afs_lock_work() 146 key = key_get(fl->fl_file->private_data); in afs_lock_work() 178 fl = list_entry(vnode->pending_locks.next, in afs_lock_work() 180 key = key_get(fl->fl_file->private_data); in afs_lock_work() [all …]
|
/linux-4.4.14/fs/lockd/ |
D | clntproc.c | 30 static void nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host); 124 static void nlmclnt_setlockargs(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_setlockargs() argument 131 memcpy(&lock->fh, NFS_FH(file_inode(fl->fl_file)), sizeof(struct nfs_fh)); in nlmclnt_setlockargs() 135 (unsigned int)fl->fl_u.nfs_fl.owner->pid, in nlmclnt_setlockargs() 137 lock->svid = fl->fl_u.nfs_fl.owner->pid; in nlmclnt_setlockargs() 138 lock->fl.fl_start = fl->fl_start; in nlmclnt_setlockargs() 139 lock->fl.fl_end = fl->fl_end; in nlmclnt_setlockargs() 140 lock->fl.fl_type = fl->fl_type; in nlmclnt_setlockargs() 145 WARN_ON_ONCE(req->a_args.lock.fl.fl_ops != NULL); in nlmclnt_release_lockargs() 155 int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl) in nlmclnt_proc() argument [all …]
|
D | svclock.c | 147 struct file_lock *fl; in nlmsvc_lookup_block() local 150 file, lock->fl.fl_pid, in nlmsvc_lookup_block() 151 (long long)lock->fl.fl_start, in nlmsvc_lookup_block() 152 (long long)lock->fl.fl_end, lock->fl.fl_type); in nlmsvc_lookup_block() 154 fl = &block->b_call->a_args.lock.fl; in nlmsvc_lookup_block() 156 block->b_file, fl->fl_pid, in nlmsvc_lookup_block() 157 (long long)fl->fl_start, in nlmsvc_lookup_block() 158 (long long)fl->fl_end, fl->fl_type, in nlmsvc_lookup_block() 160 if (block->b_file == file && nlm_compare_locks(fl, &lock->fl)) { in nlmsvc_lookup_block() 238 call->a_args.lock.fl.fl_flags |= FL_SLEEP; in nlmsvc_create_block() [all …]
|
D | xdr4.c | 108 struct file_lock *fl = &lock->fl; in nlm4_decode_lock() local 119 locks_init_lock(fl); in nlm4_decode_lock() 120 fl->fl_owner = current->files; in nlm4_decode_lock() 121 fl->fl_pid = (pid_t)lock->svid; in nlm4_decode_lock() 122 fl->fl_flags = FL_POSIX; in nlm4_decode_lock() 123 fl->fl_type = F_RDLCK; /* as good as anything else */ in nlm4_decode_lock() 128 fl->fl_start = s64_to_loff_t(start); in nlm4_decode_lock() 131 fl->fl_end = OFFSET_MAX; in nlm4_decode_lock() 133 fl->fl_end = s64_to_loff_t(end); in nlm4_decode_lock() 151 struct file_lock *fl = &resp->lock.fl; in nlm4_encode_testres() local [all …]
|
D | xdr.c | 116 struct file_lock *fl = &lock->fl; in nlm_decode_lock() local 127 locks_init_lock(fl); in nlm_decode_lock() 128 fl->fl_owner = current->files; in nlm_decode_lock() 129 fl->fl_pid = (pid_t)lock->svid; in nlm_decode_lock() 130 fl->fl_flags = FL_POSIX; in nlm_decode_lock() 131 fl->fl_type = F_RDLCK; /* as good as anything else */ in nlm_decode_lock() 136 fl->fl_start = s32_to_loff_t(start); in nlm_decode_lock() 139 fl->fl_end = OFFSET_MAX; in nlm_decode_lock() 141 fl->fl_end = s32_to_loff_t(end); in nlm_decode_lock() 158 struct file_lock *fl = &resp->lock.fl; in nlm_encode_testres() local [all …]
|
D | clntlock.c | 98 struct nlm_wait *nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl) in nlmclnt_prepare_block() argument 105 block->b_lock = fl; in nlmclnt_prepare_block() 164 const struct file_lock *fl = &lock->fl; in nlmclnt_grant() local 177 if (fl_blocked->fl_start != fl->fl_start) in nlmclnt_grant() 179 if (fl_blocked->fl_end != fl->fl_end) in nlmclnt_grant() 232 struct file_lock *fl, *next; in reclaimer() local 262 list_for_each_entry_safe(fl, next, &host->h_reclaim, fl_u.nfs_fl.list) { in reclaimer() 263 list_del_init(&fl->fl_u.nfs_fl.list); in reclaimer() 273 if (nlmclnt_reclaim(host, fl, req) != 0) in reclaimer() 275 list_add_tail(&fl->fl_u.nfs_fl.list, &host->h_granted); in reclaimer()
|
D | clntxdr.c | 63 const struct file_lock *fl = &lock->fl; in nlm_compute_offsets() local 65 *l_offset = loff_t_to_s32(fl->fl_start); in nlm_compute_offsets() 66 if (fl->fl_end == OFFSET_MAX) in nlm_compute_offsets() 69 *l_len = loff_t_to_s32(fl->fl_end - fl->fl_start + 1); in nlm_compute_offsets() 263 encode_bool(xdr, lock->fl.fl_type == F_RDLCK); in encode_nlm_holder() 276 struct file_lock *fl = &lock->fl; in decode_nlm_holder() local 283 locks_init_lock(fl); in decode_nlm_holder() 290 fl->fl_pid = (pid_t)lock->svid; in decode_nlm_holder() 300 fl->fl_flags = FL_POSIX; in decode_nlm_holder() 301 fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm_holder() [all …]
|
D | clnt4xdr.c | 67 const struct file_lock *fl = &lock->fl; in nlm4_compute_offsets() local 69 *l_offset = loff_t_to_s64(fl->fl_start); in nlm4_compute_offsets() 70 if (fl->fl_end == OFFSET_MAX) in nlm4_compute_offsets() 73 *l_len = loff_t_to_s64(fl->fl_end - fl->fl_start + 1); in nlm4_compute_offsets() 268 encode_bool(xdr, lock->fl.fl_type == F_RDLCK); in encode_nlm4_holder() 281 struct file_lock *fl = &lock->fl; in decode_nlm4_holder() local 289 locks_init_lock(fl); in decode_nlm4_holder() 296 fl->fl_pid = (pid_t)lock->svid; in decode_nlm4_holder() 306 fl->fl_flags = FL_POSIX; in decode_nlm4_holder() 307 fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm4_holder() [all …]
|
D | svcsubs.c | 166 struct file_lock *fl; in nlm_traverse_locks() local 175 list_for_each_entry(fl, &flctx->flc_posix, fl_list) { in nlm_traverse_locks() 176 if (fl->fl_lmops != &nlmsvc_lock_operations) in nlm_traverse_locks() 182 lockhost = (struct nlm_host *) fl->fl_owner; in nlm_traverse_locks() 184 struct file_lock lock = *fl; in nlm_traverse_locks() 228 struct file_lock *fl; in nlm_file_inuse() local 236 list_for_each_entry(fl, &flctx->flc_posix, fl_list) { in nlm_file_inuse() 237 if (fl->fl_lmops == &nlmsvc_lock_operations) { in nlm_file_inuse()
|
D | svc4proc.c | 47 lock->fl.fl_file = file->f_file; in nlm4svc_retrieve_args() 48 lock->fl.fl_owner = (fl_owner_t) host; in nlm4svc_retrieve_args() 49 lock->fl.fl_lmops = &nlmsvc_lock_operations; in nlm4svc_retrieve_args()
|
D | svcproc.c | 77 lock->fl.fl_file = file->f_file; in nlmsvc_retrieve_args() 78 lock->fl.fl_owner = (fl_owner_t) host; in nlmsvc_retrieve_args() 79 lock->fl.fl_lmops = &nlmsvc_lock_operations; in nlmsvc_retrieve_args()
|
/linux-4.4.14/fs/dlm/ |
D | plock.c | 33 int (*callback)(struct file_lock *fl, int result); 34 void *fl; member 81 struct file *file, struct file_lock *fl) in do_unlock_close() argument 90 op->info.pid = fl->fl_pid; in do_unlock_close() 95 if (fl->fl_lmops && fl->fl_lmops->lm_grant) in do_unlock_close() 96 op->info.owner = (__u64) fl->fl_pid; in do_unlock_close() 98 op->info.owner = (__u64)(long) fl->fl_owner; in do_unlock_close() 105 int cmd, struct file_lock *fl) in dlm_posix_lock() argument 124 op->info.pid = fl->fl_pid; in dlm_posix_lock() 125 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_lock() [all …]
|
/linux-4.4.14/fs/ceph/ |
D | locks.c | 36 int cmd, u8 wait, struct file_lock *fl) in ceph_lock_message() argument 56 if (LLONG_MAX == fl->fl_end) in ceph_lock_message() 59 length = fl->fl_end - fl->fl_start + 1; in ceph_lock_message() 61 owner = secure_addr(fl->fl_owner); in ceph_lock_message() 65 (int)operation, owner, (u64)fl->fl_pid, fl->fl_start, length, in ceph_lock_message() 66 wait, fl->fl_type); in ceph_lock_message() 71 req->r_args.filelock_change.pid = cpu_to_le64((u64)fl->fl_pid); in ceph_lock_message() 72 req->r_args.filelock_change.start = cpu_to_le64(fl->fl_start); in ceph_lock_message() 82 fl->fl_pid = le64_to_cpu(req->r_reply_info.filelock_reply->pid); in ceph_lock_message() 84 fl->fl_type = F_RDLCK; in ceph_lock_message() [all …]
|
D | super.h | 967 extern int ceph_lock(struct file *file, int cmd, struct file_lock *fl); 968 extern int ceph_flock(struct file *file, int cmd, struct file_lock *fl); 977 extern int lock_to_ceph_filelock(struct file_lock *fl, struct ceph_filelock *c);
|
/linux-4.4.14/fs/ocfs2/ |
D | locks.c | 39 int cmd, struct file_lock *fl) in ocfs2_do_flock() argument 45 if (fl->fl_type == F_WRLCK) in ocfs2_do_flock() 87 ret = locks_lock_file_wait(file, fl); in ocfs2_do_flock() 97 static int ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_do_funlock() argument 104 ret = locks_lock_file_wait(file, fl); in ocfs2_do_funlock() 113 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_flock() argument 118 if (!(fl->fl_flags & FL_FLOCK)) in ocfs2_flock() 125 return locks_lock_file_wait(file, fl); in ocfs2_flock() 127 if (fl->fl_type == F_UNLCK) in ocfs2_flock() 128 return ocfs2_do_funlock(file, cmd, fl); in ocfs2_flock() [all …]
|
D | locks.h | 29 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl); 30 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl);
|
D | stackglue.h | 220 struct file_lock *fl); 292 struct file *file, int cmd, struct file_lock *fl);
|
D | stack_user.c | 748 struct file_lock *fl) in user_plock() argument 764 fl->fl_type = F_UNLCK; in user_plock() 768 return dlm_posix_get(conn->cc_lockspace, ino, file, fl); in user_plock() 769 else if (fl->fl_type == F_UNLCK) in user_plock() 770 return dlm_posix_unlock(conn->cc_lockspace, ino, file, fl); in user_plock() 772 return dlm_posix_lock(conn->cc_lockspace, ino, file, cmd, fl); in user_plock()
|
D | alloc.c | 6491 struct ocfs2_per_slot_free_list *fl; in ocfs2_run_deallocs() local 6497 fl = ctxt->c_first_suballocator; in ocfs2_run_deallocs() 6499 if (fl->f_first) { in ocfs2_run_deallocs() 6500 trace_ocfs2_run_deallocs(fl->f_inode_type, in ocfs2_run_deallocs() 6501 fl->f_slot); in ocfs2_run_deallocs() 6503 fl->f_inode_type, in ocfs2_run_deallocs() 6504 fl->f_slot, in ocfs2_run_deallocs() 6505 fl->f_first); in ocfs2_run_deallocs() 6512 ctxt->c_first_suballocator = fl->f_next_suballocator; in ocfs2_run_deallocs() 6513 kfree(fl); in ocfs2_run_deallocs() [all …]
|
D | stackglue.c | 302 struct file *file, int cmd, struct file_lock *fl) in ocfs2_plock() argument 306 return active_stack->sp_ops->plock(conn, ino, file, cmd, fl); in ocfs2_plock()
|
/linux-4.4.14/fs/9p/ |
D | vfs_file.c | 131 static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock() argument 136 p9_debug(P9_DEBUG_VFS, "filp: %p lock: %p\n", filp, fl); in v9fs_file_lock() 139 if (__mandatory_lock(inode) && fl->fl_type != F_UNLCK) in v9fs_file_lock() 142 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { in v9fs_file_lock() 150 static int v9fs_file_do_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_do_lock() argument 161 if ((fl->fl_flags & FL_POSIX) != FL_POSIX) in v9fs_file_do_lock() 164 res = locks_lock_file_wait(filp, fl); in v9fs_file_do_lock() 171 switch (fl->fl_type) { in v9fs_file_do_lock() 182 flock.start = fl->fl_start; in v9fs_file_do_lock() 183 if (fl->fl_end == OFFSET_MAX) in v9fs_file_do_lock() [all …]
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 247 static inline unsigned int fl_cap(const struct sge_fl *fl) in fl_cap() argument 249 return fl->size - FL_PER_EQ_UNIT; in fl_cap() 262 const struct sge_fl *fl) in fl_starving() argument 266 return fl->avail - fl->pend_cred <= s->fl_starve_thres; in fl_starving() 473 static void free_rx_bufs(struct adapter *adapter, struct sge_fl *fl, int n) in free_rx_bufs() argument 476 struct rx_sw_desc *sdesc = &fl->sdesc[fl->cidx]; in free_rx_bufs() 484 if (++fl->cidx == fl->size) in free_rx_bufs() 485 fl->cidx = 0; in free_rx_bufs() 486 fl->avail--; in free_rx_bufs() 503 static void unmap_rx_buf(struct adapter *adapter, struct sge_fl *fl) in unmap_rx_buf() argument [all …]
|
D | cxgb4vf_main.c | 580 &rxq->fl, t4vf_ethrx_handler); in setup_sge_queues() 621 rxq->fl.abs_id = rxq->fl.cntxt_id + s->egr_base; in setup_sge_queues() 622 EQ_MAP(s, rxq->fl.abs_id) = &rxq->fl; in setup_sge_queues() 1388 rp->rx_pending = s->ethrxq[pi->first_qset].fl.size - MIN_FL_RESID; in cxgb4vf_get_ringparam() 1421 s->ethrxq[qs].fl.size = rp->rx_pending + MIN_FL_RESID; in cxgb4vf_set_ringparam() 1780 R("FL ID:", fl.abs_id); in sge_qinfo_show() 1781 R("FL size:", fl.size - MIN_FL_RESID); in sge_qinfo_show() 1782 R("FL avail:", fl.avail); in sge_qinfo_show() 1783 R("FL PIdx:", fl.pidx); in sge_qinfo_show() 1784 R("FL CIdx:", fl.cidx); in sge_qinfo_show() [all …]
|
D | adapter.h | 212 struct sge_fl fl; /* Free List */ member
|
/linux-4.4.14/fs/nfs/filelayout/ |
D | filelayout.c | 564 struct nfs4_filelayout_segment *fl, in filelayout_check_layout() argument 583 if (fl->pattern_offset > lgr->range.offset) { in filelayout_check_layout() 585 __func__, fl->pattern_offset); in filelayout_check_layout() 589 if (!fl->stripe_unit) { in filelayout_check_layout() 591 __func__, fl->stripe_unit); in filelayout_check_layout() 606 fl->dsaddr = dsaddr; in filelayout_check_layout() 608 if (fl->first_stripe_index >= dsaddr->stripe_count) { in filelayout_check_layout() 610 __func__, fl->first_stripe_index); in filelayout_check_layout() 614 if ((fl->stripe_type == STRIPE_SPARSE && in filelayout_check_layout() 615 fl->num_fh > 1 && fl->num_fh != dsaddr->ds_num) || in filelayout_check_layout() [all …]
|
/linux-4.4.14/drivers/mtd/ |
D | redboot.c | 66 struct fis_list *fl = NULL, *tmp_fl; in parse_redboot_partitions() local 207 prev = &fl; in parse_redboot_partitions() 216 if (fl->img->flash_base) { in parse_redboot_partitions() 221 for (tmp_fl = fl; tmp_fl->next; tmp_fl = tmp_fl->next) { in parse_redboot_partitions() 246 if (fl->img->flash_base) { in parse_redboot_partitions() 248 parts[0].size = fl->img->flash_base; in parse_redboot_partitions() 254 parts[i].size = fl->img->size; in parse_redboot_partitions() 255 parts[i].offset = fl->img->flash_base; in parse_redboot_partitions() 258 strcpy(names, fl->img->name); in parse_redboot_partitions() 269 …if(fl->next && fl->img->flash_base + fl->img->size + master->erasesize <= fl->next->img->flash_bas… in parse_redboot_partitions() [all …]
|
/linux-4.4.14/scripts/kconfig/ |
D | kxgettext.c | 137 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()
|
/linux-4.4.14/fs/nfs/ |
D | file.c | 711 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_getlk() argument 715 unsigned int saved_type = fl->fl_type; in do_getlk() 718 posix_test_lock(filp, fl); in do_getlk() 719 if (fl->fl_type != F_UNLCK) { in do_getlk() 723 fl->fl_type = saved_type; in do_getlk() 731 status = NFS_PROTO(inode)->lock(filp, cmd, fl); in do_getlk() 735 fl->fl_type = F_UNLCK; in do_getlk() 739 static int do_vfs_lock(struct file *file, struct file_lock *fl) in do_vfs_lock() argument 741 return locks_lock_file_wait(file, fl); in do_vfs_lock() 745 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_unlk() argument [all …]
|
D | proc.c | 637 nfs_proc_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_proc_lock() argument 641 return nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl); in nfs_proc_lock() 646 static int nfs_lock_check_bounds(const struct file_lock *fl) in nfs_lock_check_bounds() argument 650 start = (__s32)fl->fl_start; in nfs_lock_check_bounds() 651 if ((loff_t)start != fl->fl_start) in nfs_lock_check_bounds() 654 if (fl->fl_end != OFFSET_MAX) { in nfs_lock_check_bounds() 655 end = (__s32)fl->fl_end; in nfs_lock_check_bounds() 656 if ((loff_t)end != fl->fl_end) in nfs_lock_check_bounds()
|
D | write.c | 1198 is_whole_file_wrlock(struct file_lock *fl) in is_whole_file_wrlock() argument 1200 return fl->fl_start == 0 && fl->fl_end == OFFSET_MAX && in is_whole_file_wrlock() 1201 fl->fl_type == F_WRLCK; in is_whole_file_wrlock() 1216 struct file_lock *fl; in nfs_can_extend_write() local 1232 fl = list_first_entry(&flctx->flc_posix, struct file_lock, in nfs_can_extend_write() 1234 if (is_whole_file_wrlock(fl)) in nfs_can_extend_write() 1237 fl = list_first_entry(&flctx->flc_flock, struct file_lock, in nfs_can_extend_write() 1239 if (fl->fl_type == F_WRLCK) in nfs_can_extend_write()
|
D | delegation.h | 58 int nfs4_lock_delegation_recall(struct file_lock *fl, struct nfs4_state *state, const nfs4_stateid …
|
D | nfs4state.c | 916 static void nfs4_fl_release_lock(struct file_lock *fl) in nfs4_fl_release_lock() argument 918 nfs4_put_lock_state(fl->fl_u.nfs4_fl.owner); in nfs4_fl_release_lock() 926 int nfs4_set_lock_state(struct nfs4_state *state, struct file_lock *fl) in nfs4_set_lock_state() argument 930 if (fl->fl_ops != NULL) in nfs4_set_lock_state() 932 lsp = nfs4_get_lock_state(state, fl->fl_owner); in nfs4_set_lock_state() 935 fl->fl_u.nfs4_fl.owner = lsp; in nfs4_set_lock_state() 936 fl->fl_ops = &nfs4_fl_lock_ops; in nfs4_set_lock_state() 1387 struct file_lock *fl; in nfs4_reclaim_locks() local 1401 list_for_each_entry(fl, list, fl_list) { in nfs4_reclaim_locks() 1402 if (nfs_file_open_context(fl->fl_file)->state != state) in nfs4_reclaim_locks() [all …]
|
D | delegation.c | 87 struct file_lock *fl; in nfs_delegation_claim_locks() local 98 list_for_each_entry(fl, list, fl_list) { in nfs_delegation_claim_locks() 99 if (nfs_file_open_context(fl->fl_file) != ctx) in nfs_delegation_claim_locks() 102 status = nfs4_lock_delegation_recall(fl, state, stateid); in nfs_delegation_claim_locks()
|
D | nfs4proc.c | 5464 .fl = request, in _nfs4_proc_getlk() 5513 static int do_vfs_lock(struct inode *inode, struct file_lock *fl) in do_vfs_lock() argument 5515 return locks_lock_inode_wait(inode, fl); in do_vfs_lock() 5523 struct file_lock fl; member 5528 static struct nfs4_unlockdata *nfs4_alloc_unlockdata(struct file_lock *fl, in nfs4_alloc_unlockdata() argument 5540 p->arg.fl = &p->fl; in nfs4_alloc_unlockdata() 5547 memcpy(&p->fl, fl, sizeof(p->fl)); in nfs4_alloc_unlockdata() 5570 do_vfs_lock(calldata->lsp->ls_state->inode, &calldata->fl); in nfs4_locku_done() 5620 static struct rpc_task *nfs4_do_unlck(struct file_lock *fl, in nfs4_do_unlck() argument 5644 fl->fl_type = F_UNLCK; in nfs4_do_unlck() [all …]
|
D | nfs4xdr.c | 1281 static inline int nfs4_lock_type(struct file_lock *fl, int block) in nfs4_lock_type() argument 1283 if (fl->fl_type == F_RDLCK) in nfs4_lock_type() 1288 static inline uint64_t nfs4_lock_length(struct file_lock *fl) in nfs4_lock_length() argument 1290 if (fl->fl_end == OFFSET_MAX) in nfs4_lock_length() 1292 return fl->fl_end - fl->fl_start + 1; in nfs4_lock_length() 1317 *p++ = cpu_to_be32(nfs4_lock_type(args->fl, args->block)); in encode_lock() 1319 p = xdr_encode_hyper(p, args->fl->fl_start); in encode_lock() 1320 p = xdr_encode_hyper(p, nfs4_lock_length(args->fl)); in encode_lock() 1340 *p++ = cpu_to_be32(nfs4_lock_type(args->fl, 0)); in encode_lockt() 1341 p = xdr_encode_hyper(p, args->fl->fl_start); in encode_lockt() [all …]
|
D | nfs4_fs.h | 440 extern int nfs4_set_lock_state(struct nfs4_state *state, struct file_lock *fl);
|
D | nfs3proc.c | 869 nfs3_proc_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs3_proc_lock() argument 873 return nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl); in nfs3_proc_lock()
|
/linux-4.4.14/net/openvswitch/ |
D | vport.h | 204 struct flowi4 *fl, in ovs_tunnel_route_lookup() argument 209 memset(fl, 0, sizeof(*fl)); in ovs_tunnel_route_lookup() 210 fl->daddr = key->u.ipv4.dst; in ovs_tunnel_route_lookup() 211 fl->saddr = key->u.ipv4.src; in ovs_tunnel_route_lookup() 212 fl->flowi4_tos = RT_TOS(key->tos); in ovs_tunnel_route_lookup() 213 fl->flowi4_mark = mark; in ovs_tunnel_route_lookup() 214 fl->flowi4_proto = protocol; in ovs_tunnel_route_lookup() 216 rt = ip_route_output_key(net, fl); in ovs_tunnel_route_lookup()
|
D | actions.c | 370 static void set_ipv6_fl(struct ipv6hdr *nh, u32 fl, u32 mask) in set_ipv6_fl() argument 373 OVS_SET_MASKED(nh->flow_lbl[0], (u8)(fl >> 16), (u8)(mask >> 16)); in set_ipv6_fl() 374 OVS_SET_MASKED(nh->flow_lbl[1], (u8)(fl >> 8), (u8)(mask >> 8)); in set_ipv6_fl() 375 OVS_SET_MASKED(nh->flow_lbl[2], (u8)fl, (u8)mask); in set_ipv6_fl()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 169 return container_of(q, struct sge_qset, fl[qidx]); in fl_to_qset() 558 static inline void __refill_fl(struct adapter *adap, struct sge_fl *fl) in __refill_fl() argument 560 refill_fl(adap, fl, min(MAX_RX_REFILL, fl->size - fl->credits), in __refill_fl() 653 memset(q->fl, 0, sizeof(struct sge_fl) * SGE_RXQ_PER_SET); in t3_reset_qset() 678 if (q->fl[i].desc) { in t3_free_qset() 680 t3_sge_disable_fl(adapter, q->fl[i].cntxt_id); in t3_free_qset() 682 free_rx_bufs(pdev, &q->fl[i]); in t3_free_qset() 683 kfree(q->fl[i].sdesc); in t3_free_qset() 685 q->fl[i].size * in t3_free_qset() 686 sizeof(struct rx_desc), q->fl[i].desc, in t3_free_qset() [all …]
|
D | adapter.h | 204 struct sge_fl fl[SGE_RXQ_PER_SET]; member
|
D | cxgb3_main.c | 2750 qs->fl[i].empty += (v & 1); in t3_adap_check_task()
|
/linux-4.4.14/arch/mips/kernel/ |
D | rtlx.c | 242 size_t lx_write, fl = 0L; in rtlx_read() local 261 fl = min(count, (size_t)lx->buffer_size - lx->lx_read); in rtlx_read() 263 failed = copy_to_user(buff, lx->lx_buffer + lx->lx_read, fl); in rtlx_read() 268 if (count - fl) in rtlx_read() 269 failed = copy_to_user(buff + fl, lx->lx_buffer, count - fl); in rtlx_read() 287 size_t fl; in rtlx_write() local 303 fl = min(count, (size_t) rt->buffer_size - rt->rt_write); in rtlx_write() 305 failed = copy_from_user(rt->rt_buffer + rt->rt_write, buffer, fl); in rtlx_write() 310 if (count - fl) in rtlx_write() 311 failed = copy_from_user(rt->rt_buffer, buffer + fl, count - fl); in rtlx_write()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 230 static inline unsigned int fl_cap(const struct sge_fl *fl) in fl_cap() argument 232 return fl->size - 8; /* 1 descriptor = 8 buffers */ in fl_cap() 245 const struct sge_fl *fl) in fl_starving() argument 249 return fl->avail - fl->pend_cred <= s->fl_starve_thres; in fl_starving() 673 static inline void __refill_fl(struct adapter *adap, struct sge_fl *fl) in __refill_fl() argument 675 refill_fl(adap, fl, min(MAX_RX_REFILL, fl_cap(fl) - fl->avail), in __refill_fl() 2078 free_rx_bufs(q->adap, &rxq->fl, 1); in process_responses() 2087 rsd = &rxq->fl.sdesc[rxq->fl.cidx]; in process_responses() 2095 unmap_rx_buf(q->adap, &rxq->fl); in process_responses() 2117 restore_rx_bufs(&si, &rxq->fl, frags); in process_responses() [all …]
|
D | cxgb4_debugfs.c | 2308 R("FL ID:", fl.cntxt_id); in sge_qinfo_show() 2309 R("FL size:", fl.size - 8); in sge_qinfo_show() 2310 R("FL pend:", fl.pend_cred); in sge_qinfo_show() 2311 R("FL avail:", fl.avail); in sge_qinfo_show() 2312 R("FL PIDX:", fl.pidx); in sge_qinfo_show() 2313 R("FL CIDX:", fl.cidx); in sge_qinfo_show() 2326 RL("FLAllocErr:", fl.alloc_failed); in sge_qinfo_show() 2327 RL("FLLrgAlcErr:", fl.large_alloc_failed); in sge_qinfo_show() 2328 RL("FLStarving:", fl.starving); in sge_qinfo_show() 2351 R("FL ID:", fl.cntxt_id); in sge_qinfo_show() [all …]
|
D | cxgb4.h | 561 struct sge_fl fl; member 574 struct sge_fl fl; member 1106 struct sge_fl *fl, rspq_handler_t hnd, int cong);
|
D | cxgb4_ethtool.c | 704 e->rx_pending = s->ethrxq[pi->first_qset].fl.size - 8; in get_sge_param() 729 s->ethrxq[pi->first_qset + i].fl.size = e->rx_pending + 8; in set_sge_param()
|
D | cxgb4_main.c | 1011 msi_idx, q->fl.size ? &q->fl : NULL, in alloc_ofld_rxqs() 1078 msi_idx, &q->fl, in setup_sge_queues() 4374 r->fl.size = 72; in cfg_queues() 4391 r->fl.size = 72; in cfg_queues() 4399 r->fl.size = 72; in cfg_queues()
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_policy.c | 63 __xfrm4_selector_match(const struct xfrm_selector *sel, const struct flowi *fl) in __xfrm4_selector_match() argument 65 const struct flowi4 *fl4 = &fl->u.ip4; in __xfrm4_selector_match() 69 !((xfrm_flowi_dport(fl, &fl4->uli) ^ sel->dport) & sel->dport_mask) && in __xfrm4_selector_match() 70 !((xfrm_flowi_sport(fl, &fl4->uli) ^ sel->sport) & sel->sport_mask) && in __xfrm4_selector_match() 76 __xfrm6_selector_match(const struct xfrm_selector *sel, const struct flowi *fl) in __xfrm6_selector_match() argument 78 const struct flowi6 *fl6 = &fl->u.ip6; in __xfrm6_selector_match() 82 !((xfrm_flowi_dport(fl, &fl6->uli) ^ sel->dport) & sel->dport_mask) && in __xfrm6_selector_match() 83 !((xfrm_flowi_sport(fl, &fl6->uli) ^ sel->sport) & sel->sport_mask) && in __xfrm6_selector_match() 88 bool xfrm_selector_match(const struct xfrm_selector *sel, const struct flowi *fl, in xfrm_selector_match() argument 93 return __xfrm4_selector_match(sel, fl); in xfrm_selector_match() [all …]
|
D | xfrm_state.c | 633 xfrm_init_tempstate(struct xfrm_state *x, const struct flowi *fl, in xfrm_init_tempstate() argument 641 afinfo->init_tempsel(&x->sel, fl); in xfrm_init_tempstate() 727 const struct flowi *fl, unsigned short family, in xfrm_state_look_at() argument 744 !xfrm_selector_match(&x->sel, fl, x->sel.family)) || in xfrm_state_look_at() 745 !security_xfrm_state_pol_flow_match(x, pol, fl)) in xfrm_state_look_at() 757 if (xfrm_selector_match(&x->sel, fl, x->sel.family) && in xfrm_state_look_at() 758 security_xfrm_state_pol_flow_match(x, pol, fl)) in xfrm_state_look_at() 765 const struct flowi *fl, struct xfrm_tmpl *tmpl, in xfrm_state_find() argument 793 xfrm_state_look_at(pol, x, fl, encap_family, in xfrm_state_find() 809 xfrm_state_look_at(pol, x, fl, encap_family, in xfrm_state_find() [all …]
|
/linux-4.4.14/fs/nfsd/ |
D | nfs4layouts.c | 159 struct file_lock *fl; in nfsd4_layout_setlease() local 162 fl = locks_alloc_lock(); in nfsd4_layout_setlease() 163 if (!fl) in nfsd4_layout_setlease() 165 locks_init_lock(fl); in nfsd4_layout_setlease() 166 fl->fl_lmops = &nfsd4_layouts_lm_ops; in nfsd4_layout_setlease() 167 fl->fl_flags = FL_LAYOUT; in nfsd4_layout_setlease() 168 fl->fl_type = F_RDLCK; in nfsd4_layout_setlease() 169 fl->fl_end = OFFSET_MAX; in nfsd4_layout_setlease() 170 fl->fl_owner = ls; in nfsd4_layout_setlease() 171 fl->fl_pid = current->tgid; in nfsd4_layout_setlease() [all …]
|
D | nfs4state.c | 3672 nfsd_break_deleg_cb(struct file_lock *fl) in nfsd_break_deleg_cb() argument 3675 struct nfs4_file *fp = (struct nfs4_file *)fl->fl_owner; in nfsd_break_deleg_cb() 3679 WARN(1, "(%p)->fl_owner NULL\n", fl); in nfsd_break_deleg_cb() 3691 fl->fl_break_time = 0; in nfsd_break_deleg_cb() 4022 struct file_lock *fl; in nfs4_alloc_init_lease() local 4024 fl = locks_alloc_lock(); in nfs4_alloc_init_lease() 4025 if (!fl) in nfs4_alloc_init_lease() 4027 fl->fl_lmops = &nfsd_lease_mng_ops; in nfs4_alloc_init_lease() 4028 fl->fl_flags = FL_DELEG; in nfs4_alloc_init_lease() 4029 fl->fl_type = flag == NFS4_OPEN_DELEGATE_READ? F_RDLCK: F_WRLCK; in nfs4_alloc_init_lease() [all …]
|
/linux-4.4.14/include/linux/ |
D | dlm_plock.h | 14 int cmd, struct file_lock *fl); 16 struct file_lock *fl); 18 struct file_lock *fl);
|
D | netfilter.h | 282 struct flowi *fl, bool strict); 335 nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl, u_int8_t family) in nf_nat_decode_session() argument 343 decodefn(skb, fl); in nf_nat_decode_session() 375 nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl, u_int8_t family) in nf_nat_decode_session() argument
|
D | security.h | 1136 void security_sk_classify_flow(struct sock *sk, struct flowi *fl); 1137 void security_req_classify_flow(const struct request_sock *req, struct flowi *fl); 1277 static inline void security_sk_classify_flow(struct sock *sk, struct flowi *fl) in security_sk_classify_flow() argument 1281 static inline void security_req_classify_flow(const struct request_sock *req, struct flowi *fl) in security_req_classify_flow() argument 1363 const struct flowi *fl); 1365 void security_skb_classify_flow(struct sk_buff *skb, struct flowi *fl); 1417 struct xfrm_policy *xp, const struct flowi *fl) in security_xfrm_state_pol_flow_match() argument 1427 static inline void security_skb_classify_flow(struct sk_buff *skb, struct flowi *fl) in security_skb_classify_flow() argument
|
D | fs.h | 1046 void locks_free_lock(struct file_lock *fl); 1059 extern int vfs_cancel_lock(struct file *filp, struct file_lock *fl); 1060 extern int locks_lock_inode_wait(struct inode *inode, struct file_lock *fl); 1110 static inline void locks_init_lock(struct file_lock *fl) in locks_init_lock() argument 1115 static inline void locks_copy_conflock(struct file_lock *new, struct file_lock *fl) in locks_copy_conflock() argument 1120 static inline void locks_copy_lock(struct file_lock *new, struct file_lock *fl) in locks_copy_lock() argument 1135 static inline void posix_test_lock(struct file *filp, struct file_lock *fl) in posix_test_lock() argument 1140 static inline int posix_lock_file(struct file *filp, struct file_lock *fl, in posix_lock_file() argument 1151 static inline int vfs_test_lock(struct file *filp, struct file_lock *fl) in vfs_test_lock() argument 1157 struct file_lock *fl, struct file_lock *conf) in vfs_lock_file() argument [all …]
|
D | nfs_xdr.h | 488 struct file_lock * fl; member 510 struct file_lock * fl; member 524 struct file_lock * fl; member
|
D | lsm_hooks.h | 1566 struct flowi *fl); 1594 const struct flowi *fl);
|
D | skbuff.h | 1056 __u32 __skb_get_hash_flowi4(struct sk_buff *skb, const struct flowi4 *fl);
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 1003 static void recycle_fl_buf(struct freelQ *fl, int idx) in recycle_fl_buf() argument 1005 struct freelQ_e *from = &fl->entries[idx]; in recycle_fl_buf() 1006 struct freelQ_e *to = &fl->entries[fl->pidx]; in recycle_fl_buf() 1008 fl->centries[fl->pidx] = fl->centries[idx]; in recycle_fl_buf() 1011 to->len_gen = G_CMD_LEN(from->len_gen) | V_CMD_GEN1(fl->genbit); in recycle_fl_buf() 1013 to->gen2 = V_CMD_GEN2(fl->genbit); in recycle_fl_buf() 1014 fl->credits++; in recycle_fl_buf() 1016 if (++fl->pidx == fl->size) { in recycle_fl_buf() 1017 fl->pidx = 0; in recycle_fl_buf() 1018 fl->genbit ^= 1; in recycle_fl_buf() [all …]
|
/linux-4.4.14/fs/gfs2/ |
D | file.c | 985 static int gfs2_lock(struct file *file, int cmd, struct file_lock *fl) in gfs2_lock() argument 991 if (!(fl->fl_flags & FL_POSIX)) in gfs2_lock() 993 if (__mandatory_lock(&ip->i_inode) && fl->fl_type != F_UNLCK) in gfs2_lock() 999 fl->fl_type = F_UNLCK; in gfs2_lock() 1002 if (fl->fl_type == F_UNLCK) in gfs2_lock() 1003 locks_lock_file_wait(file, fl); in gfs2_lock() 1007 return dlm_posix_get(ls->ls_dlm, ip->i_no_addr, file, fl); in gfs2_lock() 1008 else if (fl->fl_type == F_UNLCK) in gfs2_lock() 1009 return dlm_posix_unlock(ls->ls_dlm, ip->i_no_addr, file, fl); in gfs2_lock() 1011 return dlm_posix_lock(ls->ls_dlm, ip->i_no_addr, file, cmd, fl); in gfs2_lock() [all …]
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | rtas_flash.c | 320 struct flash_block_list *fl; in rtas_flash_write() local 337 fl = uf->flist; in rtas_flash_write() 338 while (fl->next) in rtas_flash_write() 339 fl = fl->next; /* seek to last block_list for append */ in rtas_flash_write() 340 next_free = fl->num_blocks; in rtas_flash_write() 343 fl->next = kmem_cache_zalloc(flash_block_cache, GFP_KERNEL); in rtas_flash_write() 344 if (!fl->next) in rtas_flash_write() 346 fl = fl->next; in rtas_flash_write() 361 fl->blocks[next_free].data = p; in rtas_flash_write() 362 fl->blocks[next_free].length = count; in rtas_flash_write() [all …]
|
/linux-4.4.14/include/net/ |
D | xfrm.h | 296 struct flowi *fl, 298 int (*get_tos)(const struct flowi *fl); 304 const struct flowi *fl); 329 const struct flowi *fl); 858 __be16 xfrm_flowi_sport(const struct flowi *fl, const union flowi_uli *uli) in xfrm_flowi_sport() argument 861 switch(fl->flowi_proto) { in xfrm_flowi_sport() 885 __be16 xfrm_flowi_dport(const struct flowi *fl, const union flowi_uli *uli) in xfrm_flowi_dport() argument 888 switch(fl->flowi_proto) { in xfrm_flowi_dport() 909 const struct flowi *fl, unsigned short family); 1108 int __xfrm_decode_session(struct sk_buff *skb, struct flowi *fl, [all …]
|
D | dst.h | 521 const struct flowi *fl, in xfrm_lookup() argument 530 const struct flowi *fl, in xfrm_lookup_route() argument 544 const struct flowi *fl, const struct sock *sk, 548 const struct flowi *fl, const struct sock *sk,
|
D | dn_fib.h | 150 #define dn_fib_lookup(fl, res) (-ESRCH) argument 152 #define dn_fib_select_multipath(fl, res) do { } while(0) argument
|
D | inet6_connection_sock.h | 33 int inet6_csk_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
|
D | ip6_tunnel.h | 47 struct flowi fl; /* flowi template for xmit */ member
|
D | ipv6.h | 252 struct ip6_flowlabel *fl; member 276 struct ip6_flowlabel *fl, 285 static inline void fl6_sock_release(struct ip6_flowlabel *fl) in fl6_sock_release() argument 287 if (fl) in fl6_sock_release() 288 atomic_dec(&fl->users); in fl6_sock_release()
|
D | inet_sock.h | 131 struct flowi fl; member
|
D | inet_connection_sock.h | 39 int (*queue_xmit)(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
|
D | sch_generic.h | 408 void tcf_destroy_chain(struct tcf_proto __rcu **fl);
|
D | ip.h | 118 int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
|
D | tcp.h | 1723 struct dst_entry *(*route_req)(const struct sock *sk, struct flowi *fl, 1728 struct flowi *fl, struct request_sock *req,
|
/linux-4.4.14/net/ipv4/ |
D | xfrm4_state.c | 25 __xfrm4_init_tempsel(struct xfrm_selector *sel, const struct flowi *fl) in __xfrm4_init_tempsel() argument 27 const struct flowi4 *fl4 = &fl->u.ip4; in __xfrm4_init_tempsel() 31 sel->dport = xfrm_flowi_dport(fl, &fl4->uli); in __xfrm4_init_tempsel() 33 sel->sport = xfrm_flowi_sport(fl, &fl4->uli); in __xfrm4_init_tempsel()
|
D | ip_vti.c | 153 struct flowi *fl) in vti_xmit() argument 167 dst = xfrm_lookup(tunnel->net, dst, fl, NULL, 0); in vti_xmit() 220 struct flowi fl; in vti_tunnel_xmit() local 222 memset(&fl, 0, sizeof(fl)); in vti_tunnel_xmit() 226 xfrm_decode_session(skb, &fl, AF_INET); in vti_tunnel_xmit() 230 xfrm_decode_session(skb, &fl, AF_INET6); in vti_tunnel_xmit() 240 fl.flowi_mark = be32_to_cpu(tunnel->parms.o_key); in vti_tunnel_xmit() 242 return vti_xmit(skb, dev, &fl); in vti_tunnel_xmit()
|
D | xfrm4_policy.c | 69 static int xfrm4_get_tos(const struct flowi *fl) in xfrm4_get_tos() argument 71 return IPTOS_RT_MASK & fl->u.ip4.flowi4_tos; /* Strip ECN bits */ in xfrm4_get_tos() 81 const struct flowi *fl) in xfrm4_fill_dst() argument 84 const struct flowi4 *fl4 = &fl->u.ip4; in xfrm4_fill_dst() 107 _decode_session4(struct sk_buff *skb, struct flowi *fl, int reverse) in _decode_session4() argument 111 struct flowi4 *fl4 = &fl->u.ip4; in _decode_session4()
|
D | ip_gre.c | 508 struct flowi4 *fl, in gre_get_rt() argument 513 memset(fl, 0, sizeof(*fl)); in gre_get_rt() 514 fl->daddr = key->u.ipv4.dst; in gre_get_rt() 515 fl->saddr = key->u.ipv4.src; in gre_get_rt() 516 fl->flowi4_tos = RT_TOS(key->tos); in gre_get_rt() 517 fl->flowi4_mark = skb->mark; in gre_get_rt() 518 fl->flowi4_proto = IPPROTO_GRE; in gre_get_rt() 520 return ip_route_output_key(net, fl); in gre_get_rt() 527 struct flowi4 fl; in gre_fb_xmit() local 540 rt = gre_get_rt(skb, dev, &fl, key); in gre_fb_xmit() [all …]
|
D | netfilter.c | 176 struct flowi *fl, bool strict __always_unused) in nf_ip_route() argument 178 struct rtable *rt = ip_route_output_key(net, &fl->u.ip4); in nf_ip_route()
|
D | inet_connection_sock.c | 451 fl4 = &newinet->cork.fl.u.ip4; in inet_csk_route_child_sock() 921 static struct dst_entry *inet_csk_rebuild_route(struct sock *sk, struct flowi *fl) in inet_csk_rebuild_route() argument 933 fl4 = &fl->u.ip4; in inet_csk_rebuild_route() 953 dst = inet_csk_rebuild_route(sk, &inet->cork.fl); in inet_csk_update_pmtu() 961 dst = inet_csk_rebuild_route(sk, &inet->cork.fl); in inet_csk_update_pmtu()
|
D | fib_rules.c | 135 static int fib4_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib4_rule_match() argument 138 struct flowi4 *fl4 = &fl->u.ip4; in fib4_rule_match()
|
D | datagram.c | 50 fl4 = &inet->cork.fl.u.ip4; in __ip4_datagram_connect()
|
D | syncookies.c | 402 inet_sk(ret)->cork.fl.u.ip4 = fl4; in cookie_v4_check()
|
D | tcp_ipv4.c | 170 fl4 = &inet->cork.fl.u.ip4; in tcp_v4_connect() 828 struct flowi *fl, in tcp_v4_send_synack() argument 1194 struct flowi *fl, in tcp_v4_route_req() argument 1198 struct dst_entry *dst = inet_csk_route_req(sk, &fl->u.ip4, req); in tcp_v4_route_req() 1201 if (fl->u.ip4.daddr == inet_rsk(req)->ir_rmt_addr) in tcp_v4_route_req()
|
D | udp.c | 862 struct flowi4 *fl4 = &inet->cork.fl.u.ip4; in udp_push_pending_frames() 916 fl4 = &inet->cork.fl.u.ip4; in udp_sendmsg() 1086 fl4 = &inet->cork.fl.u.ip4; in udp_sendmsg() 1165 ret = ip_append_page(sk, &inet->cork.fl.u.ip4, in udp_sendpage()
|
D | af_inet.c | 1116 fl4 = &inet->cork.fl.u.ip4; in inet_sk_reselect_saddr() 1169 fl4 = &inet->cork.fl.u.ip4; in inet_sk_rebuild_header()
|
D | ip_output.c | 380 int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl) in ip_queue_xmit() argument 395 fl4 = &fl->u.ip4; in ip_queue_xmit()
|
D | tcp_output.c | 1028 err = icsk->icsk_af_ops->queue_xmit(sk, skb, &inet->cork.fl); in tcp_transmit_skb() 3512 struct flowi fl; in tcp_rtx_synack() local 3516 res = af_ops->send_synack(sk, NULL, &fl, req, NULL, true); in tcp_rtx_synack()
|
D | tcp_input.c | 6168 struct flowi fl; in tcp_conn_request() local 6230 dst = af_ops->route_req(sk, &fl, req, &strict); in tcp_conn_request() 6260 dst = af_ops->route_req(sk, &fl, req, NULL); in tcp_conn_request() 6282 af_ops->send_synack(fastopen_sk, dst, &fl, req, in tcp_conn_request() 6293 af_ops->send_synack(sk, dst, &fl, req, in tcp_conn_request()
|
D | ipmr.c | 198 static int ipmr_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in ipmr_rule_match() argument
|
/linux-4.4.14/drivers/staging/rdma/ehca/ |
D | ehca_sqp.c | 132 u32 fl:20; member 139 u32 fl:20; member 195 tcslfl->fl = vertcfl->fl; in ehca_process_perf()
|
/linux-4.4.14/drivers/scsi/csiostor/ |
D | csio_wr.c | 87 csio_wr_reg32(hw, DBPRIO_F | QID_V(flq->un.fl.flid) | in csio_wr_ring_fldb() 119 struct csio_dma_buf *buf = &flq->un.fl.bufs[0]; in csio_wr_fill_fl() 121 int sreg = flq->un.fl.sreg; in csio_wr_fill_fl() 279 flq->un.fl.bufs = kzalloc(flq->credits * in csio_wr_alloc_q() 282 if (!flq->un.fl.bufs) { in csio_wr_alloc_q() 289 flq->un.fl.packen = 0; in csio_wr_alloc_q() 290 flq->un.fl.offset = 0; in csio_wr_alloc_q() 291 flq->un.fl.sreg = sreg; in csio_wr_alloc_q() 486 iqp.fl0packen = flq->un.fl.packen ? 1 : 0; in csio_wr_iq_create() 1056 if (flq->un.fl.offset > 0) { in csio_wr_process_fl() [all …]
|
D | csio_wr.h | 412 struct csio_fl fl; member 469 #define csio_q_flid(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->un.fl.flid)
|
/linux-4.4.14/drivers/message/fusion/lsi/ |
D | mpi.h | 584 #define MPI_SGE_GET_FLAGS(fl) (((fl) & ~MPI_SGE_LENGTH_MASK) >> MPI_SGE_FLAGS_SHIFT) argument 585 #define MPI_SGE_LENGTH(fl) ((fl) & MPI_SGE_LENGTH_MASK) argument 586 #define MPI_SGE_CHAIN_LENGTH(fl) ((fl) & MPI_SGE_CHAIN_LENGTH_MASK) argument
|
/linux-4.4.14/fs/xfs/ |
D | xfs_quota.h | 134 #define xfs_qm_vop_chown_reserve(tp, ip, u, g, p, fl) (0) argument 135 #define xfs_qm_dqattach(ip, fl) (0) argument 136 #define xfs_qm_dqattach_locked(ip, fl) (0) argument
|
/linux-4.4.14/net/netfilter/ |
D | xt_TCPMSS.c | 50 struct flowi fl; in tcpmss_reverse_mtu() local 56 struct flowi4 *fl4 = &fl.u.ip4; in tcpmss_reverse_mtu() 60 struct flowi6 *fl6 = &fl.u.ip6; in tcpmss_reverse_mtu() 68 ai->route(net, (struct dst_entry **)&rt, &fl, false); in tcpmss_reverse_mtu()
|
D | nf_nat_core.c | 56 static void __nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl) in __nf_nat_decode_session() argument 81 l3proto->decode_session(skb, ct, dir, statusbit, fl); in __nf_nat_decode_session() 88 struct flowi fl; in nf_xfrm_me_harder() local 93 err = xfrm_decode_session(skb, &fl, family); in nf_xfrm_me_harder() 102 dst = xfrm_lookup(net, dst, &fl, skb->sk, 0); in nf_xfrm_me_harder()
|
/linux-4.4.14/net/core/ |
D | fib_rules.c | 176 struct flowi *fl, int flags) in fib_rule_match() argument 180 if (rule->iifindex && (rule->iifindex != fl->flowi_iif)) in fib_rule_match() 183 if (rule->oifindex && (rule->oifindex != fl->flowi_oif)) in fib_rule_match() 186 if ((rule->mark ^ fl->flowi_mark) & rule->mark_mask) in fib_rule_match() 189 if (rule->tun_id && (rule->tun_id != fl->flowi_tun_key.tun_id)) in fib_rule_match() 192 ret = ops->match(rule, fl, flags); in fib_rule_match() 197 int fib_rules_lookup(struct fib_rules_ops *ops, struct flowi *fl, in fib_rules_lookup() argument 207 if (!fib_rule_match(rule, ops, fl, flags)) in fib_rules_lookup() 223 err = ops->action(rule, fl, flags, arg); in fib_rules_lookup()
|
D | net-procfs.c | 152 struct sd_flow_limit *fl; in softnet_seq_show() local 155 fl = rcu_dereference(sd->flow_limit); in softnet_seq_show() 156 if (fl) in softnet_seq_show() 157 flow_limit_count = fl->count; in softnet_seq_show()
|
D | dev.c | 3450 struct sd_flow_limit *fl; in skb_flow_limit() local 3460 fl = rcu_dereference(sd->flow_limit); in skb_flow_limit() 3461 if (fl) { in skb_flow_limit() 3462 new_flow = skb_get_hash(skb) & (fl->num_buckets - 1); in skb_flow_limit() 3463 old_flow = fl->history[fl->history_head]; in skb_flow_limit() 3464 fl->history[fl->history_head] = new_flow; in skb_flow_limit() 3466 fl->history_head++; in skb_flow_limit() 3467 fl->history_head &= FLOW_LIMIT_HISTORY - 1; in skb_flow_limit() 3469 if (likely(fl->buckets[old_flow])) in skb_flow_limit() 3470 fl->buckets[old_flow]--; in skb_flow_limit() [all …]
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_vfpf.c | 1655 struct bnx2x_vf_mac_vlan_filters *fl = NULL; in bnx2x_vf_mbx_macvlan_list() local 1662 fl = kzalloc(fsz, GFP_KERNEL); in bnx2x_vf_mbx_macvlan_list() 1663 if (!fl) in bnx2x_vf_mbx_macvlan_list() 1671 memset(&fl->filters[j], 0, sizeof(fl->filters[j])); in bnx2x_vf_mbx_macvlan_list() 1673 fl->filters[j].mac = msg_filter->mac; in bnx2x_vf_mbx_macvlan_list() 1674 fl->filters[j].type |= BNX2X_VF_FILTER_MAC; in bnx2x_vf_mbx_macvlan_list() 1677 fl->filters[j].vid = msg_filter->vlan_tag; in bnx2x_vf_mbx_macvlan_list() 1678 fl->filters[j].type |= BNX2X_VF_FILTER_VLAN; in bnx2x_vf_mbx_macvlan_list() 1680 fl->filters[j].add = !!(msg_filter->flags & VFPF_Q_FILTER_SET); in bnx2x_vf_mbx_macvlan_list() 1681 fl->count++; in bnx2x_vf_mbx_macvlan_list() [all …]
|
/linux-4.4.14/net/sctp/ |
D | transport.c | 227 &transport->fl, sk); in sctp_transport_pmtu() 254 t->af_specific->get_dst(t, &t->saddr, &t->fl, sk); in sctp_transport_update_pmtu() 261 t->af_specific->get_dst(t, &t->saddr, &t->fl, sk); in sctp_transport_update_pmtu() 274 af->get_dst(transport, saddr, &transport->fl, sctp_opt2sk(opt)); in sctp_transport_route() 279 af->get_saddr(opt, transport, &transport->fl); in sctp_transport_route()
|
D | protocol.c | 424 struct flowi *fl, struct sock *sk) in sctp_v4_get_dst() argument 428 struct flowi4 *fl4 = &fl->u.ip4; in sctp_v4_get_dst() 547 struct flowi *fl) in sctp_v4_get_saddr() argument 554 saddr->v4.sin_addr.s_addr = fl->u.ip4.saddr; in sctp_v4_get_saddr() 980 skb->len, &transport->fl.u.ip4.saddr, &transport->fl.u.ip4.daddr); in sctp_v4_xmit() 987 return ip_queue_xmit(&inet->sk, skb, &transport->fl); in sctp_v4_xmit()
|
D | ipv6.c | 211 struct flowi6 *fl6 = &transport->fl.u.ip6; in sctp_v6_xmit() 234 struct flowi *fl, struct sock *sk) in sctp_v6_get_dst() argument 238 struct flowi6 *fl6 = &fl->u.ip6; in sctp_v6_get_dst() 365 struct flowi *fl) in sctp_v6_get_saddr() argument 367 struct flowi6 *fl6 = &fl->u.ip6; in sctp_v6_get_saddr()
|
/linux-4.4.14/fs/fuse/ |
D | file.c | 2072 struct file_lock *fl) in convert_fuse_file_lock() argument 2084 fl->fl_start = ffl->start; in convert_fuse_file_lock() 2085 fl->fl_end = ffl->end; in convert_fuse_file_lock() 2086 fl->fl_pid = ffl->pid; in convert_fuse_file_lock() 2092 fl->fl_type = ffl->type; in convert_fuse_file_lock() 2097 const struct file_lock *fl, int opcode, pid_t pid, in fuse_lk_fill() argument 2106 inarg->owner = fuse_lock_owner_id(fc, fl->fl_owner); in fuse_lk_fill() 2107 inarg->lk.start = fl->fl_start; in fuse_lk_fill() 2108 inarg->lk.end = fl->fl_end; in fuse_lk_fill() 2109 inarg->lk.type = fl->fl_type; in fuse_lk_fill() [all …]
|
/linux-4.4.14/net/sched/ |
D | sch_prio.c | 39 struct tcf_proto *fl; in prio_classify() local 44 fl = rcu_dereference_bh(q->filter_list); in prio_classify() 45 err = tc_classify(skb, fl, &res, false); in prio_classify() 55 if (!fl || err < 0) { in prio_classify()
|
D | sch_sfb.c | 255 static bool sfb_classify(struct sk_buff *skb, struct tcf_proto *fl, in sfb_classify() argument 261 result = tc_classify(skb, fl, &res, false); in sfb_classify() 283 struct tcf_proto *fl; in sfb_enqueue() local 309 fl = rcu_dereference_bh(q->filter_list); in sfb_enqueue() 310 if (fl) { in sfb_enqueue() 314 if (!sfb_classify(skb, fl, &ret, &salt)) in sfb_enqueue()
|
D | sch_atm.c | 373 struct tcf_proto *fl; in atm_tc_enqueue() local 376 fl = rcu_dereference_bh(flow->filter_list); in atm_tc_enqueue() 377 if (fl) { in atm_tc_enqueue() 378 result = tc_classify(skb, fl, &res, true); in atm_tc_enqueue()
|
D | sch_choke.c | 200 struct tcf_proto *fl; in choke_classify() local 203 fl = rcu_dereference_bh(q->filter_list); in choke_classify() 204 result = tc_classify(skb, fl, &res, false); in choke_classify()
|
D | sch_drr.c | 320 struct tcf_proto *fl; in drr_classify() local 330 fl = rcu_dereference_bh(q->filter_list); in drr_classify() 331 result = tc_classify(skb, fl, &res, false); in drr_classify()
|
D | sch_multiq.c | 45 struct tcf_proto *fl = rcu_dereference_bh(q->filter_list); in multiq_classify() local 49 err = tc_classify(skb, fl, &res, false); in multiq_classify()
|
D | sch_sfq.c | 169 struct tcf_proto *fl; in sfq_classify() local 177 fl = rcu_dereference_bh(q->filter_list); in sfq_classify() 178 if (!fl) in sfq_classify() 182 result = tc_classify(skb, fl, &res, false); in sfq_classify()
|
D | sch_dsmark.c | 228 struct tcf_proto *fl = rcu_dereference_bh(p->filter_list); in dsmark_enqueue() local 229 int result = tc_classify(skb, fl, &res, false); in dsmark_enqueue()
|
D | sch_qfq.c | 705 struct tcf_proto *fl; in qfq_classify() local 716 fl = rcu_dereference_bh(q->filter_list); in qfq_classify() 717 result = tc_classify(skb, fl, &res, false); in qfq_classify()
|
D | sch_cbq.c | 224 struct tcf_proto *fl; in cbq_classify() local 239 fl = rcu_dereference_bh(head->filter_list); in cbq_classify() 243 result = tc_classify(skb, fl, &res, true); in cbq_classify() 244 if (!fl || result < 0) in cbq_classify()
|
D | sch_api.c | 1874 void tcf_destroy_chain(struct tcf_proto __rcu **fl) in tcf_destroy_chain() argument 1878 while ((tp = rtnl_dereference(*fl)) != NULL) { in tcf_destroy_chain() 1879 RCU_INIT_POINTER(*fl, tp->next); in tcf_destroy_chain()
|
D | sch_htb.c | 1528 struct tcf_proto __rcu **fl = cl ? &cl->filter_list : &q->filter_list; in htb_find_tcf() local 1530 return fl; in htb_find_tcf()
|
/linux-4.4.14/security/selinux/ |
D | xfrm.c | 177 const struct flowi *fl) in selinux_xfrm_state_pol_flow_match() argument 199 if (fl->flowi_secid != state_sid) in selinux_xfrm_state_pol_flow_match() 205 return (avc_has_perm(fl->flowi_secid, state_sid, in selinux_xfrm_state_pol_flow_match()
|
D | hooks.c | 4689 struct flowi *fl) in selinux_req_classify_flow() argument 4691 fl->flowi_secid = req->secid; in selinux_req_classify_flow()
|
/linux-4.4.14/drivers/media/usb/pvrusb2/ |
D | pvrusb2-ioread.h | 34 int pvr2_ioread_set_enabled(struct pvr2_ioread *,int fl);
|
D | pvrusb2-ioread.c | 245 int pvr2_ioread_set_enabled(struct pvr2_ioread *cp,int fl) in pvr2_ioread_set_enabled() argument 248 if ((!fl) == (!(cp->enabled))) return ret; in pvr2_ioread_set_enabled() 252 if (fl) { in pvr2_ioread_set_enabled()
|
D | pvrusb2-context.c | 43 static void pvr2_context_set_notify(struct pvr2_context *mp, int fl) in pvr2_context_set_notify() argument 47 if (fl) { in pvr2_context_set_notify()
|
D | pvrusb2-io.c | 183 int fl; in pvr2_buffer_set_ready() local 194 fl = (sp->r_count == 0); in pvr2_buffer_set_ready() 206 return fl; in pvr2_buffer_set_ready()
|
D | pvrusb2-hdw.c | 1721 int fl; in pvr2_hdw_untrip() local 1723 fl = pvr2_hdw_untrip_unlocked(hdw); in pvr2_hdw_untrip() 1725 if (fl) pvr2_hdw_state_sched(hdw); in pvr2_hdw_untrip() 1764 int fl; in pvr2_hdw_set_stream_type() local 1766 if ((fl = (hdw->desired_stream_type != config)) != 0) { in pvr2_hdw_set_stream_type() 1774 if (fl) return 0; in pvr2_hdw_set_stream_type() 3229 int fl; in pvr2_hdw_commit_ctl() local 3231 fl = pvr2_hdw_commit_setup(hdw); in pvr2_hdw_commit_ctl() 3233 if (!fl) return 0; in pvr2_hdw_commit_ctl() 3240 int fl = 0; in pvr2_hdw_worker_poll() local [all …]
|
/linux-4.4.14/drivers/media/i2c/smiapp/ |
D | smiapp.h | 94 #define SMIAPP_IDENT_FQ(manufacturer, model, rev, fl, _name, _quirk) \ argument 98 .flags = fl, \
|
/linux-4.4.14/include/linux/lockd/ |
D | bind.h | 56 struct file_lock *fl);
|
D | xdr.h | 43 struct file_lock fl; member
|
D | lockd.h | 209 struct nlm_wait * nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl);
|
/linux-4.4.14/net/decnet/ |
D | dn_rules.c | 107 static int dn_fib_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in dn_fib_rule_match() argument 110 struct flowidn *fld = &fl->u.dn; in dn_fib_rule_match()
|
D | dn_route.c | 1296 int dn_route_output_sock(struct dst_entry __rcu **pprt, struct flowidn *fl, struct sock *sk, int fl… in dn_route_output_sock() argument 1300 err = __dn_route_output_key(pprt, fl, flags & MSG_TRYHARD); in dn_route_output_sock() 1301 if (err == 0 && fl->flowidn_proto) { in dn_route_output_sock() 1303 flowidn_to_flowi(fl), sk, 0); in dn_route_output_sock()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_dpm.h | 64 int amdgpu_calculate_at(u32 t, u32 h, u32 fh, u32 fl, u32 *tl, u32 *th);
|
D | amdgpu_dpm.c | 181 int amdgpu_calculate_at(u32 t, u32 h, u32 fh, u32 fl, u32 *tl, u32 *th) in amdgpu_calculate_at() argument 186 if ((fl == 0) || (fh == 0) || (fl > fh)) in amdgpu_calculate_at() 189 k = (100 * fh) / fl; in amdgpu_calculate_at()
|
/linux-4.4.14/security/selinux/include/ |
D | xfrm.h | 28 const struct flowi *fl);
|
/linux-4.4.14/drivers/virtio/ |
D | virtio_input.c | 156 u32 mi, ma, re, fu, fl; in virtinput_cfg_abs() local 163 virtio_cread(vi->vdev, struct virtio_input_config, u.abs.flat, &fl); in virtinput_cfg_abs() 164 input_set_abs_params(vi->idev, abs, mi, ma, fu, fl); in virtinput_cfg_abs()
|
/linux-4.4.14/drivers/staging/fbtft/ |
D | Makefile | 6 obj-$(CONFIG_FB_TFT_AGM1264K_FL) += fb_agm1264k-fl.o
|
/linux-4.4.14/tools/hv/ |
D | hv_kvp_daemon.c | 123 struct flock fl = {F_WRLCK, SEEK_SET, 0, 0, 0}; in kvp_acquire_lock() local 124 fl.l_pid = getpid(); in kvp_acquire_lock() 126 if (fcntl(kvp_file_info[pool].fd, F_SETLKW, &fl) == -1) { in kvp_acquire_lock() 135 struct flock fl = {F_UNLCK, SEEK_SET, 0, 0, 0}; in kvp_release_lock() local 136 fl.l_pid = getpid(); in kvp_release_lock() 138 if (fcntl(kvp_file_info[pool].fd, F_SETLK, &fl) == -1) { in kvp_release_lock()
|
/linux-4.4.14/include/net/netfilter/ |
D | nf_nat_l3proto.h | 32 struct flowi *fl);
|
/linux-4.4.14/fs/ext4/ |
D | move_extent.c | 138 unsigned fl = AOP_FLAG_NOFS; in mext_page_double_lock() local 152 page[0] = grab_cache_page_write_begin(mapping[0], index1, fl); in mext_page_double_lock() 156 page[1] = grab_cache_page_write_begin(mapping[1], index2, fl); in mext_page_double_lock()
|
/linux-4.4.14/security/ |
D | security.c | 1300 void security_sk_classify_flow(struct sock *sk, struct flowi *fl) in security_sk_classify_flow() argument 1302 call_void_hook(sk_getsecid, sk, &fl->flowi_secid); in security_sk_classify_flow() 1306 void security_req_classify_flow(const struct request_sock *req, struct flowi *fl) in security_req_classify_flow() argument 1308 call_void_hook(req_classify_flow, req, fl); in security_req_classify_flow() 1451 const struct flowi *fl) in security_xfrm_state_pol_flow_match() argument 1467 rc = hp->hook.xfrm_state_pol_flow_match(x, xp, fl); in security_xfrm_state_pol_flow_match() 1478 void security_skb_classify_flow(struct sk_buff *skb, struct flowi *fl) in security_skb_classify_flow() argument 1480 int rc = call_int_hook(xfrm_decode_session, 0, skb, &fl->flowi_secid, in security_skb_classify_flow()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_resources.c | 78 context->pri_path.fl |= MLX4_FL_ETH_SRC_CHECK_MC_LB; in mlx4_en_fill_qp_context()
|
D | qp.c | 451 cmd->qp_context.pri_path.fl |= in mlx4_update_qp()
|
D | resource_tracker.c | 798 qpc->pri_path.fl |= MLX4_FL_CV | MLX4_FL_ETH_HIDE_CQE_VLAN; in update_vport_qp_param() 3753 u8 orig_pri_path_fl = qpc->pri_path.fl; in mlx4_INIT2RTR_QP_wrapper() 5128 upd_context->qp_context.pri_path.fl = qp->pri_path_fl; in mlx4_vf_immed_vlan_work_handler() 5138 upd_context->qp_context.pri_path.fl = in mlx4_vf_immed_vlan_work_handler()
|
/linux-4.4.14/drivers/char/ |
D | ppdev.c | 285 int fl; in register_device() local 298 fl = (pp->flags & PP_EXCL) ? PARPORT_FLAG_EXCL : 0; in register_device() 300 NULL, pp_irq, fl, pp); in register_device()
|
/linux-4.4.14/net/tipc/ |
D | udp_media.c | 174 struct flowi4 fl = { in tipc_udp_send_msg() local 180 rt = ip_route_output_key(net, &fl); in tipc_udp_send_msg()
|
/linux-4.4.14/net/l2tp/ |
D | l2tp_core.c | 1053 struct flowi *fl, size_t data_len) in l2tp_xmit_core() argument 1083 error = ip_queue_xmit(tunnel->sock, skb, fl); in l2tp_xmit_core() 1107 struct flowi *fl; in l2tp_xmit_skb() local 1147 fl = &inet->cork.fl; in l2tp_xmit_skb() 1175 l2tp_xmit_core(session, skb, fl, data_len); in l2tp_xmit_skb()
|
D | l2tp_ip.c | 452 fl4 = &inet->cork.fl.u.ip4; in l2tp_ip_sendmsg() 492 rc = ip_queue_xmit(sk, skb, &inet->cork.fl); in l2tp_ip_sendmsg()
|
/linux-4.4.14/include/net/9p/ |
D | client.h | 258 int p9_client_getlock_dotl(struct p9_fid *fid, struct p9_getlock *fl);
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | nf_nat_l3proto_ipv6.c | 35 struct flowi *fl) in nf_nat_ipv6_decode_session() argument 38 struct flowi6 *fl6 = &fl->u.ip6; in nf_nat_ipv6_decode_session()
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | nf_nat_l3proto_ipv4.c | 36 struct flowi *fl) in nf_nat_ipv4_decode_session() argument 39 struct flowi4 *fl4 = &fl->u.ip4; in nf_nat_ipv4_decode_session()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_intel_ds.c | 997 int fl = event->hw.flags; in setup_pebs_sample_data() local 1005 fll = fl & PERF_X86_EVENT_PEBS_LDLAT; in setup_pebs_sample_data() 1006 fst = fl & (PERF_X86_EVENT_PEBS_ST | PERF_X86_EVENT_PEBS_HSW_PREC); in setup_pebs_sample_data() 1025 else if (fst && (fl & PERF_X86_EVENT_PEBS_HSW_PREC)) in setup_pebs_sample_data()
|
/linux-4.4.14/include/net/sctp/ |
D | structs.h | 456 struct flowi *fl, 460 struct flowi *fl); 784 struct flowi fl; member
|
/linux-4.4.14/sound/soc/codecs/ |
D | wm2200.c | 1701 int i, bclk, lrclk, wl, fl, sr_code; in wm2200_hw_params() local 1708 fl = snd_soc_params_to_frame_size(params); in wm2200_hw_params() 1709 if (fl < 0) in wm2200_hw_params() 1710 return fl; in wm2200_hw_params() 1713 wl, fl); in wm2200_hw_params()
|
D | wm5100.c | 1405 int i, base, bclk, aif_rate, lrclk, wl, fl, sr; in wm5100_hw_params() local 1414 fl = snd_soc_params_to_frame_size(params); in wm5100_hw_params() 1415 if (fl < 0) in wm5100_hw_params() 1416 return fl; in wm5100_hw_params() 1419 wl, fl); in wm5100_hw_params() 1489 i = (wl << WM5100_AIF1TX_WL_SHIFT) | fl; in wm5100_hw_params()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | r600_dpm.h | 140 int r600_calculate_at(u32 t, u32 h, u32 fh, u32 fl, u32 *tl, u32 *th);
|
D | r600_dpm.c | 218 int r600_calculate_at(u32 t, u32 h, u32 fh, u32 fl, u32 *tl, u32 *th) in r600_calculate_at() argument 223 if ((fl == 0) || (fh == 0) || (fl > fh)) in r600_calculate_at() 226 k = (100 * fh) / fl; in r600_calculate_at()
|
/linux-4.4.14/include/linux/mlx4/ |
D | qp.h | 137 u8 fl; member
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_cmd_parser.c | 94 #define CMD(op, opm, f, lm, fl, ...) \ argument 96 .flags = (fl) | ((f) ? CMD_DESC_FIXED : 0), \
|
/linux-4.4.14/include/linux/mlx5/ |
D | qp.h | 447 u8 fl; member
|
D | mlx5_ifc.h | 391 u8 fl[0x1]; member 6554 u8 fl[0x1]; member
|
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/ |
D | lmv_obd.c | 1837 #define md_op_data_fid(op_data, fl) \ argument 1838 (fl == MF_MDC_CANCEL_FID1 ? &op_data->op_fid1 : \ 1839 fl == MF_MDC_CANCEL_FID2 ? &op_data->op_fid2 : \ 1840 fl == MF_MDC_CANCEL_FID3 ? &op_data->op_fid3 : \ 1841 fl == MF_MDC_CANCEL_FID4 ? &op_data->op_fid4 : \
|
/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_hw.h | 3490 uint32_t fl:1; member 3496 uint32_t fl:1; member 3594 uint32_t fl:1; member 3600 uint32_t fl:1; member
|
D | lpfc_els.c | 1269 icmd->un.elsreq64.fl = 1; in lpfc_issue_els_flogi() 8269 icmd->un.elsreq64.fl = 1; in lpfc_issue_els_fdisc()
|
/linux-4.4.14/net/dccp/ |
D | output.c | 141 err = icsk->icsk_af_ops->queue_xmit(sk, skb, &inet->cork.fl); in dccp_transmit_skb()
|
D | ipv4.c | 74 fl4 = &inet->cork.fl.u.ip4; in dccp_v4_connect()
|
/linux-4.4.14/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 689 struct flowi6 fl; in find_route_ipv6() local 692 memcpy(&fl.saddr, saddr, sizeof(struct in6_addr)); in find_route_ipv6() 694 memcpy(&fl.daddr, daddr, sizeof(struct in6_addr)); in find_route_ipv6() 695 return (struct rt6_info *)ip6_route_output(&init_net, NULL, &fl); in find_route_ipv6()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | qp.c | 1375 path->fl = 1 << 6; in _mlx4_set_path() 1623 context->pri_path.fl |= in __mlx4_ib_modify_qp() 1794 context->pri_path.fl = 0x80; in __mlx4_ib_modify_qp() 1797 context->pri_path.fl = 0x80; in __mlx4_ib_modify_qp()
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | llite_lib.c | 656 static inline int ll_set_opt(const char *opt, char *data, int fl) in ll_set_opt() argument 661 return fl; in ll_set_opt()
|
/linux-4.4.14/drivers/media/pci/bt8xx/ |
D | bttv-driver.c | 806 unsigned char fl, fh, fi; in set_pll_freq() local 819 fl=fout/fin; in set_pll_freq() 821 btwrite(fl, BT848_PLL_F_LO); in set_pll_freq()
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
D | qp.c | 1369 path->fl = (path_flags & MLX5_PATH_FLAG_FL) ? 0x80 : 0; in mlx5_set_path()
|
/linux-4.4.14/ |
D | CREDITS | 2177 E: floeff@tunix.mathematik.uni-stuttgart.de, fl@LF.net
|