Home
last modified time | relevance | path

Searched full:cell (Results 1 – 25 of 1102) sorted by relevance

12345678910>>...45

/linux/fs/afs/
H A Dcell.c2 /* AFS cell and server record management
33 static void afs_set_cell_state(struct afs_cell *cell, enum afs_cell_state state) in afs_set_cell_state() argument
35 smp_store_release(&cell->state, state); /* Commit cell changes before state */ in afs_set_cell_state()
36 smp_wmb(); /* Set cell state before task state */ in afs_set_cell_state()
37 wake_up_var(&cell->state); in afs_set_cell_state()
41 * Look up and get an activation reference on a cell record. The caller must
48 struct afs_cell *cell = NULL; in afs_find_cell_locked() local
60 cell = rcu_dereference_protected(net->ws_cell, in afs_find_cell_locked()
62 if (!cell) in afs_find_cell_locked()
69 cell = rb_entry(p, struct afs_cell, net_node); in afs_find_cell_locked()
[all …]
H A Ddynroot.c13 #define AFS_MIN_DYNROOT_CELL_INO 4 /* Allow for ., .., @cell, .@cell */
96 struct afs_cell *cell = NULL; in afs_dynroot_lookup_cell() local
111 cell = afs_lookup_cell(net, name, len, NULL, false, in afs_dynroot_lookup_cell()
113 if (IS_ERR(cell)) { in afs_dynroot_lookup_cell()
114 ret = PTR_ERR(cell); in afs_dynroot_lookup_cell()
118 inode = afs_iget_pseudo_dir(dir->i_sb, cell->dynroot_ino * 2 + dotted); in afs_dynroot_lookup_cell()
124 dentry->d_fsdata = cell; in afs_dynroot_lookup_cell()
128 afs_unuse_cell(cell, afs_cell_trace_unuse_lookup_dynroot); in afs_dynroot_lookup_cell()
152 memcmp(dentry->d_name.name, "@cell", 5) == 0) in afs_dynroot_lookup()
156 memcmp(dentry->d_name.name, ".@cell", 6) == 0) in afs_dynroot_lookup()
[all …]
H A Dproc.c37 struct afs_cell *cell; in afs_proc_cells_show() local
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()
54 cell->state, in afs_proc_cells_show()
55 cell->name); in afs_proc_cells_show()
123 struct afs_cell *cell; in afs_proc_cells_write() local
[all …]
H A Dmntpt.c46 static const char afs_root_volume[] = "root.cell";
76 struct afs_cell *cell; in afs_mntpt_set_params() local
89 if (ctx->cell) { in afs_mntpt_set_params()
90 afs_unuse_cell(ctx->cell, afs_cell_trace_unuse_mntpt); in afs_mntpt_set_params()
91 ctx->cell = NULL; in afs_mntpt_set_params()
110 cell = afs_lookup_cell(ctx->net, p, size, NULL, false, in afs_mntpt_set_params()
112 if (IS_ERR(cell)) { in afs_mntpt_set_params()
113 pr_err("kAFS: unable to lookup cell '%pd'\n", mntpt); in afs_mntpt_set_params()
114 return PTR_ERR(cell); in afs_mntpt_set_params()
116 ctx->cell = cell; in afs_mntpt_set_params()
[all …]
/linux/drivers/md/
H A Ddm-bio-prison-v2.c74 struct dm_bio_prison_cell_v2 *cell) in dm_bio_prison_free_cell_v2() argument
76 mempool_free(cell, &prison->cell_pool); in dm_bio_prison_free_cell_v2()
81 struct dm_bio_prison_cell_v2 *cell) in __setup_new_cell() argument
83 memset(cell, 0, sizeof(*cell)); in __setup_new_cell()
84 memcpy(&cell->key, key, sizeof(cell->key)); in __setup_new_cell()
85 bio_list_init(&cell->bios); in __setup_new_cell()
124 struct dm_bio_prison_cell_v2 *cell = in __find_or_insert() local
127 r = cmp_keys(key, &cell->key); in __find_or_insert()
137 *result = cell; in __find_or_insert()
155 struct dm_bio_prison_cell_v2 **cell) in __get() argument
[all …]
H A Ddm-bio-prison-v2.h25 * where they can't cause any mischief. Bios are put in a cell identified
26 * by a key, multiple bios can be in the same cell. When the cell is
62 * Eventually all bio prison clients should manage their own cell memory.
70 struct dm_bio_prison_cell_v2 *cell);
79 * cell, and later given to the holder of the exclusive lock.
97 * returning ownership of the cell (ie. you should free it).
100 struct dm_bio_prison_cell_v2 *cell);
103 * Locks a cell. No associated bio. Exclusive locks get priority. These
123 struct dm_bio_prison_cell_v2 *cell,
135 struct dm_bio_prison_cell_v2 *cell,
[all …]
/linux/drivers/nvmem/
H A Dcore.c344 struct nvmem_cell *cell = NULL; in nvmem_cell_attr_read() local
349 cell = nvmem_create_cell(entry, entry->name, 0); in nvmem_cell_attr_read()
350 if (IS_ERR(cell)) in nvmem_cell_attr_read()
351 return PTR_ERR(cell); in nvmem_cell_attr_read()
353 if (!cell) in nvmem_cell_attr_read()
356 content = nvmem_cell_read(cell, &cell_sz); in nvmem_cell_attr_read()
367 kfree_const(cell->id); in nvmem_cell_attr_read()
368 kfree(cell); in nvmem_cell_attr_read()
486 /* Initialize each attribute to take the name and size of the cell */ in nvmem_populate_sysfs_cells()
551 static void nvmem_cell_entry_drop(struct nvmem_cell_entry *cell) in nvmem_cell_entry_drop() argument
[all …]
/linux/sound/core/seq/
H A Dseq_prioq.c130 /* enqueue cell to prioq */
132 struct snd_seq_event_cell * cell) in snd_seq_prioq_cell_in() argument
138 if (snd_BUG_ON(!f || !cell)) in snd_seq_prioq_cell_in()
142 prior = (cell->event.flags & SNDRV_SEQ_PRIORITY_MASK); in snd_seq_prioq_cell_in()
150 if (compare_timestamp(&cell->event, &f->tail->event)) { in snd_seq_prioq_cell_in()
151 /* add new cell to tail of the fifo */ in snd_seq_prioq_cell_in()
152 f->tail->next = cell; in snd_seq_prioq_cell_in()
153 f->tail = cell; in snd_seq_prioq_cell_in()
154 cell->next = NULL; in snd_seq_prioq_cell_in()
159 /* traverse list of elements to find the place where the new cell is in snd_seq_prioq_cell_in()
[all …]
H A Dseq_fifo.c85 struct snd_seq_event_cell *cell; in snd_seq_fifo_clear() local
93 while ((cell = fifo_cell_out(f)) != NULL) { in snd_seq_fifo_clear()
94 snd_seq_cell_free(cell); in snd_seq_fifo_clear()
103 struct snd_seq_event_cell *cell; in snd_seq_fifo_event_in() local
110 err = snd_seq_event_dup(f->pool, event, &cell, 1, NULL, NULL); /* always non-blocking */ in snd_seq_fifo_event_in()
121 f->tail->next = cell; in snd_seq_fifo_event_in()
122 f->tail = cell; in snd_seq_fifo_event_in()
124 f->head = cell; in snd_seq_fifo_event_in()
125 cell->next = NULL; in snd_seq_fifo_event_in()
139 /* dequeue cell from fifo */
[all …]
/linux/drivers/mfd/
H A Dmfd-core.c54 static void mfd_acpi_add_device(const struct mfd_cell *cell, in mfd_acpi_add_device() argument
57 const struct mfd_cell_acpi_match *match = cell->acpi_match; in mfd_acpi_add_device()
93 static inline void mfd_acpi_add_device(const struct mfd_cell *cell, in mfd_acpi_add_device() argument
101 const struct mfd_cell *cell) in mfd_match_of_node_to_dev() argument
112 if (!cell->use_of_reg) in mfd_match_of_node_to_dev()
121 if (cell->of_reg != of_node_addr) in mfd_match_of_node_to_dev()
140 const struct mfd_cell *cell, in mfd_add_device() argument
156 platform_id = id + cell->id; in mfd_add_device()
158 pdev = platform_device_alloc(cell->name, platform_id); in mfd_add_device()
162 pdev->mfd_cell = kmemdup(cell, sizeof(*cell), GFP_KERNEL); in mfd_add_device()
[all …]
/linux/drivers/clk/mmp/
H A Dreset.c16 struct mmp_clk_reset_cell *cell; in mmp_of_reset_xlate() local
23 cell = &unit->cells[i]; in mmp_of_reset_xlate()
24 if (cell->clk_id == reset_spec->args[0]) in mmp_of_reset_xlate()
38 struct mmp_clk_reset_cell *cell; in mmp_clk_reset_assert() local
42 cell = &unit->cells[id]; in mmp_clk_reset_assert()
43 if (cell->lock) in mmp_clk_reset_assert()
44 spin_lock_irqsave(cell->lock, flags); in mmp_clk_reset_assert()
46 val = readl(cell->reg); in mmp_clk_reset_assert()
47 val |= cell->bits; in mmp_clk_reset_assert()
48 writel(val, cell->reg); in mmp_clk_reset_assert()
[all …]
/linux/net/core/
H A Dgro_cells.c16 struct gro_cell *cell; in gro_cells_receive() local
28 cell = this_cpu_ptr(gcells->cells); in gro_cells_receive()
30 if (skb_queue_len(&cell->napi_skbs) > READ_ONCE(net_hotdata.max_backlog)) { in gro_cells_receive()
38 __skb_queue_tail(&cell->napi_skbs, skb); in gro_cells_receive()
39 if (skb_queue_len(&cell->napi_skbs) == 1) in gro_cells_receive()
40 napi_schedule(&cell->napi); in gro_cells_receive()
53 struct gro_cell *cell = container_of(napi, struct gro_cell, napi); in gro_cell_poll() local
58 skb = __skb_dequeue(&cell->napi_skbs); in gro_cell_poll()
79 struct gro_cell *cell = per_cpu_ptr(gcells->cells, i); in gro_cells_init() local
81 __skb_queue_head_init(&cell->napi_skbs); in gro_cells_init()
[all …]
/linux/Documentation/devicetree/bindings/net/
H A Dibm,emac.txt24 - mal-tx-channel : 1 cell, index of the tx channel on McMAL associated
26 - mal-rx-channel : 1 cell, index of the rx channel on McMAL associated
28 - cell-index : 1 cell, hardware index of the EMAC cell on a given
31 - max-frame-size : 1 cell, maximum frame size supported in bytes
32 - rx-fifo-size : 1 cell, Rx fifo size in bytes for 10 and 100 Mb/sec
35 - tx-fifo-size : 1 cell, Tx fifo size in bytes for 10 and 100 Mb/sec
38 - fifo-entry-size : 1 cell, size of a fifo entry (used to calculate
41 - mal-burst-size : 1 cell, MAL burst size (used to calculate thresholds)
48 - mdio-device : 1 cell, required iff using shared MDIO registers
51 - zmii-device : 1 cell, required iff connected to a ZMII. phandle of
[all …]
H A Dfsl,fman.yaml26 cell-index:
31 The cell-index value may be used by the SoC, to identify the
33 there's a description of the cell-index use in each SoC:
36 register[bit] FMan unit cell-index
41 register[bit] FMan unit cell-index
48 register[bit] FMan unit cell-index
91 channels in the FMan. The first cell specifies the beginning
92 of the range and the second cell specifies the number of
95 - description: The first cell specifies the beginning of the range.
97 The second cell specifies the number of channels.
[all …]
/linux/Documentation/devicetree/bindings/mips/cavium/
H A Dbootbus.txt13 - #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.
29 - cavium,cs-index: A single cell indicating the chip select that
32 - cavium,t-adr: A cell specifying the ADR timing (in nS).
34 - cavium,t-ce: A cell specifying the CE timing (in nS).
36 - cavium,t-oe: A cell specifying the OE timing (in nS).
38 - cavium,t-we: A cell specifying the WE timing (in nS).
40 - cavium,t-rd-hld: A cell specifying the RD_HLD timing (in nS).
42 - cavium,t-wr-hld: A cell specifying the WR_HLD timing (in nS).
44 - cavium,t-pause: A cell specifying the PAUSE timing (in nS).
[all …]
/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A Dmpic.txt85 <1st-cell> interrupt-number
90 Note: If the interrupt-type cell is undefined
91 (i.e. #interrupt-cells = 2), this cell
96 <2nd-cell> level-sense information, encoded as follows:
102 <3rd-cell> interrupt-type
108 The interrupt-number cell contains
110 type-specific cell is undefined. The
121 The interrupt-number cell contains
124 cell identifies the specific error
129 The interrupt-number cell identifies
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dqoriq-qman-portals.dtsi22 cell-index = <0>;
29 cell-index = <1>;
36 cell-index = <2>;
43 cell-index = <3>;
50 cell-index = <4>;
57 cell-index = <5>;
64 cell-index = <6>;
71 cell-index = <7>;
78 cell-index = <8>;
85 cell-index = <9>;
/linux/Documentation/driver-api/
H A Dnvmem.rst62 Device drivers can define and register an nvmem cell using the nvmem_cell_info
75 Additionally it is possible to create nvmem cell lookup entries and register
93 3. NVMEM cell based consumer APIs
102 void nvmem_cell_put(struct nvmem_cell *cell);
103 void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell);
105 void *nvmem_cell_read(struct nvmem_cell *cell, ssize_t *len);
106 int nvmem_cell_write(struct nvmem_cell *cell, void *buf, ssize_t len);
108 `*nvmem_cell_get()` apis will get a reference to nvmem cell for a given id,
109 and nvmem_cell_read/write() can then read or write to the cell.
110 Once the usage of the cell is finished the consumer should call
[all …]
/linux/rust/pin-init/examples/
H A Dstatic_init.rs8 cell::{Cell, UnsafeCell},
25 cell: UnsafeCell<MaybeUninit<T>>, field
26 init: Cell<Option<I>>,
28 present: Cell<bool>,
37 cell: UnsafeCell::new(MaybeUninit::uninit()), in new()
38 init: Cell::new(Some(init)), in new()
40 present: Cell::new(false), in new()
49 unsafe { (*self.cell.get()).assume_init_ref() } in deref()
56 return unsafe { (*self.cell.get()).assume_init_ref() }; in deref()
59 let ptr = self.cell.get().cast::<T>(); in deref()
[all …]
/linux/arch/powerpc/boot/dts/fsl/
H A Dt4240si-post.dtsi171 cell-index = <1>;
177 cell-index = <2>;
578 cell-index = <0x0>;
584 cell-index = <0x1>;
590 cell-index = <0x2>;
596 cell-index = <0x3>;
602 cell-index = <0x4>;
608 cell-index = <0x5>;
614 cell-index = <0x6>;
620 cell-index = <0x7>;
[all …]
H A Dqoriq-qman1-portals.dtsi44 cell-index = <0x0>;
50 cell-index = <1>;
56 cell-index = <2>;
62 cell-index = <3>;
68 cell-index = <4>;
74 cell-index = <5>;
80 cell-index = <6>;
87 cell-index = <7>;
93 cell-index = <8>;
99 cell-index = <9>;
/linux/Documentation/devicetree/bindings/powerpc/4xx/
H A Dcpm.txt16 - unused-units : specifier consist of one cell. For each
17 bit in the cell, the corresponding bit
20 - idle-doze : specifier consist of one cell. For each
21 bit in the cell, the corresponding bit
24 - standby : specifier consist of one cell. For each
25 bit in the cell, the corresponding bit
28 - suspend : specifier consist of one cell. For each
29 bit in the cell, the corresponding bit
/linux/include/linux/
H A Dnvmem-consumer.h24 * struct nvmem_cell_lookup - cell lookup entry
27 * @cell_name: Name of the nvmem cell as defined in the name field of
30 * this cell.
31 * @con_id: Connector id for this cell lookup.
52 /* Cell based interface */
55 void nvmem_cell_put(struct nvmem_cell *cell);
56 void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell);
57 void *nvmem_cell_read(struct nvmem_cell *cell, size_t *len);
58 int nvmem_cell_write(struct nvmem_cell *cell, void *buf, size_t len);
112 struct nvmem_cell *cell) in devm_nvmem_cell_put() argument
[all …]
/linux/Documentation/devicetree/bindings/clock/
H A Dstericsson,u8500-clks.yaml38 description: A subnode with one clock cell for PRCMU (power, reset, control
39 management unit) clocks. The cell indicates which PRCMU clock in the
51 reset and clock controller) peripheral clocks. The first cell indicates
53 5, 6. The second cell indicates which clock inside the PRCC block it
65 and clock controller) kernel clocks. The first cell indicates which PRCC
67 second cell indicates which clock inside the PRCC block it wants, possible
79 PRCC (peripheral reset and clock controller). The first cell indicates
81 5 and 6. The second cell indicates which reset line inside the PRCC block
121 The first cell indicates which output clock we are using,
123 The second cell indicates which clock we want to use as source,
[all …]
/linux/Documentation/devicetree/bindings/nvmem/layouts/
H A Dfixed-cell.yaml4 $id: http://devicetree.org/schemas/nvmem/layouts/fixed-cell.yaml#
7 title: Fixed offset & size NVMEM cell
18 Cell with base MAC address to be used for calculating extra relative
20 It can be stored in a plain binary format (cell length 6) or as an
21 ASCII text like "00:11:22:33:44:55" (cell length 17).
46 "#nvmem-cell-cells":
50 - "#nvmem-cell-cells"

12345678910>>...45