Searched refs:new (Results 1 - 25 of 603) sorted by relevance

1234567891011>>

/src/sys/ufs/ext2fs/
H A Dext2fs_bswap.c44 e2fs_sb_bswap(struct ext2fs *old, struct ext2fs *new) argument
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
86 e2fs_i_bswap(struct ext2fs_dinode * old,struct ext2fs_dinode * new,size_t isize) argument
[all...]
/src/lib/libc/arch/mips/gen/
H A Dfpsetmask.c25 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));
H A Dfpsetround.c25 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));
H A Dfpsetsticky.c25 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/
H A Datomic_add_16_cas.c44 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;
H A Datomic_add_8_cas.c44 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;
H A Datomic_nand_16_cas.c44 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;
H A Datomic_nand_32_cas.c42 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;
H A Datomic_nand_64_cas.c44 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;
H A Datomic_nand_8_cas.c44 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;
H A Datomic_or_16_cas.c44 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;
H A Datomic_or_8_cas.c44 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;
H A Datomic_sub_16_cas.c44 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;
H A Datomic_sub_32_cas.c42 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;
H A Datomic_sub_64_cas.c44 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;
H A Datomic_sub_8_cas.c44 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;
H A Datomic_xor_16_cas.c44 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;
H A Datomic_xor_32_cas.c42 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;
H A Datomic_xor_64_cas.c44 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;
H A Datomic_xor_8_cas.c44 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/
H A Dfpsetmask.c25 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));
H A Dfpsetround.c25 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));
H A Dfpsetsticky.c25 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));
/src/lib/libform/
H A Dtype_alnum.c55 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 !
98 char *buf, *new; local in function:alnum_check_field
[all...]
H A Dtype_alpha.c57 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 !
100 char *buf, *new; local in function:alpha_check_field
[all...]

Completed in 7 milliseconds

1234567891011>>