| /linux/fs/afs/ |
| A D | cell.c | 68 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, atomic_read(&cell->ref), atomic_read(&cell->active), in afs_lookup_cell() 495 _enter("%p{%s}", cell, cell->name); in afs_cell_destroy() 557 if (cell) { in afs_put_cell() 598 if (!cell) in afs_unuse_cell() [all …]
|
| A D | vl_alias.c | 25 .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 …]
|
| A D | proc.c | 37 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 …]
|
| A D | super.c | 159 struct afs_cell *cell = as->cell; in afs_show_devname() local 302 ctx->cell = cell; in afs_parse_source() 306 ctx->cell->name, ctx->cell, in afs_parse_source() 369 if (!ctx->cell) { in afs_validate_fc() 396 cell = afs_use_cell(ctx->cell->alias_of, in afs_validate_fc() 399 ctx->cell = cell; in afs_validate_fc() 425 as->cell == ctx->cell && in afs_test_super() 515 as->cell = afs_use_cell(ctx->cell, afs_cell_trace_use_sbi); in afs_alloc_sbi() 642 if (IS_ERR(cell)) in afs_init_fs_context() 643 cell = NULL; in afs_init_fs_context() [all …]
|
| A D | volume.c | 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() 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() 86 volume->cell = afs_get_cell(params->cell, afs_cell_trace_get_vol); in afs_alloc_volume() 330 new = afs_alloc_server_list(volume->cell, key, in afs_update_volume_status() [all …]
|
| A D | vl_rotate.c | 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() 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() 53 smp_load_acquire(&cell->dns_lookup_count) in afs_start_vl_iteration() 67 read_lock(&cell->vl_servers_lock); in afs_start_vl_iteration() 69 rcu_dereference_protected(cell->vl_servers, in afs_start_vl_iteration() 70 lockdep_is_held(&cell->vl_servers_lock))); in afs_start_vl_iteration() 71 read_unlock(&cell->vl_servers_lock); in afs_start_vl_iteration() [all …]
|
| A D | dynroot.c | 112 struct afs_cell *cell; in afs_probe_cell_name() local 127 if (!IS_ERR(cell)) { 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() 288 subdir = lookup_one_len(cell->name, root, cell->name_len); in afs_dynroot_mkdir() 318 subdir = try_lookup_one_len(cell->name, root, cell->name_len); in afs_dynroot_rmdir() [all …]
|
| A D | callback.c | 40 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() 120 read_seqbegin_or_lock(&cell->volume_lock, &seq); in afs_lookup_volume_rcu() 122 p = rcu_dereference_raw(cell->volumes.rb_node); in afs_lookup_volume_rcu() 135 } while (need_seqretry(&cell->volume_lock, seq)); in afs_lookup_volume_rcu() 137 done_seqretry(&cell->volume_lock, seq); in afs_lookup_volume_rcu() [all …]
|
| A D | mntpt.c | 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->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()
|
| /linux/drivers/md/ |
| A D | dm-bio-prison-v2.c | 82 memset(cell, 0, sizeof(*cell)); in __setup_new_cell() 83 memcpy(&cell->key, key, sizeof(cell->key)); in __setup_new_cell() 136 *result = cell; in __find_or_insert() 164 (*cell)->shared_count++; in __get() 193 cell->shared_count--; in __put() 218 r = __put(prison, cell); in dm_cell_put_v2() 239 *cell_result = cell; in __lock() 246 cell = cell_prealloc; in __lock() 247 cell->shared_count = 0; in __lock() 250 *cell_result = cell; in __lock() [all …]
|
| A D | dm-bio-prison-v1.c | 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() 132 *cell_result = cell; in __bio_detain() 190 if (cell->holder) in __cell_release() 201 __cell_release(prison, cell, bios); in dm_cell_release() 251 visit_fn(context, cell); in dm_cell_visit_release() 260 if (bio_list_empty(&cell->bios)) { in __promote_or_release() [all …]
|
| /linux/sound/core/seq/ |
| A D | seq_prioq.c | 194 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 …]
|
| A D | seq_fifo.c | 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() 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 …]
|
| A D | seq_memory.c | 97 for (; len > 0 && cell; cell = cell->next) { in snd_seq_dump_var_event() 169 pool->free = cell; in free_cell() 180 pool = cell->pool; in snd_seq_cell_free() 254 cell = pool->free; in snd_seq_cell_alloc() 255 if (cell) { in snd_seq_cell_alloc() 264 cell->next = NULL; in snd_seq_cell_alloc() 268 *cellp = cell; in snd_seq_cell_alloc() 305 cell->event = *event; in snd_seq_event_dup() 352 *cellp = cell; in snd_seq_event_dup() 373 int cell; in snd_seq_pool_init() local [all …]
|
| /linux/drivers/mfd/ |
| A D | mfd-core.c | 40 if (!cell->enable) { in mfd_cell_enable() 45 return cell->enable(pdev); in mfd_cell_enable() 53 if (!cell->disable) { in mfd_cell_disable() 58 return cell->disable(pdev); in mfd_cell_disable() 122 if (!cell->use_of_reg) in mfd_match_of_node_to_dev() 175 pdev->mfd_cell = kmemdup(cell, sizeof(*cell), GFP_KERNEL); in mfd_add_device() 224 if (cell->pdata_size) { in mfd_add_device() 226 cell->platform_data, cell->pdata_size); in mfd_add_device() 231 if (cell->swnode) { in mfd_add_device() 292 if (cell->swnode) in mfd_add_device() [all …]
|
| A D | davinci_voicecodec.c | 32 struct mfd_cell *cell = NULL; in davinci_vc_probe() local 90 cell = &davinci_vc->cells[DAVINCI_VC_VCIF_CELL]; in davinci_vc_probe() 91 cell->name = "davinci-vcif"; in davinci_vc_probe() 92 cell->platform_data = davinci_vc; in davinci_vc_probe() 93 cell->pdata_size = sizeof(*davinci_vc); in davinci_vc_probe() 96 cell = &davinci_vc->cells[DAVINCI_VC_CQ93VC_CELL]; in davinci_vc_probe() 97 cell->name = "cq93vc-codec"; in davinci_vc_probe() 98 cell->platform_data = davinci_vc; in davinci_vc_probe() 99 cell->pdata_size = sizeof(*davinci_vc); in davinci_vc_probe()
|
| /linux/drivers/staging/media/atomisp/pci/ |
| A D | isp2400_support.h | 25 #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
|
| /linux/drivers/nvmem/ |
| A D | core.c | 452 list_add_tail(&cell->node, &cell->nvmem->cells); in nvmem_cell_entry_add() 470 cell->bytes = DIV_ROUND_UP(cell->nbits + cell->bit_offset, in nvmem_cell_info_to_nvmem_cell_entry_nodup() 588 cell = kzalloc(sizeof(*cell), GFP_KERNEL); in nvmem_add_cells_from_table() 700 cell = kzalloc(sizeof(*cell), GFP_KERNEL); in nvmem_add_cells_from_of() 719 cell->nbits + cell->bit_offset, in nvmem_add_cells_from_of() 1154 cell = kzalloc(sizeof(*cell), GFP_KERNEL); in nvmem_create_cell() 1443 if (cell->bit_offset || cell->nbits) in __nvmem_cell_read() 1448 cell->offset, buf, cell->bytes); in __nvmem_cell_read() 1532 cell->offset + cell->bytes - 1, &v, 1); in nvmem_cell_prepare_write_buffer() 1554 if (cell->bit_offset || cell->nbits) { in __nvmem_cell_entry_write() [all …]
|
| /linux/drivers/clk/mmp/ |
| A D | reset.c | 23 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 …]
|
| /linux/net/core/ |
| A D | gro_cells.c | 15 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() 86 napi_enable(&cell->napi); in gro_cells_init() 101 napi_disable(&cell->napi); in gro_cells_destroy() 102 __netif_napi_del(&cell->napi); in gro_cells_destroy() [all …]
|
| /linux/drivers/mmc/host/ |
| A D | tmio_mmc.c | 90 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() 109 if (cell->resume) in tmio_mmc_resume() 110 ret = cell->resume(pdev); in tmio_mmc_resume() 141 if (cell->enable) { in tmio_mmc_probe() 142 ret = cell->enable(pdev); in tmio_mmc_probe() 186 if (cell->disable) in tmio_mmc_probe() 187 cell->disable(pdev); in tmio_mmc_probe() 198 if (cell->disable) in tmio_mmc_remove() [all …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| A D | fsl-fman.txt | 32 - cell-index 177 - cell-index 221 cell-index = <0x8>; 227 cell-index = <0x1>; 250 - cell-index 356 cell-index = <0>; 474 cell-index = <1>; 491 cell-index = <1>; 497 cell-index = <2>; 503 cell-index = <3>; [all …]
|
| A D | ibm,emac.txt | 24 - mal-tx-channel : 1 cell, index of the tx 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 38 - fifo-entry-size : 1 cell, size of a fifo entry (used to calculate 48 - mdio-device : 1 cell, required iff using shared MDIO registers 76 - rx-fifo-size-gige : 1 cell, Rx fifo size in bytes for 1000 Mb/sec 79 - tx-fifo-size-gige : 1 cell, Tx fifo size in bytes for 1000 Mb/sec 113 cell-index = <0>; 138 cell-index = <0>; 183 - num-tx-chans : 1 cell, number of Tx channels [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| A D | qoriq-qman-portals.dtsi | 22 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/devicetree/bindings/mips/cavium/ |
| A D | bootbus.txt | 13 - #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 …]
|