| /Linux-v5.4/fs/afs/ |
| D | cell.c | 50 struct afs_cell *cell = NULL; in afs_lookup_cell_rcu() local 66 if (cell) in afs_lookup_cell_rcu() 67 afs_put_cell(net, cell); in afs_lookup_cell_rcu() 68 cell = NULL; in afs_lookup_cell_rcu() 74 cell = rcu_dereference_raw(net->ws_cell); in afs_lookup_cell_rcu() 75 if (cell) { in afs_lookup_cell_rcu() 76 afs_get_cell(cell); in afs_lookup_cell_rcu() 86 cell = rb_entry(p, struct afs_cell, net_node); in afs_lookup_cell_rcu() 88 n = strncasecmp(cell->name, name, in afs_lookup_cell_rcu() 89 min_t(size_t, cell->name_len, namesz)); in afs_lookup_cell_rcu() [all …]
|
| D | proc.c | 37 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->usage), in afs_proc_cells_show() 51 cell->dns_expiry - ktime_get_real_seconds(), in afs_proc_cells_show() 53 cell->name); in afs_proc_cells_show() 121 struct afs_cell *cell; in afs_proc_cells_write() local 123 cell = afs_lookup_cell(net, name, strlen(name), args, true); in afs_proc_cells_write() 124 if (IS_ERR(cell)) { in afs_proc_cells_write() 125 ret = PTR_ERR(cell); in afs_proc_cells_write() [all …]
|
| D | dynroot.c | 19 struct afs_cell *cell; in afs_probe_cell_name() local 33 cell = afs_lookup_cell_rcu(net, name, len); in afs_probe_cell_name() 34 if (!IS_ERR(cell)) { in afs_probe_cell_name() 35 afs_put_cell(net, cell); in afs_probe_cell_name() 86 struct afs_cell *cell; in afs_lookup_atcell() local 104 cell = rcu_dereference_raw(net->ws_cell); in afs_lookup_atcell() 105 if (cell) { in afs_lookup_atcell() 106 len = cell->name_len; in afs_lookup_atcell() 107 memcpy(name, cell->name, len + 1); in afs_lookup_atcell() 114 if (!cell) in afs_lookup_atcell() [all …]
|
| D | vl_rotate.c | 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() 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 queue_work(afs_wq, &cell->manager); 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 …]
|
| D | volume.c | 36 volume->cell = afs_get_cell(params->cell); in afs_alloc_volume() 47 slist = afs_alloc_server_list(params->cell, params->key, vldb, type_mask); in afs_alloc_volume() 58 afs_put_cell(params->net, volume->cell); in afs_alloc_volume() 67 static struct afs_vldb_entry *afs_vl_lookup_vldb(struct afs_cell *cell, in afs_vl_lookup_vldb() argument 76 if (!afs_begin_vlserver_operation(&vc, cell, key)) in afs_vl_lookup_vldb() 117 vldb = afs_vl_lookup_vldb(params->cell, params->key, in afs_create_volume() 160 afs_put_cell(net, volume->cell); in afs_destroy_volume() 169 void afs_put_volume(struct afs_cell *cell, struct afs_volume *volume) in afs_put_volume() argument 175 afs_destroy_volume(cell->net, volume); in afs_put_volume() 185 volume->cache = fscache_acquire_cookie(volume->cell->cache, in afs_activate_volume() [all …]
|
| D | mntpt.c | 77 struct afs_cell *cell; in afs_mntpt_set_params() local 90 if (ctx->cell) { in afs_mntpt_set_params() 91 afs_put_cell(ctx->net, ctx->cell); in afs_mntpt_set_params() 92 ctx->cell = NULL; in afs_mntpt_set_params() 111 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() 114 return PTR_ERR(cell); in afs_mntpt_set_params() 116 ctx->cell = cell; in afs_mntpt_set_params() 126 if (src_as->cell) in afs_mntpt_set_params() 127 ctx->cell = afs_get_cell(src_as->cell); in afs_mntpt_set_params()
|
| D | super.c | 165 struct afs_cell *cell = as->cell; in afs_show_devname() local 188 seq_printf(m, "%c%s:%s%s", pref, cell->name, volume->name, suf); in afs_show_devname() 233 struct afs_cell *cell; in afs_parse_source() local 292 cellnamesz, cellnamesz, cellname ?: "", ctx->cell); in afs_parse_source() 296 cell = afs_lookup_cell(ctx->net, cellname, cellnamesz, in afs_parse_source() 298 if (IS_ERR(cell)) { in afs_parse_source() 301 return PTR_ERR(cell); in afs_parse_source() 303 afs_put_cell(ctx->net, ctx->cell); in afs_parse_source() 304 ctx->cell = cell; in afs_parse_source() 308 ctx->cell->name, ctx->cell, in afs_parse_source() [all …]
|
| /Linux-v5.4/drivers/md/ |
| D | dm-bio-prison-v2.c | 73 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 …]
|
| D | dm-bio-prison-v1.c | 70 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 …]
|
| /Linux-v5.4/sound/core/seq/ |
| D | seq_prioq.c | 132 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 …]
|
| D | seq_fifo.c | 85 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 …]
|
| D | seq_memory.c | 70 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() 164 struct snd_seq_event_cell *cell) in free_cell() argument 166 cell->next = pool->free; in free_cell() 167 pool->free = cell; in free_cell() 171 void snd_seq_cell_free(struct snd_seq_event_cell * cell) in snd_seq_cell_free() argument 176 if (snd_BUG_ON(!cell)) in snd_seq_cell_free() 178 pool = cell->pool; in snd_seq_cell_free() [all …]
|
| /Linux-v5.4/drivers/nvmem/ |
| D | core.c | 106 static void nvmem_cell_drop(struct nvmem_cell *cell) in nvmem_cell_drop() argument 108 blocking_notifier_call_chain(&nvmem_notifier, NVMEM_CELL_REMOVE, cell); in nvmem_cell_drop() 110 list_del(&cell->node); in nvmem_cell_drop() 112 of_node_put(cell->np); in nvmem_cell_drop() 113 kfree(cell->name); in nvmem_cell_drop() 114 kfree(cell); in nvmem_cell_drop() 119 struct nvmem_cell *cell, *p; in nvmem_device_remove_all_cells() local 121 list_for_each_entry_safe(cell, p, &nvmem->cells, node) in nvmem_device_remove_all_cells() 122 nvmem_cell_drop(cell); in nvmem_device_remove_all_cells() 125 static void nvmem_cell_add(struct nvmem_cell *cell) in nvmem_cell_add() argument [all …]
|
| /Linux-v5.4/drivers/mfd/ |
| D | mfd-core.c | 28 const struct mfd_cell *cell = mfd_get_cell(pdev); in mfd_cell_enable() local 32 if (atomic_inc_return(cell->usage_count) == 1) in mfd_cell_enable() 33 err = cell->enable(pdev); in mfd_cell_enable() 37 atomic_dec(cell->usage_count); in mfd_cell_enable() 45 const struct mfd_cell *cell = mfd_get_cell(pdev); in mfd_cell_disable() local 49 if (atomic_dec_return(cell->usage_count) == 0) in mfd_cell_disable() 50 err = cell->disable(pdev); in mfd_cell_disable() 54 atomic_inc(cell->usage_count); in mfd_cell_disable() 57 WARN_ON(atomic_read(cell->usage_count) < 0); in mfd_cell_disable() 64 const struct mfd_cell *cell, in mfd_platform_add_cell() argument [all …]
|
| 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()
|
| D | lpc_sch.c | 117 int id, struct mfd_cell *cell) in lpc_sch_populate_cell() argument 130 memset(cell, 0, sizeof(*cell)); in lpc_sch_populate_cell() 132 cell->name = name; in lpc_sch_populate_cell() 133 cell->resources = res; in lpc_sch_populate_cell() 134 cell->num_resources = 1; in lpc_sch_populate_cell() 135 cell->ignore_resource_conflicts = true; in lpc_sch_populate_cell() 136 cell->id = id; in lpc_sch_populate_cell() 148 cell->num_resources++; in lpc_sch_populate_cell()
|
| /Linux-v5.4/drivers/clk/mmp/ |
| D | reset.c | 16 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-v5.4/net/core/ |
| 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() 29 if (skb_queue_len(&cell->napi_skbs) > 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 …]
|
| /Linux-v5.4/drivers/mmc/host/ |
| D | tmio_mmc.c | 98 const struct mfd_cell *cell = mfd_get_cell(pdev); in tmio_mmc_suspend() local 104 if (!ret && cell->disable) in tmio_mmc_suspend() 105 cell->disable(pdev); in tmio_mmc_suspend() 113 const struct mfd_cell *cell = mfd_get_cell(pdev); in tmio_mmc_resume() local 117 if (cell->resume) in tmio_mmc_resume() 118 ret = cell->resume(pdev); in tmio_mmc_resume() 129 const struct mfd_cell *cell = mfd_get_cell(pdev); in tmio_mmc_probe() local 149 if (cell->enable) { in tmio_mmc_probe() 150 ret = cell->enable(pdev); in tmio_mmc_probe() 195 if (cell->disable) in tmio_mmc_probe() [all …]
|
| /Linux-v5.4/arch/arm64/boot/dts/freescale/ |
| 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-v5.4/Documentation/devicetree/bindings/net/ |
| D | fsl-fman.txt | 32 - 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 170 - cell-index 184 The page of a specific port is determined by the cell-index. [all …]
|
| D | ibm,emac.txt | 24 - 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 …]
|
| /Linux-v5.4/Documentation/devicetree/bindings/mips/cavium/ |
| D | bootbus.txt | 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. 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-v5.4/drivers/leds/ |
| D | leds-asic3.c | 40 const struct mfd_cell *cell = mfd_get_cell(pdev); in brightness_set() local 47 base = led_n_base[cell->id]; in brightness_set() 59 const struct mfd_cell *cell = mfd_get_cell(pdev); in blink_set() local 79 base = led_n_base[cell->id]; in blink_set() 137 const struct mfd_cell *cell = mfd_get_cell(pdev); in asic3_led_suspend() local 141 if (cell->suspend) in asic3_led_suspend() 142 ret = (*cell->suspend)(pdev); in asic3_led_suspend() 150 const struct mfd_cell *cell = mfd_get_cell(pdev); in asic3_led_resume() local 154 if (cell->resume) in asic3_led_resume() 155 ret = (*cell->resume)(pdev); in asic3_led_resume()
|
| /Linux-v5.4/drivers/usb/host/ |
| D | ohci-tmio.c | 189 const struct mfd_cell *cell = mfd_get_cell(dev); in ohci_hcd_tmio_drv_probe() local 202 if (!cell) in ohci_hcd_tmio_drv_probe() 230 if (cell->enable) { in ohci_hcd_tmio_drv_probe() 231 ret = cell->enable(dev); in ohci_hcd_tmio_drv_probe() 257 if (cell->disable) in ohci_hcd_tmio_drv_probe() 258 cell->disable(dev); in ohci_hcd_tmio_drv_probe() 274 const struct mfd_cell *cell = mfd_get_cell(dev); in ohci_hcd_tmio_drv_remove() local 278 if (cell->disable) in ohci_hcd_tmio_drv_remove() 279 cell->disable(dev); in ohci_hcd_tmio_drv_remove() 290 const struct mfd_cell *cell = mfd_get_cell(dev); in ohci_hcd_tmio_drv_suspend() local [all …]
|