Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 264) sorted by relevance

1234567891011

/xen/xen/common/
A Dtasklet.c80 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()
165 BUG_ON(t->is_dead || t->is_running || (t->scheduled_on < 0)); in tasklet_kill()
170 t->is_dead = 1; in tasklet_kill()
204 memset(t, 0, sizeof(*t)); in tasklet_init()
207 t->func = func; in tasklet_init()
[all …]
A Dlzo.c144 size_t t, next; in lzo1x_decompress_safe() local
157 if (t < 4) { in lzo1x_decompress_safe()
158 next = t; in lzo1x_decompress_safe()
165 t = *ip++; in lzo1x_decompress_safe()
166 if (t < 16) { in lzo1x_decompress_safe()
186 if (likely(HAVE_IP(t + 15) && HAVE_OP(t + 15))) { in lzo1x_decompress_safe()
233 t = (t >> 5) - 1 + (3 - 1); in lzo1x_decompress_safe()
235 t = (t & 31) + (3 - 1); in lzo1x_decompress_safe()
260 t = (t & 7) + (3 - 1); in lzo1x_decompress_safe()
327 t = next; in lzo1x_decompress_safe()
[all …]
A Dtimer.c83 heap[pos] = t; in down_heap()
99 heap[pos] = t; in up_heap()
141 heap[sz] = t; in add_to_heap()
173 *_pprev = t; in add_to_list()
445 ts->running = t; in execute_timer()
503 while ( ((t = ts->list) != NULL) && (t->expires < now) ) in timer_softirq_action()
516 add_entry(t); in timer_softirq_action()
546 (t->expires - now) / 1000, t, t->function, t->data); in dump_timer()
551 struct timer *t; in dump_timerq() local
567 for ( t = ts->list; t != NULL; t = t->list_next ) in dump_timerq()
[all …]
A Dvmap.c58 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 Dlib.c226 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 Dinflate.c495 *(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/stubdom/vtpmmgr/
A Dmarshal.h73 #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 Dtpm2_marshal.h96 #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/tools/ocaml/libs/xb/
A Dxb.mli36 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 …]
A Dpacket.mli1 type t = { tid : int; rid : int; ty : Op.operation; data : string; } type
6 val create : int -> int -> Op.operation -> string -> t
7 val of_partialpkt : Partial.pkt -> t
8 val to_string : t -> string
9 val unpack : t -> int * int * Op.operation * string
10 val get_tid : t -> int
11 val get_ty : t -> Op.operation
12 val get_data : t -> string
13 val get_rid : t -> int
/xen/tools/libxl/
A Dlibxl_xshelp.c82 xs_transaction_t t = XBT_NULL; in libxl__xs_writev_atonce() local
233 if (!xs_rm(CTX->xsh, t, path)) { in libxl__xs_rm_checked()
245 assert(!*t); in libxl__xs_transaction_start()
247 if (!*t) { in libxl__xs_transaction_start()
256 assert(*t); in libxl__xs_transaction_commit()
259 *t = 0; in libxl__xs_transaction_commit()
267 *t = 0; in libxl__xs_transaction_commit()
273 if (!*t) in libxl__xs_transaction_abort()
279 *t = 0; in libxl__xs_transaction_abort()
290 assert(user_path && t); in libxl__xs_path_cleanup()
[all …]
/xen/tools/ocaml/xenstored/
A Dtransaction.ml80 type t = { type
139 let get_store t = t.store
140 let get_paths t = t.paths
142 let get_root t = Store.get_root t.store
144 let is_read_only t = t.paths = []
145 let add_wop t ty path = t.paths <- (ty, path) :: t.paths
151 t.operations <- (request, response) :: t.operations
152 let get_operations t = List.rev t.operations
153 let set_read_lowpath t path = t.read_lowpath <- get_lowest path t.read_lowpath
154 let set_write_lowpath t path = t.write_lowpath <- get_lowest path t.write_lowpath
[all …]
A Dtrie.mli18 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 Dprocess.ml59 let process_watch t cons =
72 let create_implicit_path t perm path =
207 fct con t doms cons data;
210 process_watch t cons
218 match fct con t doms cons data with
224 fct con t doms cons data
296 match t.Transaction.ty with
395 History.end_transaction t con (Transaction.get_id t) commit in
399 process_watch t cons;
400 match t.Transaction.ty with
[all …]
/xen/tools/tests/cpu-policy/
A Dtest-cpu-policy.c61 unsigned int vendor = x86_cpuid_lookup_vendor(t->b, t->c, t->d); in test_vendor_identification()
65 t->ident, t->vendor, vendor); in test_vendor_identification()
216 t->name, t->nr_leaves, nr); in test_cpuid_serialise_success()
269 t->name, t->nr_msrs, nr); in test_msr_serialise_success()
345 if ( err_leaf != t->leaf.leaf || err_subleaf != t->leaf.subleaf ) in test_cpuid_deserialise_failure()
348 t->name, t->leaf.leaf, t->leaf.subleaf, in test_cpuid_deserialise_failure()
398 t->name, t->rc, rc); in test_msr_deserialise_failure()
405 t->name, t->msr.idx, err_msr); in test_msr_deserialise_failure()
550 t->name, t->nr_markers, nr_markers); in test_cpuid_out_of_range_clearing()
651 if ( res == 0 || memcmp(&t->e, &e, sizeof(t->e)) ) in test_is_compatible_failure()
[all …]
/xen/tools/tests/xenstore/
A Dxs-test.c277 xs_transaction_t t; in test_ta1() local
304 xs_transaction_t t; in test_ta2() local
362 xs_transaction_t t; in test_ta3() local
368 if ( t == XBT_NULL ) in test_ta3()
425 xs_transaction_t t; in cleanup() local
481 for ( t = 0; t < ARRAY_SIZE(tests); t++ ) in main()
482 printf("%-10s: %s\n", tests[t].name, tests[t].descr); in main()
487 for ( t = 0; t < WRITE_BUFFERS_N; t++ ) in main()
489 memset(write_buffers[t], 'a' + t, WRITE_BUFFERS_SIZE); in main()
490 asprintf(&paths[t], "%s/%c", path, 'a' + t); in main()
[all …]
/xen/tools/libfsimage/zfs/
A Dzfs_sha256.c73 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/xen/arch/x86/
A Dflushtlb.c49 u32 t, t1, t2; in pre_flush() local
51 t = tlbflush_clock; in pre_flush()
53 t1 = t2 = t; in pre_flush()
57 t2 = (t + 1) & WRAP_MASK; in pre_flush()
81 static void post_flush(u32 t) in post_flush() argument
89 u32 t = 0; in do_tlb_flush() local
95 t = pre_flush(); in do_tlb_flush()
108 post_flush(t); in do_tlb_flush()
116 u32 t = 0; in switch_cr3_cr4() local
125 t = pre_flush(); in switch_cr3_cr4()
[all …]
/xen/xen/arch/arm/
A Dvtimer.c44 struct vtimer *t = data; in phys_timer_expired() local
49 vgic_inject_irq(t->v->domain, t->v, t->irq, true); in phys_timer_expired()
59 vgic_inject_irq(t->v->domain, t->v, t->irq, true); in virt_timer_expired()
108 init_timer(&t->timer, phys_timer_expired, t, v->processor); in vcpu_vtimer_init()
109 t->ctl = 0; in vcpu_vtimer_init()
110 t->irq = d0 in vcpu_vtimer_init()
113 t->v = v; in vcpu_vtimer_init()
116 init_timer(&t->timer, virt_timer_expired, t, v->processor); in vcpu_vtimer_init()
117 t->ctl = 0; in vcpu_vtimer_init()
118 t->irq = d0 in vcpu_vtimer_init()
[all …]
/xen/xen/include/xen/
A Dtasklet.h53 static inline bool tasklet_is_scheduled(const struct tasklet *t) in tasklet_is_scheduled() argument
55 return t->scheduled_on != -1; in tasklet_is_scheduled()
58 void tasklet_schedule_on_cpu(struct tasklet *t, unsigned int cpu);
59 void tasklet_schedule(struct tasklet *t);
61 void tasklet_kill(struct tasklet *t);
62 void tasklet_init(struct tasklet *t, void (*func)(void *), void *data);
63 void softirq_tasklet_init(struct tasklet *t, void (*func)(void *), void *data);
/xen/xen/include/public/hvm/
A Dsave.h68 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/xen/include/asm-x86/
A Dgrant_table.h48 #define gnttab_shared_mfn(t, i) _mfn(__virt_to_mfn((t)->shared_raw[i])) argument
50 #define gnttab_shared_gfn(d, t, i) mfn_to_gfn(d, gnttab_shared_mfn(t, i)) argument
52 #define gnttab_status_mfn(t, i) _mfn(__virt_to_mfn((t)->status[i])) argument
54 #define gnttab_status_gfn(d, t, i) mfn_to_gfn(d, gnttab_status_mfn(t, i)) argument
A Dp2m.h179 #define p2m_allows_invalid_mfn(t) (p2m_to_mask(t) & P2M_INVALID_MFN_TYPES) argument
448 #define get_gfn(d, g, t) get_gfn_type((d), (g), (t), P2M_ALLOC) argument
449 #define get_gfn_query(d, g, t) get_gfn_type((d), (g), (t), 0) argument
450 #define get_gfn_unshare(d, g, t) get_gfn_type((d), (g), (t), \ argument
474 p2m_type_t *t) in get_gfn_query_unlocked() argument
498 if ( t ) in get_page_from_gfn()
552 dest ## _t = (source ## t) ?: &scratch_t; \ in get_two_gfns()
598 p2m_type_t t);
809 if ( !recalc || !p2m_is_changeable(t) ) in p2m_recalc_type_range()
810 return t; in p2m_recalc_type_range()
[all …]
/xen/tools/xenstore/include/
A Dxenstore.h108 char **xs_directory(struct xs_handle *h, xs_transaction_t t,
116 void *xs_read(struct xs_handle *h, xs_transaction_t t,
122 bool xs_write(struct xs_handle *h, xs_transaction_t t,
128 bool xs_mkdir(struct xs_handle *h, xs_transaction_t t,
134 bool xs_rm(struct xs_handle *h, xs_transaction_t t,
146 xs_transaction_t t,
175 bool xs_set_permissions(struct xs_handle *h, xs_transaction_t t,
228 bool xs_transaction_end(struct xs_handle *h, xs_transaction_t t,
/xen/tools/tests/x86_emulator/
A Dpredicates.c611 unsigned int t; in predicates_test() local
619 for ( t = 0; t < ARRAY_SIZE(legacy); ++t ) in predicates_test()
621 if ( !legacy[t].len[m] ) in predicates_test()
624 assert(!legacy[t].pfx); in predicates_test()
627 memcpy(instr, legacy[t].opc, legacy[t].len[m]); in predicates_test()
629 do_test(instr, legacy[t].len[m], legacy[t].modrm, legacy[t].mem, in predicates_test()
633 for ( t = 0; t < ARRAY_SIZE(legacy_0f); ++t ) in predicates_test()
641 if ( legacy_0f[t].pfx ) in predicates_test()
644 memcpy(ptr, legacy_0f[t].opc, legacy_0f[t].len[m]); in predicates_test()
651 for ( t = 0; t < ARRAY_SIZE(legacy_0f38); ++t ) in predicates_test()
[all …]

Completed in 55 milliseconds

1234567891011