Home
last modified time | relevance | path

Searched refs:n (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/xen/xen/xsm/flask/ss/
A Debitmap.h46 for ( *n = e->node; *n; *n = (*n)->next ) in ebitmap_start_positive()
50 return (*n)->startbit + ofs; in ebitmap_start_positive()
66 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1); in ebitmap_next_positive()
68 return ofs + (*n)->startbit; in ebitmap_next_positive()
70 for ( *n = (*n)->next; *n; *n = (*n)->next ) in ebitmap_next_positive()
74 return ofs + (*n)->startbit; in ebitmap_next_positive()
88 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit); in ebitmap_node_get_bit()
91 if ( (n->maps[index] & (EBITMAP_BIT << ofs)) ) in ebitmap_node_get_bit()
103 n->maps[index] |= (EBITMAP_BIT << ofs); in ebitmap_node_set_bit()
113 n->maps[index] &= ~(EBITMAP_BIT << ofs); in ebitmap_node_clr_bit()
[all …]
A Debitmap.c49 n = src->node; in ebitmap_cpy()
51 while ( n ) in ebitmap_cpy()
67 n = n->next; in ebitmap_cpy()
114 n = e->node; in ebitmap_get_bit()
115 while ( n && (n->startbit <= bit) ) in ebitmap_get_bit()
119 n = n->next; in ebitmap_get_bit()
131 while ( n && n->startbit <= bit ) in ebitmap_set_bit()
172 n = n->next; in ebitmap_set_bit()
185 if ( !n ) in ebitmap_set_bit()
211 while ( n ) in ebitmap_destroy()
[all …]
/xen/xen/arch/x86/
A Dusercopy.c45 : "[aux]" (n) in __copy_to_user_ll()
49 return n; in __copy_to_user_ll()
90 : "[aux]" (n) in __copy_from_user_ll()
94 return n; in __copy_from_user_ll()
112 if ( access_ok(to, n) ) in copy_to_user()
113 n = __copy_to_user(to, from, n); in copy_to_user()
114 return n; in copy_to_user()
149 return n; in clear_user()
171 n = __copy_from_user(to, from, n); in copy_from_user()
173 memset(to, 0, n); in copy_from_user()
[all …]
A Dstring.c10 void *(memcpy)(void *dest, const void *src, size_t n)
19 : "0" (n/BYTES_PER_LONG), "r" (n%BYTES_PER_LONG), "1" (dest), "2" (src)
25 void *(memset)(void *s, int c, size_t n)
32 : "a" (c), "1" (s), "0" (n)
38 void *(memmove)(void *dest, const void *src, size_t n)
42 if ( unlikely(!n) )
46 return memcpy(dest, src, n);
53 : "0" (n), "1" (n-1+(const char *)src), "2" (n-1+(char *)dest)
/xen/xen/include/xen/
A Dlist.h473 pos = n, n = pos->next)
484 pos = n, n = pos->prev )
560 pos = n, n = list_entry(n->member.next, typeof(*n), member))
576 pos = n, n = list_entry(n->member.next, typeof(*n), member))
591 pos = n, n = list_entry(n->member.next, typeof(*n), member))
607 pos = n, n = list_entry(n->member.prev, typeof(*n), member))
643 pos = n)
828 *(n->pprev) = n; in hlist_add_before()
867 *(n->pprev) = n; in hlist_add_before_rcu()
895 if (n->next) in hlist_add_after_rcu()
[all …]
A Dhash.h33 n <<= 18; in hash_long()
34 hash -= n; in hash_long()
35 n <<= 33; in hash_long()
36 hash -= n; in hash_long()
37 n <<= 3; in hash_long()
38 hash += n; in hash_long()
39 n <<= 3; in hash_long()
40 hash -= n; in hash_long()
41 n <<= 4; in hash_long()
42 hash += n; in hash_long()
[all …]
A Dtypesafe.h24 static inline _name##_t _##_name(_type n) { return (_name##_t) { n }; } \
25 static inline _type _name##_x(_name##_t n) { return n._name; }
31 static inline _name##_t _##_name(_type n) { return n; } \
32 static inline _type _name##_x(_name##_t n) { return n; }
A Dstring.h35 #define strncmp(s1, s2, n) __builtin_strncmp(s1, s2, n) argument
86 #define memset(s, c, n) __builtin_memset(s, c, n) argument
91 #define memcpy(d, s, n) __builtin_memcpy(d, s, n) argument
96 #define memmove(d, s, n) __builtin_memmove(d, s, n) argument
101 #define memcmp(s1, s2, n) __builtin_memcmp(s1, s2, n) argument
106 #define memchr(s, c, n) __builtin_memchr(s, c, n) argument
A Dcompat.h134 #define CHECK_NAME_(k, n, tag) __check ## tag ## k ## _ ## n argument
143 #define CHECK_TYPE_(k, n) \ argument
145 CHECK_NAME_(k, n, T)(k xen_ ## n *x, \
146 k compat_ ## n *c) \
154 #define CHECK_SIZE_(k, n) \ argument
155 typedef int CHECK_NAME_(k, n, S)[1 - (sizeof(k xen_ ## n) != \
166 static inline int __maybe_unused name(k xen_ ## n *x, k compat_ ## n *c) \
175 #define CHECK_FIELD_(k, n, f) \ argument
176 CHECK_FIELD_COMMON_(k, CHECK_NAME_(k, n ## __ ## f, F), n, f)
180 #define CHECK_SUBFIELD_1_(k, n, f1, f2) \ argument
[all …]
/xen/xen/common/
A Dversion.c95 ASSERT(n_sz > sizeof(*n)); in xen_build_id_check()
97 if ( NT_GNU_BUILD_ID != n->type ) in xen_build_id_check()
100 if ( n->namesz + n->descsz < n->namesz ) in xen_build_id_check()
103 if ( n->namesz < 4 /* GNU\0 */) in xen_build_id_check()
106 if ( n->namesz + n->descsz > n_sz - sizeof(*n) ) in xen_build_id_check()
110 if ( strncmp(ELFNOTE_NAME(n), "GNU", n->namesz) != 0 ) in xen_build_id_check()
114 *len = n->descsz; in xen_build_id_check()
116 *p = ELFNOTE_DESC(n); in xen_build_id_check()
150 if ( __note_gnu_build_id_end <= &n[0] ) in xen_build_init()
154 if ( &n[1] >= __note_gnu_build_id_end ) in xen_build_init()
[all …]
A Dinflate.c230 #define NEEDBITS(n) {while(k<(n)){b|=((ulg)NEXTBYTE())<<k;k+=8;}} argument
231 #define DUMPBITS(n) {b>>=(n);k-=(n);} argument
371 p = b; i = n; in huft_build()
434 } while (++i < n); in huft_build()
641 n = t->v.n + ((unsigned)b & mask_bits[e]); in inflate_codes()
662 n -= (e = (e = WSIZE - ((d &= WSIZE-1) > w ? d : w)) > n ? n : e); in inflate_codes()
717 n = k & 7; in inflate_stored()
718 DUMPBITS(n); in inflate_stored()
732 while (n--) in inflate_stored()
908 n = nl + nd; in inflate_dynamic()
[all …]
/xen/tools/tests/x86_emulator/
A Dsimd-sha.c43 # define rot_c(f, r, x, n) (sh ## f ## _c(x, n) | sh ## r ## _c(x, 32 - (n))) argument
77 #define rol_c(x, n) rot_c(l, r, x, n) argument
78 #define rol_s(x, n) rot_s(l, r, x, n) argument
79 #define rol_v(x, n...) rot_v(l, x, n) argument
80 #define ror_c(x, n) rot_c(r, l, x, n) argument
81 #define ror_s(x, n) rot_s(r, l, x, n) argument
82 #define ror_v(x, n...) rot_v(r, x, n) argument
84 #define shl_s(x, n) shift_s(l, x, n) argument
86 #define shr_s(x, n) shift_s(r, x, n) argument
89 #define vshl(x, n) vshift(l, x, n) argument
[all …]
A Dsimd-clmul.c42 # define lane_shr_i(x, n) ({ \ argument
45 (n) < 64 ? (vec_t)vpshrd((vdi_t)(x), (vdi_t)(h_), n) : h_ >> ((n) - 64); \
47 # define lane_shr_v(x, n) ({ \ argument
49 typeof(t_[0]) n_ = (n); \
50 if ( (n) < 64 ) \
60 # define lane_shr_v(x, n) ({ \ argument
62 (n) < 64 ? ((x) >> (n)) | (t_ << (-(n) & 0x3f)) \
127 unsigned int n; in clmul_test() local
134 for ( n = 0; n < ELEM_COUNT; n += 2 ) in clmul_test()
136 if ( (x[n + 0] & 1) != (l[n] & 3) ) return __LINE__; in clmul_test()
[all …]
A Dsimd.h157 # define B(n, s, a...) __builtin_ia32_ ## n ## 128 ## s(a) argument
158 # define B_(n, s, a...) __builtin_ia32_ ## n ## s(a) argument
160 # define B(n, s, a...) __builtin_ia32_ ## n ## 256 ## s(a) argument
230 # define OVR(n) asm ( "override v" #n ) argument
231 # define OVR_SFP(n) OVR(n ## sd); OVR(n ## ss) argument
235 # define OVR_BW(n) OVR(p ## n ## b); OVR(p ## n ## w) argument
239 # define OVR_DQ(n) OVR(p ## n ## d); OVR(p ## n ## q) argument
240 # define OVR_VFP(n) OVR(n ## pd); OVR(n ## ps) argument
247 # define OVR_FMA(n, w) OVR_ ## w(n ## 132); OVR_ ## w(n ## 213); \ argument
249 # define OVR_FP(n) OVR_VFP(n); OVR_SFP(n) argument
[all …]
/xen/tools/xenstore/
A Dlist.h294 pos = n, n = pos->next)
342 pos = n, n = list_entry(n->member.next, typeof(*n), member))
386 __hlist_del(n); in hlist_del()
404 __hlist_del(n); in hlist_del_rcu()
410 if (n->pprev) { in hlist_del_init()
411 __hlist_del(n); in hlist_del_init()
424 h->first = n; in hlist_add_head()
435 h->first = n; in hlist_add_head_rcu()
444 *(n->pprev) = n; in hlist_add_before()
463 pos = n)
[all …]
/xen/xen/include/acpi/platform/
A Dacenv.h235 #define ACPI_STRNCPY(d,s,n) (void) strncpy((d), (s), (acpi_size)(n)) argument
236 #define ACPI_STRNCMP(d,s,n) strncmp((d), (s), (acpi_size)(n)) argument
239 #define ACPI_STRNCAT(d,s,n) strncat((d), (s), (acpi_size)(n)) argument
240 #define ACPI_STRTOUL(d,s,n) strtoul((d), (s), (acpi_size)(n)) argument
242 #define ACPI_MEMCPY(d,s,n) (void) memcpy((d), (s), (acpi_size)(n)) argument
243 #define ACPI_MEMSET(d,s,n) (void) memset((d), (s), (acpi_size)(n)) argument
297 #define ACPI_STRNCMP(d,s,n) acpi_ut_strncmp ((d), (s), (acpi_size)(n)) argument
300 #define ACPI_STRNCAT(d,s,n) acpi_ut_strncat ((d), (s), (acpi_size)(n)) argument
301 #define ACPI_STRTOUL(d,s,n) acpi_ut_strtoul ((d), (s), (acpi_size)(n)) argument
303 #define ACPI_MEMCPY(d,s,n) (void) acpi_ut_memcpy ((d), (s), (acpi_size)(n)) argument
[all …]
/xen/stubdom/vtpm/
A Dminios.cfg2 CONFIG_TPM_TIS=n
4 CONFIG_START_NETWORK=n
5 CONFIG_TEST=n
6 CONFIG_PCIFRONT=n
8 CONFIG_NETFRONT=n
9 CONFIG_FBFRONT=n
10 CONFIG_KBDFRONT=n
11 CONFIG_CONSFRONT=n
13 CONFIG_LWIP=n
14 CONFIG_XC=n
/xen/stubdom/vtpmmgr/
A Dminios.cfg4 CONFIG_START_NETWORK=n
5 CONFIG_TEST=n
6 CONFIG_PCIFRONT=n
8 CONFIG_NETFRONT=n
9 CONFIG_FBFRONT=n
10 CONFIG_KBDFRONT=n
11 CONFIG_CONSFRONT=n
13 CONFIG_LWIP=n
14 CONFIG_XC=n
/xen/xen/include/asm-x86/
A Dstring.h5 void *memcpy(void *dest, const void *src, size_t n);
6 #define memcpy(d, s, n) __builtin_memcpy(d, s, n) argument
9 void *memmove(void *dest, const void *src, size_t n);
10 #define memmove(d, s, n) __builtin_memmove(d, s, n) argument
13 void *memset(void *dest, int c, size_t n);
14 #define memset(s, c, n) __builtin_memset(s, c, n) argument
/xen/tools/xenstat/libxenstat/src/
A Dxenstat_qmp.c121 n = yajl_tree_get(n, ptr, yajl_t_any); in qmp_get_block_image()
122 if (n) { in qmp_get_block_image()
124 n = yajl_tree_get(n, ptr, yajl_t_any); in qmp_get_block_image()
125 if (n && YAJL_IS_STRING(n)) { in qmp_get_block_image()
126 tmp = YAJL_GET_STRING(n); in qmp_get_block_image()
236 if (n && YAJL_IS_NUMBER(n)) { in qmp_parse_stats()
294 int n, qsize = 0; in qmp_read() local
311 qsize += n; in qmp_read()
323 int n; in qmp_query() local
325 n = strlen(cmd); in qmp_query()
[all …]
/xen/xen/include/asm-arm/
A Ddiv64.h31 (n) = ((uint64_t)(n)) / __base; \
45 #define __do_div_asm(n, base) \ argument
48 register unsigned long long __n asm("r0") = n; \
59 n = __res; \
73 #define do_div(n, base) __do_div_asm(n, base) argument
87 #define do_div(n, base) \ argument
92 __r = __do_div_asm(n, __b); \
96 __r = n; \
98 n /= __b; \
106 unsigned long long __res, __x, __t, __m, __n = n; \
[all …]
/xen/stubdom/
A Dxenstore-minios.cfg1 CONFIG_BLKFRONT=n
2 CONFIG_NETFRONT=n
3 CONFIG_FBFRONT=n
4 CONFIG_KBDFRONT=n
5 CONFIG_CONSFRONT=n
6 CONFIG_XENBUS=n
7 CONFIG_LWIP=n
/xen/tools/firmware/rombios/32bit/
A Dutil.c117 : "0" (n/4), "q" (n), "1" ((long) dest), "2" ((long) src) in memcpy()
126 n--; in memmove()
127 while ( n > 0 ) in memmove()
129 ((char *)dest)[n] = ((char *)src)[n]; in memmove()
130 n--; in memmove()
135 memcpy(dest, src, n); in memmove()
158 while ( (i < n) && *src ) in strncpy()
165 while ( i < n ) in strncpy()
189 for ( i = 0; i < n; i++ ) in memset()
201 for ( i = 0; i < n; i++ ) in memcmp()
[all …]
/xen/xen/tools/kconfig/
A Dlexer.l43 static char *expand_token(const char *in, size_t n);
85 n [A-Za-z0-9_-]
93 \\\n /* escaped new line */
94 \n return T_EOL;
145 {n}+ {
150 ({n}|$)+ {
160 [^[:blank:]\n]+.* {
165 \n { BEGIN(INITIAL); return T_EOL; }
189 unput('\n');
310 if (c == '\n') {
[all …]
/xen/xen/common/compat/
A Dgrant_table.c130 unsigned int n; in compat_grant_table_op() local
196 … for ( n = 0; n < COMPAT_ARG_XLAT_SIZE / sizeof(*nat.xfer) && i < count && rc == 0; ++i, ++n ) in compat_grant_table_op()
209 ASSERT(rc < n); in compat_grant_table_op()
210 i -= n - rc; in compat_grant_table_op()
211 n = rc; in compat_grant_table_op()
220 while ( n-- ) in compat_grant_table_op()
230 … for ( n = 0; n < COMPAT_ARG_XLAT_SIZE / sizeof(*nat.copy) && i < count && rc == 0; ++i, ++n ) in compat_grant_table_op()
247 XLAT_gnttab_copy(nat.copy + n, &cmp.copy); in compat_grant_table_op()
254 ASSERT(rc <= n); in compat_grant_table_op()
256 n -= rc; in compat_grant_table_op()
[all …]

Completed in 36 milliseconds

12345678910>>...13