| /OK3568_Linux_fs/external/xserver/hw/xquartz/xpr/ |
| H A D | x-list.h | 43 #ifndef X_PFX 44 #define X_PFX(x) x_ ## x macro 51 X_EXTERN void X_PFX(list_free_1) (x_list * node); 52 X_EXTERN x_list *X_PFX(list_prepend) (x_list * lst, void *data); 54 X_EXTERN x_list *X_PFX(list_append) (x_list * lst, void *data); 55 X_EXTERN x_list *X_PFX(list_remove) (x_list * lst, void *data); 56 X_EXTERN void X_PFX(list_free) (x_list * lst); 57 X_EXTERN x_list *X_PFX(list_pop) (x_list * lst, void **data_ret); 59 X_EXTERN x_list *X_PFX(list_copy) (x_list * lst); 60 X_EXTERN x_list *X_PFX(list_reverse) (x_list * lst); [all …]
|
| H A D | x-list.c | 61 X_PFX(list_free_1) (x_list * node) { in X_PFX() function 72 X_PFX(list_free) (x_list * lst) { in X_PFX() function 86 X_PFX(list_prepend) (x_list * lst, void *data) { in X_PFX() function 117 X_PFX(list_append) (x_list * lst, void *data) { in X_PFX() function 121 return X_PFX(list_prepend) (NULL, data); in X_PFX() 126 lst->next = X_PFX(list_prepend) (NULL, data); in X_PFX() 132 X_PFX(list_reverse) (x_list * lst) { in X_PFX() function 147 X_PFX(list_find) (x_list * lst, void *data) { in X_PFX() function 157 X_PFX(list_nth) (x_list * lst, int n) { in X_PFX() function 165 X_PFX(list_pop) (x_list * lst, void **data_ret) { in X_PFX() function [all …]
|
| H A D | x-hash.h | 47 X_EXTERN x_hash_table *X_PFX(hash_table_new) (x_hash_fun * hash, 51 X_EXTERN void X_PFX(hash_table_free) (x_hash_table * h); 53 X_EXTERN unsigned int X_PFX(hash_table_size) (x_hash_table * h); 55 X_EXTERN void X_PFX(hash_table_insert) (x_hash_table * h, void *k, void *v); 56 X_EXTERN void X_PFX(hash_table_replace) (x_hash_table * h, void *k, void *v); 57 X_EXTERN void X_PFX(hash_table_remove) (x_hash_table * h, void *k); 58 X_EXTERN void *X_PFX(hash_table_lookup) (x_hash_table * h, 60 X_EXTERN void X_PFX(hash_table_foreach) (x_hash_table * h, 68 X_PFX(cvt_uint_to_vptr) (unsigned int val) __attribute__((always_inline)); 70 X_PFX(cvt_vptr_to_uint) (void * val) __attribute__((always_inline)); [all …]
|
| H A D | x-hook.c | 40 #define CELL_NEW(f, d) X_PFX(list_prepend) ((x_list *)(f), (d)) 41 #define CELL_FREE(c) X_PFX(list_free_1) (c) 46 X_PFX(hook_add) (x_list * lst, x_hook_function * fun, void *data) { in X_PFX() function 47 return X_PFX(list_prepend) (lst, CELL_NEW(fun, data)); in X_PFX() 51 X_PFX(hook_remove) (x_list * lst, x_hook_function * fun, void *data) { in X_PFX() function 58 to_delete = X_PFX(list_prepend) (to_delete, cell); in X_PFX() 63 lst = X_PFX(list_remove) (lst, cell); in X_PFX() 67 X_PFX(list_free) (to_delete); in X_PFX() 72 X_PFX(hook_run) (x_list * lst, void *arg) { in X_PFX() function 89 X_PFX(hook_free) (x_list * lst) { in X_PFX() function [all …]
|
| H A D | x-hash.c | 53 #define ITEM_NEW(k, v) X_PFX(list_prepend) ((x_list *)(k), v) 54 #define ITEM_FREE(i) X_PFX(list_free_1) (i) 146 X_PFX(hash_table_new) (x_hash_fun * hash, in X_PFX() function 173 X_PFX(hash_table_free) (x_hash_table * h) { in X_PFX() function 187 X_PFX(list_free) (h->buckets[i]); in X_PFX() 195 X_PFX(hash_table_size) (x_hash_table * h) { in X_PFX() function 238 h->buckets[hash_value] = X_PFX(list_prepend) (h->buckets[hash_value], in hash_table_modify() 244 X_PFX(hash_table_insert) (x_hash_table * h, void *k, void *v) { in X_PFX() function 249 X_PFX(hash_table_replace) (x_hash_table * h, void *k, void *v) { in X_PFX() function 254 X_PFX(hash_table_remove) (x_hash_table * h, void *k) { in X_PFX() function [all …]
|
| H A D | x-hook.h | 38 X_EXTERN x_list *X_PFX(hook_add) (x_list * lst, x_hook_function * fun, 40 X_EXTERN x_list *X_PFX(hook_remove) (x_list * lst, x_hook_function * fun, 42 X_EXTERN void X_PFX(hook_run) (x_list * lst, void *arg); 43 X_EXTERN void X_PFX(hook_free) (x_list * lst);
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kvm/ |
| H A D | book3s_xive_template.c | 14 static void GLUE(X_PFX,ack_pending)(struct kvmppc_xive_vcpu *xc) in GLUE() argument 57 static u8 GLUE(X_PFX,esb_load)(struct xive_irq_data *xd, u32 offset) in GLUE() argument 75 static void GLUE(X_PFX,source_eoi)(u32 hw_irq, struct xive_irq_data *xd) in GLUE() argument 101 eoi_val = GLUE(X_PFX,esb_load)(xd, XIVE_ESB_SET_PQ_00); in GLUE() 115 static u32 GLUE(X_PFX,scan_interrupts)(struct kvmppc_xive_vcpu *xc, in GLUE() argument 178 GLUE(X_PFX,source_eoi)(xc->vp_ipi, in GLUE() 272 X_STATIC unsigned long GLUE(X_PFX,h_xirr)(struct kvm_vcpu *vcpu) in GLUE() argument 283 GLUE(X_PFX,ack_pending)(xc); in GLUE() local 292 hirq = GLUE(X_PFX,scan_interrupts)(xc, xc->pending, scan_fetch); in GLUE() 323 X_STATIC unsigned long GLUE(X_PFX,h_ipoll)(struct kvm_vcpu *vcpu, unsigned long server) in GLUE() argument [all …]
|
| H A D | book3s_hv_rm_xive.c | 36 #define X_PFX xive_rm_ macro
|
| H A D | book3s_xive.c | 42 #define X_PFX xive_vm_ macro
|