Home
last modified time | relevance | path

Searched refs:primary (Results 1 – 25 of 397) sorted by relevance

12345678910>>...16

/netbsd/src/sys/external/bsd/drm/dist/shared-core/
Dmga_dma.c80 drm_mga_primary_buffer_t *primary = &dev_priv->prim; in mga_do_dma_reset() local
86 primary->tail = 0; in mga_do_dma_reset()
87 primary->space = primary->size; in mga_do_dma_reset()
88 primary->last_flush = 0; in mga_do_dma_reset()
107 drm_mga_primary_buffer_t *primary = &dev_priv->prim; in mga_do_dma_flush() local
122 if (primary->tail == primary->last_flush) { in mga_do_dma_flush()
127 tail = primary->tail + dev_priv->primary->offset; in mga_do_dma_flush()
141 primary->last_flush = primary->tail; in mga_do_dma_flush()
146 primary->space = primary->size - primary->tail; in mga_do_dma_flush()
148 primary->space = head - tail; in mga_do_dma_flush()
[all …]
/netbsd/src/sys/external/bsd/drm2/dist/drm/mga/
Dmga_dma.c83 drm_mga_primary_buffer_t *primary = &dev_priv->prim; in mga_do_dma_reset() local
89 primary->tail = 0; in mga_do_dma_reset()
90 primary->space = primary->size; in mga_do_dma_reset()
91 primary->last_flush = 0; in mga_do_dma_reset()
110 drm_mga_primary_buffer_t *primary = &dev_priv->prim; in mga_do_dma_flush() local
125 if (primary->tail == primary->last_flush) { in mga_do_dma_flush()
130 tail = primary->tail + dev_priv->primary->offset; in mga_do_dma_flush()
144 primary->last_flush = primary->tail; in mga_do_dma_flush()
149 primary->space = primary->size - primary->tail; in mga_do_dma_flush()
151 primary->space = head - tail; in mga_do_dma_flush()
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/test/
Ddrbgtest.c140 EVP_RAND_CTX *primary = RAND_get0_primary(NULL); in using_fips_rng() local
144 if (!TEST_ptr(primary)) in using_fips_rng()
147 prov = EVP_RAND_get0_provider(EVP_RAND_CTX_get0_rand(primary)); in using_fips_rng()
181 EVP_RAND_CTX *primary, in test_drbg_reseed() argument
208 if (!TEST_int_ne(primary_reseed = reseed_counter(primary), 0) in test_drbg_reseed()
235 if (!TEST_int_eq(state(primary), expected_state) in test_drbg_reseed()
242 if (!TEST_int_ge(reseed_counter(primary), primary_reseed)) in test_drbg_reseed()
250 reseed_counter(primary))) in test_drbg_reseed()
258 reseed_counter(primary))) in test_drbg_reseed()
264 if (!TEST_time_t_le(before_reseed, reseed_time(primary)) in test_drbg_reseed()
[all …]
/netbsd/src/sys/external/bsd/drm2/dist/drm/
Ddrm_modeset_helper.c117 struct drm_plane *primary; in create_primary_plane() local
120 primary = kzalloc(sizeof(*primary), GFP_KERNEL); in create_primary_plane()
121 if (primary == NULL) { in create_primary_plane()
130 primary->format_default = true; in create_primary_plane()
133 ret = drm_universal_plane_init(dev, primary, 0, in create_primary_plane()
140 kfree(primary); in create_primary_plane()
141 primary = NULL; in create_primary_plane()
144 return primary; in create_primary_plane()
177 struct drm_plane *primary; in drm_crtc_init() local
179 primary = create_primary_plane(dev); in drm_crtc_init()
[all …]
Ddrm_crtc.c233 struct drm_plane *primary, in drm_crtc_init_with_planes() argument
241 WARN_ON(primary && primary->type != DRM_PLANE_TYPE_PRIMARY); in drm_crtc_init_with_planes()
288 crtc->primary = primary; in drm_crtc_init_with_planes()
290 if (primary && !primary->possible_crtcs) in drm_crtc_init_with_planes()
291 primary->possible_crtcs = drm_crtc_mask(crtc); in drm_crtc_init_with_planes()
379 plane = crtc->primary; in drm_mode_getcrtc()
440 struct drm_plane *plane = tmp->primary; in __drm_mode_set_config_internal()
449 struct drm_plane *plane = crtc->primary; in __drm_mode_set_config_internal()
456 struct drm_plane *plane = tmp->primary; in __drm_mode_set_config_internal()
509 drm_rotation_90_or_270(crtc->primary->state->rotation)) in drm_crtc_check_viewport()
[all …]
Ddrm_crtc_helper.c201 crtc->primary->fb = NULL; in __drm_helper_disable_unused_functions()
610 save_set.fb = set->crtc->primary->fb; in drm_crtc_helper_set_config()
614 if (set->crtc->primary->fb != set->fb) { in drm_crtc_helper_set_config()
616 if (set->crtc->primary->fb == NULL) { in drm_crtc_helper_set_config()
619 } else if (set->fb->format != set->crtc->primary->fb->format) { in drm_crtc_helper_set_config()
739 set->crtc->primary->fb = set->fb; in drm_crtc_helper_set_config()
745 set->crtc->primary->fb = save_set.fb; in drm_crtc_helper_set_config()
760 set->crtc->primary->fb = set->fb; in drm_crtc_helper_set_config()
766 set->crtc->primary->fb = save_set.fb; in drm_crtc_helper_set_config()
965 crtc->x, crtc->y, crtc->primary->fb); in drm_helper_resume_force_mode()
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/krb5/
Ddcache.c56 char *primary = NULL; in primary_create() local
58 asprintf(&primary, "%s/primary", dc->dir); in primary_create()
59 if (primary == NULL) in primary_create()
62 return primary; in primary_create()
75 char *path = NULL, *primary = NULL; in set_default_cache() local
115 primary = primary_create(dc); in set_default_cache()
116 if (primary == NULL) { in set_default_cache()
121 if (rename(path, primary) < 0) { in set_default_cache()
137 if (primary) in set_default_cache()
138 free(primary); in set_default_cache()
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dada-exp.y541 | primary ASSIGN
565 primary : primary DOT_ID
578 primary : primary DOT_COMPLETE
592 primary : primary '(' arglist ')'
609 primary : var_or_type '\'' '(' exp ')'
620 primary :
621 primary '(' simple_exp DOTDOT simple_exp ')'
631 primary : '(' exp1 ')' { }
642 primary : var_or_type %prec VAR
648 primary : DOLLAR_VARIABLE /* Various GDB extensions */
[all …]
/netbsd/src/crypto/external/bsd/openssh/dist/
Dauth-options.c534 sshauthopt_merge(const struct sshauthopt *primary, in sshauthopt_merge() argument
551 tmp = primary->required_from_host_cert; in sshauthopt_merge()
556 tmp = primary->required_from_host_keys; in sshauthopt_merge()
566 ret->force_tun_device = primary->force_tun_device; in sshauthopt_merge()
569 if (primary->nenv > 0) { in sshauthopt_merge()
571 primary->env, primary->nenv) != 0) in sshauthopt_merge()
578 if (primary->npermitopen > 0) { in sshauthopt_merge()
580 primary->permitopen, primary->npermitopen) != 0) in sshauthopt_merge()
588 if (primary->npermitlisten > 0) { in sshauthopt_merge()
590 primary->permitlisten, primary->npermitlisten) != 0) in sshauthopt_merge()
[all …]
/netbsd/src/external/gpl2/lvm2/dist/lib/device/
Ddevice.c189 struct device *primary;
203 if (!(primary = dev_primary(dm, d))) {
216 if ((pv_handle = open(primary->name, O_RDONLY)) < 0) {
217 log_error("%s: open failed: %s", primary->name,
231 primary->name, strerror(errno));
242 log_error("%s: read failed: %s", primary->name,
376 dev_t uninitialized_var(primary); in _dev_topology_attribute()
402 if (!get_primary_dev(sysfs_dir, dev, &primary)) in _dev_topology_attribute()
407 (int)MAJOR(primary), (int)MINOR(primary), in _dev_topology_attribute()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/rand/
Drand_lib.c407 EVP_RAND_CTX *primary; member
489 EVP_RAND_CTX_free(dgbl->primary); in ossl_rand_ctx_free()
630 ret = dgbl->primary; in RAND_get0_primary()
639 ret = dgbl->primary; in RAND_get0_primary()
653 ret = dgbl->primary = rand_new_drbg(ctx, dgbl->seed, in RAND_get0_primary()
663 ret = dgbl->primary = NULL; in RAND_get0_primary()
677 EVP_RAND_CTX *rand, *primary; in RAND_get0_public() local
684 primary = RAND_get0_primary(ctx); in RAND_get0_public()
685 if (primary == NULL) in RAND_get0_public()
696 rand = rand_new_drbg(ctx, primary, SECONDARY_RESEED_INTERVAL, in RAND_get0_public()
[all …]
/netbsd/src/crypto/external/bsd/netpgp/dist/src/netpgpverify/
Dlibverify.c258 pgpv_pubkey_t primary; member
1792 fmt_userid(obuf_t *obuf, pgpv_t *pgp, pgpv_primarykey_t *primary, uint8_t u) in fmt_userid() argument
1798 id = ARRAY_ELEMENT(primary->signed_userids, u); in fmt_userid()
1820 fmt_primary(obuf_t *obuf, pgpv_t *pgp, pgpv_primarykey_t *primary, unsigned subkey, const char *mod… in fmt_primary() argument
1830 pubkey = &primary->primary; in fmt_primary()
1832 id = ARRAY_ELEMENT(primary->signed_subkeys, subkey); in fmt_primary()
1838 if (!fmt_userid(obuf, pgp, primary, primary->primary_userid)) { in fmt_primary()
1841 for (i = 0 ; i < ARRAY_COUNT(primary->signed_userids) ; i++) { in fmt_primary()
1842 if (i != primary->primary_userid) { in fmt_primary()
1843 if (!fmt_userid(obuf, pgp, primary, i)) { in fmt_primary()
[all …]
/netbsd/src/crypto/external/bsd/netpgp/dist/src/libverify/
Dlibverify.c1379 fmt_userid(char *s, size_t size, pgpv_primarykey_t *primary, uint8_t u) in fmt_userid() argument
1383 userid = &ARRAY_ELEMENT(primary->signed_userids, u); in fmt_userid()
1392 fmt_primary(char *s, size_t size, pgpv_primarykey_t *primary) in fmt_primary() argument
1397 cc = fmt_pubkey(s, size, &primary->primary, "signature "); in fmt_primary()
1398 cc += fmt_userid(&s[cc], size - cc, primary, primary->primary_userid); in fmt_primary()
1399 for (i = 0 ; i < ARRAY_COUNT(primary->signed_userids) ; i++) { in fmt_primary()
1400 if (i != primary->primary_userid) { in fmt_primary()
1401 cc += fmt_userid(&s[cc], size - cc, primary, i); in fmt_primary()
1404 for (i = 0 ; i < ARRAY_COUNT(primary->signed_subkeys) ; i++) { in fmt_primary()
1405 …cc += fmt_pubkey(&s[cc], size - cc, &ARRAY_ELEMENT(primary->signed_subkeys, i).subkey, "encryption… in fmt_primary()
[all …]
/netbsd/src/sys/external/bsd/drm2/include/
Di915_trace.h85 vm->i915->drm.primary->index, vm, size, align, flags); in trace_i915_gem_evict()
100 vm->i915->drm.primary->index, vm, in trace_i915_gem_evict_node()
111 TRACE2(i915,, gem__evict__vm, vm->i915->drm.primary->index, vm); in trace_i915_gem_evict_vm()
185 (R)->i915->drm.primary->index, \
317 ctx->i915->drm.primary->index, in trace_i915_context_create()
330 ctx->i915->drm.primary->index, in trace_i915_context_free()
392 TRACE2(i915,, ppgtt__create, vm->i915->drm.primary->index, vm); in trace_i915_ppgtt_create()
401 TRACE2(i915,, ppgtt__release, vm->i915->drm.primary->index, vm); in trace_i915_ppgtt_release()
428 dev_priv->drm.primary->index, target, flags); in trace_i915_gem_shrink()
/netbsd/src/sys/external/bsd/drm2/dist/drm/vmwgfx/
Dvmwgfx_ldu.c105 fb = entry->base.crtc.primary->state->fb; in vmw_ldu_commit_list()
114 fb = entry->base.crtc.primary->state->fb; in vmw_ldu_commit_list()
364 struct drm_plane *primary, *cursor; in vmw_ldu_init() local
376 primary = &ldu->base.primary; in vmw_ldu_init()
393 vmw_du_plane_reset(primary); in vmw_ldu_init()
395 ret = drm_universal_plane_init(dev, &ldu->base.primary, in vmw_ldu_init()
405 drm_plane_helper_add(primary, &vmw_ldu_primary_plane_helper_funcs); in vmw_ldu_init()
417 drm_plane_cleanup(&ldu->base.primary); in vmw_ldu_init()
452 ret = drm_crtc_init_with_planes(dev, crtc, &ldu->base.primary, in vmw_ldu_init()
Dvmwgfx_scrn.c229 ps = crtc->primary->state; in vmw_sou_crtc_mode_set_nofb()
837 struct drm_plane *primary, *cursor; in vmw_sou_init() local
849 primary = &sou->base.primary; in vmw_sou_init()
864 vmw_du_plane_reset(primary); in vmw_sou_init()
866 ret = drm_universal_plane_init(dev, &sou->base.primary, in vmw_sou_init()
876 drm_plane_helper_add(primary, &vmw_sou_primary_plane_helper_funcs); in vmw_sou_init()
877 drm_plane_enable_fb_damage_clips(primary); in vmw_sou_init()
889 drm_plane_cleanup(&sou->base.primary); in vmw_sou_init()
925 ret = drm_crtc_init_with_planes(dev, crtc, &sou->base.primary, in vmw_sou_init()
/netbsd/src/sys/arch/x68k/stand/xxboot/
Dboot.S4 | (1) IPL (or previous stage loader) loads first 1KB of this primary
7 | (2) The first 1KB loads full primary bootloader (including first 1KB) from
10 | (3) The full primary bootloader loads the secondary bootloader known as
21 | : : |full primary| |full primary|
/netbsd/src/bin/sh/
Darithmetic.c207 primary(int token, union a_token_val *val, int op, int noeval) in primary() function
240 return primary(op, val, arith_token(), noeval); in primary()
243 return -primary(op, val, arith_token(), noeval); in primary()
246 return !primary(op, val, arith_token(), noeval); in primary()
249 return ~primary(op, val, arith_token(), noeval); in primary()
283 b = primary(token, &val, arith_token(), noeval); in binop2()
305 intmax_t a = primary(token, val, op, noeval); in binop()
/netbsd/src/external/gpl2/xcvs/dist/doc/
Dwriteproxy.rtf510 …iple repository servers slaved to a single primary server that accepts write requests. Writes to …
522 …e secondary repository servers had some way to refer a CVS client to the primary server for write …
525 …method of having secondary repositories become transparent proxies for a primary repository server…
526 in conjunction with an rsync data push after completion of each write request on the primary.
532 \par If secondary servers become out of date for any reason, resynchronizing with the primary repos…
539 …repository servers should stay as closely synchronized with the primary server as possible. }{\de…
540 …stay as closely synchronized with the primary server as possible.}{\deleted\revauthdel1\revdttmdel…
552 \par All rysnc processes, whether push or pull, will lock the primary before any secondaries to avo…
553 to the primary will always be locked first.
561 …n0\lin0\itap0 {Secondary repository servers will need, initially, a copy of the primary repository.
[all …]
/netbsd/src/external/bsd/kyua-testers/dist/
Derror_test.c54 kyua_error_t primary = kyua_error_ok(); in ATF_TC_BODY() local
56 ATF_REQUIRE(!kyua_error_is_set(kyua_error_subsume(primary, secondary))); in ATF_TC_BODY()
63 kyua_error_t primary = kyua_error_new("primary_error", NULL, 0, NULL); in ATF_TC_BODY() local
65 kyua_error_t error = kyua_error_subsume(primary, secondary); in ATF_TC_BODY()
74 kyua_error_t primary = kyua_error_ok(); in ATF_TC_BODY() local
76 kyua_error_t error = kyua_error_subsume(primary, secondary); in ATF_TC_BODY()
/netbsd/src/sys/arch/x68k/stand/
DREADME8 This historical primary bootloader uses custom ffs op
26 These primary bootloaders use MI ffs/lfs op functions in
45 which should have primary bootloader.
/netbsd/src/sys/arch/alpha/alpha/
Dcpu.c346 const bool primary = ma->ma_slot == hwrpb->rpb_primary_cpu_id; in cpuattach() local
356 aprint_normal(": ID %d%s, ", ma->ma_slot, primary ? " (primary)" : ""); in cpuattach()
400 if (primary) in cpuattach()
407 if (primary) { in cpuattach()
431 if (primary) in cpuattach()
440 if (primary) in cpuattach()
451 if (primary) { in cpuattach()
/netbsd/src/external/bsd/ntp/dist/scripts/ntptrace/
Dntptrace-opts.def47 the chain of NTP servers from a given host back to the primary time source. For
65 count to the primary source, while the synchronization distance is the
66 estimated error relative to the primary source. These terms are precisely
/netbsd/src/sys/external/bsd/drm2/dist/drm/ast/
Dast_drv.c75 bool primary = false; in ast_kick_out_firmware_fb() local
85 primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; in ast_kick_out_firmware_fb()
87 drm_fb_helper_remove_conflicting_framebuffers(ap, "astdrmfb", primary); in ast_kick_out_firmware_fb()
/netbsd/src/external/bsd/mdocml/dist/
Dread.c50 struct buf *primary; /* buffer currently being parsed */ member
103 cp = curp->primary->buf; in choose_parser()
104 ep = cp + curp->primary->sz; in choose_parser()
565 save_primary = curp->primary; in mparse_readfd()
570 curp->primary = &blk; in mparse_readfd()
599 curp->primary = save_primary; in mparse_readfd()

12345678910>>...16