Searched refs:seg (Results 1 - 25 of 413) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/metadata/
H A Dmerge.c65 struct lv_segment *seg, *seg2; local
72 dm_list_iterate_items(seg, &lv->segments) {
74 if (seg->le != le) {
77 lv->name, seg_count, le, seg->le);
81 area_multiplier = segtype_is_striped(seg->segtype) ?
82 seg->area_count : 1;
84 if (seg->area_len * area_multiplier != seg->len) {
87 lv->name, seg_count, seg->area_len);
91 if (complete_vg && seg
258 _lv_split_segment(struct logical_volume *lv, struct lv_segment *seg, uint32_t le) argument
349 struct lv_segment *seg; local
[all...]
H A Dsegtype.h42 #define seg_is_mirrored(seg) ((seg)->segtype->flags & SEG_AREAS_MIRRORED ? 1 : 0)
43 #define seg_is_striped(seg) ((seg)->segtype->flags & SEG_AREAS_STRIPED ? 1 : 0)
44 #define seg_is_snapshot(seg) ((seg)->segtype->flags & SEG_SNAPSHOT ? 1 : 0)
45 #define seg_is_virtual(seg) ((seg)->segtype->flags & SEG_VIRTUAL ? 1 : 0)
46 #define seg_can_split(seg) ((seg)
[all...]
H A Dsnapshot_manip.c66 void init_snapshot_seg(struct lv_segment *seg, struct logical_volume *origin, argument
69 seg->chunk_size = chunk_size;
70 seg->origin = origin;
71 seg->cow = cow;
75 cow->snapshot = seg;
83 seg->lv->status |= (SNAPSHOT | VIRTUAL);
85 dm_list_add(&origin->snapshot_segs, &seg->origin_list);
93 struct lv_segment *seg; local
115 if (!(seg = alloc_snapshot_seg(snap, 0, 0)))
118 init_snapshot_seg(seg, origi
[all...]
H A Dlv_manip.c38 struct lv_segment *seg)
43 if (sl->seg == seg) {
50 seg->lv->name, seg->le, lv->name);
58 sl->seg = seg;
65 struct lv_segment *seg)
70 if (sl->seg != seg)
37 add_seg_to_segs_using_this_lv(struct logical_volume *lv, struct lv_segment *seg) argument
64 remove_seg_from_segs_using_this_lv(struct logical_volume *lv, struct lv_segment *seg) argument
181 struct lv_segment *seg; local
220 struct lv_segment *seg; local
243 release_lv_segment_area(struct lv_segment *seg, uint32_t s, uint32_t area_reduction) argument
267 remove_seg_from_segs_using_this_lv(seg_lv(seg, s), seg); local
321 set_lv_segment_area_pv(struct lv_segment *seg, uint32_t area_num, struct physical_volume *pv, uint32_t pe) argument
336 set_lv_segment_area_lv(struct lv_segment *seg, uint32_t area_num, struct logical_volume *lv, uint32_t le, uint32_t flags) argument
357 _lv_segment_add_areas(struct logical_volume *lv, struct lv_segment *seg, uint32_t new_area_count) argument
378 _lv_segment_reduce(struct lv_segment *seg, uint32_t reduction) argument
408 struct lv_segment *seg; local
653 struct lv_segment *seg; local
796 struct lv_segment *seg; local
1286 struct lv_segment *seg; local
1398 _convert_seg_to_mirror(struct lv_segment *seg, uint32_t region_size, struct logical_volume *log_lv) argument
1446 struct lv_segment *seg; local
1502 struct lv_segment *seg; local
1553 struct lv_segment *seg; local
1587 struct lv_segment *seg; local
1738 struct lv_segment *seg; local
2185 _split_parent_area(struct lv_segment *seg, uint32_t s, struct dm_list *layer_seg_pvs) argument
2238 struct lv_segment *seg; local
2273 struct lv_segment *seg, *lseg; local
2379 struct lv_segment *seg; local
2546 _extend_layer_lv_for_segment(struct logical_volume *layer_lv, struct lv_segment *seg, uint32_t s, uint32_t status) argument
2595 _match_seg_area_to_pe_range(struct lv_segment *seg, uint32_t s, struct pv_list *pvl) argument
2635 struct lv_segment *seg; local
2699 struct lv_segment *seg; local
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/ieee1394/
H A Dfwdma.h59 struct fwdma_seg seg[0]; member in struct:fwdma_alloc_multi
68 return (char *)am->seg[offset / ssize].v_addr + (offset % ssize);
77 return am->seg[offset / ssize].bus_addr + (offset % ssize);
83 struct fwdma_seg *seg, *eseg; local
88 seg = &am->seg[am->esize * start / am->ssize];
89 eseg = &am->seg[am->esize * end / am->ssize];
92 for (; seg < &am->seg[am->nseg]; seg
111 struct fwdma_seg *seg; local
[all...]
H A Dfwdma.c142 struct fwdma_seg *seg; local
168 for (seg = am->seg; nseg--; seg++) {
169 seg->v_addr = fwdma_malloc(fc->dev, am->dma_tag, &seg->dma_map,
171 if (seg->v_addr == NULL) {
177 seg->bus_addr = seg->dma_map->dm_segs[0].ds_addr;
186 struct fwdma_seg *seg; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/mirror/
H A Dmirrored.c50 static const char *_mirrored_name(const struct lv_segment *seg) argument
52 return seg->segtype->name;
55 static void _mirrored_display(const struct lv_segment *seg) argument
60 log_print(" Mirrors\t\t%u", seg->area_count);
61 log_print(" Mirror size\t\t%u", seg->area_len);
62 if (seg->log_lv)
63 log_print(" Mirror log volume\t%s", seg->log_lv->name);
65 if (seg->region_size) {
66 size = display_size(seg->lv->vg->cmd,
67 (uint64_t) seg
90 _mirrored_text_import(struct lv_segment *seg, const struct config_node *sn, struct dm_hash_table *pv_hash) argument
150 _mirrored_text_export(const struct lv_segment *seg, struct formatter *f) argument
183 _mirrored_target_percent(void **target_state, percent_range_t *percent_range, struct dm_pool *mem, struct cmd_context *cmd, struct lv_segment *seg, char *params, uint64_t *total_numerator, uint64_t *total_denominator) argument
244 _add_log(struct dev_manager *dm, struct lv_segment *seg, struct dm_tree_node *node, uint32_t area_count, uint32_t region_size) argument
285 _mirrored_add_target_line(struct dev_manager *dm, struct dm_pool *mem, struct cmd_context *cmd, void **target_state, struct lv_segment *seg, struct dm_tree_node *node, uint64_t len, uint32_t *pvmove_mirror_count) argument
356 _mirrored_target_present(struct cmd_context *cmd, const struct lv_segment *seg, unsigned *attributes) argument
450 _target_monitored(struct lv_segment *seg, int *pending) argument
488 _target_set_events(struct lv_segment *seg, int evmask __attribute((unused)), int set) argument
519 _target_monitor_events(struct lv_segment *seg, int events) argument
524 _target_unmonitor_events(struct lv_segment *seg, int events) argument
532 _mirrored_modules_needed(struct dm_pool *mem, const struct lv_segment *seg, struct dm_list *modules) argument
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/include/
H A Dsegtype.h42 #define seg_is_mirrored(seg) ((seg)->segtype->flags & SEG_AREAS_MIRRORED ? 1 : 0)
43 #define seg_is_striped(seg) ((seg)->segtype->flags & SEG_AREAS_STRIPED ? 1 : 0)
44 #define seg_is_snapshot(seg) ((seg)->segtype->flags & SEG_SNAPSHOT ? 1 : 0)
45 #define seg_is_virtual(seg) ((seg)->segtype->flags & SEG_VIRTUAL ? 1 : 0)
46 #define seg_can_split(seg) ((seg)
[all...]
H A Dtext_import.h24 int text_import_areas(struct lv_segment *seg, const struct config_node *sn,
H A Dtargets.h24 int compose_areas_line(struct dev_manager *dm, struct lv_segment *seg,
28 int add_areas_line(struct dev_manager *dm, struct lv_segment *seg,
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/striped/
H A Dstriped.c32 static const char *_striped_name(const struct lv_segment *seg) argument
34 return (seg->area_count == 1) ? "linear" : seg->segtype->name;
37 static void _striped_display(const struct lv_segment *seg) argument
41 if (seg->area_count == 1)
42 display_stripe(seg, 0, " ");
44 log_print(" Stripes\t\t%u", seg->area_count);
46 if (seg->lv->vg->cmd->si_unit_consistency)
48 display_size(seg->lv->vg->cmd,
49 (uint64_t) seg
73 _striped_text_import(struct lv_segment *seg, const struct config_node *sn, struct dm_hash_table *pv_hash) argument
96 _striped_text_export(const struct lv_segment *seg, struct formatter *f) argument
164 _striped_add_target_line(struct dev_manager *dm, struct dm_pool *mem __attribute((unused)), struct cmd_context *cmd __attribute((unused)), void **target_state __attribute((unused)), struct lv_segment *seg, struct dm_tree_node *node, uint64_t len, uint32_t *pvmove_mirror_count __attribute((unused))) argument
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/ld/testsuite/ld-xc16x/
H A Doffset.s4 jmps #seg:.12,#sof:.12
9 calls #seg:.13,#sof:.13
H A Doffset.d8 402: fa 00 08 04 jmps #seg:0x0,#sof:0x408
14 40c: da 00 10 04 calls #seg:0x0,#sof:0x410
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/testsuite/gas/m68hc11/
H A Dindexed12.s13 ldaa L2-L1,x ; -> ldaa 2,x (5-bit offset), text seg
14 adda L1-L2,y ; -> adda -2,y (5-bit offset), text seg
16 orab L7-L6,sp ; -> orab 8,sp (5-bit offset), text seg
17 anda L8-L7,sp ; -> anda 15,sp (5-bit offset), text seg
18 eora L7-L8,sp ; -> eora -15,sp (5-bit offset), text seg
19 eorb L7-L9,sp ; -> eorb -16,sp (5-bit offset), text seg
21 andb L9-L7,sp ; -> andb 16,sp (9-bit offset), text seg
22 staa L7-L10,x ; -> staa -17,x (9-bit offset), text seg
23 stab L11-L10,y ; -> stab 128,y (9-bit offset), text seg
24 stab L10-L11,y ; -> stab -128,y (9-bit offset), text seg
[all...]
H A Dindexed12.d24 ldaa L2\-L1,x ; \-> ldaa 2,x \(5\-bit offset\), text seg
26 adda L1\-L2,y ; \-> adda \-2,y \(5\-bit offset\), text seg
29 orab L7\-L6,sp ; \-> orab 8,sp \(5\-bit offset\), text seg
31 anda L8\-L7,sp ; \-> anda 15,sp \(5\-bit offset\), text seg
33 eora L7\-L8,sp ; \-> eora \-15,sp \(5\-bit offset\), text seg
35 eorb L7\-L9,sp ; \-> eorb \-16,sp \(5\-bit offset\), text seg
38 andb L9\-L7,sp ; \-> andb 16,sp \(9\-bit offset\), text seg
40 staa L7\-L10,x ; \-> staa \-17,x \(9\-bit offset\), text seg
42 stab L11\-L10,y ; \-> stab 128,y \(9\-bit offset\), text seg
44 stab L10\-L11,y ; \-> stab \-128,y \(9\-bit offset\), text seg
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/format_text/
H A Dtext_import.h24 int text_import_areas(struct lv_segment *seg, const struct config_node *sn,
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/activate/
H A Dtargets.h24 int compose_areas_line(struct dev_manager *dm, struct lv_segment *seg,
28 int add_areas_line(struct dev_manager *dm, struct lv_segment *seg,
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/unknown/
H A Dunknown.c31 static const char *_unknown_name(const struct lv_segment *seg) argument
34 return seg->segtype->name;
37 static int _unknown_text_import(struct lv_segment *seg, const struct config_node *sn, argument
47 new = clone_config_node(seg->lv->vg->vgmem, current, 0);
56 seg->segtype_private = head;
60 static int _unknown_text_export(const struct lv_segment *seg, struct formatter *f) argument
62 struct config_node *cn = seg->segtype_private;
71 struct lv_segment *seg __attribute((unused)),
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/config/
H A Dobj-som.h69 #define INIT_STAB_SECTION(seg) obj_som_init_stab_section (seg)
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/snapshot/
H A Dsnapshot.c31 static const char *_snap_name(const struct lv_segment *seg) argument
33 return seg->segtype->name;
36 static int _snap_text_import(struct lv_segment *seg, const struct config_node *sn, argument
65 if (!(cow = find_lv(seg->lv->vg, cow_name))) {
71 if (!(org = find_lv(seg->lv->vg, org_name))) {
77 init_snapshot_seg(seg, org, cow, chunk_size);
82 static int _snap_text_export(const struct lv_segment *seg, struct formatter *f) argument
84 outf(f, "chunk_size = %u", seg->chunk_size);
85 outf(f, "origin = \"%s\"", seg->origin->name);
86 outf(f, "cow_store = \"%s\"", seg
183 _target_registered(struct lv_segment *seg, int *pending) argument
221 _target_set_events(struct lv_segment *seg, int events __attribute((unused)), int set) argument
250 _target_register_events(struct lv_segment *seg, int events) argument
256 _target_unregister_events(struct lv_segment *seg, int events) argument
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/
H A Dsolib-frv.c106 int version, seg, nsegs; local
161 for (seg = 0; seg < nsegs; seg++)
163 int_ldmbuf->segs[seg].addr
164 = extract_unsigned_integer (ext_ldmbuf->segs[seg].addr,
165 sizeof (ext_ldmbuf->segs[seg].addr),
167 int_ldmbuf->segs[seg].p_vaddr
168 = extract_unsigned_integer (ext_ldmbuf->segs[seg].p_vaddr,
169 sizeof (ext_ldmbuf->segs[seg]
579 int seg; local
950 int seg; local
1051 int seg; local
1096 int seg; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/freeseg/
H A Dfreeseg.c31 static const char *_freeseg_name(const struct lv_segment *seg) argument
33 return seg->segtype->name;
/netbsd-6-1-5-RELEASE/sys/arch/x68k/x68k/
H A Dbus.c146 int seg, error; local
158 seg = 0;
160 &lastaddr, &seg, 1);
163 map->dm_nsegs = seg + 1;
176 int seg, error, first; local
195 seg = 0;
201 NULL, flags, &lastaddr, &seg, first);
206 map->dm_nsegs = seg + 1;
220 int seg, i, error, first;
245 seg
358 bus_addr_t seg; local
486 int seg; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/tools/
H A Dvgsplit.c52 struct lv_segment *seg; local
69 dm_list_iterate_items(seg, &lv->segments) {
70 for (s = 0; s < seg->area_count; s++) {
72 if (seg_type(seg, s) != AREA_PV)
75 pv = seg_pv(seg, s);
123 struct lv_segment *seg; local
133 dm_list_iterate_items(seg, &lv->segments) {
134 cow_from = _lv_is_in_vg(vg_from, seg->cow);
135 origin_from = _lv_is_in_vg(vg_from, seg->origin);
142 " two Volume Groups", seg
167 struct lv_segment *seg; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/ld/testsuite/ld-elf/
H A Dseg.d2 #source: seg.s
3 #ld: -T seg.t -z max-page-size=0x1000

Completed in 285 milliseconds

1234567891011>>