| /src/common/lib/libc/quad/ | 
| anddi3.c | 53 	union uu aa, bb;  local in function:__anddi3 56 	bb.q = b;
 57 	aa.ul[0] &= bb.ul[0];
 58 	aa.ul[1] &= bb.ul[1];
 
 | 
| iordi3.c | 53 	union uu aa, bb;  local in function:__iordi3 56 	bb.q = b;
 57 	aa.ul[0] |= bb.ul[0];
 58 	aa.ul[1] |= bb.ul[1];
 
 | 
| xordi3.c | 53 	union uu aa, bb;  local in function:__xordi3 56 	bb.q = b;
 57 	aa.ul[0] ^= bb.ul[0];
 58 	aa.ul[1] ^= bb.ul[1];
 
 | 
| cmpdi2.c | 55 	union uu aa, bb;  local in function:__cmpdi2 58 	bb.q = b;
 59 	return (aa.sl[H] < bb.sl[H] ? 0 : aa.sl[H] > bb.sl[H] ? 2 :
 60 	    aa.ul[L] < bb.ul[L] ? 0 : aa.ul[L] > bb.ul[L] ? 2 : 1);
 
 | 
| ucmpdi2.c | 54 	union uu aa, bb;  local in function:__ucmpdi2 57 	bb.uq = b;
 58 	return (aa.ul[H] < bb.ul[H] ? 0 : aa.ul[H] > bb.ul[H] ? 2 :
 59 	    aa.ul[L] < bb.ul[L] ? 0 : aa.ul[L] > bb.ul[L] ? 2 : 1);
 
 | 
| adddi3.c | 55 	union uu aa, bb, sum;  local in function:__adddi3 58 	bb.q = b;
 59 	sum.ul[L] = aa.ul[L] + bb.ul[L];
 60 	sum.ul[H] = aa.ul[H] + bb.ul[H] + (sum.ul[L] < bb.ul[L]);
 
 | 
| subdi3.c | 54 	union uu aa, bb, diff;  local in function:__subdi3 57 	bb.q = b;
 58 	diff.ul[L] = aa.ul[L] - bb.ul[L];
 59 	diff.ul[H] = aa.ul[H] - bb.ul[H] - (diff.ul[L] > aa.ul[L]);
 
 | 
| /src/common/lib/libc/arch/arm/quad/ | 
| __aeabi_lcmp.c | 42 	const union uu aa = { .q = a }, bb = { .q = b }; 44 	if (aa.sl[H] < bb.sl[H])
 46 	if (aa.sl[H] > bb.sl[H])
 49 	if (aa.sl[L] < bb.sl[L])
 51 	if (aa.sl[L] > bb.sl[L])
 
 | 
| __aeabi_ulcmp.c | 42 	const union uu aa = { .uq = a }, bb = { .uq = b }; 44 	if (aa.ul[H] < bb.ul[H])
 46 	if (aa.ul[H] > bb.ul[H])
 49 	if (aa.ul[L] < bb.ul[L])
 51 	if (aa.ul[L] > bb.ul[L])
 
 | 
| /src/sbin/efi/ | 
| bootvar.c | 70 	boot_blk_t *bb;  local in function:new_blk 72 	bb = ecalloc(sizeof(*bb), 1);
 74 	if (length == 0)	/* alloc bb only */
 75 		return bb;
 77 	bb->u.vp = ecalloc(length, 1);
 78 	bb->size = length;
 81 		return bb;
 83 	bb->u.path->Type = type;
 84 	bb->u.path->SubType = subtype
 93  boot_blk_t *bb;  local in function:collapse_list
 109  boot_blk_t *bb;  local in function:create_bootbody
 145  boot_blk_t *bb;  local in function:create_devpath_media_hd
 187  boot_blk_t *bb;  local in function:create_devpath_media_pathname
 204  boot_blk_t *bb;  local in function:create_devpath_end
 214  boot_blk_t *bb;  local in function:create_optdata
 227  boot_blk_t *bb;  local in function:make_bootvar_data
 [all...]
 | 
| /src/usr.sbin/installboot/arch/ | 
| alpha.c | 115 static void	resum(ib_params *, struct alpha_boot_block * const bb, 136 	struct alpha_boot_block	bb;  local in function:alpha_clearboot
 150 	rv = pread(params->fsfd, &bb, sizeof(bb), ALPHA_BOOT_BLOCK_OFFSET);
 154 	} else if (rv != sizeof(bb)) {
 158 	ALPHA_BOOT_BLOCK_CKSUM(&bb, &cksum);
 159 	if (cksum != bb.bb_cksum) {		// XXX check bb_cksum endian?
 162 		    (unsigned long long)le64toh(bb.bb_cksum),
 170 		    (unsigned long long)le64toh(bb.bb_secstart));
 172 		    (unsigned long long)le64toh(bb.bb_secsize))
 211  struct alpha_boot_block bb;  local in function:alpha_setboot
 [all...]
 | 
| sparc64.c | 92 	char	bb[SPARC64_BOOT_BLOCK_MAX_SIZE];  local in function:sparc64_clearboot 106 	rv = pread(params->fsfd, &bb, sizeof(bb), SPARC64_BOOT_BLOCK_OFFSET);
 110 	} else if (rv != sizeof(bb)) {
 116 	memset(&bb, 0, sizeof(bb));
 124 	rv = pwrite(params->fsfd, &bb, sizeof(bb), SPARC64_BOOT_BLOCK_OFFSET);
 128 	} else if (rv != sizeof(bb)) {
 139 	char		bb[SPARC64_BOOT_BLOCK_MAX_SIZE]  local in function:sparc64_setboot
 [all...]
 | 
| sparc.c | 96 	uint8_t *bb) 101 	assert(bb != NULL);
 103 	memset(bb, 0, bb_params->headeroffset);
 108 sparc_setheader(ib_params *params, struct bbinfo_params *bb_params, uint8_t *bb)
 113 	assert(bb != NULL);
 128 	*((uint32_t *)bb) = htobe32(SUN_MAGIC);
 129 	*((uint32_t *)bb + 1) = htobe32(SUN4_BASTART);
 
 | 
| pmax.c | 136 	struct pmax_boot_block	bb;  local in function:pmax_clearboot 144 	rv = pread(params->fsfd, &bb, sizeof(bb), PMAX_BOOT_BLOCK_OFFSET);
 148 	} else if (rv != sizeof(bb)) {
 153 	if (le32toh(bb.magic) != PMAX_BOOT_MAGIC) {
 159 	bb.map[0].num_blocks = bb.map[0].start_block = bb.mode = 0;
 160 	bb.magic = htole32(PMAX_BOOT_MAGIC);
 165 		sum = compute_sunsum((uint16_t *)&bb);
 191  struct pmax_boot_block bb;  local in function:pmax_setboot
 [all...]
 | 
| hppa.c | 78 	char		bb[HPPA_BOOT_BLOCK_SIZE];  local in function:hppa_clearboot 89 	rv = pread(params->fsfd, bb, sizeof bb, 0);
 93 	} else if (rv != sizeof bb) {
 99 	memset(bb, 0, HPPA_LABELOFFSET);
 101 	memset(&bb[eol], 0, sizeof bb - eol);
 112 	rv = pwrite(params->fsfd, bb, sizeof bb, 0);
 130 	char		bb[HPPA_BOOT_BLOCK_SIZE]  local in function:hppa_setboot
 [all...]
 | 
| vax.c | 114 	struct vax_boot_block	bb;  local in function:vax_clearboot 120 	__CTASSERT(sizeof(bb)==VAX_BOOT_BLOCK_BLOCKSIZE);
 122 	rv = pread(params->fsfd, &bb, sizeof(bb), VAX_BOOT_BLOCK_OFFSET);
 126 	} else if (rv != sizeof(bb)) {
 131 	if (bb.bb_id_offset*2 >= VAX_BOOT_BLOCK_BLOCKSIZE
 132 	    || bb.bb_magic1 != VAX_BOOT_MAGIC1) {
 138 	bb.bb_id_offset = 1;
 139 	bb.bb_mbone = 0;
 140 	bb.bb_lbn_hi = 0
 173  struct vax_boot_block *bb;  local in function:vax_setboot
 [all...]
 | 
| x68k.c | 95 	uint8_t *bb) 100 	assert(bb != NULL);
 102 	memset(bb, 0, X68K_LABELOFFSET);
 110 	char		bb[X68K_BOOT_BLOCK_MAX_SIZE];  local in function:x68k_setboot
 151 	memset(&bb, 0, sizeof bb);
 152 	rv = read(params->s1fd, &bb, sizeof bb);
 158 	memcpy(&bb[X68K_LABELOFFSET], &label, sizeof label);
 172 	rv = pwrite(params->fsfd, &bb, X68K_BOOT_BLOCK_MAX_SIZE
 [all...]
 | 
| /src/sys/arch/acorn32/stand/lib/ | 
| riscospart.c | 152 	struct filecore_bootblock *bb;  local in function:getdisklabel_acorn 161 	bb = (struct filecore_bootblock *) buf;
 162 	if (bb->checksum == filecore_checksum((u_char *)bb)) {
 163 		if (bb->partition_type == PARTITION_FORMAT_RISCBSD)
 164 			labelsect = ((bb->partition_cyl_high << 8) + bb->partition_cyl_low) *
 165 			    bb->heads * bb->secspertrack + LABELSECTOR;
 
 | 
| /src/sys/arch/atari/include/ | 
| disklabel.h | 74 #define	BBGETLABEL(bb, dl)	memcpy((dl), (bb)->bb_label, sizeof (struct disklabel)) 75 #define	BBSETLABEL(bb, dl)	memcpy((bb)->bb_label, (dl), sizeof (struct disklabel))
 
 | 
| /src/sys/arch/alpha/stand/mkbootimage/ | 
| mkbootimage.c | 59 	struct alpha_boot_block *bb;  local in function:main 132 	bb = (struct alpha_boot_block *)outbuf;
 133 	bb->bb_secsize = howmany(insb.st_size, ALPHA_BOOT_BLOCK_BLOCKSIZE);
 134 	bb->bb_secstart = 1;
 135 	bb->bb_flags = 0;
 136 	ALPHA_BOOT_BLOCK_CKSUM(bb, &bb->bb_cksum);
 140 		    (unsigned long long)bb->bb_secstart);
 142 		    (unsigned long long)bb->bb_secsize);
 144 		    (unsigned long long)bb->bb_cksum)
 [all...]
 | 
| /src/sys/arch/arm/arm/ | 
| disksubr_acorn.c | 184 	struct filecore_bootblock *bb;  local in function:filecore_label_read 217 	bb = (struct filecore_bootblock *)bp->b_data;
 221 	if (bb->checksum != filecore_checksum((u_char *)bb)) {
 232 	cyl = bb->partition_cyl_low + (bb->partition_cyl_high << 8);
 234 	heads = bb->heads;
 235 	sectors = bb->secspertrack;
 239 	if (bb->partition_type == PARTITION_FORMAT_RISCBSD) {
 245 	} else if (bb->partition_type == PARTITION_FORMAT_RISCIX)
 326  struct filecore_bootblock *bb;  local in function:filecore_label_locate
 [all...]
 | 
| /src/sys/arch/atari/stand/tostools/aptck/ | 
| ahdilbl.h | 63 #define BBGETLABEL(bb, dl)	memcpy((dl), (bb)->bb_label, sizeof (struct disklabel)) 64 #define BBSETLABEL(bb, dl)	memcpy((bb)->bb_label, (dl), sizeof (struct disklabel))
 
 | 
| /src/usr.sbin/sysinst/arch/acorn32/ | 
| md.c | 71 	static unsigned char bb[DEV_BSIZE];  local in function:md_get_info 72 	struct filecore_bootblock *fcbb = (struct filecore_bootblock *)bb;
 91 	    || read(fd, bb, sizeof(bb)) - sizeof(bb) != 0) {
 99 	if (filecore_checksum(bb) == fcbb->checksum) {
 119 			    (struct riscix_partition_table *)bb;
 124 			    || read(fd, bb, sizeof(bb)) - sizeof(bb) != 0)
 [all...]
 | 
| /src/usr.sbin/installboot/ | 
| bbinfo.c | 62 	uint8_t	*bb;  local in function:shared_bbinfo_clearboot 73 	if ((bb = malloc(bbparams->maxsize)) == NULL) {
 80 	rv = pread(params->fsfd, bb, bbparams->maxsize, bbparams->offset);
 90 	memset(bb + bbparams->headeroffset, 0,
 92 	if (callback != NULL && ! (*callback)(params, bbparams, bb))
 103 	rv = pwrite(params->fsfd, bb, bbparams->maxsize, bbparams->offset);
 119 		rv = pwrite(params->fsfd, bb, bbparams->maxsize,
 137 	if (bb != NULL)
 138 		free(bb);
 146 	uint8_t		*bb;  local in function:shared_bbinfo_setboot
 [all...]
 | 
| /src/sys/dev/ic/ | 
| rtwphy.c | 82 rtw_bbp_init(struct rtw_regs *regs, struct rtw_bbpset *bb, int antdiv, 88 	sys2 = bb->bb_sys2;
 91 	sys3 = bb->bb_sys3 |
 98 	RTW_BBP_WRITE_OR_RETURN(RTW_BBP_SYS1,		bb->bb_sys1);
 99 	RTW_BBP_WRITE_OR_RETURN(RTW_BBP_TXAGC,		bb->bb_txagc);
 100 	RTW_BBP_WRITE_OR_RETURN(RTW_BBP_LNADET,		bb->bb_lnadet);
 101 	RTW_BBP_WRITE_OR_RETURN(RTW_BBP_IFAGCINI,	bb->bb_ifagcini);
 102 	RTW_BBP_WRITE_OR_RETURN(RTW_BBP_IFAGCLIMIT,	bb->bb_ifagclimit);
 103 	RTW_BBP_WRITE_OR_RETURN(RTW_BBP_IFAGCDET,	bb->bb_ifagcdet);
 105 	if ((rc = rtw_bbp_preinit(regs, bb->bb_antatten, dflantb, freq)) != 0
 423  struct rtw_bbpset *bb;  local in function:rtw_sa2400_create
 592  struct rtw_bbpset *bb;  local in function:rtw_grf5101_create
 727  struct rtw_bbpset *bb;  local in function:rtw_max2820_create
 [all...]
 |