/xen/xen/arch/arm/arm64/lib/ |
A D | find_next_bit.c | 24 unsigned long tmp; in find_next_bit() local 31 tmp = *(p++); in find_next_bit() 35 if (tmp) in find_next_bit() 48 tmp = *p; in find_next_bit() 77 tmp = *(p++); in find_next_zero_bit() 81 if (~tmp) in find_next_zero_bit() 94 tmp = *p; in find_next_zero_bit() 206 if (~tmp) in find_next_zero_bit_le() 252 if (tmp) in find_next_bit_le() 259 tmp = *(p++); in find_next_bit_le() [all …]
|
/xen/xen/common/ |
A D | rbtree.c | 130 if (tmp && rb_is_red(tmp)) { in rb_insert_color() 153 if (node == tmp) { in rb_insert_color() 168 if (tmp) in rb_insert_color() 187 if (tmp) in rb_insert_color() 193 if (tmp && rb_is_red(tmp)) { in rb_insert_color() 208 if (tmp) in rb_insert_color() 219 if (tmp) in rb_insert_color() 388 if (!tmp) { in rb_erase() 413 if (!tmp) { in rb_erase() 443 tmp = tmp->rb_left; in rb_erase() [all …]
|
A D | guestcopy.c | 12 char *tmp; in safe_copy_string_from_guest() local 18 tmp = xmalloc_array(char, size + 1); in safe_copy_string_from_guest() 19 if ( !tmp ) in safe_copy_string_from_guest() 22 if ( copy_from_guest(tmp, u_buf, size) ) in safe_copy_string_from_guest() 24 xfree(tmp); in safe_copy_string_from_guest() 27 tmp[size] = '\0'; in safe_copy_string_from_guest() 29 return tmp; in safe_copy_string_from_guest()
|
A D | lib.c | 160 union uu tmp; in __qdivrem() local 174 tmp.ul[H] = tmp.ul[L] = 1 / zero; in __qdivrem() 177 return (tmp.q); in __qdivrem() 201 tmp.uq = uq; in __qdivrem() 203 u[1] = HHALF(tmp.ul[H]); in __qdivrem() 204 u[2] = LHALF(tmp.ul[H]); in __qdivrem() 205 u[3] = HHALF(tmp.ul[L]); in __qdivrem() 207 tmp.uq = vq; in __qdivrem() 237 return (tmp.q); in __qdivrem() 346 *arq = tmp.q; in __qdivrem() [all …]
|
/xen/tools/libxl/ |
A D | libxlu_vif.c | 17 uint64_t tmp = 0; in vif_parse_rate_bytes_per_sec() local 30 if (tmp == 0 || tmp > UINT32_MAX || errno == ERANGE) { in vif_parse_rate_bytes_per_sec() 39 tmp *= 1000 * 1000; in vif_parse_rate_bytes_per_sec() 41 tmp *= 1000; in vif_parse_rate_bytes_per_sec() 43 tmp /= 8; in vif_parse_rate_bytes_per_sec() 45 *bytes_per_sec = tmp; in vif_parse_rate_bytes_per_sec() 56 uint64_t tmp = 0; in vif_parse_rate_interval_usecs() local 69 if (tmp == 0 || tmp > UINT32_MAX || errno == ERANGE) { in vif_parse_rate_interval_usecs() 76 tmp *= 1000 * 1000; in vif_parse_rate_interval_usecs() 78 tmp *= 1000; in vif_parse_rate_interval_usecs() [all …]
|
A D | libxl_vkb.c | 93 const char *be_path, *fe_path, *tmp; in libxl__vkb_from_xenstore() local 125 if (tmp) { in libxl__vkb_from_xenstore() 134 if (tmp) { in libxl__vkb_from_xenstore() 143 if (tmp) { in libxl__vkb_from_xenstore() 152 if (tmp) { in libxl__vkb_from_xenstore() 161 if (tmp) { in libxl__vkb_from_xenstore() 170 if (tmp) { in libxl__vkb_from_xenstore() 179 if (tmp) { in libxl__vkb_from_xenstore() 188 if (tmp) { in libxl__vkb_from_xenstore() 197 if (tmp) { in libxl__vkb_from_xenstore() [all …]
|
A D | libxl_vsnd.c | 96 const char *tmp; in libxl__params_from_xenstore() local 104 if (tmp) { in libxl__params_from_xenstore() 114 if (tmp) { in libxl__params_from_xenstore() 124 if (tmp) { in libxl__params_from_xenstore() 133 if (tmp) { in libxl__params_from_xenstore() 142 if (tmp) { in libxl__params_from_xenstore() 167 if (tmp) { in libxl__stream_from_xenstore() 206 if (tmp) { in libxl__pcm_from_xenstore() 218 } while (tmp); in libxl__pcm_from_xenstore() 268 if (tmp) { in libxl__vsnd_from_xenstore() [all …]
|
A D | libxl_flask.c | 33 char tmp[XC_PAGE_SIZE]; in libxl_flask_sid_to_context() local 35 rc = xc_flask_sid_to_context(ctx->xch, ssidref, tmp, sizeof(tmp)); in libxl_flask_sid_to_context() 38 *len = strlen(tmp); in libxl_flask_sid_to_context() 39 *buf = strdup(tmp); in libxl_flask_sid_to_context()
|
/xen/xen/include/asm-arm/arm64/ |
A D | atomic.h | 32 unsigned long tmp; in atomic_add() local 40 : "=&r" (result), "=&r" (tmp), "+Q" (v->counter) in atomic_add() 46 unsigned long tmp; in atomic_add_return() local 54 : "=&r" (result), "=&r" (tmp), "+Q" (v->counter) in atomic_add_return() 64 unsigned long tmp; in atomic_sub() local 72 : "=&r" (result), "=&r" (tmp), "+Q" (v->counter) in atomic_sub() 78 unsigned long tmp; in atomic_sub_return() local 86 : "=&r" (result), "=&r" (tmp), "+Q" (v->counter) in atomic_sub_return() 96 unsigned long tmp; in atomic_and() local 104 : "=&r" (result), "=&r" (tmp), "+Q" (v->counter) in atomic_and() [all …]
|
A D | page.h | 51 uint64_t par, tmp = READ_SYSREG64(PAR_EL1); in __va_to_par() local 56 WRITE_SYSREG64(tmp, PAR_EL1); in __va_to_par() 63 uint64_t par, tmp = READ_SYSREG64(PAR_EL1); in gva_to_ma_par() local 71 WRITE_SYSREG64(tmp, PAR_EL1); in gva_to_ma_par() 77 uint64_t par, tmp = READ_SYSREG64(PAR_EL1); in gva_to_ipa_par() local 85 WRITE_SYSREG64(tmp, PAR_EL1); in gva_to_ipa_par()
|
/xen/tools/include/xen-foreign/ |
A D | Makefile | 23 ./checker > tmp.size 24 diff -u reference.size tmp.size 25 rm tmp.size 28 $(PYTHON) $< $* $@.tmp $(filter %.h,$^) 31 rm $@.tmp 35 $(PYTHON) $< $* $@.tmp $(filter %.h,$^) 38 rm $@.tmp 42 $(PYTHON) $< $* $@.tmp $(filter %.h,$^) 45 rm $@.tmp 49 $(PYTHON) $< $* $@.tmp $(filter %.h,$^) [all …]
|
/xen/xen/include/asm-arm/arm32/ |
A D | atomic.h | 21 unsigned long tmp; in atomic_add() local 31 : "=&r" (result), "=&r" (tmp), "+Qo" (v->counter) in atomic_add() 38 unsigned long tmp; in atomic_add_return() local 50 : "=&r" (result), "=&r" (tmp), "+Qo" (v->counter) in atomic_add_return() 61 unsigned long tmp; in atomic_sub() local 71 : "=&r" (result), "=&r" (tmp), "+Qo" (v->counter) in atomic_sub() 78 unsigned long tmp; in atomic_sub_return() local 90 : "=&r" (result), "=&r" (tmp), "+Qo" (v->counter) in atomic_sub_return() 101 unsigned long tmp; in atomic_and() local 111 : "=&r" (result), "=&r" (tmp), "+Qo" (v->counter) in atomic_and() [all …]
|
A D | page.h | 67 uint64_t par, tmp; in __va_to_par() local 68 tmp = READ_CP64(PAR); in __va_to_par() 72 WRITE_CP64(tmp, PAR); in __va_to_par() 79 uint64_t par, tmp; in gva_to_ma_par() local 80 tmp = READ_CP64(PAR); in gva_to_ma_par() 87 WRITE_CP64(tmp, PAR); in gva_to_ma_par() 92 uint64_t par, tmp; in gva_to_ipa_par() local 93 tmp = READ_CP64(PAR); in gva_to_ipa_par() 100 WRITE_CP64(tmp, PAR); in gva_to_ipa_par()
|
/xen/xen/include/xen/libfdt/ |
A D | libfdt.h | 919 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32() local 920 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u32() 954 fdt64_t tmp = cpu_to_fdt64(val); in fdt_setprop_inplace_u64() local 955 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u64() 1030 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32() local 1031 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u32() 1036 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u64() 1192 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u32() 1227 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u64() 1334 return fdt_appendprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_appendprop_u32() [all …]
|
/xen/xen/include/asm-x86/x86_64/ |
A D | elf.h | 37 unsigned long tmp; in elf_core_save_regs() local 67 asm volatile("mov %%cr0, %0" : "=r" (tmp) : ); in elf_core_save_regs() 68 xen_core_regs->cr0 = tmp; in elf_core_save_regs() 70 asm volatile("mov %%cr2, %0" : "=r" (tmp) : ); in elf_core_save_regs() 71 xen_core_regs->cr2 = tmp; in elf_core_save_regs() 73 asm volatile("mov %%cr3, %0" : "=r" (tmp) : ); in elf_core_save_regs() 74 xen_core_regs->cr3 = tmp; in elf_core_save_regs() 76 asm volatile("mov %%cr4, %0" : "=r" (tmp) : ); in elf_core_save_regs() 77 xen_core_regs->cr4 = tmp; in elf_core_save_regs()
|
/xen/tools/xenstat/libxenstat/src/ |
A D | xenstat_solaris.c | 234 char *tmp; in collect_dom_networks() local 245 free(tmp); in collect_dom_networks() 249 if (tmp == NULL || tmp[0] == '\0') { in collect_dom_networks() 250 free(tmp); in collect_dom_networks() 255 free(tmp); in collect_dom_networks() 259 free(tmp); in collect_dom_networks() 341 char *tmp; in collect_dom_vbds() local 353 free(tmp); in collect_dom_vbds() 361 if (tmp == NULL || sscanf(tmp, "%d", &inst) != 1) { in collect_dom_vbds() 363 free(tmp); in collect_dom_vbds() [all …]
|
/xen/tools/tests/x86_emulator/ |
A D | simd-sha.c | 160 touch(tmp); in sha_test() 161 y = rol_c(tmp, 1); in sha_test() 163 touch(tmp); in sha_test() 164 y = rol_c(tmp, 1); in sha_test() 180 tmp = rol_c(hash, 30); in sha_test() 181 tmp[2] = tmp[1] = tmp[0] = 0; in sha_test() 241 tmp = (vec_t){}; in sha_test() 242 k = rol_c(SHA(1rnds4, tmp, tmp, 1), 2)[0]; in sha_test() 359 touch(tmp); in sha_test() 361 touch(tmp); in sha_test() [all …]
|
A D | testcase.mk | 14 $(LD) $(LDFLAGS_DIRECT) -N -Ttext 0x100000 -o $*.tmp $*.o 15 $(OBJCOPY) -O binary $*.tmp $@ 16 rm -f $*.tmp 20 $(LD) $(LDFLAGS_DIRECT) -N -Ttext 0x100000 -o $(basename $@).tmp $(basename $@).o 21 $(OBJCOPY) -O binary $(basename $@).tmp $@ 22 rm -f $(basename $@).tmp
|
/xen/tools/debugger/gdbsx/gx/ |
A D | gx_comm.c | 68 socklen_t tmp; in do_tcp() local 80 tmp = 1; in do_tcp() 81 setsockopt(sock_fd, SOL_SOCKET, SO_REUSEADDR, (char *)&tmp,sizeof(tmp)); in do_tcp() 96 tmp = sizeof(sockaddr); in do_tcp() 97 remote_fd = accept(sock_fd, (struct sockaddr *) &sockaddr, &tmp); in do_tcp() 105 tmp = 1; in do_tcp() 106 setsockopt(sock_fd, SOL_SOCKET, SO_KEEPALIVE, (char *)&tmp,sizeof(tmp)); in do_tcp() 110 tmp = 1; in do_tcp() 112 (char *)&tmp, sizeof(tmp)); in do_tcp()
|
/xen/scripts/ |
A D | git-checkout.sh | 15 rm -rf $DIR-remote $DIR-remote.tmp 16 mkdir -p $DIR-remote.tmp; rmdir $DIR-remote.tmp 17 $GIT clone $TREE $DIR-remote.tmp 19 cd $DIR-remote.tmp 24 mv $DIR-remote.tmp $DIR-remote
|
/xen/xen/arch/arm/platforms/ |
A D | brcm.c | 124 u32 tmp; in brcm_cpu_power_on() local 141 tmp = readl(pwr_ctl); in brcm_cpu_power_on() 142 tmp |= ZONE_PWR_UP_REQ; in brcm_cpu_power_on() 143 writel(tmp, pwr_ctl); in brcm_cpu_power_on() 150 tmp = readl(pwr_ctl); in brcm_cpu_power_on() 152 while ( !(tmp & ZONE_PWR_ON_STATE) ) in brcm_cpu_power_on() 158 tmp = readl(pwr_ctl); in brcm_cpu_power_on() 174 u32 tmp; in brcm_cpu_release() local 188 tmp = readl(reg); in brcm_cpu_release() 189 tmp &= ~(1 << cpu); in brcm_cpu_release() [all …]
|
/xen/stubdom/vtpmmgr/ |
A D | disk_crypto.c | 59 uint64_t tmp[2]; in aes_encrypt_ctr() local 73 aes_ctr_one(tmp, ctr, key_e); in aes_encrypt_ctr() 75 dst[0] = tmp[0] ^ src[0]; in aes_encrypt_ctr() 76 dst[1] = tmp[1] ^ src[1]; in aes_encrypt_ctr() 91 dtmp[0] = tmp[0] ^ stmp[0]; in aes_encrypt_ctr() 92 dtmp[1] = tmp[1] ^ stmp[1]; in aes_encrypt_ctr() 114 uint64_t tmp[2]; in aes_decrypt_ctr() local 129 dst[0] = tmp[0] ^ src[0]; in aes_decrypt_ctr() 130 dst[1] = tmp[1] ^ src[1]; in aes_decrypt_ctr() 144 dtmp[0] = tmp[0] ^ stmp[0]; in aes_decrypt_ctr() [all …]
|
/xen/xen/arch/arm/arm64/ |
A D | cache.S | 27 .macro dcache_line_size, reg, tmp 28 mrs \tmp, ctr_el0 // read CTR 29 ubfm \tmp, \tmp, #16, #19 // cache line size encoding 31 lsl \reg, \reg, \tmp // actual cache line size
|
/xen/tools/firmware/xen-dir/ |
A D | Makefile | 40 rm -f linkfarm.stamp.tmp 50 >> linkfarm.stamp.tmp ; ) \ 52 echo $(f) >> linkfarm.stamp.tmp ;) 53 cmp -s linkfarm.stamp.tmp linkfarm.stamp && \ 54 rm linkfarm.stamp.tmp || { \ 55 cat linkfarm.stamp.tmp | while read f; \ 57 mv linkfarm.stamp.tmp linkfarm.stamp; \
|
/xen/ |
A D | install.sh | 25 tmp="`mktemp -d`" 28 (cd $src; tar -cf - * ) | tar -C "$tmp" -xf - 30 (cd $tmp; tar -cf - *) | tar --no-same-owner -C "$dst" -xf - 31 rm -rf "$tmp"
|