Home
last modified time | relevance | path

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

123

/dflybsd-src/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
126 void storage_set_selected_slice(struct storage *, struct slice *);
127 struct slice *storage_get_selected_slice(const struct storage *);
[all …]
H A Ddiskutil.c138 storage_set_selected_slice(struct storage *s, struct slice *sl) in storage_set_selected_slice()
143 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 *
415 struct slice *s = d->slice_head; in slice_find()
426 struct slice *
427 slice_next(const struct slice *s) in slice_next()
[all …]
/dflybsd-src/sys/kern/
H A Dsubr_diskslice.c70 static void free_ds_label (struct diskslices *ssp, int slice);
71 static void set_ds_label (struct diskslices *ssp, int slice, disklabel_t lp,
73 static void set_ds_wlabel (struct diskslices *ssp, int slice, int wlabel);
103 u_int32_t slice; in dscheck() local
107 slice = dkslice(dev); in dscheck()
115 if (slice >= ssp->dss_nslices) { in dscheck()
117 devtoname(dev), slice, ssp->dss_nslices); in dscheck()
120 sp = &ssp->dss_slices[slice]; in dscheck()
150 if (slice == WHOLE_DISK_SLICE) { in dscheck()
323 u_int32_t slice; in dsclose() 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()
/dflybsd-src/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()
/dflybsd-src/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()
H A Dvalarray_before.h671 _SBase (const _Dom& __e, const slice& __s) in _GLIBCXX_VISIBILITY()
684 const slice& _M_slice; in _GLIBCXX_VISIBILITY()
693 _SBase (_Array<_Tp> __a, const slice& __s) in _GLIBCXX_VISIBILITY()
718 _SClos (const _Dom& __e, const slice& __s) : _Base (__e, __s) {} in _GLIBCXX_VISIBILITY()
728 _SClos (_Array<_Tp> __a, const slice& __s) : _Base (__a, __s) {} in _GLIBCXX_VISIBILITY()
/dflybsd-src/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
556 dev->d_kind.biosdisk.slice, dev->d_kind.biosdisk.partition + 'a'); in bd_opendisk()
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()
634 DEBUG("slice %d not found", slice); in bd_opendisk()
652 if (dev->d_kind.biosdisk.slice == 0) { in bd_opendisk()
[all …]
/dflybsd-src/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,
/dflybsd-src/sys/dev/netif/mxge/
H A Dif_mxge.c170 static void mxge_warn_stuck(mxge_softc_t *sc, mxge_tx_ring_t *tx, int slice);
1133 int slice, status, rx_intr_size; in mxge_reset() local
1191 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_reset()
1192 ss = &sc->ss[slice]; in mxge_reset()
1201 cmd.data2 = slice; in mxge_reset()
1227 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_reset()
1228 ss = &sc->ss[slice]; in mxge_reset()
1230 ss->irq_claim = irq_claim + (2 * slice); in mxge_reset()
1365 int slice; in mxge_rem_sysctls() local
1367 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_rem_sysctls()
[all …]
/dflybsd-src/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()
/dflybsd-src/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);
/dflybsd-src/sys/platform/pc64/include/
H A Dbootinfo.h103 #define MAKEBOOTDEV(type, slice, unit, partition) \ argument
104 (((type) << B_TYPESHIFT) | ((slice) << B_SLICESHIFT) | \
/dflybsd-src/contrib/gcc-4.7/libstdc++-v3/include/std/
H A Dvalarray81 class slice; // BLAS-like slice out of an array
83 class gslice; // generalized slice out of an array
208 * @param __sa Array slice to get values from.
218 * @param __ga Array slice to get values from.
228 * @param __ma Array slice to get values from.
238 * @param __ia Array slice to get values from.
275 * indicated by the slice argument. The new valarray has the same size
276 * as the input slice. @see slice.
278 * @param __s The source slice.
281 _Expr<_SClos<_ValArray, _Tp>, _Tp> operator[](slice __s) const;
[all …]
/dflybsd-src/contrib/gcc-8.0/libstdc++-v3/include/std/
H A Dvalarray79 class slice; // BLAS-like slice out of an array
81 class gslice; // generalized slice out of an array
206 * @param __sa Array slice to get values from.
216 * @param __ga Array slice to get values from.
226 * @param __ma Array slice to get values from.
236 * @param __ia Array slice to get values from.
273 * indicated by the slice argument. The new valarray has the same size
274 * as the input slice. @see slice.
276 * @param __s The source slice.
279 _Expr<_SClos<_ValArray, _Tp>, _Tp> operator[](slice __s) const;
[all …]
/dflybsd-src/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()
/dflybsd-src/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()
/dflybsd-src/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()
/dflybsd-src/sbin/mount_hammer2/
H A Dmount_hammer2.c137 char slice = devpath[strlen(devpath)-1]; in main() local
138 switch(slice) { in main()
/dflybsd-src/share/examples/rconfig/
H A Dauto.sh12 set slice = s1
13 set xdisk = $disk$slice
/dflybsd-src/sbin/gpt/
H A Dmigrate.c55 static int slice; variable
258 if (slice) { in migrate()
347 slice = 1; in cmd_migrate()

123