Searched refs:fl2 (Results 1 – 6 of 6) sorted by relevance
| /linux/tools/testing/selftests/filelock/ |
| H A D | ofdlocks.c | 38 struct flock fl, fl2; in main() local 96 fl2.l_type = F_UNLCK; in main() 97 fl2.l_start = 0; in main() 98 fl2.l_len = 0; in main() 99 rc = lock_get(fd, &fl2); in main() 103 ksft_test_result(memcmp(&fl, &fl2, sizeof(fl)) == 0, in main() 105 if (memcmp(&fl, &fl2, sizeof(fl))) { in main()
|
| /linux/fs/lockd/ |
| H A D | lockd.h | 423 const struct file_lock *fl2) in nlm_compare_locks() argument 425 return file_inode(fl1->c.flc_file) == file_inode(fl2->c.flc_file) in nlm_compare_locks() 426 && fl1->c.flc_pid == fl2->c.flc_pid in nlm_compare_locks() 427 && fl1->c.flc_owner == fl2->c.flc_owner in nlm_compare_locks() 428 && fl1->fl_start == fl2->fl_start in nlm_compare_locks() 429 && fl1->fl_end == fl2->fl_end in nlm_compare_locks() 430 &&(fl1->c.flc_type == fl2->c.flc_type || fl2->c.flc_type == F_UNLCK); in nlm_compare_locks()
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_h323_main.c | 680 struct flowi4 fl1, fl2; in callforward_do_filter() local 686 memset(&fl2, 0, sizeof(fl2)); in callforward_do_filter() 687 fl2.daddr = dst->ip; in callforward_do_filter() 691 flowi4_to_flowi(&fl2), false)) { in callforward_do_filter() 693 rt_nexthop(rt2, fl2.daddr) && in callforward_do_filter() 705 struct flowi6 fl1, fl2; in callforward_do_filter() local 710 memset(&fl2, 0, sizeof(fl2)); in callforward_do_filter() 711 fl2.daddr = dst->in6; in callforward_do_filter() 715 flowi6_to_flowi(&fl2), false)) { in callforward_do_filter() 717 rt6_nexthop(rt2, &fl2.daddr)) && in callforward_do_filter()
|
| /linux/net/ipv6/ |
| H A D | icmp.c | 360 struct flowi6 fl2; in icmpv6_route_lookup() local 392 err = xfrm_decode_session_reverse(net, skb, flowi6_to_flowi(&fl2), AF_INET6); in icmpv6_route_lookup() 396 err = ip6_dst_lookup(net, sk, &dst2, &fl2); in icmpv6_route_lookup() 400 dst2 = xfrm_lookup(net, dst2, flowi6_to_flowi(&fl2), sk, XFRM_LOOKUP_ICMP); in icmpv6_route_lookup()
|
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_nic.h | 121 struct aq_hw_rx_fl2 fl2; member
|
| /linux/fs/nfs/flexfilelayout/ |
| H A D | flexfilelayout.c | 349 const struct nfs4_ff_layout_segment *fl2 = FF_LAYOUT_LSEG(l2); in ff_lseg_match_mirrors() local 352 if (fl1->mirror_array_cnt != fl2->mirror_array_cnt) in ff_lseg_match_mirrors() 355 if (fl1->mirror_array[i] != fl2->mirror_array[i]) in ff_lseg_match_mirrors()
|