Home
last modified time | relevance | path

Searched refs:cell (Results 1 – 25 of 1061) sorted by relevance

12345678910>>...43

/openbmc/linux/fs/afs/
H A Dcell.c68 if (!cell) in afs_find_cell_locked()
107 return cell; in afs_find_cell()
144 if (!cell) { in afs_alloc_cell()
151 kfree(cell); in afs_alloc_cell()
209 return cell; in afs_alloc_cell()
216 kfree(cell); in afs_alloc_cell()
298 trace_afs_cell(cell->debug_id, refcount_read(&cell->ref), atomic_read(&cell->active), in afs_lookup_cell()
314 return cell; in afs_lookup_cell()
497 _enter("%p{%s}", cell, cell->name); in afs_cell_destroy()
556 if (cell) { in afs_put_cell()
[all …]
H A Dvl_alias.c25 .net = cell->net, in afs_sample_volume()
26 .cell = cell, in afs_sample_volume()
165 if (p == cell || p->alias_of) in afs_compare_cell_roots()
238 _enter("%s", cell->name); in afs_query_for_alias()
244 if (p == cell || p->alias_of) in afs_query_for_alias()
331 _enter("%s", cell->name); in afs_do_cell_detect_alias()
340 cell->root_volume = root_volume; in afs_do_cell_detect_alias()
341 return afs_compare_cell_roots(cell); in afs_do_cell_detect_alias()
363 struct afs_net *net = cell->net; in afs_cell_detect_alias()
374 ret = cell->alias_of ? 1 : 0; in afs_cell_detect_alias()
[all …]
H A Dvl_rotate.c21 vc->cell = cell; in afs_begin_vlserver_operation()
41 struct afs_cell *cell = vc->cell; in afs_start_vl_iteration() local
47 set_bit(AFS_CELL_FL_DO_LOOKUP, &cell->flags); in afs_start_vl_iteration()
52 &cell->dns_lookup_count, in afs_start_vl_iteration()
73 read_lock(&cell->vl_servers_lock); in afs_start_vl_iteration()
75 rcu_dereference_protected(cell->vl_servers, in afs_start_vl_iteration()
77 read_unlock(&cell->vl_servers_lock); in afs_start_vl_iteration()
294 struct afs_cell *cell = vc->cell; in afs_vl_dump_edestaddrreq() local
304 pr_notice("CELL: %s err=%d\n", cell->name, cell->error); in afs_vl_dump_edestaddrreq()
306 cell->dns_source, cell->dns_status, cell->dns_lookup_count); in afs_vl_dump_edestaddrreq()
[all …]
H A Dvolume.c24 write_seqlock(&cell->volume_lock); in afs_insert_volume_into_cell()
26 pp = &cell->volumes.rb_node; in afs_insert_volume_into_cell()
50 write_sequnlock(&cell->volume_lock); in afs_insert_volume_into_cell()
57 struct afs_cell *cell = volume->cell; in afs_remove_volume_from_cell() local
62 write_seqlock(&cell->volume_lock); in afs_remove_volume_from_cell()
65 rb_erase(&volume->cell_node, &cell->volumes); in afs_remove_volume_from_cell()
66 write_sequnlock(&cell->volume_lock); in afs_remove_volume_from_cell()
87 volume->cell = afs_get_cell(params->cell, afs_cell_trace_get_vol); in afs_alloc_volume()
298 volume->cell->name, volume->vid); in afs_activate_volume()
365 new = afs_alloc_server_list(volume->cell, key, in afs_update_volume_status()
[all …]
H A Dsuper.c160 struct afs_cell *cell = as->cell; in afs_show_devname() local
303 ctx->cell = cell; in afs_parse_source()
307 ctx->cell->name, ctx->cell, in afs_parse_source()
370 if (!ctx->cell) { in afs_validate_fc()
397 cell = afs_use_cell(ctx->cell->alias_of, in afs_validate_fc()
400 ctx->cell = cell; in afs_validate_fc()
428 as->cell == ctx->cell && in afs_test_super()
518 as->cell = afs_use_cell(ctx->cell, afs_cell_trace_use_sbi); in afs_alloc_sbi()
645 if (IS_ERR(cell)) in afs_init_fs_context()
646 cell = NULL; in afs_init_fs_context()
[all …]
H A Dproc.c37 struct afs_cell *cell; in afs_proc_cells_show() local
54 cell->state, in afs_proc_cells_show()
55 cell->name); in afs_proc_cells_show()
126 if (IS_ERR(cell)) { in afs_proc_cells_write()
127 ret = PTR_ERR(cell); in afs_proc_cells_write()
154 struct afs_cell *cell; in afs_proc_rootcell_show() local
159 cell = net->ws_cell; in afs_proc_rootcell_show()
160 if (cell) in afs_proc_rootcell_show()
617 _enter("%p{%s},%p", cell, cell->name, net->proc_afs); in afs_proc_cell_setup()
626 cell) || in afs_proc_cell_setup()
[all …]
H A Ddynroot.c113 struct afs_cell *cell; in afs_probe_cell_name() local
129 if (!IS_ERR(cell)) { in afs_probe_cell_name()
194 struct afs_cell *cell; in afs_lookup_atcell() local
209 cell = net->ws_cell; in afs_lookup_atcell()
210 if (cell) { in afs_lookup_atcell()
211 len = cell->name_len; in afs_lookup_atcell()
212 memcpy(name, cell->name, len + 1); in afs_lookup_atcell()
217 if (!cell) in afs_lookup_atcell()
292 subdir = lookup_one_len(cell->name, root, cell->name_len); in afs_dynroot_mkdir()
322 subdir = try_lookup_one_len(cell->name, root, cell->name_len); in afs_dynroot_rmdir()
[all …]
H A Dcallback.c40 struct afs_cell *cell = server->cell; in afs_server_init_callback_work() local
42 down_read(&cell->fs_open_mmaps_lock); in afs_server_init_callback_work()
44 list_for_each_entry(vnode, &cell->fs_open_mmaps, cb_mmap_link) { in afs_server_init_callback_work()
51 up_read(&cell->fs_open_mmaps_lock); in afs_server_init_callback_work()
63 atomic_inc(&server->cell->fs_s_break); in afs_init_callback_state()
64 if (!list_empty(&server->cell->fs_open_mmaps)) in afs_init_callback_state()
121 read_seqbegin_or_lock(&cell->volume_lock, &seq); in afs_lookup_volume_rcu()
123 p = rcu_dereference_raw(cell->volumes.rb_node); in afs_lookup_volume_rcu()
136 } while (need_seqretry(&cell->volume_lock, seq)); in afs_lookup_volume_rcu()
138 done_seqretry(&cell->volume_lock, seq); in afs_lookup_volume_rcu()
[all …]
H A Dmntpt.c76 struct afs_cell *cell; in afs_mntpt_set_params() local
89 if (ctx->cell) { in afs_mntpt_set_params()
90 afs_unuse_cell(ctx->net, 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()
111 if (IS_ERR(cell)) { in afs_mntpt_set_params()
113 return PTR_ERR(cell); in afs_mntpt_set_params()
115 ctx->cell = cell; in afs_mntpt_set_params()
125 if (src_as->cell) in afs_mntpt_set_params()
126 ctx->cell = afs_use_cell(src_as->cell, afs_cell_trace_use_mntpt); in afs_mntpt_set_params()
/openbmc/linux/drivers/md/
H A Ddm-bio-prison-v2.c83 memset(cell, 0, sizeof(*cell)); in __setup_new_cell()
84 memcpy(&cell->key, key, sizeof(cell->key)); in __setup_new_cell()
137 *result = cell; in __find_or_insert()
165 (*cell)->shared_count++; in __get()
194 cell->shared_count--; in __put()
219 r = __put(prison, cell); in dm_cell_put_v2()
240 *cell_result = cell; in __lock()
247 cell = cell_prealloc; in __lock()
248 cell->shared_count = 0; in __lock()
251 *cell_result = cell; in __lock()
[all …]
H A Ddm-bio-prison-v1.c23 struct rb_root cell; member
91 memcpy(&cell->key, key, sizeof(cell->key)); in __setup_new_cell()
92 cell->holder = holder; in __setup_new_cell()
161 *cell_result = cell; in __bio_detain()
220 if (cell->holder) in __cell_release()
233 __cell_release(&prison->regions[l].cell, cell, bios); in dm_cell_release()
257 __cell_release_no_holder(&prison->regions[l].cell, cell, inmates); in dm_cell_release_no_holder()
285 visit_fn(context, cell); in dm_cell_visit_release()
286 rb_erase(&cell->node, &prison->regions[l].cell); in dm_cell_visit_release()
299 cell->holder = bio_list_pop(&cell->bios); in __promote_or_release()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Disp2400_support.h25 #define hrt_isp_vamem1_store_16(cell, addr, val) hrt_mem_store_16(cell, HRT_PROC_TYPE_PROP(cell, _s… argument
26 #define hrt_isp_vamem2_store_16(cell, addr, val) hrt_mem_store_16(cell, HRT_PROC_TYPE_PROP(cell, _s… argument
28 #define hrt_isp_dmem(cell) HRT_PROC_TYPE_PROP(cell, _base_dmem) argument
29 #define hrt_isp_vmem(cell) HRT_PROC_TYPE_PROP(cell, _simd_vmem) argument
31 #define hrt_isp_dmem_master_port_address(cell) hrt_mem_master_port_address(cell, hrt_isp_dmem(cell)) argument
32 #define hrt_isp_vmem_master_port_address(cell) hrt_mem_master_port_address(cell, hrt_isp_vmem(cell)) argument
35 #define hrt_isp_hist(cell) HRT_PROC_TYPE_PROP(cell, _simd_histogram) argument
36 #define hrt_isp_hist_master_port_address(cell) hrt_mem_master_port_address(cell, hrt_isp_hist(cell)) argument
/openbmc/linux/sound/core/seq/
H A Dseq_prioq.c194 f->head = cell; in snd_seq_prioq_cell_in()
224 cell = f->head; in snd_seq_prioq_cell_out()
226 cell = NULL; in snd_seq_prioq_cell_out()
227 if (cell) { in snd_seq_prioq_cell_out()
239 return cell; in snd_seq_prioq_cell_out()
284 cell = f->head; in snd_seq_prioq_leave()
285 while (cell) { in snd_seq_prioq_leave()
314 prev = cell; in snd_seq_prioq_leave()
316 cell = next; in snd_seq_prioq_leave()
396 while (cell) { in snd_seq_prioq_remove_events()
[all …]
H A Dseq_fifo.c124 f->tail = cell; in snd_seq_fifo_event_in()
126 f->head = cell; in snd_seq_fifo_event_in()
127 cell->next = NULL; in snd_seq_fifo_event_in()
146 cell = f->head; in fifo_cell_out()
147 if (cell) { in fifo_cell_out()
158 return cell; in fifo_cell_out()
193 *cellp = cell; in snd_seq_fifo_cell_out()
204 if (cell) { in snd_seq_fifo_cell_putback()
207 f->head = cell; in snd_seq_fifo_cell_putback()
209 f->tail = cell; in snd_seq_fifo_cell_putback()
[all …]
H A Dseq_memory.c105 for (; len > 0 && cell; cell = cell->next) { in dump_var_event()
229 pool->free = cell; in free_cell()
238 if (snd_BUG_ON(!cell)) in snd_seq_cell_free()
240 pool = cell->pool; in snd_seq_cell_free()
314 cell = pool->free; in snd_seq_cell_alloc()
315 if (cell) { in snd_seq_cell_alloc()
324 cell->next = NULL; in snd_seq_cell_alloc()
328 *cellp = cell; in snd_seq_cell_alloc()
418 *cellp = cell; in snd_seq_event_dup()
439 int cell; in snd_seq_pool_init() local
[all …]
/openbmc/linux/drivers/mfd/
H A Dmfd-core.c112 if (!cell->use_of_reg) in mfd_match_of_node_to_dev()
163 pdev->mfd_cell = kmemdup(cell, sizeof(*cell), GFP_KERNEL); in mfd_add_device()
213 cell->name, platform_id); in mfd_add_device()
218 if (cell->pdata_size) { in mfd_add_device()
220 cell->platform_data, cell->pdata_size); in mfd_add_device()
225 if (cell->swnode) { in mfd_add_device()
241 cell->resources[r].end; in mfd_add_device()
253 cell->resources[r].end; in mfd_add_device()
286 if (cell->swnode) in mfd_add_device()
355 cell = mfd_get_cell(pdev); in mfd_remove_devices_fn()
[all …]
/openbmc/linux/drivers/clk/mmp/
H A Dreset.c23 cell = &unit->cells[i]; in mmp_of_reset_xlate()
42 cell = &unit->cells[id]; in mmp_clk_reset_assert()
43 if (cell->lock) 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()
50 if (cell->lock) in mmp_clk_reset_assert()
65 if (cell->lock) in mmp_clk_reset_deassert()
68 val = readl(cell->reg); in mmp_clk_reset_deassert()
69 val &= ~cell->bits; in mmp_clk_reset_deassert()
[all …]
/openbmc/linux/drivers/nvmem/
H A Dcore.c461 list_add_tail(&cell->node, &cell->nvmem->cells); in nvmem_cell_entry_add()
483 cell->bytes = DIV_ROUND_UP(cell->nbits + cell->bit_offset, in nvmem_cell_info_to_nvmem_cell_entry_nodup()
527 cell = kzalloc(sizeof(*cell), GFP_KERNEL); in nvmem_add_one_cell()
606 cell = kzalloc(sizeof(*cell), GFP_KERNEL); in nvmem_add_cells_from_table()
1292 cell = kzalloc(sizeof(*cell), GFP_KERNEL); in nvmem_create_cell()
1608 if (cell->bit_offset || cell->nbits) in __nvmem_cell_read()
1613 cell->offset, buf, cell->raw_len); in __nvmem_cell_read()
1648 rc = __nvmem_cell_read(nvmem, cell->entry, buf, len, cell->id, cell->index); in nvmem_cell_read()
1698 cell->offset + cell->bytes - 1, &v, 1); in nvmem_cell_prepare_write_buffer()
1728 if (cell->bit_offset || cell->nbits) { in __nvmem_cell_entry_write()
[all …]
/openbmc/linux/net/core/
H A Dgro_cells.c15 struct gro_cell *cell; in gro_cells_receive() local
27 cell = this_cpu_ptr(gcells->cells); in gro_cells_receive()
37 __skb_queue_tail(&cell->napi_skbs, skb); in gro_cells_receive()
38 if (skb_queue_len(&cell->napi_skbs) == 1) in gro_cells_receive()
39 napi_schedule(&cell->napi); in gro_cells_receive()
57 skb = __skb_dequeue(&cell->napi_skbs); in gro_cell_poll()
80 __skb_queue_head_init(&cell->napi_skbs); in gro_cells_init()
85 napi_enable(&cell->napi); in gro_cells_init()
115 napi_disable(&cell->napi); in gro_cells_destroy()
116 __netif_napi_del(&cell->napi); in gro_cells_destroy()
[all …]
/openbmc/linux/drivers/of/
H A Dcpu.c16 const __be32 *cell; in of_get_cpu_hwid() local
20 cell = of_get_property(cpun, "reg", &len); in of_get_cpu_hwid()
21 if (!cell || !ac || ((sizeof(*cell) * ac * (thread + 1)) > len)) in of_get_cpu_hwid()
24 cell += ac * thread; in of_get_cpu_hwid()
25 return of_read_number(cell, ac); in of_get_cpu_hwid()
55 const __be32 *cell; in __of_find_n_match_cpu_property() local
60 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property()
63 if (!cell || !ac) in __of_find_n_match_cpu_property()
65 prop_len /= sizeof(*cell) * ac; in __of_find_n_match_cpu_property()
67 hwid = of_read_number(cell, ac); in __of_find_n_match_cpu_property()
[all …]
/openbmc/u-boot/lib/
H A Dfdtdec_common.c24 const int *cell; in fdtdec_get_int() local
28 cell = fdt_getprop(blob, node, prop_name, &len); in fdtdec_get_int()
29 if (cell && len >= sizeof(int)) { in fdtdec_get_int()
30 int val = fdt32_to_cpu(cell[0]); in fdtdec_get_int()
42 const int *cell; in fdtdec_get_uint() local
46 cell = fdt_getprop(blob, node, prop_name, &len); in fdtdec_get_uint()
47 if (cell && len >= sizeof(unsigned int)) { in fdtdec_get_uint()
48 unsigned int val = fdt32_to_cpu(cell[0]); in fdtdec_get_uint()
H A Dfdtdec.c190 const u32 *cell; in fdtdec_get_pci_addr() local
203 if (!cell) in fdtdec_get_pci_addr()
319 if (cell) in fdtdec_get_is_enabled()
670 if (!cell) in get_prop_check_min_len()
676 return cell; in get_prop_check_min_len()
706 if (!cell) in fdtdec_get_int_array_count()
876 const u8 *cell; in fdtdec_get_byte_array() local
888 const u8 *cell; in fdtdec_locate_byte_array() local
894 return cell; in fdtdec_locate_byte_array()
1365 if (!cell) { in fdtdec_decode_ram_size()
[all …]
/openbmc/u-boot/drivers/pci/
H A Dpci_sandbox.c82 const fdt32_t *cell; in sandbox_pci_probe() local
86 cell = ofnode_get_property(dev_ofnode(dev), "sandbox,dev-info", &len); in sandbox_pci_probe()
87 if (!cell) in sandbox_pci_probe()
96 fdt32_to_cpu(cell[0]), fdt32_to_cpu(cell[1]), in sandbox_pci_probe()
97 fdt32_to_cpu(cell[2]), fdt32_to_cpu(cell[3])); in sandbox_pci_probe()
99 pdev = fdt32_to_cpu(cell[0]); in sandbox_pci_probe()
100 pfn = fdt32_to_cpu(cell[1]); in sandbox_pci_probe()
104 priv->vendev[devfn].vendor = fdt32_to_cpu(cell[2]); in sandbox_pci_probe()
105 priv->vendev[devfn].device = fdt32_to_cpu(cell[3]); in sandbox_pci_probe()
107 cell += FDT_DEV_INFO_CELLS; in sandbox_pci_probe()
/openbmc/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>;
/openbmc/linux/Documentation/devicetree/bindings/mips/cavium/
H A Dbootbus.txt13 - #address-cells: Must be <2>. The first cell is 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).
46 - cavium,t-wait: A cell specifying the WAIT timing (in nS).
[all …]

12345678910>>...43