Searched refs:fl2 (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/testing/selftests/filelock/ |
| H A 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/include/linux/lockd/ |
| H A D | lockd.h | 383 const struct file_lock *fl2) in nlm_compare_locks() argument 385 return file_inode(fl1->c.flc_file) == file_inode(fl2->c.flc_file) in nlm_compare_locks() 386 && fl1->c.flc_pid == fl2->c.flc_pid in nlm_compare_locks() 387 && fl1->c.flc_owner == fl2->c.flc_owner in nlm_compare_locks() 388 && fl1->fl_start == fl2->fl_start in nlm_compare_locks() 389 && fl1->fl_end == fl2->fl_end in nlm_compare_locks() 390 &&(fl1->c.flc_type == fl2->c.flc_type || fl2->c.flc_type == F_UNLCK); in nlm_compare_locks()
|
| /linux/net/mctp/ |
| H A D | af_mctp.c | 527 unsigned long fl2; in mctp_ioctl_alloctag() local 530 * flags value (fl2) to pass to __mctp_key_remove, hence the in mctp_ioctl_alloctag() 534 spin_lock_irqsave(&key->lock, fl2); in mctp_ioctl_alloctag() 535 __mctp_key_remove(key, net, fl2, MCTP_TRACE_KEY_DROPPED); in mctp_ioctl_alloctag() 550 unsigned long flags, fl2; in mctp_ioctl_droptag() local 575 spin_lock_irqsave(&key->lock, fl2); in mctp_ioctl_droptag() 580 __mctp_key_remove(key, net, fl2, in mctp_ioctl_droptag() 584 spin_unlock_irqrestore(&key->lock, fl2); in mctp_ioctl_droptag() 656 unsigned long next_expiry, flags, fl2; in mctp_sk_expire_keys() local 670 spin_lock_irqsave(&key->lock, fl2); in mctp_sk_expire_keys() 759 unsigned long flags, fl2; mctp_sk_unhash() local [all...] |
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| H A 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()
|
| H A D | aq_nic.h | 121 struct aq_hw_rx_fl2 fl2; member
|
| /linux/fs/ |
| H A 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/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()
|