/xen-4.10.0-shim-comet/xen/common/ |
A D | tasklet.c | 80 struct tasklet *t; in do_tasklet_work() local 88 BUG_ON(t->is_dead || t->is_running || (t->scheduled_on != cpu)); in do_tasklet_work() 90 t->is_running = 1; in do_tasklet_work() 94 t->func(t->data); in do_tasklet_work() 97 t->is_running = 0; in do_tasklet_work() 101 BUG_ON(t->is_dead || !list_empty(&t->list)); in do_tasklet_work() 161 BUG_ON(t->is_dead || t->is_running || (t->scheduled_on < 0)); in tasklet_kill() 166 t->is_dead = 1; in tasklet_kill() 200 memset(t, 0, sizeof(*t)); in tasklet_init() 203 t->func = func; in tasklet_init() [all …]
|
A D | lzo.c | 143 t = ip - ii; in lzo1x_1_do_compress() 311 size_t t = 0; in lzo1x_1_compress() local 320 t = lzo1x_1_do_compress(ip, ll, op, out_len, t, wrkmem); in lzo1x_1_compress() 325 t += l; in lzo1x_1_compress() 327 if (t > 0) { in lzo1x_1_compress() 420 t = *ip++; in lzo1x_decompress_safe() 441 if (likely(HAVE_IP(t + 15) && HAVE_OP(t + 15))) { in lzo1x_decompress_safe() 488 t = (t >> 5) - 1 + (3 - 1); in lzo1x_decompress_safe() 490 t = (t & 31) + (3 - 1); in lzo1x_decompress_safe() 515 t = (t & 7) + (3 - 1); in lzo1x_decompress_safe() [all …]
|
A D | timer.c | 73 heap[pos] = t; in down_heap() 89 heap[pos] = t; in up_heap() 131 heap[sz] = t; in add_to_heap() 163 *_pprev = t; in add_to_list() 436 ts->running = t; in execute_timer() 486 while ( ((t = ts->list) != NULL) && (t->expires < now) ) in timer_softirq_action() 499 add_entry(t); in timer_softirq_action() 529 (t->expires - now) / 1000, t, t->function, t->data); in dump_timer() 534 struct timer *t; in dump_timerq() local 550 for ( t = ts->list, j = 0; t != NULL; t = t->list_next, j++ ) in dump_timerq() [all …]
|
A D | vmap.c | 58 ASSERT((t >= VMAP_DEFAULT) && (t < VMAP_REGION_NR)); in vm_alloc() 59 if ( !vm_base[t] ) in vm_alloc() 67 ASSERT(vm_low[t] == vm_top[t] || !test_bit(vm_low[t], vm_bitmap(t))); in vm_alloc() 68 for ( start = vm_low[t]; start < vm_top[t]; ) in vm_alloc() 70 bit = find_next_bit(vm_bitmap(t), vm_top[t], start + 1); in vm_alloc() 82 start = find_next_zero_bit(vm_bitmap(t), vm_top[t], bit + 1); in vm_alloc() 97 if ( vm_top[t] >= vm_end[t] ) in vm_alloc() 108 unsigned long va = (unsigned long)vm_bitmap(t) + vm_top[t] / 8; in vm_alloc() 114 if ( vm_top[t] > vm_end[t] ) in vm_alloc() 115 vm_top[t] = vm_end[t]; in vm_alloc() [all …]
|
A D | lib.c | 226 q1 = u[1] / t; in __qdivrem() 228 q2 = rbj / t; in __qdivrem() 230 q3 = rbj / t; in __qdivrem() 232 q4 = rbj / t; in __qdivrem() 259 for (t = v[1]; t < B / 2; t <<= 1) in __qdivrem() 308 t = u[i + j] - v[i] * qhat - t; in __qdivrem() 310 t = (B - HHALF(t)) & (B - 1); in __qdivrem() 312 t = u[j] - t; in __qdivrem() 313 u[j] = LHALF(t); in __qdivrem() 320 if (HHALF(t)) { in __qdivrem() [all …]
|
A D | inflate.c | 495 *(t = &(q->v.t)) = (struct huft *)NULL; in huft_build() 574 p = t; in huft_free() 577 q = (--p)->v.t; in huft_free() 621 } while ((e = (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16); in inflate_codes() 622 DUMPBITS(t->b) in inflate_codes() 653 } while ((e = (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16); in inflate_codes() 654 DUMPBITS(t->b) in inflate_codes() 1054 t = (unsigned)b & 3; in inflate_block() 1063 if (t == 2) in inflate_block() 1065 if (t == 0) in inflate_block() [all …]
|
/xen-4.10.0-shim-comet/stubdom/vtpmmgr/ |
A D | marshal.h | 73 #define pack_BOOL(p, t) pack_BYTE(p, t) argument 74 #define unpack_BOOL(p, t) unpack_BYTE(p, t) argument 130 #define pack_TPM_RESULT(p, t) pack_UINT32(p, t) argument 131 #define pack_TPM_PCRINDEX(p, t) pack_UINT32(p, t) argument 132 #define pack_TPM_DIRINDEX(p, t) pack_UINT32(p, t) argument 133 #define pack_TPM_HANDLE(p, t) pack_UINT32(p, t) argument 209 #define sizeof_TPM_RESULT(t) sizeof_UINT32(t) argument 210 #define sizeof_TPM_PCRINDEX(t) sizeof_UINT32(t) argument 212 #define sizeof_TPM_HANDLE(t) sizeof_UINT32(t) argument 331 #define pack_TPM_TAG(p, t) pack_UINT16(p, t) argument [all …]
|
A D | tpm2_marshal.h | 96 #define pack_TPM_KEY_BITS(ptr, t) pack_UINT16(ptr, *t) argument 97 #define unpack_TPM_KEY_BITS(ptr, t) unpack_UINT16(ptr, t) argument 98 #define pack_TPMI_AES_KEY_BITS(ptr, t) pack_TPM_KEY_BITS(ptr, t) argument 100 #define pack_TPMI_RSA_KEY_BITS(ptr, t) pack_TPM_KEY_BITS(ptr, t) argument 104 #define pack_TPM_ALG_SYM(ptr, t) pack_TPM_ALG_ID(ptr, t) argument 105 #define unpack_TPM_ALG_SYM(ptr, t) unpack_TPM_ALG_ID(ptr, t) argument 108 #define pack_TPMI_ALG_SYM_OBJECT(ptr, t) pack_TPM_ALG_ID(ptr, t) argument 110 #define pack_TPMI_ALG_SYM_MODE(ptr, t) pack_TPM_ALG_ID(ptr, t) argument 112 #define pack_TPMI_ALG_KDF(ptr, t) pack_TPM_ALG_ID(ptr, t) argument 114 #define pack_TPMI_ALG_PUBLIC(ptr, t) pack_TPM_ALG_ID(ptr, t) argument [all …]
|
/xen-4.10.0-shim-comet/tools/ocaml/libs/xb/ |
A D | xb.mli | 36 type t = type 37 Packet.t = { 69 type t = { type 71 pkt_in : Packet.t Queue.t; 72 pkt_out : Packet.t Queue.t; 78 val queue : t -> Packet.t -> unit 86 val input : t -> bool 90 val close : t -> unit 91 val is_fd : t -> bool 97 val peek_output : t -> Packet.t [all …]
|
/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_xshelp.c | 82 xs_transaction_t t = XBT_NULL; in libxl__xs_writev_atonce() local 235 if (!xs_rm(CTX->xsh, t, path)) { in libxl__xs_rm_checked() 247 assert(!*t); in libxl__xs_transaction_start() 249 if (!*t) { in libxl__xs_transaction_start() 258 assert(*t); in libxl__xs_transaction_commit() 261 *t = 0; in libxl__xs_transaction_commit() 269 *t = 0; in libxl__xs_transaction_commit() 275 if (!*t) in libxl__xs_transaction_abort() 281 *t = 0; in libxl__xs_transaction_abort() 292 assert(user_path && t); in libxl__xs_path_cleanup() [all …]
|
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/ |
A D | transaction.ml | 80 type t = { type 84 quota: Quota.t; 137 let get_store t = t.store 138 let get_paths t = t.paths 140 let is_read_only t = t.paths = [] 141 let add_wop t ty path = t.paths <- (ty, path) :: t.paths 147 t.operations <- (request, response) :: t.operations 148 let get_operations t = List.rev t.operations 149 let set_read_lowpath t path = t.read_lowpath <- get_lowest path t.read_lowpath 150 let set_write_lowpath t path = t.write_lowpath <- get_lowest path t.write_lowpath [all …]
|
A D | trie.mli | 18 type ('a, 'b) t type 27 (** [mem t k] returns true if a value is associated with the key [k] in the trie [t]. 31 (** [find t k] returns the value associated with the key [k] in the trie [t]. 34 val set : ('a, 'b) t -> 'a list -> 'b -> ('a, 'b) t 35 (** [set t k v] associates the value [v] with the key [k] in the trie [t]. *) 37 val unset : ('a, 'b) t -> 'a list -> ('a, 'b) t 43 (** [iter f t] applies the function [f] to every node of the trie [t]. 52 (** [fold f t x] fold [f] over every nodes of [t], with [x] as initial value. *) 54 val map : ('b -> 'c option) -> ('a,'b) t -> ('a,'c) t 58 val sub : ('a, 'b) t -> 'a list -> ('a,'b) t [all …]
|
A D | process.ml | 70 let create_implicit_path t perm path = 86 let do_debug con t domains cons data = 115 let do_read con t domains cons data = 149 let do_rm con t domains cons data = 203 fct con t doms cons data; 214 match fct con t doms cons data with 220 fct con t doms cons data 292 match t.Transaction.ty with 388 History.end_transaction t con (Transaction.get_id t) commit in 393 match t.Transaction.ty with [all …]
|
A D | trie.ml | 18 type ('a,'b) t = { type 21 children: ('a,'b) t list; 53 type ('a,'b) t = ('a,'b) Node.t list type 106 | h::t -> 110 if t = [] 126 | h::t -> 129 if t = [] 131 else mem node.Node.children t) 155 | h::t -> 167 | h::t -> [all …]
|
/xen-4.10.0-shim-comet/tools/tests/xenstore/ |
A D | xs-test.c | 276 xs_transaction_t t; in test_ta1() local 303 xs_transaction_t t; in test_ta2() local 361 xs_transaction_t t; in test_ta3() local 367 if ( t == XBT_NULL ) in test_ta3() 424 xs_transaction_t t; in cleanup() local 480 for ( t = 0; t < ARRAY_SIZE(tests); t++ ) in main() 481 printf("%-10s: %s\n", tests[t].name, tests[t].descr); in main() 486 for ( t = 0; t < WRITE_BUFFERS_N; t++ ) in main() 488 memset(write_buffers[t], 'a' + t, WRITE_BUFFERS_SIZE); in main() 489 asprintf(&paths[t], "%s/%c", path, 'a' + t); in main() [all …]
|
/xen-4.10.0-shim-comet/tools/libfsimage/zfs/ |
A D | zfs_sha256.c | 73 uint32_t a, b, c, d, e, f, g, h, t, T1, T2, W[64]; in SHA256Transform() local 75 for (t = 0; t < 16; t++, cp += 4) in SHA256Transform() 76 W[t] = (cp[0] << 24) | (cp[1] << 16) | (cp[2] << 8) | cp[3]; in SHA256Transform() 78 for (t = 16; t < 64; t++) in SHA256Transform() 79 W[t] = sigma1(W[t - 2]) + W[t - 7] + in SHA256Transform() 80 sigma0(W[t - 15]) + W[t - 16]; in SHA256Transform() 85 for (t = 0; t < 64; t++) { in SHA256Transform() 86 T1 = h + SIGMA1(e) + Ch(e, f, g) + SHA256_K[t] + W[t]; in SHA256Transform()
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | flushtlb.c | 35 u32 t, t1, t2; in pre_flush() local 37 t = tlbflush_clock; in pre_flush() 39 t1 = t2 = t; in pre_flush() 43 t2 = (t + 1) & WRAP_MASK; in pre_flush() 67 static void post_flush(u32 t) in post_flush() argument 69 this_cpu(tlbflush_time) = t; in post_flush() 75 u32 t; in write_cr3() local 80 t = pre_flush(); in write_cr3() 88 post_flush(t); in write_cr3() 121 u32 t = pre_flush(); in flush_area_local() local [all …]
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | grant_table.h | 51 #define gnttab_create_shared_page(d, t, i) \ argument 54 virt_to_page((char *)(t)->shared_raw[i]), \ 58 #define gnttab_create_status_page(d, t, i) \ argument 66 #define gnttab_shared_mfn(d, t, i) \ argument 67 ((virt_to_maddr((t)->shared_raw[i]) >> PAGE_SHIFT)) 69 #define gnttab_shared_gmfn(d, t, i) \ argument 70 (mfn_to_gmfn(d, gnttab_shared_mfn(d, t, i))) 73 #define gnttab_status_mfn(t, i) \ argument 74 ((virt_to_maddr((t)->status[i]) >> PAGE_SHIFT)) 76 #define gnttab_status_gmfn(d, t, i) \ argument [all …]
|
A D | p2m.h | 180 #define p2m_allows_invalid_mfn(t) (p2m_to_mask(t) & P2M_INVALID_MFN_TYPES) argument 438 #define get_gfn(d, g, t) get_gfn_type((d), (g), (t), P2M_ALLOC) argument 439 #define get_gfn_query(d, g, t) get_gfn_type((d), (g), (t), 0) argument 440 #define get_gfn_unshare(d, g, t) get_gfn_type((d), (g), (t), \ argument 464 p2m_type_t *t) in get_gfn_query_unlocked() argument 488 if ( t ) in get_page_from_gfn() 531 dest ## _t = (source ## t) ?: &scratch_t; \ in get_two_gfns() 576 p2m_type_t t); 753 if ( !recalc || !p2m_is_changeable(t) ) in p2m_recalc_type_range() 754 return t; in p2m_recalc_type_range() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/arm/ |
A D | vtimer.c | 50 vgic_vcpu_inject_irq(t->v, t->irq); in phys_timer_expired() 60 vgic_vcpu_inject_irq(t->v, t->irq); in virt_timer_expired() 110 init_timer(&t->timer, phys_timer_expired, t, v->processor); in vcpu_vtimer_init() 111 t->ctl = 0; in vcpu_vtimer_init() 112 t->cval = NOW(); in vcpu_vtimer_init() 113 t->irq = d0 in vcpu_vtimer_init() 116 t->v = v; in vcpu_vtimer_init() 119 init_timer(&t->timer, virt_timer_expired, t, v->processor); in vcpu_vtimer_init() 120 t->ctl = 0; in vcpu_vtimer_init() 121 t->irq = d0 in vcpu_vtimer_init() [all …]
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/ |
A D | grant_table.h | 23 #define gnttab_create_status_page(d, t, i) do {} while (0) argument 24 #define gnttab_status_gmfn(d, t, i) (0) argument 60 #define gnttab_create_shared_page(d, t, i) \ argument 63 virt_to_page((char *)(t)->shared_raw[i]), \ 67 #define gnttab_shared_gmfn(d, t, i) \ argument 68 ( ((i >= nr_grant_frames(t)) && \ 69 (i < (t)->max_grant_frames))? 0 : gfn_x((t)->arch.gfn[i]))
|
/xen-4.10.0-shim-comet/xen/include/public/hvm/ |
A D | save.h | 68 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[2];}; \ 69 struct __HVM_SAVE_TYPE_COMPAT_##_x { _ctype t; } 75 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[1];}; \ 76 struct __HVM_SAVE_TYPE_COMPAT_##_x { _type t; } 79 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[2];} 82 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[1];} 85 #define HVM_SAVE_TYPE(_x) typeof (((struct __HVM_SAVE_TYPE_##_x *)(0))->t) 90 # define HVM_SAVE_TYPE_COMPAT(_x) typeof (((struct __HVM_SAVE_TYPE_COMPAT_##_x *)(0))->t)
|
/xen-4.10.0-shim-comet/tools/xenstore/include/ |
A D | xenstore.h | 107 char **xs_directory(struct xs_handle *h, xs_transaction_t t, 114 void *xs_read(struct xs_handle *h, xs_transaction_t t, 120 bool xs_write(struct xs_handle *h, xs_transaction_t t, 126 bool xs_mkdir(struct xs_handle *h, xs_transaction_t t, 132 bool xs_rm(struct xs_handle *h, xs_transaction_t t, 139 xs_transaction_t t, 168 bool xs_set_permissions(struct xs_handle *h, xs_transaction_t t, 220 bool xs_transaction_end(struct xs_handle *h, xs_transaction_t t,
|
/xen-4.10.0-shim-comet/tools/misc/ |
A D | xenwatchdogd.c | 55 int t, s; in main() local 67 t = strtoul(argv[1], NULL, 0); in main() 68 if (t == ULONG_MAX) in main() 71 s = t / 2; in main() 89 id = xc_watchdog(h, 0, t); in main() 95 ret = xc_watchdog(h, id, t); in main()
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | tasklet.h | 53 void tasklet_schedule_on_cpu(struct tasklet *t, unsigned int cpu); 54 void tasklet_schedule(struct tasklet *t); 56 void tasklet_kill(struct tasklet *t); 58 struct tasklet *t, void (*func)(unsigned long), unsigned long data); 60 struct tasklet *t, void (*func)(unsigned long), unsigned long data);
|