Searched refs:layout (Results 1 - 200 of 927) sorted by relevance

12345

/linux-4.4.14/arch/cris/include/asm/
H A Dmmu.h2 * CRIS MMU constants and PTE layout
/linux-4.4.14/drivers/media/platform/soc_camera/
H A Dsoc_mediabus.c27 .layout = SOC_MBUS_LAYOUT_PACKED,
37 .layout = SOC_MBUS_LAYOUT_PACKED,
47 .layout = SOC_MBUS_LAYOUT_PACKED,
57 .layout = SOC_MBUS_LAYOUT_PACKED,
67 .layout = SOC_MBUS_LAYOUT_PACKED,
77 .layout = SOC_MBUS_LAYOUT_PACKED,
87 .layout = SOC_MBUS_LAYOUT_PACKED,
97 .layout = SOC_MBUS_LAYOUT_PACKED,
143 .layout = SOC_MBUS_LAYOUT_PACKED,
153 .layout = SOC_MBUS_LAYOUT_PACKED,
163 .layout = SOC_MBUS_LAYOUT_PACKED,
173 .layout = SOC_MBUS_LAYOUT_PACKED,
183 .layout = SOC_MBUS_LAYOUT_PACKED,
193 .layout = SOC_MBUS_LAYOUT_PACKED,
203 .layout = SOC_MBUS_LAYOUT_PACKED,
213 .layout = SOC_MBUS_LAYOUT_PACKED,
223 .layout = SOC_MBUS_LAYOUT_PACKED,
233 .layout = SOC_MBUS_LAYOUT_PACKED,
243 .layout = SOC_MBUS_LAYOUT_PACKED,
253 .layout = SOC_MBUS_LAYOUT_PACKED,
263 .layout = SOC_MBUS_LAYOUT_PACKED,
273 .layout = SOC_MBUS_LAYOUT_PACKED,
283 .layout = SOC_MBUS_LAYOUT_PACKED,
293 .layout = SOC_MBUS_LAYOUT_PACKED,
303 .layout = SOC_MBUS_LAYOUT_PACKED,
313 .layout = SOC_MBUS_LAYOUT_PACKED,
323 .layout = SOC_MBUS_LAYOUT_PACKED,
333 .layout = SOC_MBUS_LAYOUT_PACKED,
343 .layout = SOC_MBUS_LAYOUT_PACKED,
353 .layout = SOC_MBUS_LAYOUT_PACKED,
363 .layout = SOC_MBUS_LAYOUT_PACKED,
373 .layout = SOC_MBUS_LAYOUT_PACKED,
383 .layout = SOC_MBUS_LAYOUT_PACKED,
421 if (mf->layout != SOC_MBUS_LAYOUT_PACKED) soc_mbus_bytes_per_line()
445 if (mf->layout == SOC_MBUS_LAYOUT_PACKED) soc_mbus_image_size()
/linux-4.4.14/arch/x86/entry/vdso/
H A Dvdso.lds.S3 * We #include the file to define the layout details.
11 #include "vdso-layout.lds.S"
H A Dvdsox32.lds.S3 * We #include the file to define the layout details.
11 #include "vdso-layout.lds.S"
H A Dvdso-layout.lds.S6 * This script controls its layout.
/linux-4.4.14/sound/aoa/fabrics/
H A Dlayout.c2 * Apple Onboard Audio driver -- layout/machine id fabric
10 * layout-id or device-id property in the device tree.
25 /* These are the connections the layout fabric
64 struct layout { struct
70 * so that our layout table doesn't need to be filled
74 * multiple layout-ids */
79 MODULE_ALIAS("sound-layout-36");
80 MODULE_ALIAS("sound-layout-41");
81 MODULE_ALIAS("sound-layout-45");
82 MODULE_ALIAS("sound-layout-47");
83 MODULE_ALIAS("sound-layout-48");
84 MODULE_ALIAS("sound-layout-49");
85 MODULE_ALIAS("sound-layout-50");
86 MODULE_ALIAS("sound-layout-51");
87 MODULE_ALIAS("sound-layout-56");
88 MODULE_ALIAS("sound-layout-57");
89 MODULE_ALIAS("sound-layout-58");
90 MODULE_ALIAS("sound-layout-60");
91 MODULE_ALIAS("sound-layout-61");
92 MODULE_ALIAS("sound-layout-62");
93 MODULE_ALIAS("sound-layout-64");
94 MODULE_ALIAS("sound-layout-65");
95 MODULE_ALIAS("sound-layout-66");
96 MODULE_ALIAS("sound-layout-67");
97 MODULE_ALIAS("sound-layout-68");
98 MODULE_ALIAS("sound-layout-69");
99 MODULE_ALIAS("sound-layout-70");
100 MODULE_ALIAS("sound-layout-72");
101 MODULE_ALIAS("sound-layout-76");
102 MODULE_ALIAS("sound-layout-80");
103 MODULE_ALIAS("sound-layout-82");
104 MODULE_ALIAS("sound-layout-84");
105 MODULE_ALIAS("sound-layout-86");
106 MODULE_ALIAS("sound-layout-90");
107 MODULE_ALIAS("sound-layout-92");
108 MODULE_ALIAS("sound-layout-94");
109 MODULE_ALIAS("sound-layout-96");
110 MODULE_ALIAS("sound-layout-98");
111 MODULE_ALIAS("sound-layout-100");
272 static struct layout layouts[] = {
556 static struct layout *find_layout_by_id(unsigned int id) find_layout_by_id()
558 struct layout *l; find_layout_by_id()
569 static struct layout *find_layout_by_device(unsigned int id) find_layout_by_device()
571 struct layout *l; find_layout_by_device()
582 static void use_layout(struct layout *l) use_layout()
605 struct layout *layout; member in struct:layout_dev
776 printk(KERN_INFO "snd-aoa-fabric-layout: " check_codec()
781 printk(KERN_INFO "snd-aoa-fabric-layout: " check_codec()
787 printk(KERN_INFO "snd-aoa-fabric-layout: " check_codec()
799 printk(KERN_INFO "snd-aoa-fabric-layout: can use this codec\n"); check_codec()
819 if (!ldev->layout->codecs[i].name) layout_found_codec()
821 if (strcmp(ldev->layout->codecs[i].name, codec->name) == 0) { layout_found_codec()
824 &ldev->layout->codecs[i]) == 0) layout_found_codec()
835 /* here remove the codec from the layout dev's layout_remove_codec()
994 struct layout *layout = NULL; aoa_fabric_layout_probe() local
1010 id = of_get_property(sound, "layout-id", NULL); aoa_fabric_layout_probe()
1012 layout = find_layout_by_id(*id); aoa_fabric_layout_probe()
1016 layout = find_layout_by_device(*id); aoa_fabric_layout_probe()
1019 if (!layout) { aoa_fabric_layout_probe()
1020 printk(KERN_ERR "snd-aoa-fabric-layout: unknown layout\n"); aoa_fabric_layout_probe()
1031 ldev->layout = layout; aoa_fabric_layout_probe()
1033 switch (layout->layout_id) { aoa_fabric_layout_probe()
1040 "snd-aoa-fabric-layout: Using direct GPIOs\n"); aoa_fabric_layout_probe()
1045 "snd-aoa-fabric-layout: Using PMF GPIOs\n"); aoa_fabric_layout_probe()
1056 sdev->pcmid = ldev->layout->pcmid; aoa_fabric_layout_probe()
1057 if (ldev->layout->busname) { aoa_fabric_layout_probe()
1058 sdev->pcmname = ldev->layout->busname; aoa_fabric_layout_probe()
1067 printk(KERN_INFO "snd-aoa-fabric-layout: can't use," aoa_fabric_layout_probe()
1072 use_layout(layout); aoa_fabric_layout_probe()
/linux-4.4.14/arch/x86/include/asm/
H A Dmath_emu.h6 /* This structure matches the layout of the data saved to the stack
H A Duser.h24 * The structure layout of user_xstateregs, used for exporting the
26 * interfaces will be same as the memory layout of xsave used by the processor
45 * bytes[512..519] of the memory layout are updated correspondingly.
H A Dvm86.h8 * This is the (kernel) stack-layout when we have done a "SAVE_ALL" from vm86
13 * setup. For user space layout see 'struct vm86_regs' above.
H A Dirq_vectors.h6 * Linux IRQ vector layout.
14 * bootup, and never changes them. This is the general layout of the
25 * This file enumerates the exact layout of them:
123 * If the irq_desc[] array has a sparse layout, we can size things
/linux-4.4.14/arch/x86/include/uapi/asm/
H A Ducontext.h5 * information in the memory layout pointed
H A Dsigcontext.h25 * Bytes 464..511 in the current 512-byte layout of the FXSAVE/FXRSTOR frame
57 * in the memory layout:
62 * Actual XSAVE state size, based on the xfeatures saved in the layout.
226 * of extended memory layout. See comments at the definition of
269 * of extended memory layout. See comments at the definition of
290 * field names but otherwise the same layout.
H A Dvm86.h57 * This is the stack-layout seen by the user space program when we have
58 * done a translation of "SAVE_ALL" from vm86 mode. The real kernel layout
/linux-4.4.14/arch/x86/entry/vdso/vdso32/
H A Dvdso32.lds.S3 * We #include the file to define the layout details.
13 #include "../vdso-layout.lds.S"
/linux-4.4.14/drivers/clk/at91/
H A Dclk-programmable.c39 const struct clk_programmable_layout *layout; member in struct:clk_programmable
50 const struct clk_programmable_layout *layout = prog->layout; clk_programmable_recalc_rate() local
52 pres = (pmc_read(pmc, AT91_PMC_PCKR(prog->id)) >> layout->pres_shift) & clk_programmable_recalc_rate()
103 const struct clk_programmable_layout *layout = prog->layout; clk_programmable_set_parent() local
105 u32 tmp = pmc_read(pmc, AT91_PMC_PCKR(prog->id)) & ~layout->css_mask; clk_programmable_set_parent()
107 if (layout->have_slck_mck) clk_programmable_set_parent()
110 if (index > layout->css_mask) { clk_programmable_set_parent()
111 if (index > PROG_MAX_RM9200_CSS && layout->have_slck_mck) { clk_programmable_set_parent()
129 const struct clk_programmable_layout *layout = prog->layout; clk_programmable_get_parent() local
132 ret = tmp & layout->css_mask; clk_programmable_get_parent()
133 if (layout->have_slck_mck && (tmp & AT91_PMC_CSSMCK_MCK) && !ret) clk_programmable_get_parent()
144 const struct clk_programmable_layout *layout = prog->layout; clk_programmable_set_rate() local
148 ~(PROG_PRES_MASK << layout->pres_shift); clk_programmable_set_rate()
162 tmp | (shift << layout->pres_shift)); clk_programmable_set_rate()
179 const struct clk_programmable_layout *layout) at91_clk_register_programmable()
199 prog->layout = layout; at91_clk_register_programmable()
230 const struct clk_programmable_layout *layout) of_at91_clk_prog_setup()
259 id, layout); for_each_child_of_node()
176 at91_clk_register_programmable(struct at91_pmc *pmc, const char *name, const char **parent_names, u8 num_parents, u8 id, const struct clk_programmable_layout *layout) at91_clk_register_programmable() argument
229 of_at91_clk_prog_setup(struct device_node *np, struct at91_pmc *pmc, const struct clk_programmable_layout *layout) of_at91_clk_prog_setup() argument
H A Dclk-pll.c31 #define PLL_MUL(reg, layout) (((reg) >> (layout)->mul_shift) & \
32 (layout)->mul_mask)
34 #define PLL_MUL_MASK(layout) ((layout)->mul_mask)
35 #define PLL_MUL_MAX(layout) (PLL_MUL_MASK(layout) + 1)
68 const struct clk_pll_layout *layout; member in struct:clk_pll
86 const struct clk_pll_layout *layout = pll->layout; clk_pll_prepare() local
99 mul = PLL_MUL(pllr, layout); clk_pll_prepare()
114 pllr &= ~layout->pllr_mask; clk_pll_prepare()
115 pllr |= layout->pllr_mask & clk_pll_prepare()
118 ((pll->mul & layout->mul_mask) << layout->mul_shift)); clk_pll_prepare()
143 const struct clk_pll_layout *layout = pll->layout; clk_pll_unprepare() local
145 u32 tmp = pmc_read(pmc, offset) & ~(layout->pllr_mask); clk_pll_unprepare()
165 const struct clk_pll_layout *layout = pll->layout; clk_pll_get_best_div_mul() local
200 * layout (limited by the MUL or DIV field size). clk_pll_get_best_div_mul()
202 maxdiv = DIV_ROUND_UP(parent_rate * PLL_MUL_MAX(layout), rate); clk_pll_get_best_div_mul()
313 const struct clk_pll_layout *layout, at91_clk_register_pll()
338 pll->layout = layout; at91_clk_register_pll()
342 tmp = pmc_read(pmc, offset) & layout->pllr_mask; at91_clk_register_pll()
344 pll->mul = PLL_MUL(tmp, layout); at91_clk_register_pll()
487 const struct clk_pll_layout *layout) of_at91_clk_pll_setup()
511 clk = at91_clk_register_pll(pmc, irq, name, parent_name, id, layout, of_at91_clk_pll_setup()
311 at91_clk_register_pll(struct at91_pmc *pmc, unsigned int irq, const char *name, const char *parent_name, u8 id, const struct clk_pll_layout *layout, const struct clk_pll_characteristics *characteristics) at91_clk_register_pll() argument
486 of_at91_clk_pll_setup(struct device_node *np, struct at91_pmc *pmc, const struct clk_pll_layout *layout) of_at91_clk_pll_setup() argument
H A Dclk-master.c50 const struct clk_master_layout *layout; member in struct:clk_master
92 const struct clk_master_layout *layout = master->layout; clk_master_recalc_rate() local
98 tmp = pmc_read(pmc, AT91_PMC_MCKR) & layout->mask; clk_master_recalc_rate()
101 pres = (tmp >> layout->pres_shift) & MASTER_PRES_MASK; clk_master_recalc_rate()
138 const struct clk_master_layout *layout, at91_clk_register_master()
160 master->layout = layout; at91_clk_register_master()
221 const struct clk_master_layout *layout) of_at91_clk_master_setup()
247 parent_names, layout, of_at91_clk_master_setup()
135 at91_clk_register_master(struct at91_pmc *pmc, unsigned int irq, const char *name, int num_parents, const char **parent_names, const struct clk_master_layout *layout, const struct clk_master_characteristics *characteristics) at91_clk_register_master() argument
220 of_at91_clk_master_setup(struct device_node *np, struct at91_pmc *pmc, const struct clk_master_layout *layout) of_at91_clk_master_setup() argument
/linux-4.4.14/fs/exofs/
H A Dore.c39 * that are defined by the pnfs-objects layout STD.
49 int ore_verify_layout(unsigned total_comps, struct ore_layout *layout) ore_verify_layout() argument
53 switch (layout->raid_algorithm) { ore_verify_layout()
55 layout->parity = 0; ore_verify_layout()
58 layout->parity = 1; ore_verify_layout()
61 layout->parity = 2; ore_verify_layout()
66 layout->raid_algorithm); ore_verify_layout()
69 if (0 != (layout->stripe_unit & ~PAGE_MASK)) { ore_verify_layout()
72 _LLU(layout->stripe_unit), PAGE_SIZE); ore_verify_layout()
75 if (layout->group_width) { ore_verify_layout()
76 if (!layout->group_depth) { ore_verify_layout()
80 if (total_comps < (layout->group_width * layout->mirrors_p1)) { ore_verify_layout()
83 total_comps, layout->group_width, ore_verify_layout()
84 layout->mirrors_p1); ore_verify_layout()
87 layout->group_count = total_comps / layout->mirrors_p1 / ore_verify_layout()
88 layout->group_width; ore_verify_layout()
90 if (layout->group_depth) { ore_verify_layout()
93 _LLU(layout->group_depth)); ore_verify_layout()
95 layout->group_width = total_comps / layout->mirrors_p1; ore_verify_layout()
96 layout->group_depth = -1; ore_verify_layout()
97 layout->group_count = 1; ore_verify_layout()
100 stripe_length = (u64)layout->group_width * layout->stripe_unit; ore_verify_layout()
107 layout->max_io_length = ore_verify_layout()
108 (BIO_MAX_PAGES_KMALLOC * PAGE_SIZE - layout->stripe_unit) * ore_verify_layout()
109 (layout->group_width - layout->parity); ore_verify_layout()
110 if (layout->parity) { ore_verify_layout()
112 (layout->group_width - layout->parity) * ore_verify_layout()
113 layout->stripe_unit; ore_verify_layout()
115 layout->max_io_length /= stripe_length; ore_verify_layout()
116 layout->max_io_length *= stripe_length; ore_verify_layout()
118 ORE_DBGMSG("max_io_length=0x%lx\n", layout->max_io_length); ore_verify_layout()
143 int _ore_get_io_state(struct ore_layout *layout, _ore_get_io_state() argument
220 ios->layout = layout; _ore_get_io_state()
242 int ore_get_rw_state(struct ore_layout *layout, struct ore_components *oc, ore_get_rw_state() argument
247 unsigned numdevs = layout->group_width * layout->mirrors_p1; ore_get_rw_state()
251 if (layout->parity && length) { ore_get_rw_state()
252 unsigned data_devs = layout->group_width - layout->parity; ore_get_rw_state()
253 unsigned stripe_size = layout->stripe_unit * data_devs; ore_get_rw_state()
254 unsigned pages_in_unit = layout->stripe_unit / PAGE_SIZE; ore_get_rw_state()
263 num_raid_units = num_stripes * layout->parity; ore_get_rw_state()
273 num_raid_units += layout->group_width; ore_get_rw_state()
282 ret = _ore_get_io_state(layout, oc, numdevs, sgs_per_dev, max_par_pages, ore_get_rw_state()
292 ore_calc_stripe_info(layout, offset, length, &ios->si); ore_get_rw_state()
296 if (layout->parity) ore_get_rw_state()
311 int ore_get_io_state(struct ore_layout *layout, struct ore_components *oc, ore_get_io_state() argument
314 return _ore_get_io_state(layout, oc, oc->numdevs, 0, 0, pios); ore_get_io_state()
526 void ore_calc_stripe_info(struct ore_layout *layout, u64 file_offset, ore_calc_stripe_info() argument
529 u32 stripe_unit = layout->stripe_unit; ore_calc_stripe_info()
530 u32 group_width = layout->group_width; ore_calc_stripe_info()
531 u64 group_depth = layout->group_depth; ore_calc_stripe_info()
532 u32 parity = layout->parity; ore_calc_stripe_info()
537 u64 S = T * layout->group_count; ore_calc_stripe_info()
579 si->dev *= layout->mirrors_p1; ore_calc_stripe_info()
580 si->par_dev *= layout->mirrors_p1; ore_calc_stripe_info()
610 (ios->layout->group_width - ios->layout->parity) / _ore_add_stripe_unit()
611 ios->layout->group_width; _ore_add_stripe_unit()
613 bio_size *= (ios->layout->stripe_unit / PAGE_SIZE); _ore_add_stripe_unit()
669 for (do_parity = ios->layout->parity; do_parity; --do_parity) { _add_parity_units()
690 ios->layout->group_width; _add_parity_units()
700 unsigned stripe_unit = ios->layout->stripe_unit; _prepare_for_striping()
701 unsigned mirrors_p1 = ios->layout->mirrors_p1; _prepare_for_striping()
702 unsigned group_width = ios->layout->group_width; _prepare_for_striping()
711 ios->numdevs = ios->layout->mirrors_p1; _prepare_for_striping()
757 si->cur_comp = group_width - ios->layout->parity; _prepare_for_striping()
771 ios->layout->parity * mirrors_p1) % _prepare_for_striping()
840 unsigned last_comp = cur_comp + ios->layout->mirrors_p1; _write_mirror()
896 BUG_ON((ios->layout->group_width > 1) && _write_mirror()
898 ios->layout->stripe_unit)); _write_mirror()
947 for (i = 0; i < ios->numdevs; i += ios->layout->mirrors_p1) { ore_write()
968 first_dev = per_dev->dev + first_dev % ios->layout->mirrors_p1; _ore_read_mirror()
1021 for (i = 0; i < ios->numdevs; i += ios->layout->mirrors_p1) { ore_read()
1057 int last_comp = cur_comp + ios->layout->mirrors_p1; _truncate_mirrors()
1086 static void _calc_trunk_info(struct ore_layout *layout, u64 file_offset, _calc_trunk_info() argument
1089 unsigned stripe_unit = layout->stripe_unit; _calc_trunk_info()
1091 ore_calc_stripe_info(layout, file_offset, 0, &ti->si); _calc_trunk_info()
1096 ti->first_group_dev = ti->si.dev - (ti->si.dev % layout->group_width); _calc_trunk_info()
1097 ti->nex_group_dev = ti->first_group_dev + layout->group_width; _calc_trunk_info()
1100 int ore_truncate(struct ore_layout *layout, struct ore_components *oc, ore_truncate() argument
1111 ret = ore_get_io_state(layout, oc, &ios); ore_truncate()
1115 _calc_trunk_info(ios->layout, size, &ti); ore_truncate()
1136 ios->layout->stripe_unit - ti.si.unit_off; ore_truncate()
1148 ret = _truncate_mirrors(ios, i * ios->layout->mirrors_p1, ore_truncate()
H A Dore_raid.c50 /* Array size is pages_in_unit (layout->stripe_unit / PAGE_SIZE) */
321 struct ore_layout *layout = ios->layout; _alloc_read_4_write() local
328 ret = _ore_get_io_state(layout, ios->oc, _alloc_read_4_write()
329 layout->group_width * layout->mirrors_p1, _alloc_read_4_write()
344 (ios->layout->group_width * ios->layout->mirrors_p1)); _add_to_r4w()
356 read_ios->numdevs = ios->layout->group_width * ios->layout->mirrors_p1; _add_to_r4w()
393 ore_calc_stripe_info(ios->layout, ios->offset, 0, &si); _add_to_r4w_first_page()
411 ore_calc_stripe_info(ios->layout, *offset, 0, &si); _add_to_r4w_last_page()
486 ore_calc_stripe_info(ios->layout, offset, 0, &read_si); _read_4_write_first_stripe()
541 ore_calc_stripe_info(ios->layout, offset, 0, &read_si); _read_4_write_last_stripe()
578 ore_calc_stripe_info(ios->layout, offset, 0, &read_si); _read_4_write_last_stripe()
605 for (i = 0; i < ios_read->numdevs; i += ios_read->layout->mirrors_p1) { _read_4_write_execute()
687 struct ore_layout *layout = ios->layout; _ore_post_alloc_raid_stuff() local
688 unsigned pages_in_unit = layout->stripe_unit / PAGE_SIZE; _ore_post_alloc_raid_stuff()
690 if (_sp2d_alloc(pages_in_unit, layout->group_width, _ore_post_alloc_raid_stuff()
691 layout->parity, &ios->sp2d)) { _ore_post_alloc_raid_stuff()
H A Dexofs.h76 struct ore_layout layout; /* Default files layout */ member in struct:exofs_sb_info
154 unsigned exofs_max_io_pages(struct ore_layout *layout,
231 oc->numdevs = sbi->layout.group_width * sbi->layout.mirrors_p1 * exofs_init_comps()
232 sbi->layout.group_count; exofs_init_comps()
237 first_dev = (dev_mod * sbi->layout.mirrors_p1) % sbi->oc.numdevs; exofs_init_comps()
H A Dsuper.c274 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); __sbi_read_stats()
329 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); exofs_sbi_write_stats()
388 ret = ore_get_io_state(&sbi->layout, &oc, &ios); exofs_sync_fs()
477 sbi->layout.stripe_unit = _read_and_match_data_map()
479 sbi->layout.group_width = _read_and_match_data_map()
481 sbi->layout.group_depth = _read_and_match_data_map()
483 sbi->layout.mirrors_p1 = _read_and_match_data_map()
485 sbi->layout.raid_algorithm = _read_and_match_data_map()
488 ret = ore_verify_layout(numdevs, &sbi->layout); _read_and_match_data_map()
490 EXOFS_DBGMSG("exofs: layout: " _read_and_match_data_map()
494 sbi->layout.stripe_unit, _read_and_match_data_map()
495 sbi->layout.group_width, _read_and_match_data_map()
496 _LLU(sbi->layout.group_depth), _read_and_match_data_map()
497 sbi->layout.mirrors_p1, _read_and_match_data_map()
498 sbi->layout.raid_algorithm); _read_and_match_data_map()
502 static unsigned __ra_pages(struct ore_layout *layout) __ra_pages() argument
505 unsigned ra_pages = layout->group_width * layout->stripe_unit / __ra_pages()
507 unsigned max_io_pages = exofs_max_io_pages(layout, ~0); __ra_pages()
628 * And cluster layout. A Superblock is identified by the string: exofs_read_lookup_dev_table()
737 /* Default layout in case we do not have a device-table */ exofs_fill_super()
738 sbi->layout.stripe_unit = PAGE_SIZE; exofs_fill_super()
739 sbi->layout.mirrors_p1 = 1; exofs_fill_super()
740 sbi->layout.group_width = 1; exofs_fill_super()
741 sbi->layout.group_depth = -1; exofs_fill_super()
742 sbi->layout.group_count = 1; exofs_fill_super()
812 sbi->bdi.ra_pages = __ra_pages(&sbi->layout); exofs_fill_super()
898 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); exofs_statfs()
H A Dinode.c40 unsigned exofs_max_io_pages(struct ore_layout *layout, exofs_max_io_pages() argument
44 layout->max_io_length / PAGE_SIZE); exofs_max_io_pages()
102 exofs_max_io_pages(&pcol->sbi->layout, ~0); _pcol_reset()
110 pages = exofs_max_io_pages(&pcol->sbi->layout, pcol->expected_pages); pcol_try_alloc()
319 int ret = ore_get_rw_state(&pcol->sbi->layout, &oi->oc, true, read_exec()
635 ret = ore_get_rw_state(&pcol->sbi->layout, &oi->oc, false, write_exec()
1013 ret = ore_truncate(&sbi->layout, &oi->oc, (u64)newsize); _do_truncate()
1077 struct exofs_on_disk_inode_layout *layout; exofs_get_inode() local
1080 ret = ore_get_io_state(&sbi->layout, &oi->oc, &ios); exofs_get_inode()
1119 layout = attrs[1].val_ptr; exofs_get_inode()
1120 if (layout->gen_func != cpu_to_le16(LAYOUT_MOVING_WINDOW)) { exofs_get_inode()
1121 EXOFS_ERR("%s: unsupported files layout %d\n", exofs_get_inode()
1122 __func__, layout->gen_func); exofs_get_inode()
1134 layout = attrs[2].val_ptr; exofs_get_inode()
1135 if (layout->gen_func != cpu_to_le16(LAYOUT_MOVING_WINDOW)) { exofs_get_inode()
1136 EXOFS_ERR("%s: unsupported meta-data layout %d\n", exofs_get_inode()
1137 __func__, layout->gen_func); exofs_get_inode()
1329 ret = ore_get_io_state(&sbi->layout, &oi->oc, &ios); exofs_new_inode()
1418 ret = ore_get_io_state(&sbi->layout, &oi->oc, &ios); exofs_update_inode()
1501 ret = ore_get_io_state(&sbi->layout, &oi->oc, &ios); exofs_evict_inode()
H A Dore_raid.h54 int _ore_get_io_state(struct ore_layout *layout,
/linux-4.4.14/net/ceph/
H A Dceph_fs.c8 * return true if @layout appears to be valid
10 int ceph_file_layout_is_valid(const struct ceph_file_layout *layout) ceph_file_layout_is_valid() argument
12 __u32 su = le32_to_cpu(layout->fl_stripe_unit); ceph_file_layout_is_valid()
13 __u32 sc = le32_to_cpu(layout->fl_stripe_count); ceph_file_layout_is_valid()
14 __u32 os = le32_to_cpu(layout->fl_object_size); ceph_file_layout_is_valid()
/linux-4.4.14/arch/frv/include/asm/
H A Dmem-layout.h1 /* mem-layout.h: memory layout
43 * virtual memory layout from kernel's point of view
49 /* see Documentation/frv/mmu-layout.txt */
66 * memory layout from userspace's point of view
H A Dsections.h1 /* sections.h: linkage layout variables
H A Dhighmem.h7 * See Documentation/frv/mmu-layout.txt for more information.
22 #include <asm/mem-layout.h>
H A Dpage.h5 #include <asm/mem-layout.h>
/linux-4.4.14/arch/x86/um/vdso/
H A Dvdso.lds.S3 * We #include the file to define the layout details.
12 #include "vdso-layout.lds.S"
H A Dvdso-layout.lds.S4 * This script controls its layout.
/linux-4.4.14/arch/alpha/include/uapi/asm/
H A Dsigcontext.h7 * stack layout as OSF/1, just in case we ever want to try
10 * This is the basic layout, but I don't know if we'll ever
/linux-4.4.14/fs/ceph/
H A Dioctl.h10 * CEPH_IOC_GET_LAYOUT - get file layout or dir layout policy
11 * CEPH_IOC_SET_LAYOUT - set file layout
12 * CEPH_IOC_SET_LAYOUT_POLICY - set dir layout policy
14 * The file layout specifies how file data is striped over objects in
19 * Files get a new layout based on the policy set on the containing
21 * you examine the layout for a file or the policy on a directory.
23 * SET_LAYOUT will let you set a layout on a newly created file. This
27 * SET_LAYOUT_POLICY will let you set a layout policy (default layout)
29 * directory (or any child directory that doesn't specify a layout of
H A Dioctl.c14 * get and set the file layout
76 /* validate changed params against current layout */ ceph_ioctl_set_layout()
116 req->r_args.setlayout.layout.fl_stripe_unit = ceph_ioctl_set_layout()
118 req->r_args.setlayout.layout.fl_stripe_count = ceph_ioctl_set_layout()
120 req->r_args.setlayout.layout.fl_object_size = ceph_ioctl_set_layout()
122 req->r_args.setlayout.layout.fl_pg_pool = cpu_to_le32(l.data_pool); ceph_ioctl_set_layout()
130 * Set a layout policy on a directory inode. All items in the tree
131 * rooted at this inode will inherit this layout on creation,
133 * unless a subdirectory has its own layout policy.
160 req->r_args.setlayout.layout.fl_stripe_unit = ceph_ioctl_set_layout_policy()
162 req->r_args.setlayout.layout.fl_stripe_count = ceph_ioctl_set_layout_policy()
164 req->r_args.setlayout.layout.fl_object_size = ceph_ioctl_set_layout_policy()
166 req->r_args.setlayout.layout.fl_pg_pool = ceph_ioctl_set_layout_policy()
H A Dxattr.c43 * statistics and layout metadata.
231 .name = "ceph.dir.layout",
232 .name_size = sizeof("ceph.dir.layout"),
238 XATTR_LAYOUT_FIELD(dir, layout, stripe_unit),
239 XATTR_LAYOUT_FIELD(dir, layout, stripe_count),
240 XATTR_LAYOUT_FIELD(dir, layout, object_size),
241 XATTR_LAYOUT_FIELD(dir, layout, pool),
258 .name = "ceph.file.layout",
259 .name_size = sizeof("ceph.file.layout"),
265 XATTR_LAYOUT_FIELD(file, layout, stripe_unit),
266 XATTR_LAYOUT_FIELD(file, layout, stripe_count),
267 XATTR_LAYOUT_FIELD(file, layout, object_size),
268 XATTR_LAYOUT_FIELD(file, layout, pool),
/linux-4.4.14/include/linux/
H A Dpim.h16 /* PIMv2 register message header layout (ietf-draft-idmr-pimvsm-v2-00.ps */
H A Dstmp_device.h2 * basic functions for devices following the "stmp" style register layout
H A Di2c-omap.h8 * layout and extra registers. The ID register in the V2 peripheral
H A Dqnx6_fs.h38 * This is the original qnx6 inode layout on disk.
115 /* Audi MMI 3G superblock layout is different to plain qnx6 */
H A Dpnfs_osd_xdr.h259 * of the layout. @iter members need not be initialized.
261 * @layout members are set. (@layout->olo_comps set to NULL).
272 * struct pnfs_osd_layout layout;
276 * status = pnfs_osd_xdr_decode_layout_map(&layout, &iter, xdr);
293 extern int pnfs_osd_xdr_decode_layout_map(struct pnfs_osd_layout *layout,
H A Dc2port.h42 /* Flash layout */
H A Defs_vh.h37 struct partition_table vh_pt[NPARTAB]; /* device partition layout */
H A Dnfs4.h248 NFS4ERR_PNFS_NO_LAYOUT = 10080, /* direct I/O with no layout */
255 NFS4ERR_DELEG_REVOKED = 10087, /* deleg./layout revoked */
535 /* used for both layout return and recall */
567 /* on the wire size of a block layout extent */
H A Dpage-flags-layout.h33 * page->flags layout:
/linux-4.4.14/arch/mips/include/asm/
H A Disadep.h3 * Most of the following constants reflect the different layout
/linux-4.4.14/drivers/mtd/nand/
H A Dnand_bch.c35 * @ecclayout: private ecc layout for this BCH configuration
112 * @ecclayout: output default layout
131 struct nand_ecclayout *layout; nand_bch_init() local
170 layout = &nbc->ecclayout; nand_bch_init()
171 layout->eccbytes = eccsteps*eccbytes; nand_bch_init()
174 if (layout->eccbytes+2 > mtd->oobsize) { nand_bch_init()
181 for (i = 0; i < layout->eccbytes; i++) nand_bch_init()
182 layout->eccpos[i] = mtd->oobsize-layout->eccbytes+i; nand_bch_init()
184 layout->oobfree[0].offset = 2; nand_bch_init()
185 layout->oobfree[0].length = mtd->oobsize-2-layout->eccbytes; nand_bch_init()
187 *ecclayout = layout; nand_bch_init()
196 printk(KERN_WARNING "invalid ecc layout\n"); nand_bch_init()
H A Dsm_common.c25 /* NOTE: This layout is is not compatabable with SmartMedia, */
26 /* because the 256 byte devices have page depenent oob layout */
122 /* ECC layout */ sm_register_device()
124 chip->ecc.layout = &nand_oob_sm; sm_register_device()
126 chip->ecc.layout = &nand_oob_sm_small; sm_register_device()
H A Dsunxi_nand.c103 /* define NFC_TIMING_CFG register layout */
214 * @layout: the OOB layout depending on the ECC requirements and the
219 struct nand_ecclayout layout; member in struct:sunxi_nand_hw_ecc
1038 struct nand_ecclayout *layout; sunxi_nand_hw_common_ecc_ctrl_init() local
1067 layout = &data->layout; sunxi_nand_hw_common_ecc_ctrl_init()
1075 layout->eccbytes = (ecc->bytes * nsectors); sunxi_nand_hw_common_ecc_ctrl_init()
1077 ecc->layout = layout; sunxi_nand_hw_common_ecc_ctrl_init()
1097 struct nand_ecclayout *layout; sunxi_nand_hw_ecc_ctrl_init() local
1108 layout = ecc->layout; sunxi_nand_hw_ecc_ctrl_init()
1113 layout->oobfree[i].offset = sunxi_nand_hw_ecc_ctrl_init()
1114 layout->oobfree[i - 1].offset + sunxi_nand_hw_ecc_ctrl_init()
1115 layout->oobfree[i - 1].length + sunxi_nand_hw_ecc_ctrl_init()
1117 layout->oobfree[i].length = 4; sunxi_nand_hw_ecc_ctrl_init()
1124 layout->oobfree[i].length = 2; sunxi_nand_hw_ecc_ctrl_init()
1125 layout->oobfree[i].offset = 2; sunxi_nand_hw_ecc_ctrl_init()
1129 layout->eccpos[(ecc->bytes * i) + j] = sunxi_nand_hw_ecc_ctrl_init()
1130 layout->oobfree[i].offset + sunxi_nand_hw_ecc_ctrl_init()
1131 layout->oobfree[i].length + j; sunxi_nand_hw_ecc_ctrl_init()
1135 layout->oobfree[nsectors].offset = sunxi_nand_hw_ecc_ctrl_init()
1136 layout->oobfree[nsectors - 1].offset + sunxi_nand_hw_ecc_ctrl_init()
1137 layout->oobfree[nsectors - 1].length + sunxi_nand_hw_ecc_ctrl_init()
1139 layout->oobfree[nsectors].length = mtd->oobsize - sunxi_nand_hw_ecc_ctrl_init()
1150 struct nand_ecclayout *layout; sunxi_nand_hw_syndrome_ecc_ctrl_init() local
1163 layout = ecc->layout; sunxi_nand_hw_syndrome_ecc_ctrl_init()
1167 layout->eccpos[i] = i; sunxi_nand_hw_syndrome_ecc_ctrl_init()
1169 layout->oobfree[0].length = mtd->oobsize - i; sunxi_nand_hw_syndrome_ecc_ctrl_init()
1170 layout->oobfree[0].offset = i; sunxi_nand_hw_syndrome_ecc_ctrl_init()
1183 kfree(ecc->layout); sunxi_nand_ecc_cleanup()
1217 ecc->layout = kzalloc(sizeof(*ecc->layout), GFP_KERNEL); sunxi_nand_ecc_init()
1218 if (!ecc->layout) sunxi_nand_ecc_init()
1220 ecc->layout->oobfree[0].length = mtd->oobsize; sunxi_nand_ecc_init()
H A Dfsl_ifc_nand.c268 for (i = 0; i < chip->ecc.layout->eccbytes; i++) { is_blank()
269 int pos = chip->ecc.layout->eccpos[i]; is_blank()
812 dev_dbg(priv->dev, "%s: nand->ecc.layout = %p\n", __func__, fsl_ifc_chip_init_tail()
813 chip->ecc.layout); fsl_ifc_chip_init_tail()
880 struct nand_ecclayout *layout; fsl_ifc_chip_init() local
932 layout = &oob_512_16bit_ecc4; fsl_ifc_chip_init()
934 layout = &oob_512_8bit_ecc4; fsl_ifc_chip_init()
945 layout = &oob_2048_ecc4; fsl_ifc_chip_init()
952 layout = &oob_4096_ecc4; fsl_ifc_chip_init()
954 layout = &oob_4096_ecc8; fsl_ifc_chip_init()
965 layout = &oob_8192_ecc4; fsl_ifc_chip_init()
967 layout = &oob_8192_ecc8; fsl_ifc_chip_init()
983 chip->ecc.layout = layout; fsl_ifc_chip_init()
H A Dfsmc_nand.c78 * ECC4 layout for NAND of pagesize 8192 bytes & OOBsize 256 bytes. 13*16 bytes
138 * ECC4 layout for NAND of pagesize 4096 bytes & OOBsize 224 bytes. 13*8 bytes
174 * ECC4 layout for NAND of pagesize 4096 bytes & OOBsize 128 bytes. 13*8 bytes
210 * ECC4 layout for NAND of pagesize 2048 bytes & OOBsize 64 bytes. 13*4 bytes of
234 * ECC4 layout for NAND of pagesize 512 bytes & OOBsize 16 bytes. 13 bytes of
1092 nand->ecc.layout = &fsmc_ecc4_16_layout; fsmc_nand_probe()
1096 nand->ecc.layout = &fsmc_ecc4_64_layout; fsmc_nand_probe()
1100 nand->ecc.layout = &fsmc_ecc4_128_layout; fsmc_nand_probe()
1104 nand->ecc.layout = &fsmc_ecc4_224_layout; fsmc_nand_probe()
1108 nand->ecc.layout = &fsmc_ecc4_256_layout; fsmc_nand_probe()
1137 * Don't set layout for BCH4 SW ECC. This will be fsmc_nand_probe()
1143 nand->ecc.layout = &fsmc_ecc1_16_layout; fsmc_nand_probe()
1146 nand->ecc.layout = &fsmc_ecc1_64_layout; fsmc_nand_probe()
1149 nand->ecc.layout = &fsmc_ecc1_128_layout; fsmc_nand_probe()
H A Datmel_nand.c70 /* oob layout for large page size
83 /* oob layout for small page size
477 static void pmecc_config_ecc_layout(struct nand_ecclayout *layout, pmecc_config_ecc_layout() argument
482 layout->eccbytes = ecc_len; pmecc_config_ecc_layout()
486 layout->eccpos[i] = oobsize - ecc_len + i; pmecc_config_ecc_layout()
488 layout->oobfree[0].offset = PMECC_OOB_RESERVED_BYTES; pmecc_config_ecc_layout()
489 layout->oobfree[0].length = pmecc_config_ecc_layout()
490 oobsize - ecc_len - layout->oobfree[0].offset; pmecc_config_ecc_layout()
836 pos = tmp + nand_chip->ecc.layout->eccpos[0]; pmecc_correct_data()
925 uint32_t *eccpos = chip->ecc.layout->eccpos; atmel_nand_pmecc_read_page()
961 uint32_t *eccpos = chip->ecc.layout->eccpos; atmel_nand_pmecc_write_page()
1045 ecc_layout = nand_chip->ecc.layout; atmel_pmecc_core_init()
1233 /* set ECC page size and oob layout */ atmel_pmecc_nand_init_params()
1268 nand_chip->ecc.layout = &atmel_pmecc_oobinfo; atmel_pmecc_nand_init_params()
1343 uint32_t *eccpos = chip->ecc.layout->eccpos; atmel_nand_read_page()
1608 /* set ECC page size and oob layout */ atmel_hw_nand_init_params()
1611 nand_chip->ecc.layout = &atmel_oobinfo_small; atmel_hw_nand_init_params()
1615 nand_chip->ecc.layout = &atmel_oobinfo_large; atmel_hw_nand_init_params()
1619 nand_chip->ecc.layout = &atmel_oobinfo_large; atmel_hw_nand_init_params()
1623 nand_chip->ecc.layout = &atmel_oobinfo_large; atmel_hw_nand_init_params()
2036 /* set page size and oob layout */ nfc_sram_init()
H A Dlpc32xx_slc.c163 * Note: Large page devices used the default layout
624 oobecc = chip->oob_poi + chip->ecc.layout->eccpos[0]; lpc32xx_nand_read_page_syndrome()
670 uint8_t *pb = chip->oob_poi + chip->ecc.layout->eccpos[0]; lpc32xx_nand_write_page_syndrome()
875 * Small page FLASH has a unique OOB layout, but large and huge lpc32xx_nand_probe()
876 * page FLASH use the standard layout. Small page FLASH uses a lpc32xx_nand_probe()
877 * custom BBT marker layout. lpc32xx_nand_probe()
880 chip->ecc.layout = &lpc32xx_nand_oob_16; lpc32xx_nand_probe()
893 * won't interfere with the ECC layout. Large and huge page lpc32xx_nand_probe()
894 * FLASH use the standard layout. lpc32xx_nand_probe()
H A Dplat_nand.c77 data->chip.ecc.layout = pdata->chip.ecclayout; plat_nand_probe()
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_plane.c262 const struct atmel_hlcdc_layer_cfg_layout *layout = atmel_hlcdc_plane_update_pos_and_size() local
263 &plane->layer.desc->layout; atmel_hlcdc_plane_update_pos_and_size()
265 if (layout->size) atmel_hlcdc_plane_update_pos_and_size()
267 layout->size, atmel_hlcdc_plane_update_pos_and_size()
272 if (layout->memsize) atmel_hlcdc_plane_update_pos_and_size()
274 layout->memsize, atmel_hlcdc_plane_update_pos_and_size()
279 if (layout->pos) atmel_hlcdc_plane_update_pos_and_size()
281 layout->pos, atmel_hlcdc_plane_update_pos_and_size()
345 const struct atmel_hlcdc_layer_cfg_layout *layout = atmel_hlcdc_plane_update_general_settings() local
346 &plane->layer.desc->layout; atmel_hlcdc_plane_update_general_settings()
365 atmel_hlcdc_layer_update_cfg(&plane->layer, layout->general_config, atmel_hlcdc_plane_update_general_settings()
414 const struct atmel_hlcdc_layer_cfg_layout *layout = atmel_hlcdc_plane_update_buffers() local
415 &layer->desc->layout; atmel_hlcdc_plane_update_buffers()
422 if (layout->xstride[i]) { atmel_hlcdc_plane_update_buffers()
424 layout->xstride[i], atmel_hlcdc_plane_update_buffers()
429 if (layout->pstride[i]) { atmel_hlcdc_plane_update_buffers()
431 layout->pstride[i], atmel_hlcdc_plane_update_buffers()
442 const struct atmel_hlcdc_layer_cfg_layout *layout; atmel_hlcdc_plane_prepare_disc_area() local
449 layout = &primary->layer.desc->layout; atmel_hlcdc_plane_prepare_disc_area()
450 if (!layout->disc_pos || !layout->disc_size) atmel_hlcdc_plane_prepare_disc_area()
508 const struct atmel_hlcdc_layer_cfg_layout *layout = atmel_hlcdc_plane_update_disc_area() local
509 &plane->layer.desc->layout; atmel_hlcdc_plane_update_disc_area()
517 atmel_hlcdc_layer_update_cfg(&plane->layer, layout->general_config, atmel_hlcdc_plane_update_disc_area()
525 layout->disc_pos, atmel_hlcdc_plane_update_disc_area()
530 layout->disc_size, atmel_hlcdc_plane_update_disc_area()
542 const struct atmel_hlcdc_layer_cfg_layout *layout = atmel_hlcdc_plane_atomic_check() local
543 &plane->layer.desc->layout; atmel_hlcdc_plane_atomic_check()
686 if (!layout->size && atmel_hlcdc_plane_atomic_check()
700 (!layout->memsize || atmel_hlcdc_plane_atomic_check()
820 if (desc->layout.xstride && desc->layout.pstride) atmel_hlcdc_plane_init_properties()
825 if (desc->layout.csc) { atmel_hlcdc_plane_init_properties()
H A Datmel_hlcdc_layer.h99 #define ATMEL_HLCDC_LAYER_POS_CFG(p) ATMEL_HLCDC_LAYER_CFG(p, (p)->desc->layout.pos)
100 #define ATMEL_HLCDC_LAYER_SIZE_CFG(p) ATMEL_HLCDC_LAYER_CFG(p, (p)->desc->layout.size)
101 #define ATMEL_HLCDC_LAYER_MEMSIZE_CFG(p) ATMEL_HLCDC_LAYER_CFG(p, (p)->desc->layout.memsize)
102 #define ATMEL_HLCDC_LAYER_XSTRIDE_CFG(p) ATMEL_HLCDC_LAYER_CFG(p, (p)->desc->layout.xstride)
103 #define ATMEL_HLCDC_LAYER_PSTRIDE_CFG(p) ATMEL_HLCDC_LAYER_CFG(p, (p)->desc->layout.pstride)
104 #define ATMEL_HLCDC_LAYER_DFLTCOLOR_CFG(p) ATMEL_HLCDC_LAYER_CFG(p, (p)->desc->layout.default_color)
105 #define ATMEL_HLCDC_LAYER_CRKEY_CFG(p) ATMEL_HLCDC_LAYER_CFG(p, (p)->desc->layout.chroma_key)
106 #define ATMEL_HLCDC_LAYER_CRKEY_MASK_CFG(p) ATMEL_HLCDC_LAYER_CFG(p, (p)->desc->layout.chroma_key_mask)
108 #define ATMEL_HLCDC_LAYER_GENERAL_CFG(p) ATMEL_HLCDC_LAYER_CFG(p, (p)->desc->layout.general_config)
125 #define ATMEL_HLCDC_LAYER_CSC_CFG(p, o) ATMEL_HLCDC_LAYER_CFG(p, (p)->desc->layout.csc + o)
127 #define ATMEL_HLCDC_LAYER_DISC_POS_CFG(p) ATMEL_HLCDC_LAYER_CFG(p, (p)->desc->layout.disc_pos)
129 #define ATMEL_HLCDC_LAYER_DISC_SIZE_CFG(p) ATMEL_HLCDC_LAYER_CFG(p, (p)->desc->layout.disc_size)
139 * Atmel HLCDC Layer registers layout structure
144 * This structure stores common registers layout for a given layer and is
256 * @layout: config registers layout
267 struct atmel_hlcdc_layer_cfg_layout layout; member in struct:atmel_hlcdc_layer_desc
H A Datmel_hlcdc_dc.c40 .layout = {
65 .layout = {
80 .layout = {
98 .layout = {
120 .layout = {
149 .layout = {
164 .layout = {
182 .layout = {
200 .layout = {
222 .layout = {
252 .layout = {
267 .layout = {
285 .layout = {
303 .layout = {
/linux-4.4.14/arch/hexagon/include/asm/
H A Dfixmap.h25 * A lot of the fixmap info is already in mem-layout.h
27 #include <asm/mem-layout.h>
H A Dmmu_context.h27 #include <asm/mem-layout.h>
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
H A DMakefile14 ptlrpc_objs += pers.o lproc_ptlrpc.o wiretest.o layout.o
/linux-4.4.14/fs/nfs/objlayout/
H A Dobjio_osd.c2 * pNFS Objects layout implementation over open-osd initiator library
66 struct ore_layout layout; member in struct:objio_segment
85 /* Send and wait for a get_device_info of devices in the layout,
219 struct pnfs_osd_layout layout; objio_alloc_lseg() local
224 err = pnfs_osd_xdr_decode_layout_map(&layout, &iter, xdr); objio_alloc_lseg()
228 err = __alloc_objio_seg(layout.olo_num_comps, gfp_flags, &objio_seg); objio_alloc_lseg()
232 objio_seg->layout.stripe_unit = layout.olo_map.odm_stripe_unit; objio_alloc_lseg()
233 objio_seg->layout.group_width = layout.olo_map.odm_group_width; objio_alloc_lseg()
234 objio_seg->layout.group_depth = layout.olo_map.odm_group_depth; objio_alloc_lseg()
235 objio_seg->layout.mirrors_p1 = layout.olo_map.odm_mirror_cnt + 1; objio_alloc_lseg()
236 objio_seg->layout.raid_algorithm = layout.olo_map.odm_raid_algorithm; objio_alloc_lseg()
238 err = ore_verify_layout(layout.olo_map.odm_num_comps, objio_alloc_lseg()
239 &objio_seg->layout); objio_alloc_lseg()
243 objio_seg->oc.first_dev = layout.olo_comps_index; objio_alloc_lseg()
314 ret = ore_get_rw_state(&objio_seg->layout, &objio_seg->oc, is_reading, objio_alloc_io_state()
415 ret = objio_alloc_io_state(NFS_I(hdr->inode)->layout, true, objio_read_pagelist()
503 ret = objio_alloc_io_state(NFS_I(hdr->inode)->layout, false, objio_write_pagelist()
556 OBJIO_LSEG(pgio->pg_lseg)->layout.max_io_length; objio_init_read()
559 static bool aligned_on_raid_stripe(u64 offset, struct ore_layout *layout, aligned_on_raid_stripe() argument
565 if (layout->raid_algorithm == PNFS_OSD_RAID_0) aligned_on_raid_stripe()
568 stripe_size = layout->stripe_unit * aligned_on_raid_stripe()
569 (layout->group_width - layout->parity); aligned_on_raid_stripe()
595 &OBJIO_LSEG(pgio->pg_lseg)->layout, objio_init_write()
600 OBJIO_LSEG(pgio->pg_lseg)->layout.max_io_length; objio_init_write()
H A Dpnfs_osd_xdr_cli.c159 int pnfs_osd_xdr_decode_layout_map(struct pnfs_osd_layout *layout, pnfs_osd_xdr_decode_layout_map() argument
170 p = _osd_xdr_decode_data_map(p, &layout->olo_map); pnfs_osd_xdr_decode_layout_map()
171 layout->olo_comps_index = be32_to_cpup(p++); pnfs_osd_xdr_decode_layout_map()
172 layout->olo_num_comps = be32_to_cpup(p++); pnfs_osd_xdr_decode_layout_map()
174 layout->olo_comps_index, layout->olo_num_comps); pnfs_osd_xdr_decode_layout_map()
176 iter->total_comps = layout->olo_num_comps; pnfs_osd_xdr_decode_layout_map()
H A Dobjlayout.c2 * pNFS Objects layout driver high level definitions
48 * Create a objlayout layout structure for the given inode and return it.
65 * Free an objlayout layout structure
79 * Unmarshall layout and store it in pnfslay.
126 * Free a layout segement
131 dprintk("%s: freeing layout segment %p\n", __func__, lseg); objlayout_free_lseg()
192 * the error for later reporting at layout-return.
/linux-4.4.14/include/uapi/drm/
H A Ddrm_fourcc.h166 * When adding a new token please document the layout with a code comment,
174 * Intel X-tiling layout
176 * This is a tiled layout using 4Kb tiles (except on gen2 where the tiles 2Kb)
177 * in row-major layout. Within the tile bytes are laid out row-major, with
183 * layout in a simple way for i915-specific userspace.
188 * Intel Y-tiling layout
190 * This is a tiled layout using 4Kb tiles (except on gen2 where the tiles 2Kb)
191 * in row-major layout. Within the tile bytes are laid out in OWORD (16 bytes)
198 * layout in a simple way for i915-specific userspace.
203 * Intel Yf-tiling layout
205 * This is a tiled layout using 4Kb tiles in row-major layout.
207 * are arranged in four groups (two wide, two high) with column-major layout.
/linux-4.4.14/fs/nfs/
H A Dpnfs.c2 * pNFS functions to call and manage layout drivers.
59 /* Return the registered pnfs layout driver module matching given id */
104 * Try to set the server's pnfs module to the pnfs layout type specified by id.
105 * Currently only one pNFS layout driver per filesystem is supported.
107 * @id layout type. Zero (illegal layout type) indicates pNFS not in use.
136 printk(KERN_ERR "NFS: %s: Error initializing pNFS layout " set_pnfs_layoutdriver()
196 * pNFS client layout cache
234 dprintk("%s: freeing layout cache %p\n", __func__, lo); pnfs_detach_layout_hdr()
235 nfsi->layout = NULL; pnfs_detach_layout_hdr()
248 WARN_ONCE(1, "NFS: BUG unfreed layout segments.\n"); pnfs_put_layout_hdr()
293 dprintk("%s Setting layout IOMODE_%s fail bit\n", __func__, pnfs_layout_io_set_failed()
614 lo = nfsi->layout; pnfs_destroy_layout()
638 lo = NFS_I(inode)->layout; pnfs_layout_add_bulk_destroy_list()
691 dprintk("%s freeing layout for inode %lu\n", __func__, pnfs_layout_free_bulk_destroy_list()
777 * Compare 2 layout stateid sequence ids, to see which is newer,
856 * Get layout from server.
876 * Synchronously retrieve layout information from server and send_layoutget()
932 list_for_each_entry_safe(lseg, tmp, &nfsi->layout->plh_segs, pls_list) { pnfs_clear_layoutcommit()
971 lrp->args.layout = lo; pnfs_send_layoutreturn()
983 * when the layout segment list is empty.
985 * Note that a pnfs_layout_hdr can exist with an empty layout segment
1002 lo = nfsi->layout; _pnfs_return_layout()
1005 dprintk("NFS: %s no layout to return\n", __func__); _pnfs_return_layout()
1008 stateid = nfsi->layout->plh_stateid; _pnfs_return_layout()
1027 dprintk("NFS: %s no layout segments to return\n", __func__); _pnfs_return_layout()
1052 lo = NFS_I(inode)->layout; pnfs_commit_and_return_layout()
1084 lo = nfsi->layout; pnfs_roc()
1094 /* Don't return layout if there is open file state */ pnfs_roc()
1136 lo = NFS_I(ino)->layout; pnfs_roc_release()
1151 lo = NFS_I(ino)->layout; pnfs_roc_set_barrier()
1165 lo = nfsi->layout; pnfs_roc_get_barrier()
1168 /* Since close does not return a layout stateid for use as pnfs_roc_get_barrier()
1184 lo = nfsi->layout; pnfs_wait_on_layoutreturn()
1196 * Compare two layout segments for sorting into layout cache.
1322 dprintk("%s Begin ino=%p layout=%p\n", __func__, ino, nfsi->layout); pnfs_find_alloc_layout()
1324 if (nfsi->layout != NULL) pnfs_find_alloc_layout()
1330 if (likely(nfsi->layout == NULL)) { /* Won the race? */ pnfs_find_alloc_layout()
1331 nfsi->layout = new; pnfs_find_alloc_layout()
1336 pnfs_get_layout_hdr(nfsi->layout); pnfs_find_alloc_layout()
1337 return nfsi->layout; pnfs_find_alloc_layout()
1369 * lookup range in layout
1398 * when there are no layout segments. Note that in pnfs_update_layout iomode
1501 * The appropriate layout segment is referenced and returned to the caller.
1566 /* Check to see if the layout for the given range pnfs_update_layout()
1622 dprintk("%s: inode %s/%llu pNFS layout segment %s for " pnfs_update_layout()
1660 struct pnfs_layout_hdr *lo = NFS_I(lgp->args.inode)->layout; pnfs_layout_process()
1670 /* Inject layout blob into I/O device driver */ pnfs_layout_process()
1677 dprintk("%s: Could not allocate layout: error %d\n", pnfs_layout_process()
1761 struct pnfs_layout_hdr *lo = NFS_I(inode)->layout; pnfs_error_mark_layout_for_return()
1859 * Calculate how many bytes are left in the layout segment pnfs_generic_pg_test()
1917 * Called by non rpc-based layout drivers
2034 * Called by non rpc-based layout drivers
2157 list_for_each_entry(lseg, &NFS_I(inode)->layout->plh_segs, pls_list) { pnfs_list_write_lseg()
2192 nfsi->layout->plh_lwb = end_pos; pnfs_set_layoutcommit()
2196 } else if (end_pos > nfsi->layout->plh_lwb) pnfs_set_layoutcommit()
2197 nfsi->layout->plh_lwb = end_pos; pnfs_set_layoutcommit()
2204 __func__, lseg, nfsi->layout->plh_lwb); pnfs_set_layoutcommit()
2223 * For the LAYOUT4_NFSV4_1_FILES layout type, NFS_DATA_SYNC WRITEs and
2270 end_pos = nfsi->layout->plh_lwb; pnfs_layoutcommit_inode()
2272 nfs4_stateid_copy(&data->args.stateid, &nfsi->layout->plh_stateid); pnfs_layoutcommit_inode()
2276 data->cred = get_rpccred(nfsi->layout->plh_lc_cred); pnfs_layoutcommit_inode()
2289 if (end_pos > nfsi->layout->plh_lwb) pnfs_layoutcommit_inode()
2290 nfsi->layout->plh_lwb = end_pos; pnfs_layoutcommit_inode()
2351 if (!NFS_I(inode)->layout) { pnfs_report_layoutstat()
2355 hdr = NFS_I(inode)->layout; pnfs_report_layoutstat()
H A Dpnfs.h94 NFS_LAYOUT_RO_FAILED = 0, /* get ro layout failed stop trying */
95 NFS_LAYOUT_RW_FAILED, /* get rw layout failed stop trying */
96 NFS_LAYOUT_BULK_RECALL, /* bulk recall affecting layout */
97 NFS_LAYOUT_RETURN, /* Return this layout ASAP */
98 NFS_LAYOUT_RETURN_BEFORE_CLOSE, /* Return this layout before close */
99 NFS_LAYOUT_INVALID_STID, /* layout stateid id is invalid */
105 /* Should the pNFS client commit and return the layout upon truncate to
114 /* Per-layout driver specific registration structure */
163 * Return PNFS_ATTEMPTED to indicate the layout code has attempted
192 struct list_head plh_segs; /* layout segments list */
372 return NFS_I(inode)->layout != NULL; nfs_have_layout()
412 /* Return true if a layout driver is being used for this mountpoint */ pnfs_enabled_sb()
489 /* Should the pNFS client commit and return the layout upon a setattr */
529 if (pnfs_enabled_sb(nfss) && nfsi->layout) pnfs_return_layout()
H A Dcallback_proc.c109 * Lookup a layout by filehandle.
111 * Note: gets a refcount on the layout hdr and on its respective inode.
112 * Caller must put the layout hdr and the inode.
134 /* Is this layout in the process of being freed? */ get_layout_by_fh_locked()
135 if (NFS_I(ino)->layout != lo) { get_layout_by_fh_locked()
289 dprintk("%s: layout type %u not found\n", nfs4_callback_devicenotify()
/linux-4.4.14/include/scsi/
H A Dosd_ore.h123 struct ore_layout *layout; member in struct:ore_io_state
175 int ore_verify_layout(unsigned total_comps, struct ore_layout *layout);
176 void ore_calc_stripe_info(struct ore_layout *layout, u64 file_offset,
178 int ore_get_rw_state(struct ore_layout *layout, struct ore_components *comps,
181 int ore_get_io_state(struct ore_layout *layout, struct ore_components *comps,
194 int ore_truncate(struct ore_layout *layout, struct ore_components *comps,
/linux-4.4.14/arch/um/kernel/skas/
H A Dprocess.c8 #include <as-layout.h>
H A Dclone.c11 #include <as-layout.h>
H A Dmmu.c13 #include <as-layout.h>
/linux-4.4.14/arch/x86/um/
H A Dstub_32.S1 #include <as-layout.h>
H A Dstub_64.S1 #include <as-layout.h>
/linux-4.4.14/sound/aoa/soundbus/i2sbus/
H A Dcore.c32 " no layout-id property is present");
116 int layout, struct resource *res) i2sbus_get_and_fixup_rsrc()
122 /* Machines with layout 76 and 36 (K2 based) have a weird device i2sbus_get_and_fixup_rsrc()
129 * normal layout i2sbus_get_and_fixup_rsrc()
131 if (layout != 76 && layout != 36) i2sbus_get_and_fixup_rsrc()
159 int i, layout = 0, rlen, ok = force; i2sbus_add_dev() local
186 const u32 *id = of_get_property(sound, "layout-id", NULL); i2sbus_add_dev()
189 layout = *id; i2sbus_add_dev()
191 "sound-layout-%d", layout); i2sbus_add_dev()
204 layout = -1; i2sbus_add_dev()
208 /* for the time being, until we can handle non-layout-id i2sbus_add_dev()
210 * layout-id property or we haven't been forced to attach. i2sbus_add_dev()
211 * When there are two i2s busses and only one has a layout-id, i2sbus_add_dev()
254 if (i2sbus_get_and_fixup_rsrc(np,i,layout,&dev->resources[i])) i2sbus_add_dev()
115 i2sbus_get_and_fixup_rsrc(struct device_node *np, int index, int layout, struct resource *res) i2sbus_get_and_fixup_rsrc() argument
/linux-4.4.14/arch/sparc/include/asm/
H A Decc.h37 /* ECC Fault Control Register layout:
50 /* ECC Fault Address Register Zero layout:
85 /* ECC Fault Address Register One layout:
96 /* ECC Fault Status Register layout:
/linux-4.4.14/arch/mn10300/include/asm/
H A Dptrace.h1 /* MN10300 Exception frame layout and ptrace constants
/linux-4.4.14/arch/blackfin/include/asm/
H A Dl1layout.h2 * Defines a layout of L1 scratchpad memory that userspace can rely on.
H A Dsyscall.h59 * @regs: the register layout to extract syscall arguments from
71 * Assume the ptrace layout doesn't change -- r5 is first in memory, syscall_get_arguments()
H A Dbfin5xx_spi.h51 * bfin spi registers layout
H A Dbfin_dma.h106 * bfin dma registers layout
150 * bfin handshake mdma registers layout
H A Dbfin_ppi.h22 * bfin ppi registers layout
33 * bfin eppi registers layout
53 * bfin eppi3 registers layout
/linux-4.4.14/drivers/input/keyboard/
H A Dsunkbd.c86 volatile s8 layout; member in struct:sunkbd
109 if (sunkbd->layout == -1) { sunkbd_interrupt()
110 sunkbd->layout = data; sunkbd_interrupt()
123 sunkbd->layout = -1; sunkbd_interrupt()
205 sunkbd->layout = -2; sunkbd_initialize()
208 sunkbd->layout >= 0, HZ / 4); sunkbd_initialize()
209 if (sunkbd->layout < 0) sunkbd_initialize()
211 if (sunkbd->layout & SUNKBD_LAYOUT_5_MASK) sunkbd_initialize()
/linux-4.4.14/mm/kasan/
H A Dkasan.h37 /* The layout of struct dictated by compiler */
44 /* The layout of struct dictated by compiler */
/linux-4.4.14/include/uapi/linux/
H A Dbfs_fs.h22 /* BFS inode layout on disk */
49 /* BFS superblock layout on disk */
H A Dptrace.h38 * other user_regset flavors, the user_regset layout and the ELF core dump note
39 * payload are exactly the same layout.
H A Dif_team.h41 /* Nested layout of get/set msg:
H A Dminix_fs.h31 * This is the original minix inode layout on disk.
H A Dqnx4_fs.h41 * This is the original qnx4 inode layout on disk.
H A Dvirtio_config.h57 /* Can the device handle any descriptor layout? */
H A Dfalloc.h13 * resulting in a file layout that looks like the range that was
/linux-4.4.14/include/linux/platform_data/
H A Dmtd-nand-omap2.h32 * ECC layout compatible with ROM code layout
/linux-4.4.14/arch/arm/mach-omap2/
H A Domap4-sar-layout.h2 * omap4-sar-layout.h: OMAP4 SAR RAM layout header file
/linux-4.4.14/arch/x86/mm/
H A Dmmap.c2 * Flexible mmap layout support
97 * Bottom-up (legacy) layout on X86_32 did not support randomization, X86_64
110 * process VM image, sets up which VM layout function to use:
H A Dnuma_32.c34 * physnode_map keeps track of the physical memory layout of a generic
/linux-4.4.14/arch/powerpc/mm/
H A Dmmap.c2 * flexible mmap layout support
83 * process VM image, sets up which VM layout function to use:
93 * Fall back to the standard layout if the personality arch_pick_mmap_layout()
/linux-4.4.14/drivers/staging/comedi/drivers/
H A Dcb_pcidas64.c642 enum register_layout layout; member in struct:pcidas64_board
676 if (board->layout == LAYOUT_4020) ai_dma_ring_count()
693 .layout = LAYOUT_64XX,
709 .layout = LAYOUT_64XX,
725 .layout = LAYOUT_64XX,
741 .layout = LAYOUT_64XX,
757 .layout = LAYOUT_64XX,
772 .layout = LAYOUT_60XX,
788 .layout = LAYOUT_60XX,
803 .layout = LAYOUT_60XX,
819 .layout = LAYOUT_60XX,
835 .layout = LAYOUT_60XX,
851 .layout = LAYOUT_60XX,
865 .layout = LAYOUT_60XX,
877 .layout = LAYOUT_60XX,
890 .layout = LAYOUT_60XX,
904 .layout = LAYOUT_60XX,
920 .layout = LAYOUT_60XX,
936 .layout = LAYOUT_60XX,
952 .layout = LAYOUT_60XX,
968 .layout = LAYOUT_60XX,
984 .layout = LAYOUT_60XX,
1000 .layout = LAYOUT_4020,
1019 .layout = LAYOUT_64XX,
1032 .layout = LAYOUT_64XX,
1045 .layout = LAYOUT_64XX,
1058 .layout = LAYOUT_64XX,
1071 .layout = LAYOUT_64XX,
1084 .layout = LAYOUT_64XX,
1097 .layout = LAYOUT_64XX,
1111 if ((board->layout == LAYOUT_64XX && !use_differential) || se_diff_bit_6xxx()
1112 (board->layout == LAYOUT_60XX && use_differential)) se_diff_bit_6xxx()
1195 if (board->layout == LAYOUT_4020) hw_revision()
1219 return board->ao_nchan && board->layout != LAYOUT_4020; ao_cmd_is_supported()
1275 if (board->layout != LAYOUT_4020) enable_ai_interrupts()
1329 if (board->layout == LAYOUT_4020) init_plx9080()
1448 if (board->layout == LAYOUT_4020) init_stc_registers()
1519 if (board->layout == LAYOUT_4020) alloc_and_init_dma_members()
1743 if (board->layout == LAYOUT_4020) { cb_pcidas64_ai_eoc()
1781 if (board->layout != LAYOUT_4020) { ai_rinsn()
1791 if (board->layout == LAYOUT_60XX) ai_rinsn()
1872 if (board->layout == LAYOUT_4020) ai_rinsn()
1889 if (board->layout == LAYOUT_60XX) ai_config_calibration_source()
1961 switch (board->layout) { ai_config_master_clock()
2031 if (board->layout == LAYOUT_4020) { check_adc_timing()
2083 if (board->layout == LAYOUT_4020) { cb_pcidas64_ai_check_chanlist()
2118 if (board->layout == LAYOUT_4020) ai_cmdtest()
2125 if (board->layout == LAYOUT_4020) ai_cmdtest()
2167 if (board->layout == LAYOUT_4020) { ai_cmdtest()
2349 switch (board->layout) { select_master_clock()
2387 if (board->layout == LAYOUT_4020) { set_ai_pacing()
2433 if (board->layout != LAYOUT_4020) { setup_channel_queue()
2600 if (board->layout != LAYOUT_4020) { ai_cmd()
2630 board->layout == LAYOUT_4020) { ai_cmd()
2649 if (board->layout == LAYOUT_4020) { ai_cmd()
2786 if (board->layout == LAYOUT_4020) pio_drain_ai_fifo()
2863 (board->layout != LAYOUT_4020))) { handle_ai_interrupt()
3128 if (board->layout == LAYOUT_4020) { ao_winsn()
3275 if (board->layout == LAYOUT_4020) external_ai_queue_in_use()
3627 switch (board->layout) { caldac_write()
3808 if (board->layout == LAYOUT_60XX) setup_subdevices()
3810 else if (board->layout == LAYOUT_64XX) setup_subdevices()
3822 if (board->layout == LAYOUT_4020) { setup_subdevices()
3864 if (board->layout == LAYOUT_64XX) { setup_subdevices()
3876 if (board->layout == LAYOUT_64XX) { setup_subdevices()
3891 if (board->layout == LAYOUT_4020) { setup_subdevices()
3906 if (board->layout == LAYOUT_60XX) { setup_subdevices()
3923 if (board->layout == LAYOUT_4020) setup_subdevices()
3940 if (board->layout == LAYOUT_64XX) { setup_subdevices()
/linux-4.4.14/arch/tile/include/asm/
H A Dkmap_types.h22 * 64-processor, 64KB-page layout build, making KM_TYPE_NR one larger
H A Dkgdb.h26 * TILE-Gx gdb is expecting the following register layout:
H A Dvdso.h24 * NEVER USE THEM IN USERSPACE CODE DIRECTLY. The layout of the
H A Dspinlock_32.h77 /* Internal layout of the word; do not use. */
/linux-4.4.14/arch/um/kernel/
H A Dexec.c15 #include <as-layout.h>
/linux-4.4.14/block/partitions/
H A Datari.h6 * definitions for Atari Rootsector layout
/linux-4.4.14/arch/s390/net/
H A Dbpf_jit.h24 * Stackframe layout (packed stack):
/linux-4.4.14/arch/sh/include/asm/
H A Dpgtable-3level.h7 * Some cores need a 3-level page table layout, for example when using
/linux-4.4.14/arch/sh/kernel/vsyscall/
H A DMakefile27 # table and layout of the linked DSO. With ld -R we can then refer to
H A Dvsyscall.lds.S4 * segment (that fits in one page). This script controls its layout.
/linux-4.4.14/arch/openrisc/include/uapi/asm/
H A Dptrace.h24 * This is the layout of the regset returned by the GETREGSET ptrace call
/linux-4.4.14/drivers/usb/chipidea/
H A Dudc.h22 /* DMA layout of transfer descriptors */
45 /* DMA layout of queue heads */
/linux-4.4.14/arch/tile/mm/
H A Dmmap.c50 * process VM image, sets up which VM layout function to use:
77 * Use standard layout if the expected stack growth is unlimited arch_pick_mmap_layout()
/linux-4.4.14/arch/x86/kernel/fpu/
H A Dsignal.c40 * layout. This detects the case where the user just copied the legacy check_for_xstate()
41 * fpstate layout with out copying the extended state information check_for_xstate()
42 * in the memory layout. check_for_xstate()
107 * header as well as change any contents in the memory layout. save_xstate_epilog()
207 * layout and not enabled by the OS. sanitize_restored_xstate()
280 * memory layout. Restore just the FP/SSE and init all __fpu__restore_sig()
380 * Prepare the SW reserved portion of the fxsave memory layout, indicating
381 * the presence of the extended state information in the memory layout
H A Dxstate.c100 * to the corresponding memory layout.
106 * to always ensure that the memory layout of a feature will be in the init state
108 * see some stale state in the memory layout during signal handling, debugging etc.
123 * to do for us, as the memory layout is up to date. fpstate_sanitize_xstate()
156 * standard xstate layout, if their header bit is in the init fpstate_sanitize_xstate()
199 * in the XSAVE state memory layout.
/linux-4.4.14/drivers/md/
H A Ddm-raid.c98 static char *raid10_md_layout_to_format(int layout) raid10_md_layout_to_format() argument
104 if ((layout & 0x10000) && (layout & 0x20000)) raid10_md_layout_to_format()
107 if ((layout & 0xFF) > 1) raid10_md_layout_to_format()
113 static unsigned raid10_md_layout_to_copies(int layout) raid10_md_layout_to_copies() argument
115 if ((layout & 0xFF) > 1) raid10_md_layout_to_copies()
116 return layout & 0xFF; raid10_md_layout_to_copies()
117 return (layout >> 8) & 0xFF; raid10_md_layout_to_copies()
172 rs->md.layout = raid_type->algorithm; context_alloc()
173 rs->md.new_layout = rs->md.layout; context_alloc()
406 copies = raid10_md_layout_to_copies(rs->md.layout); validate_raid_redundancy()
424 if (!strcmp("near", raid10_md_layout_to_format(rs->md.layout))) { validate_raid_redundancy()
719 rs->md.layout = raid10_format_to_md_layout(raid10_format, parse_raid_params()
721 rs->md.new_layout = rs->md.layout; parse_raid_params()
782 __le32 layout; member in struct:dm_raid_superblock
837 sb->layout = cpu_to_le32(mddev->layout); super_sync()
926 if (le32_to_cpu(sb->layout) != mddev->layout) { super_init_validation()
927 DMERR("Reshaping arrays not yet supported. (RAID layout change)"); super_init_validation()
928 DMERR(" 0x%X vs 0x%X", le32_to_cpu(sb->layout), mddev->layout); super_init_validation()
929 DMERR(" Old layout: %s w/ %d copies", super_init_validation()
930 raid10_md_layout_to_format(le32_to_cpu(sb->layout)), super_init_validation()
931 raid10_md_layout_to_copies(le32_to_cpu(sb->layout))); super_init_validation()
932 DMERR(" New layout: %s w/ %d copies", super_init_validation()
933 raid10_md_layout_to_format(mddev->layout), super_init_validation()
934 raid10_md_layout_to_copies(mddev->layout)); super_init_validation()
1521 raid10_md_layout_to_copies(rs->md.layout)); raid_status()
1525 raid10_md_layout_to_format(rs->md.layout)); raid_status()
H A Dfaulty.c35 * The bottom 5 bits of the "layout" indicate the mode. The
41 * All current faults can be clear using a layout of "0".
271 /* new layout */ reshape()
287 mddev->layout = -1; /* makes sure further changes come through */ reshape()
H A Draid5.h589 * with exactly the same layout for data and parity, and
600 static inline int algorithm_valid_raid5(int layout) algorithm_valid_raid5() argument
602 return (layout >= 0) && algorithm_valid_raid5()
603 (layout <= 5); algorithm_valid_raid5()
605 static inline int algorithm_valid_raid6(int layout) algorithm_valid_raid6() argument
607 return (layout >= 0 && layout <= 5) algorithm_valid_raid6()
609 (layout >= 8 && layout <= 10) algorithm_valid_raid6()
611 (layout >= 16 && layout <= 20); algorithm_valid_raid6()
614 static inline int algorithm_is_DDF(int layout) algorithm_is_DDF() argument
616 return layout >= 8 && layout <= 10; algorithm_is_DDF()
H A Draid0.c545 /* Check layout: raid0_takeover_raid10()
551 if (mddev->layout != ((1 << 8) + 2)) { raid0_takeover_raid10()
552 printk(KERN_ERR "md/raid0:%s:: Raid0 cannot takover layout: 0x%x\n", raid0_takeover_raid10()
554 mddev->layout); raid0_takeover_raid10()
587 /* Check layout: raid0_takeover_raid1()
628 * raid5 - providing it is Raid4 layout and one disk is faulty raid0_takeover()
642 if (mddev->layout == ALGORITHM_PARITY_N) raid0_takeover()
645 printk(KERN_ERR "md/raid0:%s: Raid can only takeover Raid5 with layout: %d\n", raid0_takeover()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Dvvp_io.c65 * For swapping layout. The file's layout may have changed.
67 * correctness of layout. It works because swapping layout processes
81 * extent lock and GROUP lock has to hold to swap layout */ can_populate_pages()
124 " ignore/verify layout %d/%d, layout version %d restore needed %d\n", vvp_io_fini()
138 /* The layout will change after restore, so we need to vvp_io_fini()
139 * block on layout lock hold by the MDT vvp_io_fini()
140 * as MDT will not send new layout in lvb (see LU-3124) vvp_io_fini()
159 /* check layout version */ vvp_io_fini()
164 DFID" layout changed from %d to %d.\n", vvp_io_fini()
1141 " ignore/verify layout %d/%d, layout version %d restore needed %d\n", vvp_io_init()
1174 /* ignore layout change for generic CIT_MISC but not for glimpse. vvp_io_init()
1180 /* Enqueue layout lock and get layout version. We need to do this vvp_io_init()
1182 * because it might not grant layout lock in IT_OPEN. */ vvp_io_init()
1187 * on OSTs haven't been destroyed (async unlink), layout vvp_io_init()
1192 CERROR("%s: refresh file layout " DFID " error %d.\n", vvp_io_init()
H A Dvvp_object.c128 CDEBUG(D_VFSTRACE, DFID ": losing layout lock\n", vvp_conf_set()
137 * page may be stale due to layout change, and the process vvp_conf_set()
151 CDEBUG(D_VFSTRACE, DFID ": layout version change: %u -> %u\n", vvp_conf_set()
158 CDEBUG(D_VFSTRACE, DFID ": layout nuked: %u.\n", vvp_conf_set()
/linux-4.4.14/drivers/mtd/nand/brcmnand/
H A Dbrcmnand.c458 /* v5.0 and earlier has a different CS0 offset layout */ brcmnand_revision_init()
782 * Returns a nand_ecclayout strucutre for the given layout/configuration.
790 struct nand_ecclayout *layout; brcmnand_create_layout() local
796 layout = devm_kzalloc(&host->pdev->dev, sizeof(*layout), GFP_KERNEL); brcmnand_create_layout()
797 if (!layout) brcmnand_create_layout()
808 layout->oobfree[idx2].offset = i * sas + 1; brcmnand_create_layout()
811 layout->oobfree[idx2].offset--; brcmnand_create_layout()
812 layout->oobfree[idx2].length = 5; brcmnand_create_layout()
814 layout->oobfree[idx2].offset = i * sas; brcmnand_create_layout()
815 layout->oobfree[idx2].length = 6; brcmnand_create_layout()
818 layout->eccpos[idx1++] = i * sas + 6; brcmnand_create_layout()
819 layout->eccpos[idx1++] = i * sas + 7; brcmnand_create_layout()
820 layout->eccpos[idx1++] = i * sas + 8; brcmnand_create_layout()
821 layout->oobfree[idx2].offset = i * sas + 9; brcmnand_create_layout()
822 layout->oobfree[idx2].length = 7; brcmnand_create_layout()
846 layout->eccbytes = req * sectors; brcmnand_create_layout()
850 layout->eccpos[idx1] = i * sas + j; brcmnand_create_layout()
856 layout->oobfree[idx2].offset = 0; brcmnand_create_layout()
857 layout->oobfree[idx2].length = 5; brcmnand_create_layout()
860 layout->oobfree[idx2].offset = 6; brcmnand_create_layout()
861 layout->oobfree[idx2].length = brcmnand_create_layout()
866 layout->oobfree[idx2].offset = i * sas + 1; brcmnand_create_layout()
867 layout->oobfree[idx2].length = sas - req - 1; brcmnand_create_layout()
871 layout->oobfree[idx2].offset = i * sas; brcmnand_create_layout()
872 layout->oobfree[idx2].length = sas - req; brcmnand_create_layout()
883 layout->oobavail += layout->oobfree[i].length; brcmnand_create_layout()
884 return layout; brcmnand_create_layout()
890 struct nand_ecclayout *layout; brcmstb_choose_ecc_layout() local
897 layout = brcmnand_create_layout(ecc_level, host); brcmstb_choose_ecc_layout()
898 if (!layout) { brcmstb_choose_ecc_layout()
904 return layout; brcmstb_choose_ecc_layout()
2021 chip->ecc.layout = brcmstb_choose_ecc_layout(host); brcmnand_init_cs()
2022 if (!chip->ecc.layout) brcmnand_init_cs()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/device_include/
H A Dsvga_overlay.h57 /* FIFO escape layout:
61 /* FIFO escape layout:
/linux-4.4.14/include/media/
H A Dsoc_mediabus.h53 * enum soc_mbus_layout - planes layout in memory
84 enum soc_mbus_layout layout; member in struct:soc_mbus_pixelfmt
H A Dsmiapp.h42 * Sometimes due to board layout considerations the camera module can be
/linux-4.4.14/arch/mips/include/uapi/asm/
H A Dstat.h47 * amounts of padding around dev_t's. The memory layout is the same as of
91 /* The memory layout is the same as of struct stat64 of the 32-bit kernel. */
/linux-4.4.14/arch/sh/boards/mach-r2d/
H A Dirq.c55 /* IRLMSK mask register layout for R2D-1 */
93 /* IRLMSK mask register layout for R2D-PLUS */
/linux-4.4.14/arch/arm64/mm/
H A Dmmap.c73 * image, sets up which VM layout function to use:
83 * Fall back to the standard layout if the personality bit is set, or arch_pick_mmap_layout()
/linux-4.4.14/arch/arm/kernel/
H A Dsigreturn_codes.S29 * arch/arm/kernel/signal.c is very sensitive to layout of these code
36 * directive to keep correct layout of sigreturn_codes array.
/linux-4.4.14/arch/powerpc/platforms/ps3/
H A Ddevice-init.c129 struct layout { ps3_setup_gelic_device() struct
139 p = kzalloc(sizeof(struct layout), GFP_KERNEL); ps3_setup_gelic_device()
197 struct layout { ps3_setup_uhc_device() struct
210 p = kzalloc(sizeof(struct layout), GFP_KERNEL); ps3_setup_uhc_device()
300 struct layout { ps3_setup_vuart_device() struct
307 p = kzalloc(sizeof(struct layout), GFP_KERNEL); ps3_setup_vuart_device()
454 struct layout { ps3_register_sound_devices() struct
490 struct layout { ps3_register_graphics_devices() struct
496 p = kzalloc(sizeof(struct layout), GFP_KERNEL); ps3_register_graphics_devices()
525 struct layout { ps3_register_ramdisk_device() struct
531 p = kzalloc(sizeof(struct layout), GFP_KERNEL); ps3_register_ramdisk_device()
/linux-4.4.14/fs/nfs/filelayout/
H A Dfilelayout.c2 * Module for the pnfs nfs4 file layout driver.
49 MODULE_DESCRIPTION("The NFSv4 file layout driver");
68 /* This function is used by the layout driver to calculate the
70 * layout type is STRIPE_DENSE or STRIPE_SPARSE
181 dprintk("%s Invalid layout error %d\n", __func__, filelayout_async_handle_error()
184 * Destroy layout so new i/o will get a new layout. filelayout_async_handle_error()
186 * references are put. Mark layout as invalid to resend failed filelayout_async_handle_error()
188 * layout is destroyed and a new valid layout is obtained. filelayout_async_handle_error()
265 (unsigned long) NFS_I(hdr->inode)->layout->plh_lwb); filelayout_set_layoutcommit()
557 * Make sure layout segment parameters are sane WRT the device.
575 /* FIXME: remove this check when layout segment support is added */ filelayout_check_layout()
1107 struct pnfs_layout_hdr *layout = NFS_I(inode)->layout; filelayout_get_ds_info() local
1109 if (layout == NULL) filelayout_get_ds_info()
1112 return &FILELAYOUT_FROM_HDR(layout)->commit_info; filelayout_get_ds_info()
H A Dfilelayoutdev.c2 * Device operations for the pnfs nfs4 file layout driver.
220 * Want res = (offset - layout->pattern_offset)/ layout->stripe_unit
H A Dfilelayout.h2 * NFSv4 file layout driver data structures.
/linux-4.4.14/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c2 * Module for pnfs flexfile layout driver.
181 mirror->layout = lo; ff_layout_add_mirror()
190 if (mirror->layout == NULL) ff_layout_remove_mirror()
192 inode = mirror->layout->plh_inode; ff_layout_remove_mirror()
196 mirror->layout = NULL; ff_layout_remove_mirror()
250 /* FIXME: remove this check when layout segment support is added */ ff_layout_check_layout()
529 static bool ff_layout_has_rw_segments(struct pnfs_layout_hdr *layout) ff_layout_has_rw_segments() argument
533 list_for_each_entry(lseg, &layout->plh_segs, pls_list) ff_layout_has_rw_segments()
787 /* Use full layout for now */ ff_layout_pg_init_read()
1026 dprintk("%s Invalid layout error %d\n", __func__, ff_layout_async_handle_error_v4()
1029 * Destroy layout so new i/o will get a new layout. ff_layout_async_handle_error_v4()
1031 * references are put. Mark layout as invalid to resend failed ff_layout_async_handle_error_v4()
1033 * layout is destroyed and a new valid layout is obtained. ff_layout_async_handle_error_v4()
1233 (unsigned long) NFS_I(hdr->inode)->layout->plh_lwb); ff_layout_set_layoutcommit()
1789 struct pnfs_layout_hdr *layout = NFS_I(inode)->layout; ff_layout_get_ds_info() local
1791 if (layout == NULL) ff_layout_get_ds_info()
1794 return &FF_LAYOUT_FROM_HDR(layout)->commit_info; ff_layout_get_ds_info()
2069 ff_layout = FF_LAYOUT_FROM_HDR(NFS_I(args->inode)->layout); ff_layout_prepare_layoutstats()
2150 MODULE_DESCRIPTION("The NFSv4 flexfile layout driver");
H A Dflexfilelayout.h2 * NFSv4 flexfile layout driver data structures.
71 struct pnfs_layout_hdr *layout; member in struct:nfs4_ff_layout_mirror
/linux-4.4.14/drivers/isdn/hardware/eicon/
H A Ddfifo.h43 Block header layout is:
/linux-4.4.14/drivers/mtd/ubi/
H A Dvtbl.c26 * "layout volume".
28 * The layout volume is an internal volume which is organized as follows. It
73 * ubi_update_layout_vol - helper for updatting layout volumes on flash
331 /* Write the layout volume contents */ create_vtbl()
362 * process_lvol - process the layout volume.
365 * @av: layout volume attaching information
367 * This function is responsible for reading the layout volume, ensuring it is
382 * UBI goes through the following steps when it changes the layout process_lvol()
406 dbg_gen("check layout volume"); process_lvol()
487 * create_empty_lvol - create empty layout volume.
622 /* And add the layout volume */ init_volumes()
798 * No logical eraseblocks belonging to the layout volume were ubi_read_volume_table()
800 * this case we create empty layout volume. ubi_read_volume_table()
810 ubi_err(ubi, "the layout volume was not found"); ubi_read_volume_table()
816 ubi_err(ubi, "too many LEBs (%d) in layout volume", ubi_read_volume_table()
829 * The layout volume is OK, initialize the corresponding in-RAM data ubi_read_volume_table()
/linux-4.4.14/drivers/media/rc/keymaps/
H A Drc-genius-tvgo-a11mce.c49 /* these are in a rather non standard layout and have
/linux-4.4.14/arch/x86/lib/
H A Dmsr-reg.S10 * reg layout: u32 gprs[eax, ecx, edx, ebx, esp, ebp, esi, edi]
/linux-4.4.14/arch/arc/include/uapi/asm/
H A Dptrace.h25 * The intermediate pad,pad2 are relics of initial layout based on pt_regs
/linux-4.4.14/fs/ntfs/
H A Ddir.h26 #include "layout.h"
H A Drunlist.h28 #include "layout.h"
/linux-4.4.14/arch/powerpc/include/uapi/asm/
H A Dopal-prd.h29 * layout and content is private to the firmware <--> userspace interface, so
/linux-4.4.14/arch/s390/include/asm/
H A Dvdso.h15 * NEVER USE THEM IN USERSPACE CODE DIRECTLY. The layout of the
H A Duser.h41 * This is the old layout of "struct pt_regs", and
42 * is still the layout used by user mode (the new
/linux-4.4.14/arch/sh/boards/mach-landisk/
H A Dirq.c48 /* IRLMSK mask register layout for LANDISK */
/linux-4.4.14/arch/sh/kernel/cpu/sh3/
H A Dclock-sh7705.c27 * FRQCR layout that is a bit different..
/linux-4.4.14/arch/sparc/include/uapi/asm/
H A Dioctl.h7 * 14 bits of size as on i386. Here's the layout:
/linux-4.4.14/arch/cris/include/uapi/asm/
H A Delf_v32.h40 * to the layout of user_regs_struct.
H A Delf_v10.h42 and should be filled in according to the layout of the user_regs_struct
/linux-4.4.14/arch/hexagon/kernel/
H A Dvmlinux.lds.S23 #include <asm/mem-layout.h> /* except for page_offset */
/linux-4.4.14/arch/arm64/include/asm/
H A Dkgdb.h41 * gdb is expecting the following registers layout.
/linux-4.4.14/arch/arm/include/asm/
H A Dmpu.h6 /* MPUIR layout */
H A Dsmp_plat.h90 * structure memory layout in order to carry out load
H A Ducontext.h82 * The layout of this structure is not part of the user ABI,
/linux-4.4.14/include/uapi/linux/raid/
H A Dmd_p.h2 md_p.h : physical layout of Linux RAID devices
180 __u32 new_layout; /* 16 new layout */
187 __u32 layout; /* 0 the array's physical layout */ member in struct:mdp_superblock_s
236 __le32 layout; /* only for raid5 and raid10 currently */ member in struct:mdp_superblock_1
250 __le32 new_layout; /* new layout */
253 * layout. 0 == no-change. This can be
H A Dmd_u.h104 int layout; /* 0 the array's physical layout */ member in struct:mdu_array_info_s
/linux-4.4.14/arch/sparc/kernel/
H A Dchmc.c47 /* OBP memory-layout property format. */
173 struct jbusmc_obp_mem_layout layout; member in struct:jbusmc
312 prop = &p->layout; jbusmc_print_dimm()
451 ml = of_get_property(op->dev.of_node, "memory-layout", &p->layout_len); jbusmc_probe()
453 printk(KERN_ERR PFX "Cannot get memory layout property.\n"); jbusmc_probe()
456 if (p->layout_len > sizeof(p->layout)) { jbusmc_probe()
457 printk(KERN_ERR PFX "Unexpected memory-layout size %d\n", jbusmc_probe()
461 memcpy(&p->layout, ml, p->layout_len); jbusmc_probe()
711 pval = of_get_property(dp, "memory-layout", &len); chmc_probe()
713 printk(KERN_ERR PFX "Unexpected memory-layout property " chmc_probe()
/linux-4.4.14/include/linux/ceph/
H A Dceph_fs.h37 * ceph_file_layout - describe data layout for a file/inode
48 /* pg -> disk layout */
51 /* object -> pg layout */
81 int ceph_file_layout_is_valid(const struct ceph_file_layout *layout);
375 __le32 stripe_unit; /* layout for newly created file */
385 struct ceph_file_layout layout; member in struct:ceph_mds_request_args::__anon12144
464 struct ceph_file_layout layout; member in struct:ceph_mds_reply_inode
475 /* followed by frag array, symlink string, dir layout, xattr blob */
659 struct ceph_file_layout layout; member in struct:ceph_mds_caps
H A Dosd_client.h328 struct ceph_file_layout *layout,
355 struct ceph_file_layout *layout,
363 struct ceph_file_layout *layout,
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
H A Dhdmi5_core.c669 if (cfg->layout == HDMI_AUDIO_LAYOUT_2CH) hdmi5_core_audio_config()
679 if (cfg->layout == HDMI_AUDIO_LAYOUT_2CH) hdmi5_core_audio_config()
690 if (cfg->layout == HDMI_AUDIO_LAYOUT_6CH) hdmi5_core_audio_config()
751 if (cfg->layout == HDMI_AUDIO_LAYOUT_2CH) { hdmi5_core_audio_config()
756 } else if (cfg->layout == HDMI_AUDIO_LAYOUT_6CH) { hdmi5_core_audio_config()
856 core_cfg.layout = HDMI_AUDIO_LAYOUT_2CH; hdmi5_audio_config()
858 core_cfg.layout = HDMI_AUDIO_LAYOUT_6CH; hdmi5_audio_config()
860 core_cfg.layout = HDMI_AUDIO_LAYOUT_8CH; hdmi5_audio_config()
/linux-4.4.14/drivers/pcmcia/
H A Dsa11xx_base.h50 * MECR layout is:
54 * (This layout is actually true only for the SA-1110; the FASTn bits are
/linux-4.4.14/arch/x86/kvm/
H A Dlapic.h35 * APIC register page. The layout matches the register layout seen by
/linux-4.4.14/arch/m68k/include/asm/
H A Duser.h36 /* This is the old layout of "struct pt_regs" as of Linux 1.x, and
37 is still the layout used by user (the new pt_regs doesn't have
/linux-4.4.14/arch/mips/netlogic/xlr/
H A Dplatform-flash.c33 * Default NOR partition layout
44 * Default NAND partition layout
/linux-4.4.14/arch/h8300/include/asm/
H A Duser.h33 /* This is the old layout of "struct pt_regs" as of Linux 1.x, and
34 is still the layout used by user (the new pt_regs doesn't have
/linux-4.4.14/drivers/scsi/snic/
H A Dcq_desc.h34 * All completion queues have this basic layout. The
/linux-4.4.14/drivers/scsi/fnic/
H A Dcq_desc.h34 * All completion queues have this basic layout. The
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
H A Ddma.h74 /* Buffer layout: mt7601u_dma_skb_wrap()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
H A Dbrcms_trace_brcmsmac.h27 * 'fast binary record' layout.
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
H A Dcq_desc.h36 * All completion queues have this basic layout. The
/linux-4.4.14/include/uapi/rdma/
H A Drdma_netlink.h149 * The layout for the resolve operation:
/linux-4.4.14/include/uapi/asm-generic/
H A Dstat.h10 * stat is the same structure layout on 64-bit, without the 'long long'
/linux-4.4.14/arch/metag/include/asm/
H A Dmetag_isa.h17 /* L1 cache layout */
/linux-4.4.14/arch/mn10300/include/uapi/asm/
H A Dptrace.h1 /* MN10300 Exception frame layout and ptrace constants
/linux-4.4.14/arch/frv/include/uapi/asm/
H A Dstat.h60 /* This matches struct stat64 in uClibc/glibc. The layout is exactly
/linux-4.4.14/arch/ia64/include/asm/sn/
H A Dpda.h59 * size of the cpu_data area don't change cache layout. Should we align to 32, 64, 128
/linux-4.4.14/arch/ia64/kernel/
H A Dgate.lds.S5 * its layout.
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/
H A Devent.c32 /* This has to match the structure layout in the header */ event_init_opts()
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
H A Dlov_object.c84 * Lov object layout operations.
176 /* the object's layout has already changed but isn't lov_init_sub()
441 * without stripes (LLT_EMPTY layout type).
467 * Anyway, it's still okay to call attr_get w/o type guard as layout lov_attr_get_raid0()
555 * Performs a double-dispatch based on the layout type of an object.
606 * Performs a locked double-dispatch based on the layout type of an object.
776 /* same version of layout */ lov_conf_set()
782 /* will change layout - check if there still exists active IO. */ lov_conf_set()
829 * layer. Dispatches to the appropriate layout io initialization method.
841 * layer. For raid0 layout this collects and merges attributes of all
856 * No dispatch is required here, as no layout implements this. lov_attr_set()
864 /* No need to lock because we've taken one refcount of layout. */ lov_lock_init()
H A Dlov_cl_internal.h190 * lov object has particular layout type, determining how top-object is built
193 * all state pertaining to the old layout type is destroyed, and new state is
195 * providing serialization against transition between layout types.
198 * current layout type, object methods perform double-dispatch, invoking
199 * function corresponding to the current layout type.
204 * Serializes object operations with transitions between layout types.
217 * True if layout is invalid. This bit is cleared when layout lock
231 * Layout metadata. NULL if empty layout.
/linux-4.4.14/arch/mips/jz4740/
H A Dboard-qi_lb60.c69 * In order to support these devices as well the partition and ecc layout is
131 chip->ecc.layout = &qi_lb60_ecclayout_2gb; qi_lb60_nand_ident()
135 chip->ecc.layout = &qi_lb60_ecclayout_1gb; qi_lb60_nand_ident()
/linux-4.4.14/arch/s390/mm/
H A Dmmap.c2 * flexible mmap layout support
226 * process VM image, sets up which VM layout function to use:
236 * Fall back to the standard layout if the personality arch_pick_mmap_layout()
/linux-4.4.14/drivers/usb/serial/
H A Dqcserial.c184 * Quectel EC20 Mini PCIe LTE module layout: handle_quectel_ec20()
263 * Gobi 1K USB layout: qcprobe()
291 * Gobi 2K+ USB layout: qcprobe()
326 * Sierra Wireless layout: qcprobe()
387 dev_err(dev, "unsupported device layout type: %lu\n", qcprobe()
/linux-4.4.14/drivers/gpu/drm/bridge/
H A Ddw_hdmi-ahb-audio.c409 u8 threshold, conf0, conf1, layout, ca; dw_hdmi_prepare() local
441 * For >2 channel PCM audio, we need to select layout 1 dw_hdmi_prepare()
445 layout = HDMI_FC_AUDSCONF_LAYOUT1; dw_hdmi_prepare()
447 layout = HDMI_FC_AUDSCONF_LAYOUT0; dw_hdmi_prepare()
452 writeb_relaxed(layout, dw->data.base + HDMI_FC_AUDSCONF); dw_hdmi_prepare()
/linux-4.4.14/drivers/pci/hotplug/
H A Dcpqphp.h60 /* offsets to the smbios generic type based on the above structure layout */
81 /* offsets to the smbios generic type based on the above structure layout */
105 /* offsets to the smbios entry point based on the above structure layout */
152 /* offsets to the controller registers based on the above structure layout */
195 * structure layout
224 * structure layout
/linux-4.4.14/drivers/video/fbdev/
H A Dsunxvr500.c23 * XXX I'm still working out the layout of this and whether there
70 * 0x04000000, the following video layout register values:
82 /* Video layout registers */
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_mbx.h109 * The layout above describes the format for the header used in the PF/VF
183 * The layout above describes the format for the FIFOs used by the host
186 * layout in memory has the switch manager FIFO followed immediately by
/linux-4.4.14/arch/s390/include/uapi/asm/
H A Ddasd.h62 * 0x01: Linux disc layout
63 * 0x02: Common disc layout
188 #define DASD_FMT_INT_COMPAT 8 /* use OS/390 compatible disk layout */
/linux-4.4.14/drivers/video/backlight/
H A Djornada720_bl.c84 * but due to physical layout it is equal to 0, so we simply jornada_bl_update_status()
/linux-4.4.14/drivers/video/fbdev/core/
H A Dfb_draw.h151 * Reversed order of pixel layout in bytes fb_compute_bswapmask()
/linux-4.4.14/drivers/isdn/hysdn/
H A Dboardergo.h24 /* following DPRAM layout copied from OS2-driver boarderg.h */
/linux-4.4.14/drivers/hid/
H A Dhid-twinhan.c22 /* Remote control key layout + listing:
/linux-4.4.14/arch/tile/kernel/vdso/
H A DMakefile50 # table and layout of the linked DSO. With ld -R we can then refer to
/linux-4.4.14/arch/x86/kernel/
H A Dioport.c92 * only the super-user to do it. This depends on the stack-layout
/linux-4.4.14/drivers/clk/imx/
H A Dclk-pllv1.c65 * frequency. PLLs with this register layout can be found on i.MX1, clk_pllv1_recalc_rate()
/linux-4.4.14/arch/arc/include/asm/
H A Dprocessor.h72 * Look in process.c for details of kernel stack layout
/linux-4.4.14/arch/cris/include/arch-v10/arch/
H A Dmmu.h2 * CRIS MMU constants and PTE layout
/linux-4.4.14/fs/nfsd/
H A Dblocklayoutxdr.c84 * of the layout. nfsd4_block_encode_getdeviceinfo()
H A Dnfs4layouts.c448 /* retain the whole layout segment on a split. */ nfsd4_return_file_layout()
596 "nfsd: client %s failed to respond to layout recall. " nfsd4_cb_layout_fail()
637 /* Poll the client until it's done with the layout */ nfsd4_cb_layout_done()
679 * we'll remove it ourself if a layout isn't returned nfsd4_layout_lm_break()
/linux-4.4.14/mm/
H A Dmm_init.c100 "location: %d -> %d layout %d -> %d unused %d -> %d page-flags\n", mminit_verify_pageflags_layout()
/linux-4.4.14/fs/
H A Dcompat_binfmt_elf.c24 * Rename the basic ELF layout types to refer to the 32-bit class of files.
/linux-4.4.14/fs/efs/
H A Defs.h34 * layout of an extent, in memory and on disk. 8 bytes exactly.
/linux-4.4.14/include/uapi/linux/usb/
H A Dgadgetfs.h42 /* NOTE: this structure must stay the same size and layout on
/linux-4.4.14/include/uapi/linux/hsi/
H A Dcs-protocol.h88 * Struct describing the layout and contents of the driver mmap area.
/linux-4.4.14/include/uapi/linux/nfsd/
H A Dnfsfh.h2 * This file describes the layout of the file handles as passed

Completed in 7706 milliseconds

12345