/linux-6.12.1/tools/testing/selftests/filelock/ |
D | ofdlocks.c | 38 struct flock fl, fl2; in main() local 105 fl2.l_type = F_UNLCK; in main() 106 fl2.l_start = 0; in main() 107 fl2.l_len = 0; in main() 108 rc = lock_get(fd, &fl2); in main() 114 if (memcmp(&fl, &fl2, sizeof(fl))) { in main()
|
/linux-6.12.1/include/linux/lockd/ |
D | lockd.h | 376 const struct file_lock *fl2) in nlm_compare_locks() argument 378 return file_inode(fl1->c.flc_file) == file_inode(fl2->c.flc_file) in nlm_compare_locks() 379 && fl1->c.flc_pid == fl2->c.flc_pid in nlm_compare_locks() 380 && fl1->c.flc_owner == fl2->c.flc_owner in nlm_compare_locks() 381 && fl1->fl_start == fl2->fl_start in nlm_compare_locks() 382 && fl1->fl_end == fl2->fl_end in nlm_compare_locks() 383 &&(fl1->c.flc_type == fl2->c.flc_type || fl2->c.flc_type == F_UNLCK); in nlm_compare_locks()
|
/linux-6.12.1/net/mctp/ |
D | af_mctp.c | 449 unsigned long fl2; in mctp_ioctl_alloctag() local 456 spin_lock_irqsave(&key->lock, fl2); in mctp_ioctl_alloctag() 457 __mctp_key_remove(key, net, fl2, MCTP_TRACE_KEY_DROPPED); in mctp_ioctl_alloctag() 472 unsigned long flags, fl2; in mctp_ioctl_droptag() local 497 spin_lock_irqsave(&key->lock, fl2); in mctp_ioctl_droptag() 502 __mctp_key_remove(key, net, fl2, in mctp_ioctl_droptag() 506 spin_unlock_irqrestore(&key->lock, fl2); in mctp_ioctl_droptag() 578 unsigned long next_expiry, flags, fl2; in mctp_sk_expire_keys() local 592 spin_lock_irqsave(&key->lock, fl2); in mctp_sk_expire_keys() 594 __mctp_key_remove(key, net, fl2, in mctp_sk_expire_keys() [all …]
|
/linux-6.12.1/net/netfilter/ |
D | nf_conntrack_h323_main.c | 682 struct flowi4 fl1, fl2; in callforward_do_filter() local 688 memset(&fl2, 0, sizeof(fl2)); in callforward_do_filter() 689 fl2.daddr = dst->ip; in callforward_do_filter() 693 flowi4_to_flowi(&fl2), false)) { in callforward_do_filter() 695 rt_nexthop(rt2, fl2.daddr) && in callforward_do_filter() 707 struct flowi6 fl1, fl2; in callforward_do_filter() local 712 memset(&fl2, 0, sizeof(fl2)); in callforward_do_filter() 713 fl2.daddr = dst->in6; in callforward_do_filter() 717 flowi6_to_flowi(&fl2), false)) { in callforward_do_filter() 719 rt6_nexthop(rt2, &fl2.daddr)) && in callforward_do_filter()
|
/linux-6.12.1/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_filters.c | 463 aq_nic->aq_hw_rx_fltrs.fl2.aq_vlans, in aq_add_del_fvlan() 836 aq_nic->aq_hw_rx_fltrs.fl2.aq_vlans); in aq_filters_vlans_update() 847 aq_nic->aq_hw_rx_fltrs.fl2.aq_vlans in aq_filters_vlans_update() 874 aq_nic->aq_hw_rx_fltrs.fl2.aq_vlans); in aq_filters_vlan_offload_off() 886 aq_nic->aq_hw_rx_fltrs.fl2.aq_vlans in aq_filters_vlan_offload_off()
|
D | aq_nic.h | 121 struct aq_hw_rx_fl2 fl2; member
|
/linux-6.12.1/net/ipv6/ |
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-6.12.1/fs/ |
D | locks.c | 621 static inline int locks_overlap(struct file_lock *fl1, struct file_lock *fl2) in locks_overlap() argument 623 return ((fl1->fl_end >= fl2->fl_start) && in locks_overlap() 624 (fl2->fl_end >= fl1->fl_start)); in locks_overlap() 630 static int posix_same_owner(struct file_lock_core *fl1, struct file_lock_core *fl2) in posix_same_owner() argument 632 return fl1->flc_owner == fl2->flc_owner; in posix_same_owner()
|
/linux-6.12.1/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 295 const struct nfs4_ff_layout_segment *fl2 = FF_LAYOUT_LSEG(l1); in ff_lseg_match_mirrors() local 298 if (fl1->mirror_array_cnt != fl2->mirror_array_cnt) in ff_lseg_match_mirrors() 301 if (fl1->mirror_array[i] != fl2->mirror_array[i]) in ff_lseg_match_mirrors()
|