Home
last modified time | relevance | path

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

12345678910>>...37

/OK3568_Linux_fs/kernel/fs/afs/
H A Dcell.c55 struct afs_cell *cell = NULL; in afs_find_cell_locked() local
67 cell = net->ws_cell; in afs_find_cell_locked()
68 if (!cell) in afs_find_cell_locked()
75 cell = rb_entry(p, struct afs_cell, net_node); in afs_find_cell_locked()
77 n = strncasecmp(cell->name, name, in afs_find_cell_locked()
78 min_t(size_t, cell->name_len, namesz)); in afs_find_cell_locked()
80 n = cell->name_len - namesz; in afs_find_cell_locked()
92 return afs_use_cell(cell, reason); in afs_find_cell_locked()
102 struct afs_cell *cell; in afs_find_cell() local
105 cell = afs_find_cell_locked(net, name, namesz, reason); in afs_find_cell()
[all …]
H A Dvl_alias.c17 static struct afs_volume *afs_sample_volume(struct afs_cell *cell, struct key *key, in afs_sample_volume() argument
25 .net = cell->net, in afs_sample_volume()
26 .cell = cell, in afs_sample_volume()
156 static int afs_compare_cell_roots(struct afs_cell *cell) in afs_compare_cell_roots() argument
164 hlist_for_each_entry_rcu(p, &cell->net->proc_cells, proc_link) { in afs_compare_cell_roots()
165 if (p == cell || p->alias_of) in afs_compare_cell_roots()
170 if (afs_compare_volume_slists(cell->root_volume, p->root_volume) != 0) in afs_compare_cell_roots()
180 cell->alias_of = afs_use_cell(p, afs_cell_trace_use_alias); in afs_compare_cell_roots()
187 static int afs_query_for_alias_one(struct afs_cell *cell, struct key *key, in afs_query_for_alias_one() argument
203 _enter("%s:%s", cell->name, pvol->name); in afs_query_for_alias_one()
[all …]
H A Dsuper.c159 struct afs_cell *cell = as->cell; in afs_show_devname() local
182 seq_printf(m, "%c%s:%s%s", pref, cell->name, volume->name, suf); in afs_show_devname()
227 struct afs_cell *cell; in afs_parse_source() local
289 cellnamesz, cellnamesz, cellname ?: "", ctx->cell); in afs_parse_source()
293 cell = afs_lookup_cell(ctx->net, cellname, cellnamesz, in afs_parse_source()
295 if (IS_ERR(cell)) { in afs_parse_source()
298 return PTR_ERR(cell); in afs_parse_source()
300 afs_unuse_cell(ctx->net, ctx->cell, afs_cell_trace_unuse_parse); in afs_parse_source()
301 afs_see_cell(cell, afs_cell_trace_see_source); in afs_parse_source()
302 ctx->cell = cell; in afs_parse_source()
[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()
50 atomic_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
125 cell = afs_lookup_cell(net, name, strlen(name), args, true); in afs_proc_cells_write()
[all …]
H A Dvolume.c19 static struct afs_volume *afs_insert_volume_into_cell(struct afs_cell *cell, in afs_insert_volume_into_cell() argument
25 write_seqlock(&cell->volume_lock); in afs_insert_volume_into_cell()
27 pp = &cell->volumes.rb_node; in afs_insert_volume_into_cell()
42 rb_insert_color(&volume->cell_node, &cell->volumes); in afs_insert_volume_into_cell()
43 hlist_add_head_rcu(&volume->proc_link, &cell->proc_volumes); in afs_insert_volume_into_cell()
46 write_sequnlock(&cell->volume_lock); in afs_insert_volume_into_cell()
53 struct afs_cell *cell = volume->cell; in afs_remove_volume_from_cell() local
58 write_seqlock(&cell->volume_lock); in afs_remove_volume_from_cell()
60 rb_erase(&volume->cell_node, &cell->volumes); in afs_remove_volume_from_cell()
61 write_sequnlock(&cell->volume_lock); in afs_remove_volume_from_cell()
[all …]
H A Dvl_rotate.c17 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()
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()
45 cell->dns_expiry <= ktime_get_real_seconds()) { in afs_start_vl_iteration()
46 dns_lookup_count = smp_load_acquire(&cell->dns_lookup_count); in afs_start_vl_iteration()
47 set_bit(AFS_CELL_FL_DO_LOOKUP, &cell->flags); in afs_start_vl_iteration()
48 afs_queue_cell(cell, afs_cell_trace_get_queue_dns); in afs_start_vl_iteration()
50 if (cell->dns_source == DNS_RECORD_UNAVAILABLE) { in afs_start_vl_iteration()
52 &cell->dns_lookup_count, in afs_start_vl_iteration()
[all …]
H A Ddynroot.c112 struct afs_cell *cell; in afs_probe_cell_name() local
126 cell = afs_find_cell(net, name, len, afs_cell_trace_use_probe); in afs_probe_cell_name()
127 if (!IS_ERR(cell)) { in afs_probe_cell_name()
128 afs_unuse_cell(net, cell, afs_cell_trace_unuse_probe); in afs_probe_cell_name()
179 struct afs_cell *cell; in afs_lookup_atcell() local
194 cell = net->ws_cell; in afs_lookup_atcell()
195 if (cell) { in afs_lookup_atcell()
196 len = cell->name_len; in afs_lookup_atcell()
197 memcpy(name, cell->name, len + 1); in afs_lookup_atcell()
202 if (!cell) in afs_lookup_atcell()
[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()
/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-bio-prison-v2.c73 struct dm_bio_prison_cell_v2 *cell) in dm_bio_prison_free_cell_v2() argument
75 mempool_free(cell, &prison->cell_pool); in dm_bio_prison_free_cell_v2()
80 struct dm_bio_prison_cell_v2 *cell) in __setup_new_cell() argument
82 memset(cell, 0, sizeof(*cell)); in __setup_new_cell()
83 memcpy(&cell->key, key, sizeof(cell->key)); in __setup_new_cell()
84 bio_list_init(&cell->bios); in __setup_new_cell()
123 struct dm_bio_prison_cell_v2 *cell = in __find_or_insert() local
126 r = cmp_keys(key, &cell->key); in __find_or_insert()
136 *result = cell; in __find_or_insert()
154 struct dm_bio_prison_cell_v2 **cell) in __get() argument
[all …]
H A Ddm-bio-prison-v1.c70 struct dm_bio_prison_cell *cell) in dm_bio_prison_free_cell() argument
72 mempool_free(cell, &prison->cell_pool); in dm_bio_prison_free_cell()
78 struct dm_bio_prison_cell *cell) in __setup_new_cell() argument
80 memcpy(&cell->key, key, sizeof(cell->key)); in __setup_new_cell()
81 cell->holder = holder; in __setup_new_cell()
82 bio_list_init(&cell->bios); in __setup_new_cell()
119 struct dm_bio_prison_cell *cell = in __bio_detain() local
122 r = cmp_keys(key, &cell->key); in __bio_detain()
131 bio_list_add(&cell->bios, inmate); in __bio_detain()
132 *cell_result = cell; in __bio_detain()
[all …]
/OK3568_Linux_fs/kernel/sound/core/seq/
H A Dseq_prioq.c132 struct snd_seq_event_cell * cell) in snd_seq_prioq_cell_in() argument
139 if (snd_BUG_ON(!f || !cell)) in snd_seq_prioq_cell_in()
143 prior = (cell->event.flags & SNDRV_SEQ_PRIORITY_MASK); in snd_seq_prioq_cell_in()
151 if (compare_timestamp(&cell->event, &f->tail->event)) { in snd_seq_prioq_cell_in()
153 f->tail->next = cell; in snd_seq_prioq_cell_in()
154 f->tail = cell; in snd_seq_prioq_cell_in()
155 cell->next = NULL; in snd_seq_prioq_cell_in()
170 int rel = compare_timestamp_rel(&cell->event, &cur->event); in snd_seq_prioq_cell_in()
190 prev->next = cell; in snd_seq_prioq_cell_in()
191 cell->next = cur; 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()
104 struct snd_seq_event_cell *cell; in snd_seq_fifo_event_in() local
112 err = snd_seq_event_dup(f->pool, event, &cell, 1, NULL, NULL); /* always non-blocking */ in snd_seq_fifo_event_in()
123 f->tail->next = cell; in snd_seq_fifo_event_in()
124 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()
144 struct snd_seq_event_cell *cell; in fifo_cell_out() local
[all …]
H A Dseq_memory.c70 struct snd_seq_event_cell *cell; in snd_seq_dump_var_event() local
95 cell = (struct snd_seq_event_cell *)event->data.ext.ptr; in snd_seq_dump_var_event()
96 for (; len > 0 && cell; cell = cell->next) { in snd_seq_dump_var_event()
100 err = func(private_data, &cell->event, size); in snd_seq_dump_var_event()
167 struct snd_seq_event_cell *cell) in free_cell() argument
169 cell->next = pool->free; in free_cell()
170 pool->free = cell; in free_cell()
174 void snd_seq_cell_free(struct snd_seq_event_cell * cell) in snd_seq_cell_free() argument
179 if (snd_BUG_ON(!cell)) in snd_seq_cell_free()
181 pool = cell->pool; in snd_seq_cell_free()
[all …]
/OK3568_Linux_fs/kernel/drivers/mfd/
H A Dmfd-core.c38 const struct mfd_cell *cell = mfd_get_cell(pdev); in mfd_cell_enable() local
40 if (!cell->enable) { in mfd_cell_enable()
45 return cell->enable(pdev); in mfd_cell_enable()
51 const struct mfd_cell *cell = mfd_get_cell(pdev); in mfd_cell_disable() local
53 if (!cell->disable) { in mfd_cell_disable()
58 return cell->disable(pdev); in mfd_cell_disable()
63 static void mfd_acpi_add_device(const struct mfd_cell *cell, in mfd_acpi_add_device() argument
66 const struct mfd_cell_acpi_match *match = cell->acpi_match; in mfd_acpi_add_device()
114 static inline void mfd_acpi_add_device(const struct mfd_cell *cell, in mfd_acpi_add_device() argument
122 const struct mfd_cell *cell) in mfd_match_of_node_to_dev() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/nvmem/
H A Dcore.c339 static void nvmem_cell_drop(struct nvmem_cell *cell) in nvmem_cell_drop() argument
341 blocking_notifier_call_chain(&nvmem_notifier, NVMEM_CELL_REMOVE, cell); in nvmem_cell_drop()
343 list_del(&cell->node); in nvmem_cell_drop()
345 of_node_put(cell->np); in nvmem_cell_drop()
346 kfree_const(cell->name); in nvmem_cell_drop()
347 kfree(cell); in nvmem_cell_drop()
352 struct nvmem_cell *cell, *p; in nvmem_device_remove_all_cells() local
354 list_for_each_entry_safe(cell, p, &nvmem->cells, node) in nvmem_device_remove_all_cells()
355 nvmem_cell_drop(cell); in nvmem_device_remove_all_cells()
358 static void nvmem_cell_add(struct nvmem_cell *cell) in nvmem_cell_add() argument
[all …]
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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()
29 if (skb_queue_len(&cell->napi_skbs) > READ_ONCE(netdev_max_backlog)) { 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()
52 struct gro_cell *cell = container_of(napi, struct gro_cell, napi); in gro_cell_poll() local
57 skb = __skb_dequeue(&cell->napi_skbs); in gro_cell_poll()
78 struct gro_cell *cell = per_cpu_ptr(gcells->cells, i); in gro_cells_init() local
80 __skb_queue_head_init(&cell->napi_skbs); in gro_cells_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/
H A Drockchip-cpuinfo.c30 struct nvmem_cell *cell; in rockchip_cpuinfo_probe() local
35 cell = nvmem_cell_get(dev, "cpu-code"); in rockchip_cpuinfo_probe()
36 if (!IS_ERR(cell)) { in rockchip_cpuinfo_probe()
37 efuse_buf = nvmem_cell_read(cell, &len); in rockchip_cpuinfo_probe()
38 nvmem_cell_put(cell); in rockchip_cpuinfo_probe()
47 cell = nvmem_cell_get(dev, "cpu-version"); in rockchip_cpuinfo_probe()
48 if (!IS_ERR(cell)) { in rockchip_cpuinfo_probe()
49 efuse_buf = nvmem_cell_read(cell, &len); in rockchip_cpuinfo_probe()
50 nvmem_cell_put(cell); in rockchip_cpuinfo_probe()
59 cell = nvmem_cell_get(dev, "id"); in rockchip_cpuinfo_probe()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xquartz/xpr/
H A Dx-hook.c52 x_list *node, *cell; in X_PFX() local
56 cell = node->data; in X_PFX()
57 if (CELL_FUN(cell) == fun && CELL_DATA(cell) == data) in X_PFX()
58 to_delete = X_PFX(list_prepend) (to_delete, cell); in X_PFX()
62 cell = node->data; in X_PFX()
63 lst = X_PFX(list_remove) (lst, cell); in X_PFX()
64 CELL_FREE(cell); in X_PFX()
79 x_list *cell = node->data; in X_PFX() local
81 x_hook_function *fun = CELL_FUN(cell); in X_PFX()
82 void *data = CELL_DATA(cell); in X_PFX()
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dtmio_mmc.c90 const struct mfd_cell *cell = mfd_get_cell(pdev); in tmio_mmc_suspend() local
96 if (!ret && cell->disable) in tmio_mmc_suspend()
97 cell->disable(pdev); in tmio_mmc_suspend()
105 const struct mfd_cell *cell = mfd_get_cell(pdev); in tmio_mmc_resume() local
109 if (cell->resume) in tmio_mmc_resume()
110 ret = cell->resume(pdev); in tmio_mmc_resume()
121 const struct mfd_cell *cell = mfd_get_cell(pdev); in tmio_mmc_probe() local
141 if (cell->enable) { in tmio_mmc_probe()
142 ret = cell->enable(pdev); in tmio_mmc_probe()
187 if (cell->disable) in tmio_mmc_probe()
[all …]
/OK3568_Linux_fs/u-boot/lib/
H A Dfdtdec_common.c25 const int *cell; in fdtdec_get_int() local
29 cell = fdt_getprop(blob, node, prop_name, &len); in fdtdec_get_int()
30 if (cell && len >= sizeof(int)) { in fdtdec_get_int()
31 int val = fdt32_to_cpu(cell[0]); in fdtdec_get_int()
43 const int *cell; in fdtdec_get_uint() local
47 cell = fdt_getprop(blob, node, prop_name, &len); in fdtdec_get_uint()
48 if (cell && len >= sizeof(unsigned int)) { in fdtdec_get_uint()
49 unsigned int val = fdt32_to_cpu(cell[0]); in fdtdec_get_uint()
H A Dfdtdec.c193 const u32 *cell; in fdtdec_get_pci_addr() local
205 cell = fdt_getprop(blob, node, prop_name, &len); in fdtdec_get_pci_addr()
206 if (!cell) in fdtdec_get_pci_addr()
215 (ulong)fdt32_to_cpu(cell[0]), in fdtdec_get_pci_addr()
216 (ulong)fdt32_to_cpu(cell[1]), in fdtdec_get_pci_addr()
217 (ulong)fdt32_to_cpu(cell[2])); in fdtdec_get_pci_addr()
218 if ((fdt32_to_cpu(*cell) & type) == type) { in fdtdec_get_pci_addr()
219 addr->phys_hi = fdt32_to_cpu(cell[0]); in fdtdec_get_pci_addr()
220 addr->phys_mid = fdt32_to_cpu(cell[1]); in fdtdec_get_pci_addr()
221 addr->phys_lo = fdt32_to_cpu(cell[1]); in fdtdec_get_pci_addr()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/
H A Dfsl-fman.txt32 - cell-index
37 The cell-index value may be used by the SoC, to identify the
39 there's a description of the cell-index use in each SoC:
42 register[bit] FMan unit cell-index
47 register[bit] FMan unit cell-index
54 register[bit] FMan unit cell-index
101 channels in the FMan. The first cell specifies the beginning
102 of the range and the second cell specifies the number of
177 - cell-index
191 The page of a specific port is determined by the cell-index.
[all …]
/OK3568_Linux_fs/kernel/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>;

12345678910>>...37