OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bootsize
(Results
1 - 18
of
18
) sorted by relevancy
/src/usr.sbin/installboot/arch/
next68k.c
83
size_t
bootsize
;
local
140
bootsize
= roundup(params->s1stat.st_size, cd_secsize);
142
bootbuf = malloc(
bootsize
);
144
warn("Allocating %zu bytes",
bootsize
);
147
memset(bootbuf, 0,
bootsize
);
161
if (
bootsize
> be16toh(next68klabel->cd_front) * cd_secsize -
175
if (((
bootsize
/ cd_secsize) > b1 - b0) ||
176
((
bootsize
/ cd_secsize) > fp - b1)) {
177
if (2 *
bootsize
> (fp * cd_secsize - NEXT68K_LABEL_SIZE))
181
if (2 *
bootsize
> (fp * cd_secsize
[
all
...]
/src/sys/arch/prep/stand/installboot/
installboot.c
75
load_boot(char *boot, size_t *
bootsize
)
169
*
bootsize
= roundup(imgsz, DEV_BSIZE);
224
size_t
bootsize
;
local
254
if ((bp = load_boot(boot, &
bootsize
)) == NULL)
267
if (
bootsize
+ dbtob(2) > dbtob(ppp.mbrp_size)) {
296
boot00[1] = htole32(
bootsize
);
305
boot00[1] = htole32(
bootsize
+ dbtob(2));
313
if (write(devfd, bp,
bootsize
) !=
bootsize
) {
/src/distrib/utils/embedded/conf/
evbarm.conf
28
local
bootsize
=$(( ${boot} * 1024 ))
32
local asize=$(( ${totalsize} - ${
bootsize
} - ${bootoffset} ))
33
local aoffset=$(( ${bootoffset} + ${
bootsize
} ))
64
e: ${
bootsize
} ${bootoffset} MSDOS #
evbmips.conf
28
local
bootsize
=$(( ${boot} * 1024 ))
32
local asize=$(( ${totalsize} - ${
bootsize
} - ${bootoffset} ))
33
local aoffset=$(( ${bootoffset} + ${
bootsize
} ))
64
e: ${
bootsize
} ${bootoffset} MSDOS #
evbppc.conf
28
local
bootsize
=$(( ${boot} * 1024 ))
32
local asize=$(( ${totalsize} - ${
bootsize
} - ${bootoffset} ))
33
local aoffset=$(( ${bootoffset} + ${
bootsize
} ))
64
e: ${
bootsize
} ${bootoffset} MSDOS #
riscv.conf
26
local
bootsize
=$(( ${boot} * 1024 ))
30
local asize=$(( ${totalsize} - ${
bootsize
} - ${bootoffset} ))
31
local aoffset=$(( ${bootoffset} + ${
bootsize
} ))
62
e: ${
bootsize
} ${bootoffset} MSDOS #
/src/usr.sbin/bootp/common/
bootpd.h
98
bootsize
:1,
member in struct:flag
187
u_int32
bootsize
,
186
u_int32
bootsize
,
member in struct:host
readfile.c
1041
hp->flags.
bootsize
= TRUE;
1044
hp->
bootsize
= (unsigned int) get_u_long(symbol);
1045
hp->flags.
bootsize
= TRUE;
1050
hp->flags.
bootsize
= FALSE;
1053
hp->flags.
bootsize
= TRUE;
1468
if (!hp->flags.
bootsize
) {
1469
if ((hp->flags.
bootsize
= hp2->flags.
bootsize
)) {
1471
hp->
bootsize
= hp2->
bootsize
;
[
all
...]
dumptab.c
138
if (hp->flags.
bootsize
) {
143
fprintf(fp, "%d:", hp->
bootsize
);
/src/usr.sbin/sysinst/arch/arc/
md.c
253
pm->
bootsize
= part->mbrp_size;
258
if (pm->
bootsize
< (PART_BOOT_MIN / 512)) {
264
if (pm->bootstart == 0 || pm->
bootsize
== 0) {
/src/usr.sbin/sysinst/arch/cobalt/
md.c
268
pm->
bootsize
= part->mbrp_size;
273
if (pm->
bootsize
< (PART_BOOT_MIN / 512)) {
279
if (pm->bootstart == 0 || pm->
bootsize
== 0) {
/src/usr.sbin/sysinst/arch/ofppc/
md.c
60
/* bootstart/
bootsize
are for the fat */
223
if (pm->
bootsize
!= 0) {
225
pm->bsdlabel[PART_BOOT_FAT12].pi_size = pm->
bootsize
;
399
if (pm->bootstart == 0 || pm->
bootsize
== 0 || rdb_found)
548
pm->
bootsize
= part->mbrp_size;
566
if (!(pm->
bootsize
>= (MIN_FAT12_BOOT/512) ||
586
if (pm->
bootsize
> 0 && pm->
bootsize
< (MIN_FAT12_BOOT/512)) {
594
if ((pm->bootstart == 0 || pm->
bootsize
== 0) &&
/src/usr.sbin/sysinst/arch/prep/
md.c
269
pm->
bootsize
= part->mbrp_size;
273
if (pm->
bootsize
< (int)(MIN_PREP_BOOT/512)) {
277
if (pm->bootstart == 0 || pm->
bootsize
== 0) {
/src/usr.sbin/bootp/bootpd/
bootpd.c
601
int32
bootsize
= 0;
895
if (chk_access(lrealpath, &
bootsize
) < 0) {
897
if (chk_access(lrealpath, &
bootsize
) < 0) {
965
dovend_rfc1048(bp, hp,
bootsize
);
1221
dovend_rfc1048(struct bootp *bp, struct host *hp, int32
bootsize
)
1315
if (hp->flags.
bootsize
) {
1317
bootsize
= (hp->flags.bootsize_auto) ?
1318
((
bootsize
+ 511) / 512) : ((int32_t)hp->
bootsize
); /* Round up */
1321
*vp++ = (byte) ((
bootsize
>> 8) & 0xFF)
596
int32
bootsize
= 0;
local
[
all
...]
/src/sbin/fdisk/
fdisk.c
239
static int
bootsize
; /* actual size of bootcode */
variable
488
bootsize
= read_boot(optarg, bootcode,
1108
if (
bootsize
== 0)
1109
bootsize
= read_boot(DEFAULT_BOOTCODE, bootcode,
1118
if (
bootsize
!= 0) {
1479
if (!f_flag &&
bootsize
== 0 && !i_flag)
1486
if (
bootsize
!= 0 && needed != 0
1498
bootsize
= 0;
1501
if (
bootsize
== 0) {
1511
bootsize
= read_boot(code, bootcode, sizeof bootcode, 0)
[
all
...]
/src/sys/arch/sparc64/sparc64/
autoconf.c
275
bootstrap(void *o0, void *bootargs, void *
bootsize
, void *o3, void *ofw)
308
("sparc64_init(%p, %p, %p, %p, %p)\n", o0, bootargs,
bootsize
,
312
if ((long)
bootsize
>= (4 * sizeof(uint64_t))) {
316
} else if ((long)
bootsize
>= (4 * sizeof(uint32_t))) {
/src/sys/arch/sparc/stand/ofwboot/
boot.c
69
typedef void (*entry_t)(long o0, long bootargs, long
bootsize
, long o3,
/src/usr.sbin/sysinst/
defs.h
488
daddr_t bootstart,
bootsize
;
member in struct:pm_devs
Completed in 33 milliseconds
Indexes created Tue Jun 16 00:25:01 UTC 2026