Home
last modified time | relevance | path

Searched refs:block (Results 1 – 25 of 66) sorted by relevance

123

/xen-4.10.0-shim-comet/stubdom/grub.patches/
A D70compiler_warnings.diff1 [ 1436s] ../grub-upstream/netboot/fsys_tftp.c:213: warning: operation on 'block' may be undefined
2 [ 1437s] ../grub-upstream/netboot/main.c:444: warning: operation on 'block' may be undefined
19 if ((block || bcounter) && (block != prevblock + (unsigned short) 1))
21 + block = prevblock;
23 - tp.u.ack.block = htons (block = prevblock);
24 + tp.u.ack.block = htons (block);
36 if ((block || bcounter) && (block != prevblock + 1))
38 + block = prevblock;
40 - tp.u.ack.block = htons (block = prevblock);
41 + tp.u.ack.block = htons (block);
A D60ext4.diff75 __u32 bg_block_bitmap; /* Blocks bitmap block */
76 __u32 bg_inode_bitmap; /* Inodes bitmap block */
89 + __u32 bg_inode_table_hi; /* Inodes table block MSB */
292 +/* Maps extents enabled logical block into physical block via an inode.
321 + printf ("logical block %d\n", logical_block);
338 + {/* 64bit physical block number not supported */
353 + {/* 64bit physical block number not supported */
373 + /* map extents enabled logical block number to physical fs on-disk block number */
449 + /* ext4 logical block number the same as ext2/3 */
455 + /* map extents enabled logical block number to physical fs on-disk block number */
[all …]
A D40ext3_256byte_inode.diff12 - __u32 s_reserved[235]; /* Padding to the end of the block */
28 + __u16 s_block_group_nr; /* block group # of this superblock */
58 + __u32 s_reserved[172]; /* Padding to the end of the block */
113 printf ("offset into inode table block=%d\n", (int) raw_inode - (int) INODE);
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_dom_core.c128 block = malloc(sizeof(*block) + size); in xc_dom_malloc()
134 memset(block, 0, sizeof(*block) + size); in xc_dom_malloc()
148 block = malloc(sizeof(*block)); in xc_dom_malloc_page_aligned()
154 memset(block, 0, sizeof(*block)); in xc_dom_malloc_page_aligned()
156 block->ptr = mmap(NULL, block->len, in xc_dom_malloc_page_aligned()
179 block = malloc(sizeof(*block)); in xc_dom_register_external()
185 memset(block, 0, sizeof(*block)); in xc_dom_register_external()
229 block = malloc(sizeof(*block)); in xc_dom_malloc_filemap()
237 memset(block, 0, sizeof(*block)); in xc_dom_malloc_filemap()
239 block->ptr = mmap(NULL, block->len, PROT_READ, in xc_dom_malloc_filemap()
[all …]
/xen-4.10.0-shim-comet/xen/common/xz/
A Ddec_stream.c94 } block; member
240 || s->block.uncompressed in dec_block()
251 != s->block.compressed) in dec_block()
260 + s->block.compressed; in dec_block()
269 s->block.hash.uncompressed += s->block.uncompressed; in dec_block()
272 sizeof(s->block.hash), s->block.hash.crc32); in dec_block()
274 ++s->block.count; in dec_block()
543 s->block.compressed = 0; in dec_block_header()
544 s->block.uncompressed = 0; in dec_block_header()
641 ++s->block.compressed; in dec_main()
[all …]
/xen-4.10.0-shim-comet/tools/examples/
A DREADME12 block - called by xen-backend.agent to bind/unbind dev
13 block-common.sh - sourced by block, block-*
14 block-enbd - binds/unbinds network block devices
15 block-nbd - binds/unbinds network block devices
25 xen-backend.agent - calls block, vif-* scripts to add, remove, hotplug
/xen-4.10.0-shim-comet/tools/hotplug/Linux/
A DMakefile22 XEN_SCRIPTS += block
23 XEN_SCRIPTS += block-enbd block-nbd
27 XEN_SCRIPTS += block-iscsi
28 XEN_SCRIPTS += block-tap
29 XEN_SCRIPTS += block-drbd-probe
30 XEN_SCRIPTS += block-dummy
39 XEN_SCRIPT_DATA += block-common.sh
A Dblock371 [ -x ${XEN_SCRIPT_DIR}/block-"$t" ] && \
372 ${XEN_SCRIPT_DIR}/block-"$t" "$command"
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/mtrr/
A Dgeneric.c40 const struct fixed_range_block *block; in get_fixed_ranges() local
45 for (block = fixed_range_blocks; block->ranges; ++block) { in get_fixed_ranges()
48 for (i = 0; i < block->ranges; ++i, ++p) in get_fixed_ranges()
49 rdmsrl(block->base_msr + i, *p); in get_fixed_ranges()
157 const struct fixed_range_block *block = fixed_range_blocks; in print_mtrr_state() local
162 for (; block->ranges; ++block, step >>= 2) { in print_mtrr_state()
163 for (i = 0; i < block->ranges; ++i, fr += 8) { in print_mtrr_state()
310 int block=-1, range; in set_fixed_ranges() local
312 while (fixed_range_blocks[++block].ranges) in set_fixed_ranges()
313 for (range=0; range < fixed_range_blocks[block].ranges; range++) in set_fixed_ranges()
[all …]
/xen-4.10.0-shim-comet/docs/misc/
A Dblock-scripts.txt8 1. When a user passes a block device in the 'target' field of the disk
21 is run from the normal block script location (/etc/xen/scripts by
26 . "$dir/block-common.sh"
32 Unfortunately the inputs to the block scripts look completely
43 path for the block device to be created.
75 FreeBSD block hotplug scripts must write
77 device or file. Linux and NetBSD block hotplug scripts *should* also
80 For the time being, Linux and NetBSD block hotplug scripts must write
107 Going forward, the plan is at some point to have all block scripts
110 block script wants to check to make sure the *major/minor* number
[all …]
A Dvtpm-platforms.txt100 # xl block-attach vtpmmgr 'backendtype=phy,backend=hardware,vdev=hda,access=w,target=/dev/lvm/vtpmm…
101 # xl block-attach vtpm-hw 'backendtype=phy,backend=hardware,vdev=hda,access=w,target=/dev/lvm/vtpm-…
102 # xl block-attach vtpm-g1 'backendtype=phy,backend=hardware,vdev=hda,access=w,target=/dev/lvm/vtpm-…
103 # xl block-attach vtpm-g2 'backendtype=phy,backend=hardware,vdev=hda,access=w,target=/dev/lvm/vtpm-…
104 # xl block-attach guest1 'backendtype=phy,backend=hardware,vdev=xvda,access=w,target=/dev/lvm/guest…
105 # xl block-attach guest2 'backendtype=phy,backend=hardware,vdev=xvda,access=w,target=/dev/lvm/guest…
/xen-4.10.0-shim-comet/tools/memshr/
A Dbidir-hash.h86 static inline uint32_t blockshr_block_hash(vbdblk_t block) in blockshr_block_hash() argument
88 return (uint32_t)(block.sec) ^ (uint32_t)(block.disk_id); in blockshr_block_hash()
106 #define BIDIR_KEY block
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A DMakefile28 REMUS-OBJS := block-remus.o
69 BLK-OBJS-y := block-aio.o
70 BLK-OBJS-y += block-ram.o
71 BLK-OBJS-y += block-cache.o
72 BLK-OBJS-y += block-vhd.o
73 BLK-OBJS-y += block-log.o
74 BLK-OBJS-y += block-qcow.o
/xen-4.10.0-shim-comet/tools/blktap2/vhd/lib/
A Dvhd-util-read.c252 check_block_range(vhd_context_t *vhd, uint64_t block, int hex) in check_block_range() argument
254 if (block > vhd->header.max_bat_size) { in check_block_range()
256 conv(hex, block)); in check_block_range()
359 if (check_block_range(vhd, block + count, hex)) in vhd_print_bat()
363 cur = block + i; in vhd_print_bat()
404 if (check_block_range(vhd, block + count, hex)) in vhd_print_bitmap()
408 cur = block + i; in vhd_print_bitmap()
502 if (check_block_range(vhd, block + count, hex)) in vhd_test_batmap()
512 cur = block + i; in vhd_test_batmap()
529 if (check_block_range(vhd, block + count, hex)) in vhd_print_data()
[all …]
A Dvhd-util-coalesce.c63 int parent_fd, uint64_t block) in vhd_util_coalesce_block() argument
71 sec = block * vhd->spb; in vhd_util_coalesce_block()
73 if (vhd->bat.bat[block] == DD_BLK_UNUSED) in vhd_util_coalesce_block()
84 if (vhd_has_batmap(vhd) && vhd_batmap_test(vhd, &vhd->batmap, block)) { in vhd_util_coalesce_block()
92 err = vhd_read_bitmap(vhd, block, &map); in vhd_util_coalesce_block()
A Dvhd-util-resize.c52 uint32_t block; member
356 blocks[i].block = i; in vhd_defrag_shrink()
376 if (b->block == free_list[j].block) { in vhd_defrag_shrink()
385 err = vhd_clobber_block(journal, b->block, in vhd_defrag_shrink()
386 free_list[free_idx++].block); in vhd_defrag_shrink()
393 vhd->bat.bat[free_list[i].block] = DD_BLK_UNUSED; in vhd_defrag_shrink()
508 free_list[free_cnt].block = i; in vhd_dynamic_shrink()
548 memset(block, 0, sizeof(vhd_block_t)); in vhd_first_data_block()
554 if (!block->offset || blk < block->offset) { in vhd_first_data_block()
555 block->block = i; in vhd_first_data_block()
[all …]
A Dlibvhd.c551 set_bit(batmap->map, block); in vhd_batmap_set()
573 return test_bit(map, block); in vhd_bitmap_test()
583 return set_bit(map, block); in vhd_bitmap_set()
1677 block = NULL; in vhd_parent_locator_write_at()
1741 block = NULL; in vhd_parent_locator_write_at()
1746 memset(block, 0, size); in vhd_parent_locator_write_at()
1759 free(block); in vhd_parent_locator_write_at()
1809 blk = ctx->bat.bat[block]; in vhd_read_bitmap()
2286 uint32_t block; in vhd_offset() local
2295 block = sector / ctx->spb; in vhd_offset()
[all …]
/xen-4.10.0-shim-comet/xen/common/
A Dspinlock.c101 #define LOCK_PROFILE_VAR s_time_t block = 0
102 #define LOCK_PROFILE_BLOCK block = block ? : NOW();
107 if (block) \
109 lock->profile->time_block += lock->profile->time_locked - block; \
243 s_time_t block = NOW(); in _spin_barrier() local
256 lock->profile->time_block += NOW() - block; in _spin_barrier()
/xen-4.10.0-shim-comet/
A DCODING_STYLE22 extra indent level. The enclosing braces of a block are indented the
23 same as the code _outside_ the block. e.g.
48 after the opening /* of a comment block).
104 * Example, multi-line comment block.
112 A comment block containing local variables for emacs is permitted at
/xen-4.10.0-shim-comet/tools/blktap2/
A DREADME15 virtual block devices presented to VMs to be implemented in userspace
19 arbitrary block backends, and that these user-level backends actually
30 - Per-disk handler processes enable easier userspace policing of block
32 and related tools) may be trivially applied to block devices.
36 file-sharing systems and so on to build more complex block backends.
47 implement individual block devices where desired. The userspace
155 in dom0 and the xm block-attach command. This approach is still
166 blktap2/drivers/block-ram.c and blktap2/drivers/block-aio.c provide
231 Now your driver is ready to be written. Create a block-mynewdisk.c in
237 Copying block-aio.c and block-ram.c would be a good place to start.
[all …]
/xen-4.10.0-shim-comet/tools/blktap2/include/
A Dlibvhd.h311 int vhd_read_bitmap(vhd_context_t *, uint32_t block, char **bufp);
312 int vhd_read_block(vhd_context_t *, uint32_t block, char **bufp);
320 int vhd_write_bitmap(vhd_context_t *, uint32_t block, char *bitmap);
321 int vhd_write_block(vhd_context_t *, uint32_t block, char *data);
A Dlibvhd-journal.h62 int vhd_journal_add_block(vhd_journal_t *, uint32_t block, char mode);
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dgic-v3-lpi.c94 union host_lpi *block; in gic_get_host_lpi() local
103 block = lpi_data.host_lpis[plpi / HOST_LPIS_PER_PAGE]; in gic_get_host_lpi()
104 if ( !block ) in gic_get_host_lpi()
110 return &block[plpi % HOST_LPIS_PER_PAGE]; in gic_get_host_lpi()
/xen-4.10.0-shim-comet/tools/libxl/
A Dcheck-xl-disk-parse24 ${XL} -N block-attach 0 "$@" </dev/null >$fprefix.actual 2>/dev/null
138 one 0 vdev=xvda,access=w,script=block-iscsi,target=iqn.2001-05.com.equallogic:0-8a0906-23fe93404-c8…
/xen-4.10.0-shim-comet/tools/hotplug/FreeBSD/
A DMakefile5 XEN_SCRIPTS = vif-bridge block

Completed in 41 milliseconds

123