| /linux/fs/nfs/blocklayout/ |
| H A D | extent_tree.c | 27 ext_tree_prev(struct pnfs_block_extent *be) in ext_tree_prev() argument 29 struct rb_node *node = rb_prev(&be->be_node); in ext_tree_prev() 34 ext_tree_next(struct pnfs_block_extent *be) in ext_tree_next() argument 36 struct rb_node *node = rb_next(&be->be_node); in ext_tree_next() 41 ext_f_end(struct pnfs_block_extent *be) in ext_f_end() argument 43 return be->be_f_offset + be->be_length; in ext_f_end() 50 struct pnfs_block_extent *be = NULL; in __ext_tree_search() local 53 be = ext_node(node); in __ext_tree_search() 54 if (start < be->be_f_offset) in __ext_tree_search() 56 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/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 | 99 struct block_entry *be) in insert_block_entry() argument 103 node = rb_find_add(&be->node, root, block_entry_bytenr_cmp); in insert_block_entry() 217 static void free_block_entry(struct block_entry *be) in free_block_entry() argument 224 while ((n = rb_first(&be->roots))) { in free_block_entry() 226 rb_erase(&re->node, &be->roots); in free_block_entry() 230 while((n = rb_first(&be->refs))) { in free_block_entry() 232 rb_erase(&ref->node, &be->refs); in free_block_entry() 236 while (!list_empty(&be->actions)) { in free_block_entry() 237 ra = list_first_entry(&be->actions, struct ref_action, in free_block_entry() 242 kfree(be); in free_block_entry() [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() 204 err = xenbus_map_ring_valloc(blkif->be->dev, gref, nr_grefs, in xen_blkif_map() [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/sound/soc/ |
| H A D | soc-pcm.c | 49 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_update() argument 53 be->dpcm[stream].runtime_update)) in snd_soc_dpcm_can_be_update() 59 struct snd_soc_pcm_runtime *be, in snd_soc_dpcm_check_state() argument 69 for_each_dpcm_fe(be, stream, dpcm) { in snd_soc_dpcm_check_state() 92 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_free_stop() argument 100 return snd_soc_dpcm_check_state(fe, be, stream, state, ARRAY_SIZE(state)); in snd_soc_dpcm_can_be_free_stop() 108 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_params() argument 117 return snd_soc_dpcm_check_state(fe, be, stream, state, ARRAY_SIZE(state)); in snd_soc_dpcm_can_be_params() 125 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_prepared() argument 133 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 | 101 struct nft_bitmap_elem *be; in nft_bitmap_elem_find() local 103 list_for_each_entry_rcu(be, &priv->list, head, in nft_bitmap_elem_find() 105 if (memcmp(nft_set_ext_key(&be->ext), in nft_bitmap_elem_find() 107 !nft_set_elem_active(&be->ext, genmask)) in nft_bitmap_elem_find() 110 return be; in nft_bitmap_elem_find() 121 struct nft_bitmap_elem *be; in nft_bitmap_get() local 123 list_for_each_entry_rcu(be, &priv->list, head) { in nft_bitmap_get() 124 if (memcmp(nft_set_ext_key(&be->ext), elem->key.val.data, set->klen) || in nft_bitmap_get() 125 !nft_set_elem_active(&be->ext, genmask)) in nft_bitmap_get() 128 return &be->priv; in nft_bitmap_get() [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/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/lib/ |
| H A D | test_uuid.c | |
| /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/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 …]
|
| /linux/Documentation/arch/arm64/ |
| H A D | gcs.rst | 9 intended to be exhaustive. 28 GCSPR_EL0. This is readable by userspace but can only be updated 43 at runtime this should be done with great care. 47 * GCS specific errors (those reported with EC 0x2d) will be reported as 56 in LR match those in the GCS, the LR will be ignored. This is not supported 66 should be used. 82 status of the specified GCS mode bits will be rejected. 84 * PR_LOCK_SHADOW_STACK_STATUS allows any bit to be locked, this allows 91 thread that called them, any other running threads will be unaffected. 97 * The current GCS configuration for a thread may be read with the [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 one of: 21 - interrupt-names: Should be "interrupt" 22 - interrupt-parent: Should be <&intc> 25 - xlnx,axi-str-rxd-protocol: Should be "XIL_AXI_STREAM_ETH_DATA" 26 - xlnx,axi-str-rxd-tdata-width: Should be <0x20> 27 - xlnx,axi-str-txc-protocol: Should be "XIL_AXI_STREAM_ETH_CTRL" 28 - xlnx,axi-str-txc-tdata-width: Should be <0x20> 29 - xlnx,axi-str-txd-protocol: Should be "XIL_AXI_STREAM_ETH_DATA" [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/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/arch/arm/ |
| H A D | setup.rst | 10 kernel loader to the Linux kernel proper, and may be short lived 12 should not be referenced outside of arch/arm/kernel/setup.c:setup_arch(). 18 This parameter must be set to the page size of the machine, and 19 will be checked by the kernel. 30 This is now obsolete, and should not be used. 47 or VGA console character size. They should not be used for any other 50 It's generally a good idea to set these to be either standard VGA, or 52 all the bootup messages to be displayed correctly. 56 is otherwise unused. (should not be used for other console types, and 57 should not be used for other purposes). [all …]
|
| /linux/drivers/net/ieee802154/ |
| H A D | Kconfig | 11 If you say N, all options in this submenu will be skipped and 21 This driver can also be built as a module. To do so say M here. 22 The module will be called 'fakelb'. 33 This driver can also be built as a module. To do so, say M here. 34 the module will be called 'at86rf230'. 45 This driver can also be built as a module. To do so, say M here. 46 the module will be called 'mrf24j40'. 56 This driver can also be built as a module. To do so, say M here. 57 the module will be called 'cc2520'. 66 This driver can also be built as a module. To do so say M here. [all …]
|
| /linux/Documentation/security/keys/ |
| H A D | core.rst | 6 user mappings, and similar to be cached in the kernel for the use of 13 The key service can be configured on by enabling: 46 * Each key is of a defined "type". Types must be registered inside the 48 can be added or used. Userspace programs cannot define new types directly. 51 number of operations that can be performed on a key of that type. 53 Should a type be removed from the system, all the keys of that type will 54 be invalidated. 56 * Each key has a description. This should be a printable string. The key 62 whether a kernel service will be able to find the key. 64 * Each key can be set to expire at a specific time by the key type's [all …]
|
| /linux/Documentation/infiniband/ |
| H A D | user_mad.rst | 16 A MAD agent can be created by filling in a struct ib_user_mad_reg_req 19 request succeeds, a 32-bit id will be returned in the structure. 29 Agents can be unregistered with the IB_USER_MAD_UNREGISTER_AGENT 31 be unregistered when the descriptor is closed. 35 fields to be provided during registration. 43 RMPP. The buffer passed to read() must be at least one 77 fields will be filled in with information on the received MAD. For 78 example, the remote LID will be in mad.lid. 80 If a send times out, a receive will be generated with mad.status set 82 mad.status will be 0. [all …]
|
| /linux/Documentation/devicetree/bindings/arm/omap/ |
| H A D | l4.txt | 6 - compatible : Should be "ti,omap2-l4" for OMAP2 family l4 core bus 7 Should be "ti,omap2-l4-wkup" for OMAP2 family l4 wkup bus 8 Should be "ti,omap3-l4-core" for OMAP3 family l4 core bus 9 Should be "ti,omap4-l4-cfg" for OMAP4 family l4 cfg bus 10 Should be "ti,omap4-l4-per" for OMAP4 family l4 per bus 11 Should be "ti,omap4-l4-wkup" for OMAP4 family l4 wkup bus 12 Should be "ti,omap5-l4-cfg" for OMAP5 family l4 cfg bus 13 Should be "ti,omap5-l4-wkup" for OMAP5 family l4 wkup bus 14 Should be "ti,dra7-l4-cfg" for DRA7 family l4 cfg bus 15 Should be "ti,dra7-l4-wkup" for DRA7 family l4 wkup bus [all …]
|
| /linux/Documentation/core-api/ |
| H A D | memory-allocation.rst | 15 memory should be allocated. The GFP acronym stands for "get free 27 flags must be used. 33 zones can be used, how hard the allocator should try to find free 34 memory, whether the memory can be accessed by the userspace etc. The 43 direct reclaim may be triggered under memory pressure; the calling 44 context must be allowed to sleep. 52 will be stressed unless allocation succeeds, you may use ``GFP_ATOMIC``. 53 * Untrusted allocations triggered from userspace should be a subject 56 allocations that should be accounted. 62 will be directly accessible by the kernel and implies that the [all …]
|
| /linux/drivers/char/tpm/ |
| H A D | Kconfig | 15 say Yes and it will be accessible from within Linux. For 18 userspace enablement piece of the specification, can be 21 will be called tpm. If unsure, say N. 25 2) Without ACPI enabled, the BIOS event log won't be accessible, 69 specification (TPM2.0) say Yes and it will be accessible from 71 the module will be called tpm_tis. 81 specification (TPM2.0) say Yes and it will be accessible from 83 the module will be called tpm_tis_spi. 90 say Yes and it will be accessible from within Linux. 100 say Yes and it will be accessible from within Linux. [all …]
|