Home
last modified time | relevance | path

Searched refs:slice (Results 1 – 25 of 55) sorted by relevance

123

/dragonfly/usr.sbin/installer/libinstaller/
H A Ddiskutil.h50 struct slice;
63 struct slice *selected_slice;
70 struct slice *slice_head;
71 struct slice *slice_tail;
83 struct slice { struct
85 struct slice *next; argument
86 struct slice *prev; argument
99 struct slice *parent; argument
151 struct slice *slice_next(const struct slice *);
158 int slice_get_type(const struct slice *);
[all …]
H A Ddiskutil.c143 struct slice *
296 struct slice *
354 struct slice *
358 struct slice *s; in slice_new()
366 AURA_MALLOC(s, slice); in slice_new()
412 struct slice *
426 struct slice *
498 slices_free(struct slice *head) in slices_free()
500 struct slice *next; in slices_free()
506 AURA_FREE(head, slice); in slices_free()
[all …]
/dragonfly/sys/kern/
H A Dsubr_diskslice.c103 u_int32_t slice; in dscheck() local
107 slice = dkslice(dev); in dscheck()
323 u_int32_t slice; in dsclose() local
350 int slice; in dsgone() local
354 for (slice = 0; slice < ssp->dss_nslices; slice++) in dsgone()
376 int slice; in dsioctl() local
628 for (slice = 0; slice < ssp->dss_nslices; slice++) { in dsioctl()
693 int slice; in dsisopen() local
697 for (slice = 0; slice < ssp->dss_nslices; slice++) { in dsisopen()
765 int slice; in dsopen() local
[all …]
H A Dsubr_diskmbr.c425 int slice; in mbr_extended() local
468 slice = ssp->dss_nslices; in mbr_extended()
489 sname = dsname(dev, dkunit(dev), slice, WHOLE_SLICE_PART, in mbr_extended()
493 if (slice >= MAX_SLICES) { in mbr_extended()
495 slice++; in mbr_extended()
498 sp = &ssp->dss_slices[slice]; in mbr_extended()
501 slice++; in mbr_extended()
504 ssp->dss_nslices = slice; in mbr_extended()
H A Dsubr_sglist.c637 sglist_slice(struct sglist *original, struct sglist **slice, size_t offset, in sglist_slice() argument
685 if (*slice == NULL) { in sglist_slice()
689 *slice = sg; in sglist_slice()
691 sg = *slice; in sglist_slice()
H A Dsubr_disk.c116 static int disk_probe_slice(struct disk *dp, cdev_t dev, int slice, int reprobe);
185 disk_probe_slice(struct disk *dp, cdev_t dev, int slice, int reprobe) in disk_probe_slice() argument
188 struct diskslice *sp = &dp->d_slice->dss_slices[slice]; in disk_probe_slice()
201 sno = slice ? slice - 1 : 0; in disk_probe_slice()
215 if (slice != WHOLE_DISK_SLICE) in disk_probe_slice()
216 ops->op_adjust_label_reserved(dp->d_slice, slice, sp); in disk_probe_slice()
268 slice, i), in disk_probe_slice()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/bits/
H A Dslice_array.h60 class slice in _GLIBCXX_VISIBILITY()
64 slice(); in _GLIBCXX_VISIBILITY()
73 slice(size_t __o, size_t __d, size_t __s); in _GLIBCXX_VISIBILITY()
91 slice::slice() in _GLIBCXX_VISIBILITY()
95 slice::slice(size_t __o, size_t __d, size_t __s) in _GLIBCXX_VISIBILITY()
99 slice::start() const in _GLIBCXX_VISIBILITY()
103 slice::size() const in _GLIBCXX_VISIBILITY()
107 slice::stride() const in _GLIBCXX_VISIBILITY()
190 slice_array(_Array<_Tp>, const slice&); in _GLIBCXX_VISIBILITY()
202 slice_array<_Tp>::slice_array(_Array<_Tp> __a, const slice& __s) in _GLIBCXX_VISIBILITY()
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/bits/
H A Dslice_array.h59 class slice in _GLIBCXX_VISIBILITY()
63 slice(); in _GLIBCXX_VISIBILITY()
72 slice(size_t __o, size_t __d, size_t __s); in _GLIBCXX_VISIBILITY()
90 slice::slice() in _GLIBCXX_VISIBILITY()
94 slice::slice(size_t __o, size_t __d, size_t __s) in _GLIBCXX_VISIBILITY()
98 slice::start() const in _GLIBCXX_VISIBILITY()
102 slice::size() const in _GLIBCXX_VISIBILITY()
106 slice::stride() const in _GLIBCXX_VISIBILITY()
189 slice_array(_Array<_Tp>, const slice&); in _GLIBCXX_VISIBILITY()
201 slice_array<_Tp>::slice_array(_Array<_Tp> __a, const slice& __s) in _GLIBCXX_VISIBILITY()
H A Dvalarray_before.h680 _SBase (const _Dom& __e, const slice& __s) in _GLIBCXX_VISIBILITY()
693 const slice& _M_slice; in _GLIBCXX_VISIBILITY()
702 _SBase (_Array<_Tp> __a, const slice& __s) in _GLIBCXX_VISIBILITY()
727 _SClos (const _Dom& __e, const slice& __s) : _Base (__e, __s) {} in _GLIBCXX_VISIBILITY()
737 _SClos (_Array<_Tp> __a, const slice& __s) : _Base (__a, __s) {} in _GLIBCXX_VISIBILITY()
/dragonfly/stand/boot/pc32/libi386/
H A Ddevicename.c88 int i, unit, slice, partition, err; in i386_parsedev() local
115 slice = -1; in i386_parsedev()
125 slice = strtol(np, &cp, 10); in i386_parsedev()
146 idev->d_kind.biosdisk.slice = slice; in i386_parsedev()
214 if (dev->d_kind.biosdisk.slice > 0) in i386_fmtdev()
215 cp += sprintf(cp, "s%d", dev->d_kind.biosdisk.slice); in i386_fmtdev()
H A Dbiosdisk.c271 dev.d_kind.biosdisk.slice = -1; in bd_print()
532 int sector, slice, i; in bd_opendisk() local
585 if (dev->d_kind.biosdisk.slice > 0) { in bd_opendisk()
623 if (dev->d_kind.biosdisk.slice == -1) { in bd_opendisk()
631 if (dev->d_kind.biosdisk.slice > 0) { in bd_opendisk()
632 slice = dev->d_kind.biosdisk.slice - 1; in bd_opendisk()
633 if (slice >= od->od_nslices) { in bd_opendisk()
652 if (dev->d_kind.biosdisk.slice == 0) { in bd_opendisk()
653 slice = bd_bestslice(od); in bd_opendisk()
654 if (slice == -1) { in bd_opendisk()
[all …]
/dragonfly/sys/sys/
H A Ddiskslice.h242 dkmakeminor(u_int32_t unit, u_int32_t slice, u_int32_t part) in dkmakeminor() argument
247 ((slice & 0x000f) << 16) | ((slice & 0x0070) << 25) | in dkmakeminor()
268 dkmakewholeslice(u_int32_t unit, u_int32_t slice) in dkmakewholeslice() argument
270 return(dkmakeminor(unit, slice, WHOLE_SLICE_PART)); in dkmakewholeslice()
293 dkmakeslice(int slice) in dkmakeslice() argument
295 return(dkmakeminor(0, (u_int32_t)slice, 0)); in dkmakeslice()
420 char *dsname (cdev_t dev, int unit, int slice, int part,
/dragonfly/sys/dev/netif/mxge/
H A Dif_mxge.c1191 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_reset()
1227 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_reset()
1367 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_rem_sysctls()
1521 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_add_sysctls()
2908 for (slice = 0; slice < sc->num_slices; slice++) in mxge_free_mbufs()
2991 for (slice = 0; slice < sc->num_slices; slice++) in mxge_free_rings()
3216 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_alloc_rings()
3455 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_open()
3483 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_open()
4135 for (slice = 0; slice < sc->num_slices; ++slice) { in mxge_setup_serialize()
[all …]
/dragonfly/stand/boot/pc32/boot2/
H A Dboot2.c154 uint8_t slice; member
281 dsk.slice = *(uint8_t *)PTOV(MEM_BTX_USR_ARG + 1) + 1; in main()
433 MAKEBOOTDEV(dev_maj[dsk.type], dsk.slice, dsk.unit, dsk.part), in load()
493 dsk.slice = WHOLE_DISK_SLICE; in parse()
495 dsk.slice = *arg - '0' + 1; in parse()
496 if (dsk.slice > NDOSPART + 1) in parse()
539 sl = dsk.slice; in dskprobe()
547 dsk.slice == COMPATIBILITY_SLICE) in dskprobe()
550 if (dsk.slice == WHOLE_DISK_SLICE) in dskprobe()
551 dsk.slice = sl; in dskprobe()
/dragonfly/sys/dev/drm/i915/
H A Dintel_hangcheck.c202 int slice; in subunits_stuck() local
220 for_each_instdone_slice_subslice(dev_priv, slice, subslice) { in subunits_stuck()
221 stuck &= instdone_unchanged(instdone.sampler[slice][subslice], in subunits_stuck()
222 &accu_instdone->sampler[slice][subslice]); in subunits_stuck()
223 stuck &= instdone_unchanged(instdone.row[slice][subslice], in subunits_stuck()
224 &accu_instdone->row[slice][subslice]); in subunits_stuck()
H A Di915_sysfs.c148 int slice = (int)(uintptr_t)attr->private;
163 if (dev_priv->l3_parity.remap_info[slice])
165 dev_priv->l3_parity.remap_info[slice] + (offset/4),
184 int slice = (int)(uintptr_t)attr->private;
196 remap_info = &dev_priv->l3_parity.remap_info[slice];
213 ctx->remap_slice |= (1<<slice);
/dragonfly/sys/platform/pc64/include/
H A Dbootinfo.h103 #define MAKEBOOTDEV(type, slice, unit, partition) \ argument
104 (((type) << B_TYPESHIFT) | ((slice) << B_SLICESHIFT) | \
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/std/
H A Dvalarray79 class slice; // BLAS-like slice out of an array
206 * @param __sa Array slice to get values from.
216 * @param __ga Array slice to get values from.
274 * as the input slice. @see slice.
276 * @param __s The source slice.
286 * as the input slice. @see slice.
288 * @param __s The source slice.
291 slice_array<_Tp> operator[](slice __s);
299 * @param __s The source slice.
847 valarray<_Tp>::operator[](slice __s) const
[all …]
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/std/
H A Dvalarray81 class slice; // BLAS-like slice out of an array
208 * @param __sa Array slice to get values from.
218 * @param __ga Array slice to get values from.
276 * as the input slice. @see slice.
278 * @param __s The source slice.
288 * as the input slice. @see slice.
290 * @param __s The source slice.
293 slice_array<_Tp> operator[](slice __s);
301 * @param __s The source slice.
831 valarray<_Tp>::operator[](slice __s) const
[all …]
/dragonfly/stand/boot/pc32/loader/
H A Dmain.c313 new_currdev.d_kind.biosdisk.slice = -1; in extract_currdev()
319 new_currdev.d_kind.biosdisk.slice = -1; in extract_currdev()
323 new_currdev.d_kind.biosdisk.slice = B_SLICE(initial_bootdev) - 1; in extract_currdev()
/dragonfly/contrib/binutils-2.34/libctf/
H A Dctf-types.c750 const ctf_slice_t *slice; in ctf_type_encoding() local
752 slice = &dtd->dtd_u.dtu_slice; in ctf_type_encoding()
754 data = ctf_type_encoding (fp, slice->cts_type, &underlying_en); in ctf_type_encoding()
756 ep->cte_offset = slice->cts_offset; in ctf_type_encoding()
757 ep->cte_bits = slice->cts_bits; in ctf_type_encoding()
784 const ctf_slice_t *slice; in ctf_type_encoding() local
787 slice = (ctf_slice_t *) ((uintptr_t) tp + increment); in ctf_type_encoding()
788 data = ctf_type_encoding (fp, slice->cts_type, &underlying_en); in ctf_type_encoding()
791 ep->cte_offset = slice->cts_offset; in ctf_type_encoding()
792 ep->cte_bits = slice->cts_bits; in ctf_type_encoding()
/dragonfly/sys/dev/raid/vinum/
H A Dvinumio.c698 int slice; in vinum_scandisk() local
713 for (slice = 0; slice < MAX_SLICES; slice++) { in vinum_scandisk()
714 if (has_slice >= 0 && slice != has_slice) in vinum_scandisk()
729 "%ss%d%c", devicename[driveno], slice, part); in vinum_scandisk()
/dragonfly/sbin/mount_hammer2/
H A Dmount_hammer2.c137 char slice = devpath[strlen(devpath)-1]; in main() local
138 switch(slice) { in main()
/dragonfly/share/examples/rconfig/
H A Dauto.sh12 set slice = s1
13 set xdisk = $disk$slice
/dragonfly/sbin/gpt/
H A Dmigrate.c55 static int slice; variable
258 if (slice) { in migrate()
347 slice = 1; in cmd_migrate()

123