Searched refs:block (Results 1 - 25 of 439) sorted by relevance

1234567891011>>

/src/sys/dev/hdaudio/
H A Deldreg.h53 #define ELD_VER(block) (((block)->header.flags >> 3) & 0x1f)
56 #define ELD_CEA_EDID_VER(block) (((block)->flags[0] >> 5) & 0x07)
61 #define ELD_MNL(block) (((block)->flags[0] >> 0) & 0x1f)
62 #define ELD_SAD_COUNT(block) (((block)->flags[1] >> 4) & 0x0f)
63 #define ELD_CONN_TYPE(block) (((block)
[all...]
H A Dhdafg_dd.c50 struct eld_baseline_block *block = &hdi->eld; local in function:hdafg_dd_parse_info
59 if (datalen < sizeof(block->header)) {
66 memcpy(&block->header, data, sizeof(block->header));
67 data += sizeof(block->header);
68 datalen -= sizeof(block->header);
70 if (datalen < block->header.baseline_eld_len * 4 ||
71 datalen < sizeof(*block) - sizeof(block->header)) {
78 datalen = block
[all...]
/src/sys/external/bsd/drm2/include/linux/
H A Doom.h38 register_oom_notifier(struct notifier_block *block) argument
44 unregister_oom_notifier(struct notifier_block *block) argument
H A Dreboot.h53 register_reboot_notifier(struct notifier_block *block) argument
59 unregister_reboot_notifier(struct notifier_block *block) argument
/src/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_buddy.c59 struct i915_buddy_block *block; local in function:i915_block_alloc
61 block = kmem_cache_zalloc(global.slab_blocks, GFP_KERNEL);
62 if (!block)
65 block->header = offset;
66 block->header |= order;
67 block->parent = parent;
69 return block;
72 static void i915_block_free(struct i915_buddy_block *block) argument
74 kmem_cache_free(global.slab_blocks, block);
77 static void mark_allocated(struct i915_buddy_block *block) argument
85 mark_free(struct i915_buddy_mm * mm,struct i915_buddy_block * block) argument
95 mark_split(struct i915_buddy_block * block) argument
197 split_block(struct i915_buddy_mm * mm,struct i915_buddy_block * block) argument
226 get_buddy(struct i915_buddy_block * block) argument
240 __i915_buddy_free(struct i915_buddy_mm * mm,struct i915_buddy_block * block) argument
264 i915_buddy_free(struct i915_buddy_mm * mm,struct i915_buddy_block * block) argument
273 struct i915_buddy_block *block, *on; local in function:i915_buddy_free_list
293 struct i915_buddy_block *block = NULL; local in function:i915_buddy_alloc
353 struct i915_buddy_block *block; local in function:i915_buddy_alloc_range
[all...]
H A Di915_buddy.h30 * While the block is allocated by the user through i915_buddy_alloc*,
32 * a list, if so desired. As soon as the block is freed with
53 * address space. This gives us a simple way of finding a buddy block
55 * block. Nodes are either allocated or free, in which case they will
73 i915_buddy_block_offset(struct i915_buddy_block *block) argument
75 return block->header & I915_BUDDY_HEADER_OFFSET;
79 i915_buddy_block_order(struct i915_buddy_block *block) argument
81 return block->header & I915_BUDDY_HEADER_ORDER;
85 i915_buddy_block_state(struct i915_buddy_block *block) argument
87 return block
91 i915_buddy_block_is_allocated(struct i915_buddy_block * block) argument
97 i915_buddy_block_is_free(struct i915_buddy_block * block) argument
103 i915_buddy_block_is_split(struct i915_buddy_block * block) argument
109 i915_buddy_block_size(struct i915_buddy_mm * mm,struct i915_buddy_block * block) argument
[all...]
/src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm/
H A Dudivmodsi4.S57 * This depends on the fixed instruction size of block.
60 * block(shift) implements the test-and-update-quotient core.
109 /* Last block, no need to update r3 or r4. */
121 #define block(shift) \ macro
127 block(31)
128 block(30)
129 block(29)
130 block(28)
131 block(27)
132 block(2
[all...]
H A Dudivsi3.S57 * This depends on the fixed instruction size of block.
60 * block(shift) implements the test-and-update-quotient core.
107 /* Last block, no need to update r2 or r3. */
118 #define block(shift) \ macro
124 block(31)
125 block(30)
126 block(29)
127 block(28)
128 block(27)
129 block(2
[all...]
H A Dumodsi3.S55 * This depends on the fixed instruction size of block.
58 * block(shift) implements the test-and-update-quotient core.
103 /* Last block, no need to update r2 or r3. */
112 #define block(shift) \ macro
117 block(31)
118 block(30)
119 block(29)
120 block(28)
121 block(27)
122 block(2
[all...]
/src/sbin/fsck_msdos/
H A Dboot.c48 u_char *block; local in function:readboot
63 block = calloc(1, secsize);
64 if (block == NULL)
67 if ((size_t)read(dosfs, block, secsize) != secsize) {
68 perr("could not read boot block");
69 free(block);
73 if (block[510] != 0x55 || block[511] != 0xaa) {
74 pfatal("Invalid signature in boot block: %02x%02x", block[51
[all...]
/src/usr.sbin/wsmoused/
H A Dwsmoused.h80 struct block { struct
86 struct block *b_child[MAX_BLOCKS];
87 struct block *b_parent;
100 struct block *block_new(int);
101 void block_free(struct block *);
102 void block_add_prop(struct block *, struct prop *);
103 void block_add_child(struct block *, struct block *);
104 char *block_get_propval(struct block *, const char *, char *);
105 int block_get_propval_int(struct block *, cons
[all...]
H A Dconfig.c56 static struct block *Global = NULL;
61 struct block *config_parse(FILE *);
92 /* Creates a new, empty block, with the specified type (see BLOCK_* macros).
94 struct block *
97 struct block *b;
99 b = (struct block *) calloc(1, sizeof(struct block));
108 /* Frees a block created with block_new. All data contained inside the block
111 block_free(struct block *
[all...]
H A Dconfig_yacc.y55 struct block *config_parse(FILE *);
58 static struct block *Conf;
67 %type <block> main outermode mode
71 struct block *block;
81 /* Matches the whole configuration file and constructs a block defining it.
84 modeprop { struct block *b = block_new(BLOCK_GLOBAL);
88 | outermode { struct block *b = block_new(BLOCK_GLOBAL);
95 /* Defines the aspect of a mode definition. Returns the block given by the
106 /* Matches a mode and returns a block definin
[all...]
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_generichash/blake2b/ref/
H A Dblake2b-compress-ssse3.c30 const uint8_t block[BLAKE2B_BLOCKBYTES])
42 const uint64_t m0 = ((uint64_t *) block)[0];
43 const uint64_t m1 = ((uint64_t *) block)[1];
44 const uint64_t m2 = ((uint64_t *) block)[2];
45 const uint64_t m3 = ((uint64_t *) block)[3];
46 const uint64_t m4 = ((uint64_t *) block)[4];
47 const uint64_t m5 = ((uint64_t *) block)[5];
48 const uint64_t m6 = ((uint64_t *) block)[6];
49 const uint64_t m7 = ((uint64_t *) block)[7];
50 const uint64_t m8 = ((uint64_t *) block)[
29 blake2b_compress_ssse3(blake2b_state * S,const uint8_t block[BLAKE2B_BLOCKBYTES]) argument
[all...]
H A Dblake2b-compress-sse41.c36 const uint8_t block[BLAKE2B_BLOCKBYTES])
48 const __m128i m0 = LOADU(block + 00);
49 const __m128i m1 = LOADU(block + 16);
50 const __m128i m2 = LOADU(block + 32);
51 const __m128i m3 = LOADU(block + 48);
52 const __m128i m4 = LOADU(block + 64);
53 const __m128i m5 = LOADU(block + 80);
54 const __m128i m6 = LOADU(block + 96);
55 const __m128i m7 = LOADU(block + 112);
35 blake2b_compress_sse41(blake2b_state * S,const uint8_t block[BLAKE2B_BLOCKBYTES]) argument
/src/sys/external/bsd/drm2/dist/drm/i915/selftests/
H A Di915_buddy.c19 struct i915_buddy_block *block,
22 pr_err("block info: header=%llx, state=%u, order=%d, offset=%llx size=%llx root=%s buddy=%s\n",
23 block->header,
24 i915_buddy_block_state(block),
25 i915_buddy_block_order(block),
26 i915_buddy_block_offset(block),
27 i915_buddy_block_size(mm, block),
28 yesno(!block->parent),
33 struct i915_buddy_block *block)
37 __igt_dump_block(mm, block, fals
18 __igt_dump_block(struct i915_buddy_mm * mm,struct i915_buddy_block * block,bool buddy) argument
32 igt_dump_block(struct i915_buddy_mm * mm,struct i915_buddy_block * block) argument
44 igt_check_block(struct i915_buddy_mm * mm,struct i915_buddy_block * block) argument
123 struct i915_buddy_block *block; local in function:igt_check_blocks
208 struct i915_buddy_block *block; local in function:igt_check_mm
322 struct i915_buddy_block *block; local in function:igt_buddy_alloc_smoke
398 struct i915_buddy_block *block, *bn; local in function:igt_buddy_alloc_pessimistic
490 struct i915_buddy_block *block; local in function:igt_buddy_alloc_optimistic
540 struct i915_buddy_block *block; local in function:igt_buddy_alloc_pathological
651 struct i915_buddy_block *block; local in function:igt_buddy_alloc_range
[all...]
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_stream/salsa20/ref/
H A Dsalsa20_ref.c23 unsigned char block[64]; local in function:stream_ref
52 crypto_core_salsa20(block, in, kcopy, NULL);
54 c[i] = block[i];
57 sodium_memzero(block, sizeof block);
69 unsigned char block[64]; local in function:stream_ref_xor_ic
88 crypto_core_salsa20(block, in, kcopy, NULL);
90 c[i] = m[i] ^ block[i];
103 crypto_core_salsa20(block, in, kcopy, NULL);
105 c[i] = m[i] ^ block[
[all...]
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_stream/salsa2012/ref/
H A Dstream_salsa2012_ref.c18 unsigned char block[64]; local in function:crypto_stream_salsa2012
47 crypto_core_salsa2012(block, in, kcopy, NULL);
49 c[i] = block[i];
52 sodium_memzero(block, sizeof block);
64 unsigned char block[64]; local in function:crypto_stream_salsa2012_xor
82 crypto_core_salsa2012(block, in, kcopy, NULL);
84 c[i] = m[i] ^ block[i];
97 crypto_core_salsa2012(block, in, kcopy, NULL);
99 c[i] = m[i] ^ block[
[all...]
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_stream/salsa208/ref/
H A Dstream_salsa208_ref.c18 unsigned char block[64]; local in function:crypto_stream_salsa208
47 crypto_core_salsa208(block, in, kcopy, NULL);
49 c[i] = block[i];
52 sodium_memzero(block, sizeof block);
64 unsigned char block[64]; local in function:crypto_stream_salsa208_xor
82 crypto_core_salsa208(block, in, kcopy, NULL);
84 c[i] = m[i] ^ block[i];
97 crypto_core_salsa208(block, in, kcopy, NULL);
99 c[i] = m[i] ^ block[
[all...]
/src/usr.sbin/installboot/arch/
H A Damiga.c86 u_int32_t block[128*16]; local in function:amiga_setboot
98 rv = pread(params->s1fd, &block, sizeof(block), 0);
102 } else if (rv != sizeof(block)) {
109 sum2 = chksum(block, 1024/4);
110 sum16 = chksum(block, 8192/4);
126 dline = (char *)&(block[CMDLN_LOC/4]);
133 block[1] = htobe32(0);
134 block[1] = htobe32(0xffffffff - chksum(block, sumle
[all...]
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_secretstream/xchacha20poly1305/
H A Dsecretstream_xchacha20poly1305.c118 unsigned char block[64U]; local in function:crypto_secretstream_xchacha20poly1305_push
129 crypto_stream_chacha20_ietf(block, sizeof block, state->nonce, state->k);
130 crypto_onetimeauth_poly1305_init(&poly1305_state, block);
131 sodium_memzero(block, sizeof block);
136 memset(block, 0, sizeof block);
137 block[0] = tag;
139 crypto_stream_chacha20_ietf_xor_ic(block, bloc
184 unsigned char block[64U]; local in function:crypto_secretstream_xchacha20poly1305_pull
[all...]
/src/sys/fs/sysvbfs/
H A Dbfs_sysvbfs.c86 bc_read_n(void *self, uint8_t *buf, daddr_t block, int count) argument
91 if (!bc_read(self, buf, block))
94 block++;
101 bc_read(void *self, uint8_t *buf, daddr_t block) argument
106 if (bread(bio->vp, block, DEV_BSIZE, 0, &bp) != 0)
113 printf("%s: block %lld read failed.\n", __func__,
114 (long long int)block);
122 bc_write_n(void *self, uint8_t *buf, daddr_t block, int count) argument
127 if (!bc_write(self, buf, block))
130 block
137 bc_write(void * self,uint8_t * buf,daddr_t block) argument
[all...]
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/
H A Dtsan_sync_test.cc22 u64 block[1] = {}; // fake malloc block local in function:__tsan::TEST
23 m->AllocBlock(thr, 0, (uptr)&block[0], 1 * sizeof(u64));
24 MBlock *mb = m->GetBlock((uptr)&block[0]);
28 uptr sz = m->FreeBlock(thr->proc(), (uptr)&block[0]);
30 mb = m->GetBlock((uptr)&block[0]);
37 u64 block[4] = {}; // fake malloc block local in function:__tsan::TEST
38 m->AllocBlock(thr, 0, (uptr)&block[0], 1 * sizeof(u64));
39 m->AllocBlock(thr, 0, (uptr)&block[
54 u64 block[4] = {}; // fake malloc block local in function:__tsan::TEST
114 u64 block[1] = {}; // fake malloc block local in function:__tsan::TEST
[all...]
/src/sys/external/bsd/drm2/dist/include/drm/
H A Ddrm_displayid.h97 #define for_each_displayid_db(displayid, block, idx, length) \
98 for ((block) = (const struct displayid_block *)&(displayid)[idx]; \
100 (idx) + sizeof(struct displayid_block) + (block)->num_bytes <= (length) && \
101 (block)->num_bytes > 0; \
102 (idx) += (block)->num_bytes + sizeof(struct displayid_block), \
103 (block) = (const struct displayid_block *)&(displayid)[idx])
/src/sys/external/gpl2/dts/dist/arch/riscv/boot/dts/sophgo/
H A Dsg2042-cpus.dtsi265 i-cache-block-size = <64>;
268 d-cache-block-size = <64>;
290 i-cache-block-size = <64>;
293 d-cache-block-size = <64>;
315 i-cache-block-size = <64>;
318 d-cache-block-size = <64>;
340 i-cache-block-size = <64>;
343 d-cache-block-size = <64>;
365 i-cache-block-size = <64>;
368 d-cache-block
[all...]

Completed in 38 milliseconds

1234567891011>>