| /linux/fs/afs/ |
| H A D | cell.c | 33 static void afs_set_cell_state(struct afs_cell *cell, enum afs_cell_state state) in afs_set_cell_state() argument 35 smp_store_release(&cell->state, state); /* Commit cell changes before state */ in afs_set_cell_state() 37 wake_up_var(&cell->state); in afs_set_cell_state() 48 struct afs_cell *cell = NULL; in afs_find_cell_locked() local 60 cell = rcu_dereference_protected(net->ws_cell, in afs_find_cell_locked() 62 if (!cell) in afs_find_cell_locked() 69 cell = rb_entry(p, struct afs_cell, net_node); in afs_find_cell_locked() 71 n = strncasecmp(cell->name, name, in afs_find_cell_locked() 72 min_t(size_t, cell->name_len, namesz)); in afs_find_cell_locked() 74 n = cell->name_len - namesz; in afs_find_cell_locked() [all …]
|
| H A 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 …]
|
| H A D | dynroot.c | 96 struct afs_cell *cell = NULL; in afs_dynroot_lookup_cell() local 111 cell = afs_lookup_cell(net, name, len, NULL, in afs_dynroot_lookup_cell() 114 if (IS_ERR(cell)) { in afs_dynroot_lookup_cell() 115 ret = PTR_ERR(cell); in afs_dynroot_lookup_cell() 119 inode = afs_iget_pseudo_dir(dir->i_sb, cell->dynroot_ino * 2 + dotted); in afs_dynroot_lookup_cell() 125 dentry->d_fsdata = cell; in afs_dynroot_lookup_cell() 129 afs_unuse_cell(cell, afs_cell_trace_unuse_lookup_dynroot); in afs_dynroot_lookup_cell() 169 struct afs_cell *cell = dentry->d_fsdata; in afs_dynroot_d_release() local 171 afs_unuse_cell(cell, afs_cell_trace_unuse_dynroot_mntpt); in afs_dynroot_d_release() 197 struct afs_cell *cell = arg; in afs_atcell_delayed_put_cell() local [all …]
|
| H A D | server.c | 37 static struct afs_server *afs_find_server_by_uuid(struct afs_cell *cell, const uuid_t *uuid) in afs_find_server_by_uuid() argument 45 p = cell->fs_servers.rb_node; in afs_find_server_by_uuid() 69 static struct afs_server *afs_install_server(struct afs_cell *cell, in afs_install_server() argument 73 struct afs_net *net = cell->net; in afs_install_server() 80 pp = &cell->fs_servers.rb_node; in afs_install_server() 98 rb_insert_color(&server->uuid_rb, &cell->fs_servers); in afs_install_server() 103 afs_get_cell(cell, afs_cell_trace_get_server); in afs_install_server() 113 static struct afs_server *afs_alloc_server(struct afs_cell *cell, const uuid_t *uuid) in afs_alloc_server() argument 116 struct afs_net *net = cell->net; in afs_alloc_server() 138 server->cell = cell; in afs_alloc_server() [all …]
|
| H A 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() 226 struct afs_cell *cell; in afs_parse_source() local 288 cellnamesz, cellnamesz, cellname ?: "", ctx->cell); in afs_parse_source() 292 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->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 D | security.c | 24 static int afs_alloc_anon_key(struct afs_cell *cell) in afs_alloc_anon_key() argument 29 key = cell->anonymous_key; in afs_alloc_anon_key() 31 key = rxrpc_get_null_key(cell->key_desc); in afs_alloc_anon_key() 33 cell->anonymous_key = key; in afs_alloc_anon_key() 41 cell->anonymous_key, key_serial(cell->anonymous_key)); in afs_alloc_anon_key() 48 struct key *afs_request_key(struct afs_cell *cell) in afs_request_key() argument 53 _enter("{%s}", cell->key_desc); in afs_request_key() 55 _debug("key %s", cell->key_desc); in afs_request_key() 56 key = request_key_net(&key_type_rxrpc, cell->key_desc, in afs_request_key() 57 cell->net->net, NULL); in afs_request_key() [all …]
|
| H A 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, in afs_proc_cells_write() [all …]
|
| H 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->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, in afs_mntpt_set_params() 113 if (IS_ERR(cell)) { in afs_mntpt_set_params() 115 return PTR_ERR(cell); in afs_mntpt_set_params() 117 ctx->cell = cell; in afs_mntpt_set_params() 127 if (src_as->cell) in afs_mntpt_set_params() 128 ctx->cell = afs_use_cell(src_as->cell, afs_cell_trace_use_mntpt); in afs_mntpt_set_params()
|
| /linux/drivers/md/ |
| H A 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 …]
|
| H A 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 …]
|
| /linux/sound/core/seq/ |
| H A 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 …]
|
| /linux/drivers/nvmem/ |
| H A D | core.c | 344 struct nvmem_cell *cell = NULL; in nvmem_cell_attr_read() local 349 cell = nvmem_create_cell(entry, entry->name, 0); in nvmem_cell_attr_read() 350 if (IS_ERR(cell)) in nvmem_cell_attr_read() 351 return PTR_ERR(cell); in nvmem_cell_attr_read() 353 if (!cell) in nvmem_cell_attr_read() 356 content = nvmem_cell_read(cell, &cell_sz); in nvmem_cell_attr_read() 367 kfree_const(cell->id); in nvmem_cell_attr_read() 368 kfree(cell); in nvmem_cell_attr_read() 551 static void nvmem_cell_entry_drop(struct nvmem_cell_entry *cell) in nvmem_cell_entry_drop() argument 553 blocking_notifier_call_chain(&nvmem_notifier, NVMEM_CELL_REMOVE, cell); in nvmem_cell_entry_drop() [all …]
|
| /linux/drivers/clk/mmp/ |
| H A 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/net/core/ |
| H A D | gro_cells.c | 18 struct gro_cell *cell; in gro_cells_receive() local 32 cell = this_cpu_ptr(gcells->cells); in gro_cells_receive() 34 if (skb_queue_len(&cell->napi_skbs) > READ_ONCE(net_hotdata.max_backlog)) { in gro_cells_receive() 42 __skb_queue_tail(&cell->napi_skbs, skb); in gro_cells_receive() 43 if (skb_queue_len(&cell->napi_skbs) == 1) in gro_cells_receive() 44 napi_schedule(&cell->napi); in gro_cells_receive() 59 struct gro_cell *cell = container_of(napi, struct gro_cell, napi); in gro_cell_poll() local 64 __local_lock_nested_bh(&cell->bh_lock); in gro_cell_poll() 65 skb = __skb_dequeue(&cell->napi_skbs); in gro_cell_poll() 66 __local_unlock_nested_bh(&cell->bh_lock); in gro_cell_poll() [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H 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>;
|
| H A D | qoriq-fman3-0.dtsi | 14 cell-index = <0>; 32 cell-index = <0x2>; 38 cell-index = <0x3>; 44 cell-index = <0x4>; 50 cell-index = <0x5>; 56 cell-index = <0x6>; 62 cell-index = <0x7>;
|
| /linux/Documentation/devicetree/bindings/mips/cavium/ |
| H A 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/Documentation/devicetree/bindings/net/ |
| H A 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/drivers/power/reset/ |
| H A D | macsmc-reboot.c | 49 static int nvmem_cell_get_u8(struct nvmem_cell *cell) in nvmem_cell_get_u8() argument 55 bfr = nvmem_cell_read(cell, &len); in nvmem_cell_get_u8() 69 static int nvmem_cell_set_u8(struct nvmem_cell *cell, u8 val) in nvmem_cell_set_u8() argument 71 return nvmem_cell_write(cell, &val, sizeof(val)); in nvmem_cell_set_u8() 218 struct nvmem_cell *cell; in macsmc_reboot_probe() local 220 cell = devm_nvmem_cell_get(&pdev->dev, in macsmc_reboot_probe() 222 if (IS_ERR(cell)) { in macsmc_reboot_probe() 223 if (PTR_ERR(cell) == -EPROBE_DEFER) in macsmc_reboot_probe() 226 nvmem_names[i], PTR_ERR(cell)); in macsmc_reboot_probe() 228 cell = NULL; in macsmc_reboot_probe() [all …]
|
| /linux/arch/powerpc/boot/dts/fsl/ |
| H A D | t4240si-post.dtsi | 171 cell-index = <1>; 177 cell-index = <2>; 578 cell-index = <0x0>; 584 cell-index = <0x1>; 590 cell-index = <0x2>; 596 cell-index = <0x3>; 602 cell-index = <0x4>; 608 cell-index = <0x5>; 614 cell-index = <0x6>; 620 cell-index = <0x7>; [all …]
|
| H A D | qoriq-qman1-portals.dtsi | 44 cell-index = <0x0>; 50 cell-index = <1>; 56 cell-index = <2>; 62 cell-index = <3>; 68 cell-index = <4>; 74 cell-index = <5>; 80 cell-index = <6>; 87 cell-index = <7>; 93 cell-index = <8>; 99 cell-index = <9>;
|
| /linux/drivers/mfd/ |
| H A D | lpc_sch.c | 109 struct mfd_cell *cell) in lpc_sch_populate_cell() argument 122 memset(cell, 0, sizeof(*cell)); in lpc_sch_populate_cell() 124 cell->name = name; in lpc_sch_populate_cell() 125 cell->resources = res; in lpc_sch_populate_cell() 126 cell->num_resources = 1; in lpc_sch_populate_cell() 127 cell->ignore_resource_conflicts = true; in lpc_sch_populate_cell() 128 cell->id = id; in lpc_sch_populate_cell()
|
| /linux/arch/powerpc/boot/dts/ |
| H A D | fsp2.dts | 67 cell-index = <0>; 80 cell-index = <1>; 94 cell-index = <2>; 108 cell-index = <3>; 122 cell-index = <4>; 135 cell-index = <5>; 148 cell-index = <6>; 162 cell-index = <7>; 175 cell-index = <8>; 188 cell-index = <9>; [all …]
|
| H A D | asp834x-redboot.dts | 84 cell-index = <0>; 100 cell-index = <1>; 109 cell-index = <0>; 125 cell-index = <0>; 129 cell-index = <0>; 136 cell-index = <1>; 143 cell-index = <2>; 150 cell-index = <3>; 183 cell-index = <0>; 224 cell-index = <1>; [all …]
|
| /linux/Documentation/devicetree/bindings/powerpc/4xx/ |
| H A D | cpm.txt | 16 - unused-units : specifier consist of one cell. For each 17 bit in the cell, the corresponding bit 20 - idle-doze : specifier consist of one cell. For each 21 bit in the cell, the corresponding bit 24 - standby : specifier consist of one cell. For each 25 bit in the cell, the corresponding bit 28 - suspend : specifier consist of one cell. For each 29 bit in the cell, the corresponding bit
|