/src/sys/arch/sparc/stand/common/ |
promdev.c | 296 char labelbuf[DEV_BSIZE]; local in function:obp_v0_strategy 316 prom_bread(fd, btodb(DEV_BSIZE), LABELSECTOR, &labelbuf[0]); 317 israidlabel(&labelbuf[0]); 344 char labelbuf[DEV_BSIZE]; local in function:obp_v2_strategy 355 prom_read(fd, &labelbuf[0], DEV_BSIZE); 356 israidlabel(&labelbuf[0]); 391 char labelbuf[DEV_BSIZE]; local in function:oldmon_strategy 407 dmabuf = dvma_mapin(&labelbuf[0], DEV_BSIZE); 413 israidlabel(&labelbuf[0]);
|
promdev.c | 296 char labelbuf[DEV_BSIZE]; local in function:obp_v0_strategy 316 prom_bread(fd, btodb(DEV_BSIZE), LABELSECTOR, &labelbuf[0]); 317 israidlabel(&labelbuf[0]); 344 char labelbuf[DEV_BSIZE]; local in function:obp_v2_strategy 355 prom_read(fd, &labelbuf[0], DEV_BSIZE); 356 israidlabel(&labelbuf[0]); 391 char labelbuf[DEV_BSIZE]; local in function:oldmon_strategy 407 dmabuf = dvma_mapin(&labelbuf[0], DEV_BSIZE); 413 israidlabel(&labelbuf[0]);
|
promdev.c | 296 char labelbuf[DEV_BSIZE]; local in function:obp_v0_strategy 316 prom_bread(fd, btodb(DEV_BSIZE), LABELSECTOR, &labelbuf[0]); 317 israidlabel(&labelbuf[0]); 344 char labelbuf[DEV_BSIZE]; local in function:obp_v2_strategy 355 prom_read(fd, &labelbuf[0], DEV_BSIZE); 356 israidlabel(&labelbuf[0]); 391 char labelbuf[DEV_BSIZE]; local in function:oldmon_strategy 407 dmabuf = dvma_mapin(&labelbuf[0], DEV_BSIZE); 413 israidlabel(&labelbuf[0]);
|
promdev.c | 296 char labelbuf[DEV_BSIZE]; local in function:obp_v0_strategy 316 prom_bread(fd, btodb(DEV_BSIZE), LABELSECTOR, &labelbuf[0]); 317 israidlabel(&labelbuf[0]); 344 char labelbuf[DEV_BSIZE]; local in function:obp_v2_strategy 355 prom_read(fd, &labelbuf[0], DEV_BSIZE); 356 israidlabel(&labelbuf[0]); 391 char labelbuf[DEV_BSIZE]; local in function:oldmon_strategy 407 dmabuf = dvma_mapin(&labelbuf[0], DEV_BSIZE); 413 israidlabel(&labelbuf[0]);
|
/src/usr.sbin/sunlabel/ |
sunlabel.c | 170 static unsigned char labelbuf[512]; /* Buffer holding the label sector */ variable in typeref:typename:unsigned char[512] 374 * for write. We are careful to use labelbuf, l_s, or l_l as 417 l_s[i] = (labelbuf[i + i] << 8) | labelbuf[i + i + 1]; 440 (void)memcpy(&label.asciilabel[0], &labelbuf[0], 128); 518 memcpy(&labelbuf[0], &label.asciilabel[0], 128); 520 l_s[i] = (labelbuf[i + i] << 8) | labelbuf[i + i + 1]; 567 labelbuf[i + i] = ((uint32_t)l_s[i]) >> 8; 568 labelbuf[i + i + 1] = l_s[i] & 0xff [all...] |
sunlabel.c | 170 static unsigned char labelbuf[512]; /* Buffer holding the label sector */ variable in typeref:typename:unsigned char[512] 374 * for write. We are careful to use labelbuf, l_s, or l_l as 417 l_s[i] = (labelbuf[i + i] << 8) | labelbuf[i + i + 1]; 440 (void)memcpy(&label.asciilabel[0], &labelbuf[0], 128); 518 memcpy(&labelbuf[0], &label.asciilabel[0], 128); 520 l_s[i] = (labelbuf[i + i] << 8) | labelbuf[i + i + 1]; 567 labelbuf[i + i] = ((uint32_t)l_s[i]) >> 8; 568 labelbuf[i + i + 1] = l_s[i] & 0xff [all...] |
sunlabel.c | 170 static unsigned char labelbuf[512]; /* Buffer holding the label sector */ variable in typeref:typename:unsigned char[512] 374 * for write. We are careful to use labelbuf, l_s, or l_l as 417 l_s[i] = (labelbuf[i + i] << 8) | labelbuf[i + i + 1]; 440 (void)memcpy(&label.asciilabel[0], &labelbuf[0], 128); 518 memcpy(&labelbuf[0], &label.asciilabel[0], 128); 520 l_s[i] = (labelbuf[i + i] << 8) | labelbuf[i + i + 1]; 567 labelbuf[i + i] = ((uint32_t)l_s[i]) >> 8; 568 labelbuf[i + i + 1] = l_s[i] & 0xff [all...] |
sunlabel.c | 170 static unsigned char labelbuf[512]; /* Buffer holding the label sector */ variable in typeref:typename:unsigned char[512] 374 * for write. We are careful to use labelbuf, l_s, or l_l as 417 l_s[i] = (labelbuf[i + i] << 8) | labelbuf[i + i + 1]; 440 (void)memcpy(&label.asciilabel[0], &labelbuf[0], 128); 518 memcpy(&labelbuf[0], &label.asciilabel[0], 128); 520 l_s[i] = (labelbuf[i + i] << 8) | labelbuf[i + i + 1]; 567 labelbuf[i + i] = ((uint32_t)l_s[i]) >> 8; 568 labelbuf[i + i + 1] = l_s[i] & 0xff [all...] |