/src/sys/ufs/ext2fs/ |
ext2fs_bswap.c | 44 e2fs_sb_bswap(struct ext2fs *old, struct ext2fs *new) 48 memcpy(new, old, sizeof(struct ext2fs)); 49 new->e2fs_icount = bswap32(old->e2fs_icount); 50 new->e2fs_bcount = bswap32(old->e2fs_bcount); 51 new->e2fs_rbcount = bswap32(old->e2fs_rbcount); 52 new->e2fs_fbcount = bswap32(old->e2fs_fbcount); 53 new->e2fs_ficount = bswap32(old->e2fs_ficount); 54 new->e2fs_first_dblock = bswap32(old->e2fs_first_dblock); 55 new->e2fs_log_bsize = bswap32(old->e2fs_log_bsize); 56 new->e2fs_fsize = bswap32(old->e2fs_fsize) [all...] |
/src/lib/libc/arch/mips/gen/ |
fpsetmask.c | 25 fp_except new; local in function:__weak_alias 29 new = old & ~(0x1f << 7); 30 new |= ((mask & 0x1f) << 7); 32 __asm(".set push; .set noat; ctc1 %0,$31; .set pop" : : "r" (new));
|
fpsetround.c | 25 fp_rnd new; local in function:__weak_alias 29 new = old & ~0x03; 30 new |= rnd_dir & 0x03; 32 __asm(".set push; .set noat; ctc1 %0,$31; .set pop" : : "r" (new));
|
fpsetsticky.c | 25 fp_except new; local in function:__weak_alias 29 new = old & ~(0x1f << 2); 30 new |= (sticky & 0x1f) << 2; 32 __asm(".set push; .set noat; ctc1 %0,$31; .set pop" : : "r" (new));
|
/src/common/lib/libc/atomic/ |
atomic_add_16_cas.c | 44 uint16_t old, new; local in function:fetch_and_add_2 48 new = old + val; 49 } while (atomic_cas_16(addr, old, new) != old); 56 uint16_t old, new; local in function:add_and_fetch_2 60 new = old + val; 61 } while (atomic_cas_16(addr, old, new) != old); 62 return new;
|
atomic_add_8_cas.c | 44 uint8_t old, new; local in function:fetch_and_add_1 48 new = old + val; 49 } while (atomic_cas_8(addr, old, new) != old); 56 uint8_t old, new; local in function:add_and_fetch_1 60 new = old + val; 61 } while (atomic_cas_8(addr, old, new) != old); 62 return new;
|
atomic_nand_16_cas.c | 44 uint16_t old, new; local in function:fetch_and_nand_2 48 new = ~(old & val); 49 } while (atomic_cas_16(addr, old, new) != old); 56 uint16_t old, new; local in function:nand_and_fetch_2 60 new = ~(old & val); 61 } while (atomic_cas_16(addr, old, new) != old); 62 return new;
|
atomic_nand_32_cas.c | 42 uint32_t old, new; local in function:fetch_and_nand_4 46 new = ~(old & val); 47 } while (atomic_cas_32(addr, old, new) != old); 54 uint32_t old, new; local in function:nand_and_fetch_4 58 new = ~(old & val); 59 } while (atomic_cas_32(addr, old, new) != old); 60 return new;
|
atomic_nand_64_cas.c | 44 uint64_t old, new; local in function:fetch_and_nand_8 48 new = ~(old & val); 49 } while (atomic_cas_64(addr, old, new) != old); 56 uint64_t old, new; local in function:nand_and_fetch_8 60 new = ~(old & val); 61 } while (atomic_cas_64(addr, old, new) != old); 62 return new;
|
atomic_nand_8_cas.c | 44 uint8_t old, new; local in function:fetch_and_nand_1 48 new = ~(old & val); 49 } while (atomic_cas_8(addr, old, new) != old); 56 uint8_t old, new; local in function:nand_and_fetch_1 60 new = ~(old & val); 61 } while (atomic_cas_8(addr, old, new) != old); 62 return new;
|
atomic_or_16_cas.c | 44 uint16_t old, new; local in function:fetch_and_or_2 48 new = old | val; 49 } while (atomic_cas_16(addr, old, new) != old); 56 uint16_t old, new; local in function:or_and_fetch_2 60 new = old | val; 61 } while (atomic_cas_16(addr, old, new) != old); 62 return new;
|
atomic_or_8_cas.c | 44 uint8_t old, new; local in function:fetch_and_or_1 48 new = old | val; 49 } while (atomic_cas_8(addr, old, new) != old); 56 uint8_t old, new; local in function:or_and_fetch_1 60 new = old | val; 61 } while (atomic_cas_8(addr, old, new) != old); 62 return new;
|
atomic_sub_16_cas.c | 44 uint16_t old, new; local in function:fetch_and_sub_2 48 new = old - val; 49 } while (atomic_cas_16(addr, old, new) != old); 56 uint16_t old, new; local in function:sub_and_fetch_2 60 new = old - val; 61 } while (atomic_cas_16(addr, old, new) != old); 62 return new;
|
atomic_sub_32_cas.c | 42 uint32_t old, new; local in function:fetch_and_sub_4 46 new = old - val; 47 } while (atomic_cas_32(addr, old, new) != old); 54 uint32_t old, new; local in function:sub_and_fetch_4 58 new = old - val; 59 } while (atomic_cas_32(addr, old, new) != old); 60 return new;
|
atomic_sub_64_cas.c | 44 uint64_t old, new; local in function:fetch_and_sub_8 48 new = old - val; 49 } while (atomic_cas_64(addr, old, new) != old); 56 uint64_t old, new; local in function:sub_and_fetch_8 60 new = old - val; 61 } while (atomic_cas_64(addr, old, new) != old); 62 return new;
|
atomic_sub_8_cas.c | 44 uint8_t old, new; local in function:fetch_and_sub_1 48 new = old - val; 49 } while (atomic_cas_8(addr, old, new) != old); 56 uint8_t old, new; local in function:sub_and_fetch_1 60 new = old - val; 61 } while (atomic_cas_8(addr, old, new) != old); 62 return new;
|
atomic_xor_16_cas.c | 44 uint16_t old, new; local in function:fetch_and_xor_2 48 new = old ^ val; 49 } while (atomic_cas_16(addr, old, new) != old); 56 uint16_t old, new; local in function:xor_and_fetch_2 60 new = old ^ val; 61 } while (atomic_cas_16(addr, old, new) != old); 62 return new;
|
atomic_xor_32_cas.c | 42 uint32_t old, new; local in function:fetch_and_xor_4 46 new = old ^ val; 47 } while (atomic_cas_32(addr, old, new) != old); 54 uint32_t old, new; local in function:xor_and_fetch_4 58 new = old ^ val; 59 } while (atomic_cas_32(addr, old, new) != old); 60 return new;
|
atomic_xor_64_cas.c | 44 uint64_t old, new; local in function:fetch_and_xor_8 48 new = old ^ val; 49 } while (atomic_cas_64(addr, old, new) != old); 56 uint64_t old, new; local in function:xor_and_fetch_8 60 new = old ^ val; 61 } while (atomic_cas_64(addr, old, new) != old); 62 return new;
|
atomic_xor_8_cas.c | 44 uint8_t old, new; local in function:fetch_and_xor_1 48 new = old ^ val; 49 } while (atomic_cas_8(addr, old, new) != old); 56 uint8_t old, new; local in function:xor_and_fetch_1 60 new = old ^ val; 61 } while (atomic_cas_8(addr, old, new) != old); 62 return new;
|
/src/lib/libc/arch/sparc/gen/ |
fpsetmask.c | 25 fp_except new; local in function:__weak_alias 29 new = old; 30 new &= ~(0x1f << 23); 31 new |= ((mask & 0x1f) << 23); 33 __asm("ld %0,%%fsr" : : "m" (*&new));
|
fpsetsticky.c | 25 fp_except new; local in function:__weak_alias 29 new = old; 30 new &= ~(0x1f << 5); 31 new |= ((sticky & 0x1f) << 5); 33 __asm("ld %0,%%fsr" : : "m" (*&new));
|
fpsetround.c | 25 fp_rnd new; local in function:__weak_alias 29 new = old; 30 new &= ~(0x03U << 30); 31 new |= ((rnd_dir & 0x03U) << 30); 33 __asm("ld %0,%%fsr" : : "m" (*&new));
|
/src/lib/libform/ |
type_alnum.c | 55 alnum_args *new; local in function:create_alnum_args 57 new = malloc(sizeof(*new)); 59 if (new != NULL) 60 new->width = va_arg(*args, int); 62 return (void *)new; 71 alnum_args *new; local in function:copy_alnum_args 73 new = malloc(sizeof(*new)); 75 if (new != NULL 98 char *buf, *new; local in function:alnum_check_field [all...] |
type_alpha.c | 57 alpha_args *new; local in function:create_alpha_args 59 new = malloc(sizeof(*new)); 61 if (new != NULL) 62 new->width = va_arg(*args, int); 64 return (void *) new; 73 alpha_args *new; local in function:copy_alpha_args 75 new = malloc(sizeof(*new)); 77 if (new != NULL 100 char *buf, *new; local in function:alpha_check_field [all...] |