Home
last modified time | relevance | path

Searched refs:dl (Results 1 – 25 of 374) sorted by relevance

12345678910>>...15

/netbsd/src/external/cddl/osnet/dist/uts/common/fs/zfs/
Ddsl_deadlist.c70 dsl_deadlist_load_tree(dsl_deadlist_t *dl) in dsl_deadlist_load_tree() argument
75 ASSERT(!dl->dl_oldfmt); in dsl_deadlist_load_tree()
76 if (dl->dl_havetree) in dsl_deadlist_load_tree()
79 avl_create(&dl->dl_tree, dsl_deadlist_compare, in dsl_deadlist_load_tree()
82 for (zap_cursor_init(&zc, dl->dl_os, dl->dl_object); in dsl_deadlist_load_tree()
87 VERIFY3U(0, ==, bpobj_open(&dle->dle_bpobj, dl->dl_os, in dsl_deadlist_load_tree()
89 avl_add(&dl->dl_tree, dle); in dsl_deadlist_load_tree()
92 dl->dl_havetree = B_TRUE; in dsl_deadlist_load_tree()
96 dsl_deadlist_open(dsl_deadlist_t *dl, objset_t *os, uint64_t object) in dsl_deadlist_open() argument
100 mutex_init(&dl->dl_lock, NULL, MUTEX_DEFAULT, NULL); in dsl_deadlist_open()
[all …]
/netbsd/src/usr.sbin/mopd/mopcopy/
Dmopcopy.c103 struct dllist dl; in main() local
111 dl.ldfd = open (argv[1], O_RDONLY); in main()
112 if (dl.ldfd == -1) in main()
115 if (GetFileInfo(&dl) == -1) in main()
118 switch (dl.image_type) { in main()
125 if (dl.e_machine != EM_VAX) in main()
127 "(machine=%d)\n", argv[1], dl.e_machine); in main()
128 for (i = 0, j = 0; j < dl.e_nsec; j++) in main()
129 i += dl.e_sections[j].s_fsize + dl.e_sections[j].s_pad; in main()
135 if (dl.a_mid != MID_VAX && dl.a_mid != MID_VAX1K) in main()
[all …]
/netbsd/src/common/lib/libc/arch/x86_64/string/
Dstrrchr.S25 movb (%rdi),%dl
26 cmpb %cl,%dl
29 testb %dl,%dl
65 movb -8(%rdi),%dl
66 cmpb %cl,%dl /* 1st byte == ch? */
69 1: testb %dl,%dl /* 1st byte == 0? */
72 movb -7(%rdi),%dl
73 cmpb %cl,%dl /* 2nd byte == ch? */
76 1: testb %dl,%dl /* 2nd byte == 0? */
79 movb -6(%rdi),%dl
[all …]
Dstrcpy.S38 movb (%rsi),%dl
40 movb %dl,(%rdi)
42 testb %dl,%dl
63 movb %dl,(%rdi)
65 testb %dl,%dl /* 1st byte == 0? */
69 movb %dl,(%rdi)
71 testb %dl,%dl /* 2nd byte == 0? */
75 movb %dl,(%rdi)
77 testb %dl,%dl /* 3rd byte == 0? */
81 movb %dl,(%rdi)
[all …]
Dstrcat.S91 movb (%rsi),%dl
93 movb %dl,(%rdi)
95 testb %dl,%dl
116 movb %dl,(%rdi)
118 testb %dl,%dl /* 1st byte == 0? */
122 movb %dl,(%rdi)
124 testb %dl,%dl /* 2nd byte == 0? */
128 movb %dl,(%rdi)
130 testb %dl,%dl /* 3rd byte == 0? */
134 movb %dl,(%rdi)
[all …]
/netbsd/src/external/gpl2/lvm2/dist/lib/format1/
Dformat1.c31 struct disk_list *dl = NULL; in _check_vgs() local
43 dm_list_iterate_items(dl, pvs) { in _check_vgs()
45 exported = dl->pvd.pv_status & VG_EXPORTED; in _check_vgs()
50 if (exported != (dl->pvd.pv_status & VG_EXPORTED)) { in _check_vgs()
53 dl = dm_list_item(pvh, struct disk_list); in _check_vgs()
54 if (dl->pvd.pv_status & VG_EXPORTED) in _check_vgs()
63 dl = dm_list_item(pvh, struct disk_list); in _check_vgs()
66 first = dl; in _check_vgs()
68 else if (memcmp(&first->vgd, &dl->vgd, sizeof(first->vgd))) { in _check_vgs()
70 dev_name(first->dev), dev_name(dl->dev)); in _check_vgs()
[all …]
Dimport-export.c219 struct volume_group *vg, struct disk_list *dl) in import_vg() argument
221 struct vg_disk *vgd = &dl->vgd; in import_vg()
224 if (!_check_vg_name((char *)dl->pvd.vg_name)) in import_vg()
227 if (!(vg->name = dm_pool_strdup(mem, (char *)dl->pvd.vg_name))) in import_vg()
391 int export_extents(struct disk_list *dl, uint32_t lv_num, in export_extents() argument
415 ped = &dl->extents[pe + seg_pe(seg, s)]; in export_extents()
430 struct disk_list *dl; in import_pvs() local
434 dm_list_iterate_items(dl, pvds) { in import_pvs()
439 if (!import_pv(fmt, mem, dl->dev, vg, pvl->pv, &dl->pvd, &dl->vgd)) in import_pvs()
475 struct disk_list *dl; in import_lvs() local
[all …]
Ddisk-rep.c326 struct disk_list *dl, in __update_lvmcache() argument
331 const char *vgname = *((char *)dl->pvd.vg_name) ? in __update_lvmcache()
332 (char *)dl->pvd.vg_name : fmt->orphan_vg_name; in __update_lvmcache()
334 if (!(info = lvmcache_add(fmt->labeller, (char *)dl->pvd.pv_uuid, dev, in __update_lvmcache()
340 info->device_size = xlate32(dl->pvd.pv_size) << SECTOR_SHIFT; in __update_lvmcache()
349 struct disk_list *dl = dm_pool_zalloc(mem, sizeof(*dl)); in __read_disk() local
352 if (!dl) in __read_disk()
355 dl->dev = dev; in __read_disk()
356 dl->mem = mem; in __read_disk()
357 dm_list_init(&dl->uuids); in __read_disk()
[all …]
/netbsd/src/usr.sbin/mopd/common/
Dfile.c188 GetMopFileInfo(struct dllist *dl) in GetMopFileInfo() argument
194 if (read(dl->ldfd, header, 512) != 512) in GetMopFileInfo()
291 dl->image_type = IMAGE_TYPE_MOP; in GetMopFileInfo()
292 dl->loadaddr = load_addr; in GetMopFileInfo()
293 dl->xferaddr = xfr_addr; in GetMopFileInfo()
452 GetElfFileInfo(struct dllist *dl) in GetElfFileInfo() argument
463 (void)lseek(dl->ldfd, (off_t) 0, SEEK_SET); in GetElfFileInfo()
465 if (read(dl->ldfd, (char *)&ehdr, sizeof(ehdr)) != sizeof(ehdr)) in GetElfFileInfo()
523 dl->image_type = IMAGE_TYPE_ELF32; in GetElfFileInfo()
524 dl->loadaddr = 0; in GetElfFileInfo()
[all …]
/netbsd/src/usr.bin/xlint/lint1/
Ddebug.c474 debug_decl_level(const decl_level *dl) in debug_decl_level() argument
477 debug_printf("kind=%s", decl_level_kind_name(dl->d_kind)); in debug_decl_level()
478 if (dl->d_scl != NO_SCL) in debug_decl_level()
479 debug_printf(" %s", scl_name(dl->d_scl)); in debug_decl_level()
480 if (dl->d_type != NULL) in debug_decl_level()
481 debug_printf(" '%s'", type_name(dl->d_type)); in debug_decl_level()
483 if (dl->d_abstract_type != NO_TSPEC) in debug_decl_level()
484 debug_printf(" %s", tspec_name(dl->d_abstract_type)); in debug_decl_level()
485 if (dl->d_complex_mod != NO_TSPEC) in debug_decl_level()
486 debug_printf(" %s", tspec_name(dl->d_complex_mod)); in debug_decl_level()
[all …]
/netbsd/src/sys/dev/rcons/
Draster_op.c696 u_int32_t color, dl; in raster_op_noclip() local
730 dl = *dstlong;, in raster_op_noclip()
732 /*d*/ dl, in raster_op_noclip()
735 ( dl & twobitmask[dstbyte] ); in raster_op_noclip()
769 u_int32_t color, dl; in raster_op_noclip() local
802 dl = *dstlong;, in raster_op_noclip()
804 /*d*/ dl, in raster_op_noclip()
807 ( dl & fourbitmask[dstbyte] ); in raster_op_noclip()
844 u_int32_t color, dl; in raster_op_noclip() local
873 dl = *dstlong;, in raster_op_noclip()
[all …]
/netbsd/src/usr.bin/rpcgen/
Drpc_cout.c316 decl_list *dl; in emit_program() local
326 for (dl = plist->args.decls; dl != NULL; in emit_program()
327 dl = dl->next) in emit_program()
328 print_stat(1, &dl->decl); in emit_program()
396 decl_list *dl; in emit_struct() local
408 for (dl = def->def.st.decls; dl != NULL; dl = dl->next) in emit_struct()
409 print_stat(1, &dl->decl); in emit_struct()
414 for (dl = def->def.st.decls; dl != NULL; dl = dl->next) in emit_struct()
415 if ((dl->decl.prefix == NULL) && in emit_struct()
416 ((ptr = find_type(dl->decl.type)) != NULL) && in emit_struct()
[all …]
/netbsd/src/sys/dev/mscp/
Dmscp_disk.c684 struct disklabel *dl; in raattach() local
711 dl = rx->ra_disk.dk_label; in raattach()
713 dl->d_secsize = DEV_BSIZE; in raattach()
714 dl->d_nsectors = mp->mscp_guse.guse_nspt; in raattach()
715 dl->d_ntracks = mp->mscp_guse.guse_ngpc * mp->mscp_guse.guse_group; in raattach()
716 dl->d_secpercyl = dl->d_nsectors * dl->d_ntracks; in raattach()
739 struct disklabel *dl; in ra_set_geometry() local
742 dl = ra->ra_disk.dk_label; in ra_set_geometry()
746 dg->dg_secsize = dl->d_secsize; in ra_set_geometry()
747 dg->dg_nsectors = dl->d_nsectors; in ra_set_geometry()
[all …]
/netbsd/src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/
Drc4-x86_64.S55 addb %dl,%al
59 xorb (%r12),%dl
60 movb %dl,(%r12,%r13,1)
75 addb %al,%dl
83 addb %bl,%dl
91 addb %al,%dl
99 addb %bl,%dl
107 addb %al,%dl
115 addb %bl,%dl
123 addb %al,%dl
[all …]
/netbsd/src/usr.bin/config/
Dutil.c253 struct defoptlist *dl; in defoptlist_create() local
255 dl = emalloc(sizeof(*dl)); in defoptlist_create()
256 dl->dl_next = NULL; in defoptlist_create()
257 dl->dl_name = name; in defoptlist_create()
258 dl->dl_value = val; in defoptlist_create()
259 dl->dl_lintvalue = lintval; in defoptlist_create()
260 dl->dl_obsolete = 0; in defoptlist_create()
261 dl->dl_mkvar = 0; in defoptlist_create()
262 dl->dl_depends = NULL; in defoptlist_create()
263 dl->dl_where.w_srcfile = yyfile; in defoptlist_create()
[all …]
/netbsd/src/sys/arch/atari/stand/tostools/libtos/
Dbsdlabel.c59 struct disklabel *dl = (struct disklabel *)&p[1]; in bsd_getlabel() local
62 || (u_char *)dl - bblk == 7168 in bsd_getlabel()
64 && dl->d_npartitions <= MAXPARTITIONS in bsd_getlabel()
65 && dl->d_magic2 == DISKMAGIC in bsd_getlabel()
66 && dl->d_magic == DISKMAGIC in bsd_getlabel()
67 && dkcksum(dl) == 0 in bsd_getlabel()
69 memcpy(dlp, dl, sizeof(*dlp)); in bsd_getlabel()
82 dkcksum(struct disklabel *dl) in dkcksum() argument
86 start = (u_short *)dl; in dkcksum()
87 end = (u_short *)&dl->d_partitions[dl->d_npartitions]; in dkcksum()
/netbsd/src/sys/arch/vax/vsa/
Dhdc9224.c355 struct disklabel *dl; in rdattach() local
373 dl = rd->sc_disk.dk_label; in rdattach()
374 rdmakelabel(dl, &rd->sc_xbn); in rdattach()
377 rdstrategy, dl, NULL); in rdattach()
380 msg, dl->d_secperunit); in rdattach()
382 aprint_normal_dev(self, "size %u sectors\n", dl->d_secperunit); in rdattach()
806 rdmakelabel(struct disklabel *dl, struct rdgeom *g) in rdmakelabel() argument
810 dl->d_bbsize = BBSIZE; in rdmakelabel()
811 dl->d_sbsize = SBLOCKSIZE; in rdmakelabel()
812 dl->d_typename[p++] = MSCP_MID_CHAR(2, g->media_id); in rdmakelabel()
[all …]
/netbsd/src/external/lgpl3/gmp/dist/mpz/
Dtdiv_r.c39 mp_size_t ns, nl, dl; in mpz_tdiv_r() local
45 dl = ABSIZ (den); in mpz_tdiv_r()
46 ql = nl - dl + 1; in mpz_tdiv_r()
48 if (UNLIKELY (dl == 0)) in mpz_tdiv_r()
63 rp = MPZ_REALLOC (rem, dl); in mpz_tdiv_r()
78 tp = TMP_ALLOC_LIMBS (dl); in mpz_tdiv_r()
79 MPN_COPY (tp, dp, dl); in mpz_tdiv_r()
91 mpn_tdiv_qr (qp, rp, 0L, np, nl, dp, dl); in mpz_tdiv_r()
93 MPN_NORMALIZE (rp, dl); in mpz_tdiv_r()
95 SIZ (rem) = ns >= 0 ? dl : -dl; in mpz_tdiv_r()
Dtdiv_qr.c40 mp_size_t ns, ds, nl, dl; in mpz_tdiv_qr() local
47 dl = ABS (ds); in mpz_tdiv_qr()
48 ql = nl - dl + 1; in mpz_tdiv_qr()
50 if (UNLIKELY (dl == 0)) in mpz_tdiv_qr()
53 rp = MPZ_REALLOC (rem, dl); in mpz_tdiv_qr()
84 tp = TMP_ALLOC_LIMBS (dl); in mpz_tdiv_qr()
85 MPN_COPY (tp, dp, dl); in mpz_tdiv_qr()
98 mpn_tdiv_qr (qp, rp, 0L, np, nl, dp, dl); in mpz_tdiv_qr()
101 MPN_NORMALIZE (rp, dl); in mpz_tdiv_qr()
104 SIZ (rem) = ns >= 0 ? dl : -dl; in mpz_tdiv_qr()
/netbsd/src/lib/libc/citrus/
Dcitrus_db.c101 struct _citrus_region *data, struct _citrus_db_locator *dl) in _citrus_db_lookup() argument
118 if (dl != NULL && dl->dl_offset>0) { in _citrus_db_lookup()
119 hashval = dl->dl_hashval; in _citrus_db_lookup()
120 offset = dl->dl_offset; in _citrus_db_lookup()
129 if (dl) in _citrus_db_lookup()
130 dl->dl_hashval = hashval; in _citrus_db_lookup()
145 if (dl) { in _citrus_db_lookup()
146 dl->dl_offset = offset; in _citrus_db_lookup()
148 dl->dl_offset = _region_size(&db->db_region); in _citrus_db_lookup()
188 struct _citrus_db_locator *dl) in _citrus_db_lookup_by_string() argument
[all …]
/netbsd/src/sys/dev/qbus/
Drl.c267 struct disklabel *dl; in rlattach() local
274 dl = rc->rc_disk.dk_label; in rlattach()
275 dl->d_npartitions = 3; in rlattach()
276 strcpy(dl->d_typename, "RL01"); in rlattach()
278 dl->d_typename[3] = '2'; in rlattach()
279 dl->d_secsize = DEV_BSIZE; /* XXX - wrong, but OK for now */ in rlattach()
280 dl->d_nsectors = RL_SPT/2; in rlattach()
281 dl->d_ntracks = RL_SPD; in rlattach()
282 dl->d_ncylinders = ra->type & RLMP_DT ? RL_TPS02 : RL_TPS01; in rlattach()
283 dl->d_secpercyl = dl->d_nsectors * dl->d_ntracks; in rlattach()
[all …]
Drf.c456 struct disklabel *dl; in rf_attach() local
464 dl = rf_sc->sc_disk.dk_label; in rf_attach()
465 dl->d_type = DKTYPE_FLOPPY; /* drive type */ in rf_attach()
466 dl->d_magic = DISKMAGIC; /* the magic number */ in rf_attach()
467 dl->d_magic2 = DISKMAGIC; in rf_attach()
468 dl->d_typename[0] = 'R'; in rf_attach()
469 dl->d_typename[1] = 'X'; in rf_attach()
470 dl->d_typename[2] = '0'; in rf_attach()
471 dl->d_typename[3] = rfc_sc->type == 1 ? '1' : '2'; /* type name */ in rf_attach()
472 dl->d_typename[4] = '\0'; in rf_attach()
[all …]
/netbsd/src/tools/llvm/
DMakefile12 realdepends realall: config/config.status need-dl need-terminfo support-modules
36 need-dl: Makefile
37 printf '#include <dlfcn.h>\nint main(void){void *p; return dladdr(p, p);}' > need-dl.c
38 if ${HOST_CC} -o need-dl.out -D_GNU_SOURCE need-dl.c > /dev/null 2>&1; then \
40 elif ${HOST_CC} -o need-dl.out -D_GNU_SOURCE need-dl.c -ldl > /dev/null 2>&1; then \
55 CLEANFILES+= need-dl need-dl.c need-dl.out need-terminfo need-terminfo.c need-terminfo.out
62 rm -f need-dl need-dl.tmp module-cache module-test.o
/netbsd/src/usr.sbin/mopd/mopchk/
Dmopchk.c64 struct dllist dl; in main() local
117 dl.ldfd = open(filename, O_RDONLY, 0); in main()
118 if (dl.ldfd == -1) in main()
121 if ((error = CheckElfFile(dl.ldfd)) == 0) { in main()
122 if (GetElfFileInfo(&dl) < 0) { in main()
126 } else if ((error = CheckAOutFile(dl.ldfd)) == 0) { in main()
127 if (GetAOutFileInfo(&dl) < 0) { in main()
131 } else if ((error = CheckMopFile(dl.ldfd)) == 0) { in main()
132 if (GetMopFileInfo(&dl) < 0) { in main()
138 (void) close(dl.ldfd); in main()
/netbsd/src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
Ddsl_deadlist.h65 void dsl_deadlist_open(dsl_deadlist_t *dl, objset_t *os, uint64_t object);
66 void dsl_deadlist_close(dsl_deadlist_t *dl);
69 void dsl_deadlist_insert(dsl_deadlist_t *dl, const blkptr_t *bp, dmu_tx_t *tx);
70 void dsl_deadlist_add_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx);
71 void dsl_deadlist_remove_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx);
72 uint64_t dsl_deadlist_clone(dsl_deadlist_t *dl, uint64_t maxtxg,
74 void dsl_deadlist_space(dsl_deadlist_t *dl,
76 void dsl_deadlist_space_range(dsl_deadlist_t *dl,
79 void dsl_deadlist_merge(dsl_deadlist_t *dl, uint64_t obj, dmu_tx_t *tx);
80 void dsl_deadlist_move_bpobj(dsl_deadlist_t *dl, bpobj_t *bpo, uint64_t mintxg,

12345678910>>...15