/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | delayed-ref.c | 584 * Return true if the ref was merged into an existing one (and therefore can be 627 /* remove existing tail if its ref_mod is zero */ in insert_delayed_ref() 636 * existing and update must have the same bytenr 639 struct btrfs_delayed_ref_head *existing, in update_existing_head_ref() 647 BUG_ON(existing->is_data != update->is_data); in update_existing_head_ref() 649 spin_lock(&existing->lock); in update_existing_head_ref() 654 * with an existing head ref without in update_existing_head_ref() 658 existing->must_insert_reserved = update->must_insert_reserved; in update_existing_head_ref() 664 existing->num_bytes = update->num_bytes; in update_existing_head_ref() 669 if (!existing in update_existing_head_ref() 638 update_existing_head_ref(struct btrfs_trans_handle *trans, struct btrfs_delayed_ref_head *existing, struct btrfs_delayed_ref_head *update) update_existing_head_ref() argument 794 struct btrfs_delayed_ref_head *existing; add_delayed_ref_head() local [all...] |
H A D | extent_map.c | 399 * existing mappings. The extent_map struct passed in will be inserted 545 * Helper for btrfs_get_extent. Given an existing extent in the tree, 546 * the existing extent is the nearest extent to map_start, 551 struct extent_map *existing, in merge_extent_mapping() 563 if (existing->start > map_start) { in merge_extent_mapping() 564 next = existing; in merge_extent_mapping() 567 prev = existing; in merge_extent_mapping() 600 * a) Returning the existing extent in @em_in if @start is within the 601 * existing em. 602 * b) Merge the existing exten 550 merge_extent_mapping(struct extent_map_tree *em_tree, struct extent_map *existing, struct extent_map *em, u64 map_start) merge_extent_mapping() argument 627 struct extent_map *existing; btrfs_add_extent_mapping() local [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | delayed-ref.c | 632 /* remove existing tail if its ref_mod is zero */ in insert_delayed_ref() 647 * existing and update must have the same bytenr 650 struct btrfs_delayed_ref_head *existing, in update_existing_head_ref() 656 u64 flags = btrfs_ref_head_to_space_flags(existing); in update_existing_head_ref() 659 BUG_ON(existing->is_data != update->is_data); in update_existing_head_ref() 661 spin_lock(&existing->lock); in update_existing_head_ref() 666 * with an existing head ref without in update_existing_head_ref() 670 existing->must_insert_reserved = update->must_insert_reserved; in update_existing_head_ref() 676 existing->num_bytes = update->num_bytes; in update_existing_head_ref() 681 if (!existing in update_existing_head_ref() 649 update_existing_head_ref(struct btrfs_trans_handle *trans, struct btrfs_delayed_ref_head *existing, struct btrfs_delayed_ref_head *update) update_existing_head_ref() argument 822 struct btrfs_delayed_ref_head *existing; add_delayed_ref_head() local [all...] |
H A D | extent_map.c | 393 * existing mappings. The extent_map struct passed in will be inserted 535 * Helper for btrfs_get_extent. Given an existing extent in the tree, 536 * the existing extent is the nearest extent to map_start, 541 struct extent_map *existing, in merge_extent_mapping() 553 if (existing->start > map_start) { in merge_extent_mapping() 554 next = existing; in merge_extent_mapping() 557 prev = existing; in merge_extent_mapping() 589 * a) Returning the existing extent in @em_in if @start is within the 590 * existing em. 591 * b) Merge the existing exten 540 merge_extent_mapping(struct extent_map_tree *em_tree, struct extent_map *existing, struct extent_map *em, u64 map_start) merge_extent_mapping() argument 609 struct extent_map *existing; btrfs_add_extent_mapping() local [all...] |
/kernel/linux/linux-5.10/net/llc/ |
H A D | llc_if.c | 89 struct sock *existing; in llc_establish_connection() local 95 existing = llc_lookup_established(llc->sap, &daddr, &laddr); in llc_establish_connection() 96 if (existing) { in llc_establish_connection() 97 if (existing->sk_state == TCP_ESTABLISHED) { in llc_establish_connection() 98 sk = existing; in llc_establish_connection() 101 sock_put(existing); in llc_establish_connection()
|
/kernel/linux/linux-6.6/net/llc/ |
H A D | llc_if.c | 89 struct sock *existing; in llc_establish_connection() local 95 existing = llc_lookup_established(llc->sap, &daddr, &laddr, sock_net(sk)); in llc_establish_connection() 96 if (existing) { in llc_establish_connection() 97 if (existing->sk_state == TCP_ESTABLISHED) { in llc_establish_connection() 98 sk = existing; in llc_establish_connection() 101 sock_put(existing); in llc_establish_connection()
|
/kernel/linux/linux-6.6/include/kunit/ |
H A D | resource.h | 198 struct kunit_resource *existing; in kunit_add_named_resource() local 203 existing = kunit_find_named_resource(test, name); in kunit_add_named_resource() 204 if (existing) { in kunit_add_named_resource() 205 kunit_put_resource(existing); in kunit_add_named_resource()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_cong.c | 148 struct tcp_congestion_ops *existing; in tcp_update_congestion_control() local 158 existing = tcp_ca_find_key(old_ca->key); in tcp_update_congestion_control() 159 if (ca->key == TCP_CA_UNSPEC || !existing || strcmp(existing->name, ca->name)) { in tcp_update_congestion_control() 163 } else if (existing != old_ca) { in tcp_update_congestion_control() 171 list_del_rcu(&existing->list); in tcp_update_congestion_control() 430 /* No change asking for existing value */ in tcp_set_congestion_control()
|
/kernel/linux/linux-5.10/drivers/base/ |
H A D | devcoredump.c | 335 struct device *existing; in dev_coredumpm() local 340 existing = class_find_device(&devcd_class, NULL, dev, in dev_coredumpm() 342 if (existing) { in dev_coredumpm() 343 put_device(existing); in dev_coredumpm()
|
/kernel/linux/linux-6.6/drivers/base/ |
H A D | devcoredump.c | 330 struct device *existing; in dev_coredumpm() local 335 existing = class_find_device(&devcd_class, NULL, dev, in dev_coredumpm() 337 if (existing) { in dev_coredumpm() 338 put_device(existing); in dev_coredumpm()
|
/kernel/linux/linux-6.6/tools/perf/arch/x86/tests/ |
H A D | hybrid.c | 254 static int combine_test_results(int existing, int latest) in combine_test_results() argument 256 if (existing == TEST_FAIL) in combine_test_results() 258 if (existing == TEST_SKIP) in combine_test_results()
|
/kernel/linux/linux-5.10/lib/kunit/ |
H A D | test.c | 440 struct kunit_resource *existing; in kunit_add_named_resource() local 445 existing = kunit_find_named_resource(test, name); in kunit_add_named_resource() 446 if (existing) { in kunit_add_named_resource() 447 kunit_put_resource(existing); in kunit_add_named_resource()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | core.c | 2588 struct bpf_prog_array_item *existing, *new; in bpf_prog_array_copy() local 2592 /* Figure out how many existing progs we need to carry over to in bpf_prog_array_copy() 2596 existing = old_array->items; in bpf_prog_array_copy() 2597 for (; existing->prog; existing++) { in bpf_prog_array_copy() 2598 if (existing->prog == exclude_prog) { in bpf_prog_array_copy() 2602 if (existing->prog != &dummy_bpf_prog.prog) in bpf_prog_array_copy() 2604 if (existing->prog == include_prog) in bpf_prog_array_copy() 2631 existing = old_array->items; in bpf_prog_array_copy() 2632 for (; existing in bpf_prog_array_copy() [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | stack_user.c | 775 static int fs_protocol_compare(struct ocfs2_protocol_version *existing, in fs_protocol_compare() argument 778 if (existing->pv_major != request->pv_major) in fs_protocol_compare() 781 if (existing->pv_minor > request->pv_minor) in fs_protocol_compare() 784 if (existing->pv_minor < request->pv_minor) in fs_protocol_compare() 785 request->pv_minor = existing->pv_minor; in fs_protocol_compare()
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | stack_user.c | 761 static int fs_protocol_compare(struct ocfs2_protocol_version *existing, in fs_protocol_compare() argument 764 if (existing->pv_major != request->pv_major) in fs_protocol_compare() 767 if (existing->pv_minor > request->pv_minor) in fs_protocol_compare() 770 if (existing->pv_minor < request->pv_minor) in fs_protocol_compare() 771 request->pv_minor = existing->pv_minor; in fs_protocol_compare()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | core.c | 2085 struct bpf_prog_array_item *existing; in bpf_prog_array_copy() local 2090 /* Figure out how many existing progs we need to carry over to in bpf_prog_array_copy() 2094 existing = old_array->items; in bpf_prog_array_copy() 2095 for (; existing->prog; existing++) { in bpf_prog_array_copy() 2096 if (existing->prog == exclude_prog) { in bpf_prog_array_copy() 2100 if (existing->prog != &dummy_bpf_prog.prog) in bpf_prog_array_copy() 2102 if (existing->prog == include_prog) in bpf_prog_array_copy() 2128 existing = old_array->items; in bpf_prog_array_copy() 2129 for (; existing in bpf_prog_array_copy() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | fwsignal.c | 988 struct brcmf_fws_mac_descriptor *entry, *existing; in brcmf_fws_macdesc_indicate() local 1011 existing = brcmf_fws_macdesc_lookup(fws, addr); in brcmf_fws_macdesc_indicate() 1012 if (IS_ERR(existing)) { in brcmf_fws_macdesc_indicate() 1026 if (entry != existing) { in brcmf_fws_macdesc_indicate() 1027 brcmf_dbg(TRACE, "copy mac %s\n", existing->name); in brcmf_fws_macdesc_indicate() 1029 memcpy(entry, existing, in brcmf_fws_macdesc_indicate() 1032 brcmf_fws_macdesc_deinit(existing); in brcmf_fws_macdesc_indicate() 1038 brcmf_dbg(TRACE, "use existing\n"); in brcmf_fws_macdesc_indicate()
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | fwsignal.c | 988 struct brcmf_fws_mac_descriptor *entry, *existing; in brcmf_fws_macdesc_indicate() local 1011 existing = brcmf_fws_macdesc_lookup(fws, addr); in brcmf_fws_macdesc_indicate() 1012 if (IS_ERR(existing)) { in brcmf_fws_macdesc_indicate() 1026 if (entry != existing) { in brcmf_fws_macdesc_indicate() 1027 brcmf_dbg(TRACE, "copy mac %s\n", existing->name); in brcmf_fws_macdesc_indicate() 1029 memcpy(entry, existing, in brcmf_fws_macdesc_indicate() 1032 brcmf_fws_macdesc_deinit(existing); in brcmf_fws_macdesc_indicate() 1038 brcmf_dbg(TRACE, "use existing\n"); in brcmf_fws_macdesc_indicate()
|
/kernel/linux/linux-5.10/drivers/soc/qcom/ |
H A D | rpmh.c | 128 goto existing; in cache_rpm_request() 140 existing: in cache_rpm_request()
|
/kernel/linux/linux-6.6/drivers/soc/qcom/ |
H A D | rpmh.c | 122 goto existing; in cache_rpm_request() 134 existing: in cache_rpm_request()
|
/kernel/linux/linux-5.10/fs/ocfs2/dlm/ |
H A D | dlmcommon.h | 1052 static inline int dlm_lock_compatible(int existing, int request) in dlm_lock_compatible() argument 1056 existing == LKM_NLMODE) in dlm_lock_compatible() 1064 if (existing == LKM_PRMODE) in dlm_lock_compatible()
|
H A D | dlmdomain.c | 142 static int dlm_protocol_compare(struct dlm_protocol_version *existing, 2081 static int dlm_protocol_compare(struct dlm_protocol_version *existing, in dlm_protocol_compare() argument 2084 if (existing->pv_major != request->pv_major) in dlm_protocol_compare() 2087 if (existing->pv_minor > request->pv_minor) in dlm_protocol_compare() 2090 if (existing->pv_minor < request->pv_minor) in dlm_protocol_compare() 2091 request->pv_minor = existing->pv_minor; in dlm_protocol_compare()
|
/kernel/linux/linux-6.6/fs/ocfs2/dlm/ |
H A D | dlmcommon.h | 1046 static inline int dlm_lock_compatible(int existing, int request) in dlm_lock_compatible() argument 1050 existing == LKM_NLMODE) in dlm_lock_compatible() 1058 if (existing == LKM_PRMODE) in dlm_lock_compatible()
|
H A D | dlmdomain.c | 140 static int dlm_protocol_compare(struct dlm_protocol_version *existing, 2076 static int dlm_protocol_compare(struct dlm_protocol_version *existing, in dlm_protocol_compare() argument 2079 if (existing->pv_major != request->pv_major) in dlm_protocol_compare() 2082 if (existing->pv_minor > request->pv_minor) in dlm_protocol_compare() 2085 if (existing->pv_minor < request->pv_minor) in dlm_protocol_compare() 2086 request->pv_minor = existing->pv_minor; in dlm_protocol_compare()
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_qfq.c | 409 bool existing = false; in qfq_change_class() local 459 if (cl != NULL) { /* modify existing class */ in qfq_change_class() 469 existing = true; in qfq_change_class() 513 if (existing) in qfq_change_class()
|