/linux/fs/nfs/blocklayout/ |
H A D | extent_tree.c | 26 ext_tree_prev(struct pnfs_block_extent *be) in ext_tree_prev() argument 28 struct rb_node *node = rb_prev(&be->be_node); in ext_tree_prev() 33 ext_tree_next(struct pnfs_block_extent *be) in ext_tree_next() argument 35 struct rb_node *node = rb_next(&be->be_node); in ext_tree_next() 40 ext_f_end(struct pnfs_block_extent *be) in ext_f_end() argument 42 return be->be_f_offset + be->be_length; in ext_f_end() 49 struct pnfs_block_extent *be = NULL; in __ext_tree_search() local 52 be = ext_node(node); in __ext_tree_search() 53 if (start < be->be_f_offset) in __ext_tree_search() 55 else if (start >= ext_f_end(be)) in __ext_tree_search() [all …]
|
H A D | blocklayout.c | 52 static bool is_hole(struct pnfs_block_extent *be) in is_hole() argument 54 switch (be->be_state) { in is_hole() 58 return be->be_tag ? false : true; in is_hole() 126 struct pnfs_block_extent *be, bio_end_io_t end_io, in do_add_page_to_bio() argument 130 container_of(be->be_device, struct pnfs_block_dev, node); in do_add_page_to_bio() 137 isect += be->be_v_offset; in do_add_page_to_bio() 138 isect -= be->be_f_offset; in do_add_page_to_bio() 174 struct pnfs_block_extent be; in bl_mark_devices_unavailable() local 180 if (!ext_tree_lookup(bl, isect, &be, rw)) in bl_mark_devices_unavailable() 182 extent_length = be.be_length - (isect - be.be_f_offset); in bl_mark_devices_unavailable() [all …]
|
/linux/tools/perf/util/ |
H A D | genelf_debug.c | 47 buffer_ext_dump(struct buffer_ext *be, const char *msg) in buffer_ext_dump() argument 51 for (i = 0 ; i < be->cur_pos; i++) in buffer_ext_dump() 52 warnx("%4zu 0x%02x", i, (((char *)be->data)[i]) & 0xff); in buffer_ext_dump() 56 buffer_ext_add(struct buffer_ext *be, void *addr, size_t sz) in buffer_ext_add() argument 59 size_t be_sz = be->max_sz; in buffer_ext_add() 62 if ((be->cur_pos + sz) < be_sz) { in buffer_ext_add() 63 memcpy(be->data + be->cur_pos, addr, sz); in buffer_ext_add() 64 be->cur_pos += sz; in buffer_ext_add() 73 tmp = realloc(be->data, be_sz); in buffer_ext_add() 77 be->data = tmp; in buffer_ext_add() [all …]
|
/linux/arch/arm64/lib/ |
H A D | crc32.S | 14 .macro byteorder, reg, be argument 15 .if \be 22 .macro byteorder16, reg, be argument 23 .if \be 30 .macro bitorder, reg, be argument 31 .if \be 36 .macro bitorder16, reg, be argument 37 .if \be 43 .macro bitorder8, reg, be argument 44 .if \be [all …]
|
/linux/drivers/net/xen-netback/ |
H A D | xenbus.c | 13 static int connect_data_rings(struct backend_info *be, 15 static void connect(struct backend_info *be); 16 static int read_xenbus_vif_flags(struct backend_info *be); 17 static int backend_create_xenvif(struct backend_info *be); 18 static void unregister_hotplug_status_watch(struct backend_info *be); 20 static void set_backend_state(struct backend_info *be, 206 struct backend_info *be = dev_get_drvdata(&xdev->dev); in netback_uevent() local 208 if (!be) in netback_uevent() 211 if (add_uevent_var(env, "script=%s", be->hotplug_script)) in netback_uevent() 214 if (!be->vif) in netback_uevent() [all …]
|
/linux/fs/btrfs/ |
H A D | ref-verify.c | 79 struct block_entry *be) in insert_block_entry() argument 88 if (entry->bytenr > be->bytenr) in insert_block_entry() 90 else if (entry->bytenr < be->bytenr) in insert_block_entry() 96 rb_link_node(&be->node, parent_node, p); in insert_block_entry() 97 rb_insert_color(&be->node, root); in insert_block_entry() 235 static void free_block_entry(struct block_entry *be) in free_block_entry() argument 242 while ((n = rb_first(&be->roots))) { in free_block_entry() 244 rb_erase(&re->node, &be->roots); in free_block_entry() 248 while((n = rb_first(&be->refs))) { in free_block_entry() 250 rb_erase(&ref->node, &be->refs); in free_block_entry() [all …]
|
/linux/sound/soc/meson/ |
H A D | axg-card.c | 45 struct axg_dai_link_tdm_data *be = in axg_card_tdm_be_hw_params() local 48 return meson_card_i2s_set_sysclk(substream, params, be->mclk_fs); in axg_card_tdm_be_hw_params() 58 struct axg_dai_link_tdm_data *be = in axg_card_tdm_dai_init() local 65 be->codec_masks[i].tx, in axg_card_tdm_dai_init() 66 be->codec_masks[i].rx, in axg_card_tdm_dai_init() 67 be->slots, be->slot_width); in axg_card_tdm_dai_init() 75 ret = axg_tdm_set_tdm_slots(snd_soc_rtd_to_cpu(rtd, 0), be->tx_mask, be->rx_mask, in axg_card_tdm_dai_init() 76 be->slots, be->slot_width); in axg_card_tdm_dai_init() 88 struct axg_dai_link_tdm_data *be = in axg_card_tdm_dai_lb_init() local 93 ret = axg_tdm_set_tdm_slots(snd_soc_rtd_to_cpu(rtd, 0), NULL, be->tx_mask, in axg_card_tdm_dai_lb_init() [all …]
|
/linux/drivers/block/xen-blkback/ |
H A D | xenbus.c | 38 struct xenbus_device *xen_blkbk_xenbus(struct backend_info *be) in xen_blkbk_xenbus() argument 40 return be->dev; in xen_blkbk_xenbus() 58 struct xenbus_device *dev = blkif->be->dev; in blkback_name() 88 if (blkif->be->dev->state == XenbusStateConnected) in xen_update_blkif_status() 92 connect(blkif->be); in xen_update_blkif_status() 93 if (blkif->be->dev->state != XenbusStateConnected) in xen_update_blkif_status() 98 xenbus_dev_error(blkif->be->dev, err, "get blkback dev name"); in xen_update_blkif_status() 104 xenbus_dev_error(blkif->be->dev, err, "block flush"); in xen_update_blkif_status() 115 xenbus_dev_fatal(blkif->be->dev, err, in xen_update_blkif_status() 205 err = xenbus_map_ring_valloc(blkif->be->dev, gref, nr_grefs, in xen_blkif_map() [all …]
|
/linux/sound/soc/ |
H A D | soc-pcm.c | 64 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_be_can_update() argument 68 be->dpcm[stream].runtime_update)) in snd_soc_dpcm_be_can_update() 74 struct snd_soc_pcm_runtime *be, in snd_soc_dpcm_check_state() argument 84 for_each_dpcm_fe(be, stream, dpcm) { in snd_soc_dpcm_check_state() 107 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_free_stop() argument 115 return snd_soc_dpcm_check_state(fe, be, stream, state, ARRAY_SIZE(state)); in snd_soc_dpcm_can_be_free_stop() 123 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_params() argument 132 return snd_soc_dpcm_check_state(fe, be, stream, state, ARRAY_SIZE(state)); in snd_soc_dpcm_can_be_params() 140 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_prepared() argument 148 return snd_soc_dpcm_check_state(fe, be, stream, state, ARRAY_SIZE(state)); in snd_soc_dpcm_can_be_prepared() [all …]
|
/linux/net/netfilter/ |
H A D | nft_set_bitmap.c | 95 struct nft_bitmap_elem *be; in nft_bitmap_elem_find() local 97 list_for_each_entry_rcu(be, &priv->list, head) { in nft_bitmap_elem_find() 98 if (memcmp(nft_set_ext_key(&be->ext), in nft_bitmap_elem_find() 100 !nft_set_elem_active(&be->ext, genmask)) in nft_bitmap_elem_find() 103 return be; in nft_bitmap_elem_find() 114 struct nft_bitmap_elem *be; in nft_bitmap_get() local 116 list_for_each_entry_rcu(be, &priv->list, head) { in nft_bitmap_get() 117 if (memcmp(nft_set_ext_key(&be->ext), elem->key.val.data, set->klen) || in nft_bitmap_get() 118 !nft_set_elem_active(&be->ext, genmask)) in nft_bitmap_get() 121 return &be->priv; in nft_bitmap_get() [all …]
|
/linux/drivers/hwmon/pmbus/ |
H A D | Kconfig | 12 This driver can also be built as a module. If so, the module will 13 be called pmbus_core. 27 This driver can also be built as a module. If so, the module will 28 be called pmbus. 36 This driver can also be built as a module. If so, the module will 37 be called acbel-fsg032. 47 This driver can also be built as a module. If so, the module will 48 be called adm1266. 57 This driver can also be built as a module. If so, the module will 58 be called adm1275. [all …]
|
/linux/Documentation/arch/arm64/ |
H A D | booting.rst | 20 hypervisor code, or it may just be a handful of instructions for 50 The device tree blob (dtb) must be placed on an 8-byte boundary and must 51 not exceed 2 megabytes in size. Since the dtb will be mapped cacheable 52 using blocks of up to 2 megabytes in size, it must not be placed within 53 any 2M region which must be mapped with any specific attributes. 55 NOTE: versions prior to v4.2 also require that the DTB be placed within 64 therefore requires decompression (gzip etc.) to be performed by the boot 103 little-endian and must be respected. Where image_size is zero, 104 text_offset can be assumed to be 0x80000. 120 2MB aligned base should be as close as possible [all …]
|
/linux/lib/ |
H A D | test_uuid.c | 15 uuid_t be; member 22 .be = UUID_INIT(0xc33f4995, 0x3701, 0x450e, 0x9f, 0xbf, 0x20, 0x6a, 0x2e, 0x98, 0xe5, 0x76), 27 .be = UUID_INIT(0x64b4371c, 0x77c1, 0x48f9, 0x82, 0x21, 0x29, 0xf0, 0x54, 0xfc, 0x02, 0x3b), 32 .be = UUID_INIT(0x0cb4ddff, 0xa545, 0x4401, 0x9d, 0x06, 0x68, 0x8a, 0xf5, 0x3e, 0x7f, 0x84), 45 static void __init test_uuid_failed(const char *prefix, bool wrong, bool be, in test_uuid_failed() argument 52 be ? "BE" : "LE", in test_uuid_failed() 65 uuid_t be; in test_uuid_test() local 81 if (uuid_parse(data->uuid, &be)) in test_uuid_test() 85 if (!uuid_equal(&data->be, &be)) { in test_uuid_test() 86 sprintf(buf, "%pUb", &be); in test_uuid_test() [all …]
|
/linux/Documentation/watchdog/ |
H A D | watchdog-parameters.rst | 7 be listed here unless the driver has its own driver-specific information 21 timeout. Setting this to a non-zero value can be useful to ensure that 33 Watchdog cannot be stopped once started 46 Watchdog cannot be stopped once started 55 Watchdog cannot be stopped once started 67 Watchdog cannot be stopped once started 94 Watchdog cannot be stopped once started 103 Watchdog cannot be stopped once started 112 Watchdog cannot be stopped once started 127 be verbose, default is 0 (no) [all …]
|
/linux/drivers/i2c/busses/ |
H A D | Kconfig | 23 If you say yes to this option, support will be included for the SMB 28 This driver can also be built as a module. If so, the module 29 will be called i2c-ali1535. 35 If you say yes to this option, support will be included for the SMB 40 This driver can also be built as a module. If so, the module 41 will be called i2c-ali1563. 47 If you say yes to this option, support will be included for the 50 This driver can also be built as a module. If so, the module 51 will be called i2c-ali15x3. 57 If you say yes to this option, support will be included for the AMD [all …]
|
/linux/drivers/hwmon/ |
H A D | Kconfig | 23 This support can also be built as a module. If so, the module 24 will be called hwmon. 48 chip can be found on Abit uGuru featuring motherboards (most modern 53 This driver can also be built as a module. If so, the module 54 will be called abituguru. 63 uGuru chip can be found on recent Abit motherboards (since end 67 This driver can also be built as a module. If so, the module 68 will be called abituguru3. 85 This driver can also be built as a module. If so, the module 86 will be called ad7314. [all …]
|
/linux/drivers/net/phy/ |
H A D | mdio-boardinfo.c | 29 struct mdio_board_entry *be; in mdiobus_setup_mdiodev_from_board_info() local 35 list_for_each_entry_safe(be, tmp, &mdio_board_list, list) { in mdiobus_setup_mdiodev_from_board_info() 36 bi = &be->board_info; in mdiobus_setup_mdiodev_from_board_info() 64 struct mdio_board_entry *be; in mdiobus_register_board_info() local 67 be = kcalloc(n, sizeof(*be), GFP_KERNEL); in mdiobus_register_board_info() 68 if (!be) in mdiobus_register_board_info() 71 for (i = 0; i < n; i++, be++, info++) { in mdiobus_register_board_info() 72 memcpy(&be->board_info, info, sizeof(*info)); in mdiobus_register_board_info() 74 list_add_tail(&be->list, &mdio_board_list); in mdiobus_register_board_info()
|
/linux/drivers/rtc/ |
H A D | Kconfig | 20 be allowed to plug one or more RTCs to your system. You will 29 If you say yes here, the system time (wall clock) will be set using 38 The RTC device that will be used to (re)initialize the system 44 This clock should be battery-backed, so that it reads the correct 49 be useful to reinitialize system time when resuming from system 57 If you say yes here, the system time (wall clock) will be stored 114 Other RTCs will not be available through that API. 129 can be accessed as /dev/rtc, which is a name 151 RTC test driver. It's a software RTC which can be 158 This driver can also be built as a module. If so, the module [all …]
|
/linux/drivers/i2c/muxes/ |
H A D | Kconfig | 14 If you say yes to this option, support will be included for an 19 This driver can also be built as a module. If so, the module 20 will be called i2c-arb-gpio-challenge. 26 If you say yes to this option, support will be included for a 31 This driver can also be built as a module. If so, the module 32 will be called i2c-mux-gpio. 39 If you say yes to this option, support will be included for a 44 This driver can also be built as a module. If so, the module 45 will be called i2c-mux-gpmux. 55 This driver can also be built as a module. If so, the module [all …]
|
/linux/drivers/iio/temperature/ |
H A D | Kconfig | 15 will be called iqs620at-temp. 26 will be called ltc2983. 41 This driver can also be built as a module. If so, the module will 42 be called maxim_thermocouple. 55 will be called hid-sensor-temperature. 64 This driver can also be built as a module. If so, the module will 65 be called mlx90614. 76 This driver can also be built as a module. If so, the module will 77 be called mlx90632. 88 This driver can also be built as a module. If so, the module will [all …]
|
/linux/Documentation/devicetree/bindings/edac/ |
H A D | socfpga-eccmgr.txt | 8 - compatible : Should be "altr,socfpga-ecc-manager" 9 - #address-cells: must be 1 10 - #size-cells: must be 1 17 - compatible : Should be "altr,socfpga-l2-ecc" 19 - interrupts : Should be single bit error interrupt, then double bit error 24 - compatible : Should be "altr,socfpga-ocram-ecc" 27 - interrupts : Should be single bit error interrupt, then double bit error 58 - compatible : Should be "altr,socfpga-a10-ecc-manager" 61 - #address-cells: must be 1 62 - #size-cells: must be 1 [all …]
|
/linux/Documentation/misc-devices/ |
H A D | pci-endpoint-test.rst | 7 This driver should be used as a host side driver if the root complex is 11 The "pci_endpoint_test" driver can be used to perform the following tests. 25 should be used to perform the above tests. 31 Tests the BAR. The number of the BAR to be tested 32 should be passed as argument. 37 to be tested should be passed as argument. 40 to be tested should be passed as argument. 43 should be passed as argument (0: Legacy, 1:MSI, 2:MSI-X). 47 Perform write tests. The size of the buffer should be passed 50 Perform read tests. The size of the buffer should be passed [all …]
|
/linux/Documentation/devicetree/bindings/clock/ti/davinci/ |
H A D | da8xx-cfgchip.txt | 7 All of the clock nodes described below must be child nodes of a CFGCHIP node 13 - compatible: shall be "ti,da830-usb-phy-clocks". 14 - #clock-cells: from common clock binding; shall be set to 1. 16 - clock-names: shall be "fck", "usb_refclkin", "auxclk" 24 - compatible: shall be "ti,da830-tbclksync". 25 - #clock-cells: from common clock binding; shall be set to 0. 27 - clock-names: shall be "fck" 32 - compatible: shall be "ti,da830-div4p5ena". 33 - #clock-cells: from common clock binding; shall be set to 0. 35 - clock-names: shall be "pll0_pllout" [all …]
|
/linux/drivers/staging/axis-fifo/ |
H A D | axis-fifo.txt | 4 be accessed from the AXI4 memory-mapped interface. This is useful for 6 a character device that can be read/written to with standard 17 - compatible: Should be "xlnx,axi-fifo-mm-s-4.1" 18 - interrupt-names: Should be "interrupt" 19 - interrupt-parent: Should be <&intc> 22 - xlnx,axi-str-rxd-protocol: Should be "XIL_AXI_STREAM_ETH_DATA" 23 - xlnx,axi-str-rxd-tdata-width: Should be <0x20> 24 - xlnx,axi-str-txc-protocol: Should be "XIL_AXI_STREAM_ETH_CTRL" 25 - xlnx,axi-str-txc-tdata-width: Should be <0x20> 26 - xlnx,axi-str-txd-protocol: Should be "XIL_AXI_STREAM_ETH_DATA" [all …]
|
/linux/Documentation/driver-api/ |
H A D | vme.rst | 12 be provided to the registration function. Along with the maximum number of 16 :c:type:`struct vme_driver <vme_driver>` should be correctly set. The '.name' 19 The '.match' function allows control over which VME devices should be registered 20 with the driver. The match function should return 1 if a device should be 40 driver. The bridge number (or bus number) can be accessed using 44 :c:func:`vme_unregister_driver` and should usually be called from the device 52 be called the number of times specified during the registration. If a match 53 succeeds, a non-zero value should be returned. A zero return value indicates 56 device structure. This pointer should be saved, it will be required for 62 driver to request a specific window or DMA channel (which may be used by a [all …]
|