HomeSort by: relevance | last modified time | path
    Searched refs:block (Results 1 - 25 of 460) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/dev/hdaudio/
eldreg.h 53 #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)->flags[1] >> 2) & 0x03
    [all...]
hdafg_dd.c 50 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->header.baseline_eld_len * 4
    [all...]
  /src/sys/external/bsd/drm2/include/linux/
oom.h 38 register_oom_notifier(struct notifier_block *block)
44 unregister_oom_notifier(struct notifier_block *block)
reboot.h 53 register_reboot_notifier(struct notifier_block *block)
59 unregister_reboot_notifier(struct notifier_block *block)
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_buddy.c 59 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)
74 kmem_cache_free(global.slab_blocks, block);
77 static void mark_allocated(struct i915_buddy_block *block)
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...]
i915_buddy.h 30 * 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)
75 return block->header & I915_BUDDY_HEADER_OFFSET;
79 i915_buddy_block_order(struct i915_buddy_block *block)
81 return block->header & I915_BUDDY_HEADER_ORDER;
85 i915_buddy_block_state(struct i915_buddy_block *block)
87 return block->header & I915_BUDDY_HEADER_STATE
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm/
udivmodsi4.S 57 * 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(26
    [all...]
udivsi3.S 57 * 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(26
    [all...]
umodsi3.S 55 * 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(26
    [all...]
  /src/sbin/fsck_msdos/
boot.c 48 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[511], block[510])
    [all...]
  /src/usr.sbin/wsmoused/
wsmoused.h 80 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 *, const char *, int)
    [all...]
config.c 56 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 *b
    [all...]
config_yacc.y 55 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 defining it. Contains properties *
    [all...]
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_generichash/blake2b/ref/
blake2b-compress-ssse3.c 30 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)[8]
    [all...]
blake2b-compress-sse41.c 36 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);
  /src/sys/external/bsd/drm2/dist/drm/i915/selftests/
i915_buddy.c 19 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, false)
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/
salsa20_ref.c 23 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[i]
    [all...]
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_stream/salsa2012/ref/
stream_salsa2012_ref.c 18 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[i]
    [all...]
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_stream/salsa208/ref/
stream_salsa208_ref.c 18 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[i]
    [all...]
  /src/usr.sbin/installboot/arch/
amiga.c 86 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, sumlen))
    [all...]
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_secretstream/xchacha20poly1305/
secretstream_xchacha20poly1305.c 118 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, block, sizeof block
184 unsigned char block[64U]; local in function:crypto_secretstream_xchacha20poly1305_pull
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/
tsan_sync_test.cc 22 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[1], 3 * sizeof(u64))
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/fs/sysvbfs/
bfs_sysvbfs.c 86 bc_read_n(void *self, uint8_t *buf, daddr_t block, int count)
91 if (!bc_read(self, buf, block))
94 block++;
101 bc_read(void *self, uint8_t *buf, daddr_t block)
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)
127 if (!bc_write(self, buf, block))
130 block++
    [all...]
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_displayid.h 97 #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/tests/lib/libc/sys/
t_sigtimedwait.c 51 sigset_t block; local in function:ATF_TC_BODY
56 sigemptyset(&block);
60 r = sigtimedwait(&block, &info, &ts);
106 sigset_t block; local in function:ATF_TC_BODY
111 sigemptyset(&block);
114 r = sigtimedwait(&block, &info, &ts);

Completed in 38 milliseconds

1 2 3 4 5 6 7 8 91011>>