/linux-6.12.1/fs/afs/ |
D | cell.c | 55 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 …]
|
D | vl_alias.c | 17 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() 107 static int afs_compare_cell_roots(struct afs_cell *cell) in afs_compare_cell_roots() argument 115 hlist_for_each_entry_rcu(p, &cell->net->proc_cells, proc_link) { in afs_compare_cell_roots() 116 if (p == cell || p->alias_of) in afs_compare_cell_roots() 121 if (afs_compare_volume_slists(cell->root_volume, p->root_volume) != 0) in afs_compare_cell_roots() 131 cell->alias_of = afs_use_cell(p, afs_cell_trace_use_alias); in afs_compare_cell_roots() 138 static int afs_query_for_alias_one(struct afs_cell *cell, struct key *key, in afs_query_for_alias_one() argument 154 _enter("%s:%s", cell->name, pvol->name); in afs_query_for_alias_one() [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 23 vc->cell = cell; in afs_begin_vlserver_operation() 44 struct afs_cell *cell = vc->cell; in afs_start_vl_iteration() local 47 if (cell->dns_source == DNS_RECORD_UNAVAILABLE || in afs_start_vl_iteration() 48 cell->dns_expiry <= ktime_get_real_seconds()) { in afs_start_vl_iteration() 49 dns_lookup_count = smp_load_acquire(&cell->dns_lookup_count); in afs_start_vl_iteration() 50 set_bit(AFS_CELL_FL_DO_LOOKUP, &cell->flags); in afs_start_vl_iteration() 51 afs_queue_cell(cell, afs_cell_trace_get_queue_dns); in afs_start_vl_iteration() 53 if (cell->dns_source == DNS_RECORD_UNAVAILABLE) { in afs_start_vl_iteration() 55 &cell->dns_lookup_count, in afs_start_vl_iteration() [all …]
|
D | super.c | 160 struct afs_cell *cell = as->cell; in afs_show_devname() local 183 seq_printf(m, "%c%s:%s%s", pref, cell->name, volume->name, suf); in afs_show_devname() 228 struct afs_cell *cell; in afs_parse_source() local 290 cellnamesz, cellnamesz, cellname ?: "", ctx->cell); in afs_parse_source() 294 cell = afs_lookup_cell(ctx->net, cellname, cellnamesz, in afs_parse_source() 296 if (IS_ERR(cell)) { in afs_parse_source() 299 return PTR_ERR(cell); in afs_parse_source() 301 afs_unuse_cell(ctx->net, ctx->cell, afs_cell_trace_unuse_parse); in afs_parse_source() 302 afs_see_cell(cell, afs_cell_trace_see_source); in afs_parse_source() 303 ctx->cell = cell; in afs_parse_source() [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 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 125 cell = afs_lookup_cell(net, name, strlen(name), args, true); in afs_proc_cells_write() [all …]
|
D | volume.c | 20 static struct afs_volume *afs_insert_volume_into_cell(struct afs_cell *cell, in afs_insert_volume_into_cell() argument 26 write_seqlock(&cell->volume_lock); in afs_insert_volume_into_cell() 28 pp = &cell->volumes.rb_node; in afs_insert_volume_into_cell() 43 rb_replace_node_rcu(&p->cell_node, &volume->cell_node, &cell->volumes); in afs_insert_volume_into_cell() 48 rb_insert_color(&volume->cell_node, &cell->volumes); in afs_insert_volume_into_cell() 49 hlist_add_head_rcu(&volume->proc_link, &cell->proc_volumes); in afs_insert_volume_into_cell() 52 write_sequnlock(&cell->volume_lock); in afs_insert_volume_into_cell() 59 struct afs_cell *cell = volume->cell; in afs_remove_volume_from_cell() local 62 trace_afs_volume(volume->vid, refcount_read(&cell->ref), in afs_remove_volume_from_cell() 64 write_seqlock(&cell->volume_lock); in afs_remove_volume_from_cell() [all …]
|
D | dynroot.c | 113 struct afs_cell *cell; in afs_probe_cell_name() local 128 cell = afs_find_cell(net, name, len, afs_cell_trace_use_probe); in afs_probe_cell_name() 129 if (!IS_ERR(cell)) { in afs_probe_cell_name() 130 afs_unuse_cell(net, cell, afs_cell_trace_unuse_probe); 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() [all …]
|
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()
|
D | security.c | 23 struct key *afs_request_key(struct afs_cell *cell) in afs_request_key() argument 27 _enter("{%x}", key_serial(cell->anonymous_key)); in afs_request_key() 29 _debug("key %s", cell->anonymous_key->description); in afs_request_key() 30 key = request_key_net(&key_type_rxrpc, cell->anonymous_key->description, in afs_request_key() 31 cell->net->net, NULL); in afs_request_key() 39 _leave(" = {%x} [anon]", key_serial(cell->anonymous_key)); in afs_request_key() 40 return key_get(cell->anonymous_key); in afs_request_key() 51 struct key *afs_request_key_rcu(struct afs_cell *cell) in afs_request_key_rcu() argument 55 _enter("{%x}", key_serial(cell->anonymous_key)); in afs_request_key_rcu() 57 _debug("key %s", cell->anonymous_key->description); in afs_request_key_rcu() [all …]
|
/linux-6.12.1/drivers/md/ |
D | dm-bio-prison-v2.c | 74 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 …]
|
D | dm-bio-prison-v1.c | 23 struct rb_root cell; member 54 prison->regions[i].cell = RB_ROOT; in dm_bio_prison_create() 81 struct dm_bio_prison_cell *cell) in dm_bio_prison_free_cell() argument 83 mempool_free(cell, &prison->cell_pool); in dm_bio_prison_free_cell() 89 struct dm_bio_prison_cell *cell) in __setup_new_cell() argument 91 memcpy(&cell->key, key, sizeof(cell->key)); in __setup_new_cell() 92 cell->holder = holder; in __setup_new_cell() 93 bio_list_init(&cell->bios); in __setup_new_cell() 148 struct dm_bio_prison_cell *cell = in __bio_detain() local 151 r = cmp_keys(key, &cell->key); in __bio_detain() [all …]
|
D | dm-thin.c | 227 typedef void (*process_cell_fn)(struct thin_c *tc, struct dm_bio_prison_cell *cell); 468 struct dm_bio_prison_cell *cell, in cell_release() argument 471 dm_cell_release(pool->prison, cell, bios); in cell_release() 472 dm_bio_prison_free_cell(pool->prison, cell); in cell_release() 478 struct dm_bio_prison_cell *cell) in cell_visit_release() argument 480 dm_cell_visit_release(pool->prison, fn, context, cell); in cell_visit_release() 481 dm_bio_prison_free_cell(pool->prison, cell); in cell_visit_release() 485 struct dm_bio_prison_cell *cell, in cell_release_no_holder() argument 488 dm_cell_release_no_holder(pool->prison, cell, bios); in cell_release_no_holder() 489 dm_bio_prison_free_cell(pool->prison, cell); in cell_release_no_holder() [all …]
|
D | dm-bio-prison-v1.h | 73 struct dm_bio_prison_cell *cell); 104 struct dm_bio_prison_cell *cell, 107 struct dm_bio_prison_cell *cell, 110 struct dm_bio_prison_cell *cell, blk_status_t error); 118 void *context, struct dm_bio_prison_cell *cell); 131 struct dm_bio_prison_cell *cell);
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/ |
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-6.12.1/drivers/mfd/ |
D | mfd-core.c | 54 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-6.12.1/sound/core/seq/ |
D | seq_prioq.c | 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() 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() 168 int rel = compare_timestamp_rel(&cell->event, &cur->event); in snd_seq_prioq_cell_in() 187 prev->next = cell; in snd_seq_prioq_cell_in() 188 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() 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() 142 struct snd_seq_event_cell *cell; in fifo_cell_out() local [all …]
|
D | seq_memory.c | 71 struct snd_seq_event_cell *cell; in dump_var_event() local 104 cell = (struct snd_seq_event_cell *)event->data.ext.ptr; in dump_var_event() 105 for (; len > 0 && cell; cell = cell->next) { in dump_var_event() 107 char *curptr = (char *)&cell->event; in dump_var_event() 226 struct snd_seq_event_cell *cell) in free_cell() argument 228 cell->next = pool->free; in free_cell() 229 pool->free = cell; in free_cell() 233 void snd_seq_cell_free(struct snd_seq_event_cell * cell) in snd_seq_cell_free() argument 237 if (snd_BUG_ON(!cell)) in snd_seq_cell_free() 239 pool = cell->pool; in snd_seq_cell_free() [all …]
|
/linux-6.12.1/drivers/nvmem/ |
D | core.c | 338 struct nvmem_cell *cell = NULL; in nvmem_cell_attr_read() local 343 cell = nvmem_create_cell(entry, entry->name, 0); in nvmem_cell_attr_read() 344 if (IS_ERR(cell)) in nvmem_cell_attr_read() 345 return PTR_ERR(cell); in nvmem_cell_attr_read() 347 if (!cell) in nvmem_cell_attr_read() 350 content = nvmem_cell_read(cell, &cell_sz); in nvmem_cell_attr_read() 361 kfree_const(cell->id); in nvmem_cell_attr_read() 362 kfree(cell); in nvmem_cell_attr_read() 541 static void nvmem_cell_entry_drop(struct nvmem_cell_entry *cell) in nvmem_cell_entry_drop() argument 543 blocking_notifier_call_chain(&nvmem_notifier, NVMEM_CELL_REMOVE, cell); in nvmem_cell_entry_drop() [all …]
|
/linux-6.12.1/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-6.12.1/net/core/ |
D | gro_cells.c | 16 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-6.12.1/drivers/of/ |
D | cpu.c | 16 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() 61 if (!cell && !ac && arch_match_cpu_phys_id(cpu, 0)) 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() [all …]
|
/linux-6.12.1/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-6.12.1/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-6.12.1/Documentation/devicetree/bindings/net/ |
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 …]
|