Home
last modified time | relevance | path

Searched +full:1 +full:- +full:cell (Results 1 – 25 of 1014) sorted by relevance

12345678910>>...41

/openbmc/linux/fs/afs/
H A Dcell.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* AFS cell and server record management
15 #include <keys/rxrpc-type.h>
28 if (atomic_dec_and_test(&net->cells_outstanding)) in afs_dec_cells_outstanding()
29 wake_up_var(&net->cells_outstanding); in afs_dec_cells_outstanding()
33 * Set the cell time
55 struct afs_cell *cell = NULL; afs_find_cell_locked() local
102 struct afs_cell *cell; afs_find_cell() local
119 struct afs_cell *cell; afs_alloc_cell() local
238 struct afs_cell *cell, *candidate, *cursor; afs_lookup_cell() local
394 afs_update_cell(struct afs_cell * cell) afs_update_cell() argument
493 struct afs_cell *cell = container_of(rcu, struct afs_cell, rcu); afs_cell_destroy() local
542 afs_get_cell(struct afs_cell * cell,enum afs_cell_trace reason) afs_get_cell() argument
554 afs_put_cell(struct afs_cell * cell,enum afs_cell_trace reason) afs_put_cell() argument
576 afs_use_cell(struct afs_cell * cell,enum afs_cell_trace reason) afs_use_cell() argument
591 afs_unuse_cell(struct afs_net * net,struct afs_cell * cell,enum afs_cell_trace reason) afs_unuse_cell() argument
621 afs_see_cell(struct afs_cell * cell,enum afs_cell_trace reason) afs_see_cell() argument
633 afs_queue_cell(struct afs_cell * cell,enum afs_cell_trace reason) afs_queue_cell() argument
643 afs_alloc_anon_key(struct afs_cell * cell) afs_alloc_anon_key() argument
670 afs_activate_cell(struct afs_net * net,struct afs_cell * cell) afs_activate_cell() argument
707 afs_deactivate_cell(struct afs_net * net,struct afs_cell * cell) afs_deactivate_cell() argument
725 afs_manage_cell(struct afs_cell * cell) afs_manage_cell() argument
827 struct afs_cell *cell = container_of(work, struct afs_cell, manager); afs_manage_cell_work() local
862 struct afs_cell *cell = afs_manage_cells() local
[all...]
H A Dvl_alias.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* AFS cell alias detection
11 #include <keys/rxrpc-type.h>
17 static struct afs_volume *afs_sample_volume(struct afs_cell *cell, struct key *key, in afs_sample_volume() argument
25 .net = cell->ne in afs_sample_volume()
156 afs_compare_cell_roots(struct afs_cell * cell) afs_compare_cell_roots() argument
187 afs_query_for_alias_one(struct afs_cell * cell,struct key * key,struct afs_cell * p) afs_query_for_alias_one() argument
234 afs_query_for_alias(struct afs_cell * cell,struct key * key) afs_query_for_alias() argument
276 afs_vl_get_cell_name(struct afs_cell * cell,struct key * key) afs_vl_get_cell_name() argument
302 yfs_check_canonical_cell_name(struct afs_cell * cell,struct key * key) yfs_check_canonical_cell_name() argument
330 afs_do_cell_detect_alias(struct afs_cell * cell,struct key * key) afs_do_cell_detect_alias() argument
365 afs_cell_detect_alias(struct afs_cell * cell,struct key * key) afs_cell_detect_alias() argument
[all...]
H A Dvolume.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 * Insert a volume into a cell. If there's an existing volume record, that is
18 static struct afs_volume *afs_insert_volume_into_cell(struct afs_cell *cell, in afs_insert_volume_into_cell() argument
24 write_seqlock(&cell->volume_lock); in afs_insert_volume_into_cell()
26 pp = &cell in afs_insert_volume_into_cell()
57 struct afs_cell *cell = volume->cell; afs_remove_volume_from_cell() local
138 afs_vl_lookup_vldb(struct afs_cell * cell,struct key * key,const char * volname,size_t volnamesz) afs_vl_lookup_vldb() argument
[all...]
H A Ddynroot.c1 // SPDX-License-Identifier: GPL-2.0-or-later
30 struct afs_super_info *as = AFS_FS_S(inode->i_sb); in afs_iget5_pseudo_set()
34 vnode->volume = as->volume; in afs_iget5_pseudo_set()
35 vnode->fid = *fid; in afs_iget5_pseudo_set()
36 inode->i_ino = fid->vnode; in afs_iget5_pseudo_set()
37 inode->i_generation = fid->unique; in afs_iget5_pseudo_set()
54 if (as->volume) in afs_iget_pseudo_dir()
55 fid.vid = as->volume->vid; in afs_iget_pseudo_dir()
57 fid.vnode = 1; in afs_iget_pseudo_dir()
58 fid.unique = 1; in afs_iget_pseudo_dir()
[all …]
H A Dvl_rotate.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 bool afs_begin_vlserver_operation(struct afs_vl_cursor *vc, struct afs_cell *cell, in afs_begin_vlserver_operation() argument
21 vc->cell = cell; in afs_begin_vlserver_operation()
22 vc->key = key; in afs_begin_vlserver_operation()
23 vc->error = -EDESTADDRREQ; in afs_begin_vlserver_operation()
24 vc->ac.error = SHRT_MAX; in afs_begin_vlserver_operation()
27 vc->error = -EINTR; in afs_begin_vlserver_operation()
28 vc->flags |= AFS_VL_CURSOR_STOP; in afs_begin_vlserver_operation()
41 struct afs_cell *cell = vc->cell; in afs_start_vl_iteration() local
44 if (cell->dns_source == DNS_RECORD_UNAVAILABLE || in afs_start_vl_iteration()
[all …]
H A Dproc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
37 struct afs_cell *cell; in afs_proc_cells_show() local
40 /* display header on line 1 */ in afs_proc_cells_show()
45 cell = list_entry(v, struct afs_cell, proc_link); in afs_proc_cells_show()
46 vllist = rcu_dereference(cell->vl_servers); in afs_proc_cells_show()
48 /* display one cell per line on subsequent lines */ in afs_proc_cells_show()
50 refcount_read(&cell->ref), in afs_proc_cells_show()
51 atomic_read(&cell->active), in afs_proc_cells_show()
52 cell->dns_expiry - ktime_get_real_seconds(), in afs_proc_cells_show()
53 vllist ? vllist->nr_servers : 0, in afs_proc_cells_show()
[all …]
H A Dsuper.c105 ret = -ENOMEM; in afs_fs_init()
158 struct afs_super_info *as = AFS_FS_S(root->d_sb); in afs_show_devname()
159 struct afs_volume *volume = as->volume; in afs_show_devname()
160 struct afs_cell *cell = as->cell; in afs_show_devname() local
164 if (as->dyn_root) { in afs_show_devname()
169 switch (volume->type) { in afs_show_devname()
174 if (volume->type_force) in afs_show_devname()
183 seq_printf(m, "%c%s:%s%s", pref, cell->name, volume->name, suf); in afs_show_devname()
192 struct afs_super_info *as = AFS_FS_S(root->d_sb); in afs_show_options()
195 if (as->dyn_root) in afs_show_options()
[all …]
H A Dmntpt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
46 static const char afs_root_volume[] = "root.cell";
56 return ERR_PTR(-EREMOTE); in afs_mntpt_lookup()
65 return -EREMOTE; in afs_mntpt_open()
73 struct afs_fs_context *ctx = fc->fs_private; in afs_mntpt_set_params()
74 struct afs_super_info *src_as = AFS_FS_S(mntpt->d_sb); in afs_mntpt_set_params()
76 struct afs_cell *cell; in afs_mntpt_set_params() local
80 if (fc->net_ns != src_as->net_ns) { in afs_mntpt_set_params()
81 put_net(fc->net_ns); in afs_mntpt_set_params()
82 fc->net_ns = get_net(src_as->net_ns); in afs_mntpt_set_params()
[all …]
/openbmc/linux/sound/core/seq/
H A Dseq_prioq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) 1998-1999 by Frank van de Pol <fvdpol@coil.demon.nl>
20 * +-------+
21 * Head --> | first |
22 * +-------+
24 * +-----v-+
26 * +-------+
28 * +-----v-+
30 * +-------+
32 * +-----v-+
[all …]
H A Dseq_memory.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 return pool->total_elements - atomic_read(&pool->counter); in snd_seq_pool_available()
29 return snd_seq_pool_available(pool) >= pool->room; in snd_seq_output_ok()
36 * 1) kernel space
49 * ext.data.ptr = the additiona cell head
50 * -> cell.next -> cell.next -> ..
60 if ((event->flags & SNDRV_SEQ_EVENT_LENGTH_MASK) != SNDRV_SEQ_EVENT_LENGTH_VARIABLE) in get_var_len()
61 return -EINVAL; in get_var_len()
63 return event->data.ext.len & ~SNDRV_SEQ_EXT_MASK; in get_var_len()
71 struct snd_seq_event_cell *cell; in dump_var_event() local
[all …]
/openbmc/linux/drivers/md/
H A Ddm-bio-prison-v2.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012-2017 Red Hat, Inc.
9 #include "dm-bio-prison-v2.h"
17 /*----------------------------------------------------------------*/
31 /*----------------------------------------------------------------*/
45 prison->wq = wq; in dm_bio_prison_create_v2()
46 spin_lock_init(&prison->lock); in dm_bio_prison_create_v2()
48 ret = mempool_init_slab_pool(&prison->cell_pool, MIN_CELLS, _cell_cache); in dm_bio_prison_create_v2()
54 prison->cells = RB_ROOT; in dm_bio_prison_create_v2()
62 mempool_exit(&prison->cell_pool); in dm_bio_prison_destroy_v2()
[all …]
H A Ddm-bio-prison-v1.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include "dm-bio-prison-v1.h"
10 #include "dm-bio-prison-v2.h"
17 /*----------------------------------------------------------------*/
23 struct rb_root cell; member
34 /*----------------------------------------------------------------*/
50 prison->num_locks = num_locks; in dm_bio_prison_create()
52 for (i = 0; i < prison->num_locks; i++) { in dm_bio_prison_create()
53 spin_lock_init(&prison->regions[i].lock); in dm_bio_prison_create()
54 prison->regions[i].cell = RB_ROOT; in dm_bio_prison_create()
[all …]
H A Ddm-bio-prison-v1.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2011-2017 Red Hat, Inc.
11 #include "persistent-data/dm-block-manager.h" /* FIXME: for dm_block_t */
12 #include "dm-thin-metadata.h" /* FIXME: for dm_thin_id */
17 /*----------------------------------------------------------------*/
21 * where they can't cause any mischief. Bios are put in a cell identified
22 * by a key, multiple bios can be in the same cell. When the cell is
38 * The range of a key (block_end - block_begin) must not
65 * Eventually all bio prison clients should manage their own cell memory.
73 struct dm_bio_prison_cell *cell);
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dibm,emac.txt8 correct clock-frequency property.
13 - device_type : "network"
15 - compatible : compatible list, contains 2 entries, first is
16 "ibm,emac-CHIP" where CHIP is the host ASIC (440gx,
18 "ibm,emac4". For Axon, thus, we have: "ibm,emac-axon",
20 - interrupts : <interrupt mapping for EMAC IRQ and WOL IRQ>
21 - reg : <registers mapping>
22 - local-mac-address : 6 bytes, MAC address
23 - mal-device : phandle of the associated McMAL node
24 - mal-tx-channel : 1 cell, index of the tx channel on McMAL associated
[all …]
H A Dfsl-fman.txt5 - FMan Node
6 - FMan Port Node
7 - FMan MURAM Node
8 - FMan dTSEC/XGEC/mEMAC Node
9 - FMan IEEE 1588 Node
10 - FMan MDIO Node
11 - Example
18 Due to the fact that the FMan is an aggregation of sub-engines (ports, MACs,
23 - compatible
32 - cell-index
[all …]
/openbmc/linux/drivers/nvmem/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2013 Maxime Ripard <maxime.ripard@free-electrons.com>
16 #include <linux/nvmem-consumer.h>
17 #include <linux/nvmem-provider.h>
64 if (nvmem->reg_read) in __nvmem_reg_read()
65 return nvmem->reg_read(nvmem->priv, offset, val, bytes); in __nvmem_reg_read()
67 return -EINVAL; in __nvmem_reg_read()
75 if (nvmem->reg_write) { in __nvmem_reg_write()
76 gpiod_set_value_cansleep(nvmem->wp_gpio, 0); in __nvmem_reg_write()
77 ret = nvmem->reg_write(nvmem->priv, offset, val, bytes); in __nvmem_reg_write()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A Dmpic.txt14 - compatible
22 - reg
24 Value type: <prop-encoded-array>
29 - interrupt-controller
35 - #interrupt-cells
39 specifiers do not contain the interrupt-type or type-specific
42 - #address-cells
47 - pic-no-reset
53 configuration registers to a sane state-- masked or
60 - big-endian
[all …]
H A Ddma.txt4 This is a little-endian 4-channel DMA controller, used in Freescale mpc83xx
9 - compatible : must include "fsl,elo-dma"
10 - reg : DMA General Status Register, i.e. DGSR which contains
12 - ranges : describes the mapping between the address space of the
14 - cell-index : controller index. 0 for controller @ 0x8100
15 - interrupts : interrupt specifier for DMA IRQ
17 - DMA channel nodes:
18 - compatible : must include "fsl,elo-dma-channel"
20 - reg : DMA channel specific registers
21 - cell-index : DMA channel index starts at 0.
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mips/cavium/
H A Dbootbus.txt7 - compatible: "cavium,octeon-3860-bootbus"
11 - reg: The base address of the Boot Bus' register bank.
13 - #address-cells: Must be <2>. The first cell is the chip select
14 within the bootbus. The second cell is the offset from the chip select.
16 - #size-cells: Must be <1>.
18 - ranges: There must be one one triplet of (child-bus-address,
19 parent-bus-address, length) for each active chip select. If the
27 - compatible: "cavium,octeon-3860-bootbus-config"
29 - cavium,cs-index: A single cell indicating the chip select that
32 - cavium,t-adr: A cell specifying the ADR timing (in nS).
[all …]
/openbmc/linux/drivers/clk/mmp/
H A Dreset.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/reset-controller.h>
16 struct mmp_clk_reset_cell *cell; in mmp_of_reset_xlate() local
19 if (WARN_ON(reset_spec->args_count != rcdev->of_reset_n_cells)) in mmp_of_reset_xlate()
20 return -EINVAL; in mmp_of_reset_xlate()
22 for (i = 0; i < rcdev->nr_resets; i++) { in mmp_of_reset_xlate()
23 cell = &unit->cells[i]; in mmp_of_reset_xlate()
24 if (cell->clk_id == reset_spec->args[0]) in mmp_of_reset_xlate()
28 if (i == rcdev->nr_resets) in mmp_of_reset_xlate()
29 return -EINVAL; in mmp_of_reset_xlate()
[all …]
/openbmc/qemu/hw/misc/
H A Dmips_itu.c2 * Inter-Thread Communication Unit emulation.
27 #include "hw/qdev-properties.h"
45 #define ITC_CELL_TAG_F 1
56 ITCVIEW_CONTROL = 1,
68 #define ITC_ICR0_ERR_PARITY 1
73 return &itu->tag_io; in mips_itu_get_tag_region()
86 return tag->ITCAddressMap[index]; in itc_tag_read()
91 uint64_t *am = &tag->ITCAddressMap[0]; in itc_reconfigure()
92 MemoryRegion *mr = &tag->storage_io; in itc_reconfigure()
94 uint64_t size = (1 * KiB) + (am[1] & ITC_AM1_ADDR_MASK_MASK); in itc_reconfigure()
[all …]
/openbmc/linux/arch/powerpc/boot/dts/fsl/
H A Dt4240si-post.dtsi4 * Copyright 2012 - 2015 Freescale Semiconductor Inc.
36 compatible = "fsl,bman-fbpr";
37 alloc-ranges = <0 0 0x10000 0>;
41 compatible = "fsl,qman-fqd";
42 alloc-ranges = <0 0 0x10000 0>;
46 compatible = "fsl,qman-pfdr";
47 alloc-ranges = <0 0 0x10000 0>;
51 #address-cells = <2>;
52 #size-cells = <1>;
53 compatible = "fsl,ifc", "simple-bus";
[all …]
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dqoriq-qman-portals.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
5 * Copyright 2011-2016 Freescale Semiconductor Inc.
10 #address-cells = <1>;
11 #size-cells = <1>;
12 compatible = "simple-bus";
14 qportal0: qman-portal@0 {
16 * bootloader fix-ups are expected to provide the
17 * "fsl,bman-portal-<hardware revision>" compatible
19 compatible = "fsl,qman-portal";
22 cell-index = <0>;
[all …]
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dstericsson,u8500-clks.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/clock/stericsson,u8500-clks.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ST-Ericsson DB8500 (U8500) clocks
10 - Ulf Hansson <ulf.hansson@linaro.org>
11 - Linus Walleij <linus.walleij@linaro.org>
14 DB8500 digital baseband system-on-chip and its siblings such as
16 itself, not off-chip clocks. There are four different on-chip
17 clocks - RTC (32 kHz), CPU clock (SMP TWD), PRCMU (power reset and
[all …]
/openbmc/u-boot/lib/
H A Dfdtdec.c1 // SPDX-License-Identifier: GPL-2.0+
30 * good reason why driver-model conversion is infeasible. Examples include
36 COMPAT(NVIDIA_TEGRA20_EMC, "nvidia,tegra20-emc"),
37 COMPAT(NVIDIA_TEGRA20_EMC_TABLE, "nvidia,tegra20-emc-table"),
38 COMPAT(NVIDIA_TEGRA20_NAND, "nvidia,tegra20-nand"),
39 COMPAT(NVIDIA_TEGRA124_XUSB_PADCTL, "nvidia,tegra124-xusb-padctl"),
40 COMPAT(NVIDIA_TEGRA210_XUSB_PADCTL, "nvidia,tegra210-xusb-padctl"),
42 COMPAT(SAMSUNG_EXYNOS5_SROMC, "samsung,exynos-sromc"),
43 COMPAT(SAMSUNG_EXYNOS_USB_PHY, "samsung,exynos-usb-phy"),
44 COMPAT(SAMSUNG_EXYNOS5_USB3_PHY, "samsung,exynos5250-usb3-phy"),
[all …]

12345678910>>...41