| /netbsd/src/sys/external/bsd/drm2/dist/drm/i915/ |
| D | i915_active.c | 38 struct i915_active *ref; member 85 struct i915_active *ref = addr; in active_debug_hint() local 87 return (void *)ref->active ?: (void *)ref->retire ?: (void *)ref; in active_debug_hint() 95 static void debug_active_init(struct i915_active *ref) in debug_active_init() argument 97 debug_object_init(ref, &active_debug_desc); in debug_active_init() 100 static void debug_active_activate(struct i915_active *ref) in debug_active_activate() argument 102 lockdep_assert_held(&ref->tree_lock); in debug_active_activate() 103 if (!atomic_read(&ref->count)) /* before the first inc */ in debug_active_activate() 104 debug_object_activate(ref, &active_debug_desc); in debug_active_activate() 107 static void debug_active_deactivate(struct i915_active *ref) in debug_active_deactivate() argument [all …]
|
| D | i915_active.h | 154 void __i915_active_init(struct i915_active *ref, 155 int (*active)(struct i915_active *ref), 156 void (*retire)(struct i915_active *ref), 161 #define i915_active_init(ref, active, retire) do { \ argument 165 __i915_active_init(ref, active, retire, &__mkey, &__wkey); \ 168 int i915_active_ref(struct i915_active *ref, 173 i915_active_add_request(struct i915_active *ref, struct i915_request *rq) in i915_active_add_request() argument 175 return i915_active_ref(ref, i915_request_timeline(rq), &rq->fence); in i915_active_add_request() 178 void i915_active_set_exclusive(struct i915_active *ref, struct dma_fence *f); 180 static inline bool i915_active_has_exclusive(struct i915_active *ref) in i915_active_has_exclusive() argument [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | tree-ssa-loop-prefetch.cc | 302 dump_mem_ref (FILE *file, struct mem_ref *ref) in dump_mem_ref() argument 304 fprintf (file, "reference %u:%u (", ref->group->uid, ref->uid); in dump_mem_ref() 305 print_generic_expr (file, ref->mem, TDF_SLIM); in dump_mem_ref() 405 struct mem_ref *ref, *next_r; in release_mem_refs() local 410 for (ref = groups->refs; ref; ref = next_r) in release_mem_refs() 412 next_r = ref->next; in release_mem_refs() 413 free (ref); in release_mem_refs() 495 tree ref = *ref_p; in analyze_ref() local 503 if (TREE_CODE (ref) == REALPART_EXPR in analyze_ref() 504 || TREE_CODE (ref) == IMAGPART_EXPR in analyze_ref() [all …]
|
| D | tree-ssa-alias.cc | 397 ptr_deref_may_alias_ref_p_1 (tree ptr, ao_ref *ref) in ptr_deref_may_alias_ref_p_1() argument 399 tree base = ao_ref_base (ref); in ptr_deref_may_alias_ref_p_1() 504 ref_may_alias_global_p (ao_ref *ref, bool escaped_local_p) in ref_may_alias_global_p() argument 506 tree base = ao_ref_base (ref); in ref_may_alias_global_p() 511 ref_may_alias_global_p (tree ref, bool escaped_local_p) in ref_may_alias_global_p() argument 513 tree base = get_base_address (ref); in ref_may_alias_global_p() 668 debug (pt_solution &ref) in debug() argument 670 dump_points_to_solution (stderr, &ref); in debug() 713 ao_ref_init (ao_ref *r, tree ref) in ao_ref_init() argument 715 r->ref = ref; in ao_ref_init() [all …]
|
| D | tree-ssa-dse.cc | 171 valid_ao_ref_kill_for_dse (ao_ref *ref) in valid_ao_ref_kill_for_dse() argument 173 return (ao_ref_base (ref) in valid_ao_ref_kill_for_dse() 174 && known_size_p (ref->max_size) in valid_ao_ref_kill_for_dse() 175 && maybe_ne (ref->size, 0) in valid_ao_ref_kill_for_dse() 176 && known_eq (ref->max_size, ref->size) in valid_ao_ref_kill_for_dse() 177 && known_ge (ref->offset, 0)); in valid_ao_ref_kill_for_dse() 187 valid_ao_ref_for_dse (ao_ref *ref) in valid_ao_ref_for_dse() argument 189 return (ao_ref_base (ref) in valid_ao_ref_for_dse() 190 && known_size_p (ref->max_size) in valid_ao_ref_for_dse() 191 && known_ge (ref->offset, 0)); in valid_ao_ref_for_dse() [all …]
|
| D | tree-ssa-loop-im.cc | 92 unsigned ref; /* The simple_mem_ref in this stmt or 0. */ member 109 tree *ref; /* The reference itself. */ member 158 record_loop_dependence (class loop *loop, im_mem_ref *ref, in record_loop_dependence() argument 163 bitmap_set_bit (&ref->dep_loop, bit); in record_loop_dependence() 169 query_loop_dependence (class loop *loop, im_mem_ref *ref, dep_kind kind) in query_loop_dependence() argument 172 if (bitmap_bit_p (&ref->dep_loop, first_bit)) in query_loop_dependence() 174 else if (bitmap_bit_p (&ref->dep_loop, first_bit + 1)) in query_loop_dependence() 221 && (TREE_CODE (obj2->ref) == MEM_REF in equal() 222 || TREE_CODE (obj2->ref) == TARGET_MEM_REF) in equal() 226 && types_compatible_p (TREE_TYPE (mem1->mem.ref), in equal() [all …]
|
| D | gimple-array-bounds.cc | 63 get_base_decl (tree ref) in get_base_decl() argument 65 tree base = get_base_address (ref); in get_base_decl() 140 tree ref = arg; in trailing_array() local 142 while (TREE_CODE (ref) == ARRAY_REF || TREE_CODE (ref) == MEM_REF) in trailing_array() 143 ref = TREE_OPERAND (ref, 0); in trailing_array() 145 if (TREE_CODE (ref) == COMPONENT_REF) in trailing_array() 147 *pref = TREE_OPERAND (ref, 1); in trailing_array() 182 array_bounds_checker::check_array_ref (location_t location, tree ref, in check_array_ref() argument 185 if (warning_suppressed_p (ref, OPT_Warray_bounds)) in check_array_ref() 190 tree low_sub = TREE_OPERAND (ref, 1); in check_array_ref() [all …]
|
| D | gimple-ssa-warn-restrict.cc | 134 tree ref; member in __anon6d8ac1f70111::builtin_memref 247 ref (), in builtin_memref() 299 if (ref && array_at_struct_end_p (ref)) in builtin_memref() 472 ref = expr; in set_base_and_offset() 555 if (TREE_CODE (ref) == COMPONENT_REF) in set_base_and_offset() 556 if (tree size = component_ref_size (ref)) in set_base_and_offset() 630 && ref in offset_out_of_bounds() 632 && TREE_CODE (ref) == COMPONENT_REF) in offset_out_of_bounds() 636 obj = ref; in offset_out_of_bounds() 657 && ref in offset_out_of_bounds() [all …]
|
| D | tree-predcom.cc | 250 struct data_reference *ref; member in dref_d 483 bool valid_initializer_p (struct data_reference *ref, unsigned distance, 487 gphi *find_looparound_phi (dref ref, dref root); 539 dump_dref (FILE *file, dref ref) in dump_dref() argument 541 if (ref->ref) in dump_dref() 544 print_generic_expr (file, DR_REF (ref->ref), TDF_SLIM); in dump_dref() 545 fprintf (file, " (id %u%s)\n", ref->pos, in dump_dref() 546 DR_IS_READ (ref->ref) ? "" : ", write"); in dump_dref() 549 print_decs (ref->offset, file); in dump_dref() 552 fprintf (file, " distance %u\n", ref->distance); in dump_dref() [all …]
|
| D | pointer-query.cc | 602 : ref (), eval ([](tree x){ return x; }), deref (), trail1special (true), in access_ref() 617 if (!ref || TREE_CODE (ref) != SSA_NAME) in phi() 620 gimple *def_stmt = SSA_NAME_DEF_STMT (ref); in phi() 743 if (!ref || TREE_CODE (ref) != SSA_NAME) in get_ref() 756 if (gimple *def_stmt = SSA_NAME_DEF_STMT (ref)) in get_ref() 775 tree ref = pref->ref; in get_ref() local 777 pref->ref = ref; in get_ref() 780 return aref.ref; in get_ref() 788 return ref; in get_ref() 790 if (!psnlim->visit_phi (ref)) in get_ref() [all …]
|
| D | web.cc | 106 df_ref ref, dupref; in union_match_dups() local 132 ref = type == OP_IN ? use_link : def_link; in union_match_dups() 134 for (; ref; ref = DF_REF_NEXT_LOC (ref)) in union_match_dups() 136 rtx *l = DF_REF_LOC (ref); in union_match_dups() 139 if (l && DF_REF_REAL_LOC (ref) == recog_data.operand_loc[op]) in union_match_dups() 143 if (!ref && type == OP_INOUT) in union_match_dups() 146 for (ref = use_link; ref; ref = DF_REF_NEXT_LOC (ref)) in union_match_dups() 148 rtx *l = DF_REF_LOC (ref); in union_match_dups() 151 if (l && DF_REF_REAL_LOC (ref) == recog_data.operand_loc[op]) in union_match_dups() 156 gcc_assert (ref); in union_match_dups() [all …]
|
| /netbsd/src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| D | refcount.c | 92 reference_t *ref; in refcount_destroy_many() local 95 while (ref = list_head(&rc->rc_list)) { in refcount_destroy_many() 96 list_remove(&rc->rc_list, ref); in refcount_destroy_many() 97 kmem_cache_free(reference_cache, ref); in refcount_destroy_many() 101 while (ref = list_head(&rc->rc_removed)) { in refcount_destroy_many() 102 list_remove(&rc->rc_removed, ref); in refcount_destroy_many() 103 kmem_cache_free(reference_history_cache, ref->ref_removed); in refcount_destroy_many() 104 kmem_cache_free(reference_cache, ref); in refcount_destroy_many() 131 reference_t *ref = NULL; in refcount_add_many() local 135 ref = kmem_cache_alloc(reference_cache, KM_SLEEP); in refcount_add_many() [all …]
|
| D | lz4.c | 503 const BYTE *ref; in LZ4_compressCtx() local 518 ref = base + HashTable[h]; in LZ4_compressCtx() 521 } while ((ref < ip - MAX_DISTANCE) || (A32(ref) != A32(ip))); in LZ4_compressCtx() 524 while ((ip > anchor) && (ref > (BYTE *) source) && in LZ4_compressCtx() 525 unlikely(ip[-1] == ref[-1])) { in LZ4_compressCtx() 527 ref--; in LZ4_compressCtx() 553 LZ4_WRITE_LITTLEENDIAN_16(op, ip - ref); in LZ4_compressCtx() 557 ref += MINMATCH; /* MinMatch verified */ in LZ4_compressCtx() 560 UARCH diff = AARCH(ref) ^ AARCH(ip); in LZ4_compressCtx() 563 ref += STEPSIZE; in LZ4_compressCtx() [all …]
|
| /netbsd/src/external/bsd/liblzf/dist/ |
| D | lzf_c.c | 112 const u8 *ref; in lzf_compress_r() local 147 ref = *hslot; *hslot = ip; in lzf_compress_r() 151 && ref < ip /* the next test will actually take care of this, but this is faster */ in lzf_compress_r() 153 && (off = ip - ref - 1) < MAX_OFF in lzf_compress_r() 155 && ref > (const u8 *)in_data in lzf_compress_r() 157 && ref[0] == ip[0] in lzf_compress_r() 158 && ref[1] == ip[1] in lzf_compress_r() 159 && ref[2] == ip[2] in lzf_compress_r() 161 && *(const u16 *)(const void *)ref == *(const u16 *)(const void *)ip in lzf_compress_r() 162 && ref[2] == ip[2] in lzf_compress_r() [all …]
|
| /netbsd/src/tests/libexec/ld.elf_so/data/ |
| D | Makefile | 7 FILES= symver-output-ref-stderr.v0-v0 8 FILES+= symver-output-ref-stderr.v0-v1 9 FILES+= symver-output-ref-stderr.v0-v2 10 FILES+= symver-output-ref-stderr.v1-v0 11 FILES+= symver-output-ref-stderr.v1-v1 12 FILES+= symver-output-ref-stderr.v1-v2 13 FILES+= symver-output-ref-stderr.v2-v0 14 FILES+= symver-output-ref-stderr.v2-v1 15 FILES+= symver-output-ref-stderr.v2-v2 16 FILES+= symver-output-ref-stdout.v0-v0 [all …]
|
| /netbsd/src/external/bsd/openldap/dist/tests/data/ |
| D | referrals.out | 6 # requesting: * ref 13 ref: ldap://hostA/o=abc,c=us HostA 14 ref: ldap://hostB HostB 21 ref: ldap://hostC/o=xyz,c=us HostC 36 # requesting: * ref 43 ref: ldap://hostA/o=abc,c=us HostA 44 ref: ldap://hostB HostB 59 # requesting: * ref 67 ref: ldap://hostA/uid=xxx,o=abc,c=us??sub 68 ref: ldap://hostB/uid=xxx,o=abc,c=US??sub [all …]
|
| /netbsd/src/sys/kern/ |
| D | subr_specificdata.c | 258 specificdata_init(specificdata_domain_t sd, specificdata_reference *ref) in specificdata_init() argument 265 ref->specdataref_container = NULL; in specificdata_init() 266 mutex_init(&ref->specdataref_lock, MUTEX_DEFAULT, IPL_NONE); in specificdata_init() 277 specificdata_fini(specificdata_domain_t sd, specificdata_reference *ref) in specificdata_fini() argument 284 mutex_destroy(&ref->specdataref_lock); in specificdata_fini() 286 sc = ref->specdataref_container; in specificdata_fini() 289 ref->specdataref_container = NULL; in specificdata_fini() 308 specificdata_getspecific(specificdata_domain_t sd, specificdata_reference *ref, in specificdata_getspecific() argument 314 mutex_enter(&ref->specdataref_lock); in specificdata_getspecific() 316 sc = ref->specdataref_container; in specificdata_getspecific() [all …]
|
| /netbsd/src/external/lgpl3/gmp/dist/tests/mpz/ |
| D | t-mfac_uiui.c | 39 mpz_t ref[MULTIFAC_WHEEL], ref2[MULTIFAC_WHEEL2], res; in main() local 54 mpz_init_set_ui(ref [m],1); in main() 66 if (mpz_cmp (ref[m], res) != 0) in main() 70 printf (" want "); mpz_out_str (stdout, 10, ref[m]); printf("\n"); in main() 87 mpz_mul_ui (ref[m], ref[m], n); /* Compute a reference, with current library */ in main() 92 mpz_fac_ui (ref[0], n); in main() 95 if (mpz_cmp (ref[0], res) != 0) in main() 99 printf (" want "); mpz_out_str (stdout, 10, ref[0]); printf("\n"); in main() 103 mpz_2fac_ui (ref[0], n); in main() 106 if (mpz_cmp (ref[0], res) != 0) in main() [all …]
|
| /netbsd/src/external/bsd/openldap/dist/libraries/libldap/ |
| D | references.c | 47 ldap_next_reference( LDAP *ld, LDAPMessage *ref ) in ldap_next_reference() argument 51 assert( ref != NULL ); in ldap_next_reference() 54 ref = ref->lm_chain; in ldap_next_reference() 55 ref != NULL; in ldap_next_reference() 56 ref = ref->lm_chain ) in ldap_next_reference() 58 if( ref->lm_msgtype == LDAP_RES_SEARCH_REFERENCE ) { in ldap_next_reference() 59 return( ref ); in ldap_next_reference() 86 LDAPMessage *ref, in ldap_parse_reference() argument 97 assert( ref != NULL ); in ldap_parse_reference() 99 if( ref->lm_msgtype != LDAP_RES_SEARCH_REFERENCE ) { in ldap_parse_reference() [all …]
|
| /netbsd/src/external/lgpl3/gmp/dist/mini-gmp/tests/ |
| D | t-scan.c | 34 mp_bitcnt_t b, res, ref; in testmain() local 40 mini_random_scan_op (OP_SCAN0, MAXBITS, a, &b, &ref); in testmain() 42 if (res != ref) in testmain() 48 fprintf (stderr, "ref: %lu\n", ref); in testmain() 51 if (mpz_sgn (a) > 0 && ref < mpz_sizeinbase (a, 2)) in testmain() 54 if (res != ref) in testmain() 60 fprintf (stderr, "ref: %lu\n", ref); in testmain() 64 mini_random_scan_op (OP_SCAN1, MAXBITS, a, &b, &ref); in testmain() 66 if (res != ref) in testmain() 72 fprintf (stderr, "ref: %lu\n", ref); in testmain() [all …]
|
| D | t-mul.c | 37 mpz_t a, b, res, res_ui, ref, tz; in testmain() local 45 mpz_init (ref); in testmain() 49 mini_random_op3 (OP_MUL, MAXBITS, a, b, ref); in testmain() 51 if (mpz_cmp (res, ref)) in testmain() 57 dump ("ref", ref); in testmain() 69 if (mpz_cmpabs (tz, ref)) in testmain() 74 dump ("ref", ref); in testmain() 81 if (mpz_cmp (res_ui, ref)) in testmain() 87 dump ("ref", ref); in testmain() 91 mini_random_op2 (OP_SQR, MAXBITS, a, ref); in testmain() [all …]
|
| D | t-bitops.c | 33 mpz_t a, res, ref; in testmain() local 38 mpz_init (ref); in testmain() 42 mini_random_bit_op (OP_SETBIT, MAXBITS, a, &b, ref); in testmain() 45 if (mpz_cmp (res, ref)) in testmain() 51 dump ("ref", ref); in testmain() 61 mini_random_bit_op (OP_CLRBIT, MAXBITS, a, &b, ref); in testmain() 64 if (mpz_cmp (res, ref)) in testmain() 70 dump ("ref", ref); in testmain() 80 mini_random_bit_op (OP_COMBIT, MAXBITS, a, &b, ref); in testmain() 84 if (mpz_cmp (res, ref)) in testmain() [all …]
|
| D | t-logops.c | 33 mpz_t a, b, res, ref; in testlogops() local 39 mpz_init (ref); in testlogops() 43 mini_random_op3 (OP_AND, MAXBITS, a, b, ref); in testlogops() 45 if (mpz_cmp (res, ref)) in testlogops() 51 dump ("ref", ref); in testlogops() 55 mini_random_op3 (OP_IOR, MAXBITS, a, b, ref); in testlogops() 57 if (mpz_cmp (res, ref)) in testlogops() 63 dump ("ref", ref); in testlogops() 67 mini_random_op3 (OP_XOR, MAXBITS, a, b, ref); in testlogops() 69 if (mpz_cmp (res, ref)) in testlogops() [all …]
|
| /netbsd/src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
| D | ttm_object.c | 321 struct ttm_ref_object *ref; in ttm_ref_object_exists() local 332 ref = drm_hash_entry(hash, struct ttm_ref_object, hash); in ttm_ref_object_exists() 333 if (unlikely(base != ref->obj)) in ttm_ref_object_exists() 340 if (unlikely(kref_read(&ref->kref) == 0)) in ttm_ref_object_exists() 357 struct ttm_ref_object *ref; in ttm_ref_object_add() local 377 ref = drm_hash_entry(hash, struct ttm_ref_object, hash); in ttm_ref_object_add() 378 if (kref_get_unless_zero(&ref->kref)) { in ttm_ref_object_add() 388 ret = ttm_mem_global_alloc(mem_glob, sizeof(*ref), in ttm_ref_object_add() 392 ref = kmalloc(sizeof(*ref), GFP_KERNEL); in ttm_ref_object_add() 393 if (unlikely(ref == NULL)) { in ttm_ref_object_add() [all …]
|
| /netbsd/src/external/lgpl3/mpc/dist/tests/ |
| D | comparisons.c | 25 same_mpfr_value (mpfr_ptr got, mpfr_ptr ref, int known_sign) in same_mpfr_value() argument 30 return mpfr_nan_p (ref); in same_mpfr_value() 32 return mpfr_inf_p (ref) && in same_mpfr_value() 33 (!known_sign || mpfr_signbit (got) == mpfr_signbit (ref)); in same_mpfr_value() 35 return mpfr_zero_p (ref) && in same_mpfr_value() 36 (!known_sign || mpfr_signbit (got) == mpfr_signbit (ref)); in same_mpfr_value() 37 return mpfr_cmp (got, ref) == 0; in same_mpfr_value() 41 same_mpc_value (mpc_ptr got, mpc_ptr ref, known_signs_t known_signs) in same_mpc_value() argument 43 return same_mpfr_value (mpc_realref (got), mpc_realref (ref), known_signs.re) in same_mpc_value() 44 && same_mpfr_value (mpc_imagref (got), mpc_imagref (ref), known_signs.im); in same_mpc_value()
|