| /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 | 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 | volume.c | 21 static struct afs_volume *afs_insert_volume_into_cell(struct afs_cell *cell, in afs_insert_volume_into_cell() argument 27 write_seqlock(&cell->volume_lock); in afs_insert_volume_into_cell() 29 pp = &cell->volumes.rb_node; in afs_insert_volume_into_cell() 44 rb_replace_node_rcu(&p->cell_node, &volume->cell_node, &cell->volumes); in afs_insert_volume_into_cell() 49 rb_insert_color(&volume->cell_node, &cell->volumes); in afs_insert_volume_into_cell() 50 hlist_add_head_rcu(&volume->proc_link, &cell->proc_volumes); in afs_insert_volume_into_cell() 53 write_sequnlock(&cell->volume_lock); in afs_insert_volume_into_cell() 60 struct afs_cell *cell = volume->cell; in afs_remove_volume_from_cell() local 65 write_seqlock(&cell->volume_lock); in afs_remove_volume_from_cell() 68 rb_erase(&volume->cell_node, &cell->volumes); in afs_remove_volume_from_cell() [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-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 …]
|
| H A D | dm-bio-prison-v2.h | 70 struct dm_bio_prison_cell_v2 *cell); 100 struct dm_bio_prison_cell_v2 *cell); 123 struct dm_bio_prison_cell_v2 *cell, 135 struct dm_bio_prison_cell_v2 *cell, 148 struct dm_bio_prison_cell_v2 *cell,
|
| 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 | 130 /* enqueue cell to prioq */ 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() 151 /* add new cell to tail of the fifo */ 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() 159 /* traverse list of elements to find the place where the new cell i in snd_seq_prioq_cell_in() 211 struct snd_seq_event_cell *cell; snd_seq_prioq_cell_out() local 248 prioq_remove_cells(struct snd_seq_prioq * f,bool (* match)(struct snd_seq_event_cell * cell,void * arg),void * arg) prioq_remove_cells() argument 252 register struct snd_seq_event_cell *cell, *next; prioq_remove_cells() local 297 prioq_match(struct snd_seq_event_cell * cell,void * arg) prioq_match() argument 333 prioq_remove_match(struct snd_seq_event_cell * cell,void * arg) prioq_remove_match() argument [all...] |
| H A 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 114 err = snd_seq_event_dup(pool, event, &cell, 1, NULL, NULL); /* always non-blocking */ in snd_seq_fifo_event_in() 124 if (cell->pool == f->pool) { in snd_seq_fifo_event_in() 126 f->tail->next = cell; in snd_seq_fifo_event_in() 127 f->tail = cell; in snd_seq_fifo_event_in() 129 f->head = cell; in snd_seq_fifo_event_in() 130 cell in snd_seq_fifo_event_in() 139 struct snd_seq_event_cell *cell; fifo_cell_out() local 160 struct snd_seq_event_cell *cell; snd_seq_fifo_cell_out() local 195 snd_seq_fifo_cell_putback(struct snd_seq_fifo * f,struct snd_seq_event_cell * cell) snd_seq_fifo_cell_putback() argument 221 struct snd_seq_event_cell *cell, *next, *oldhead; snd_seq_fifo_resize() local [all...] |
| H A D | seq_memory.c | 49 * ext.data.ptr = the additiona cell head 50 * -> cell.next -> cell.next -> .. 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() 222 * release this cell, fre 226 free_cell(struct snd_seq_pool * pool,struct snd_seq_event_cell * cell) free_cell() argument 233 snd_seq_cell_free(struct snd_seq_event_cell * cell) snd_seq_cell_free() argument 272 struct snd_seq_event_cell *cell; snd_seq_cell_alloc() local 345 struct snd_seq_event_cell *cell; snd_seq_event_dup() local 438 int cell; snd_seq_pool_init() local [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 …]
|
| H A D | of_net.c | 64 struct nvmem_cell *cell; in of_get_mac_address_nvmem() local 78 cell = of_nvmem_cell_get(np, "mac-address"); in of_get_mac_address_nvmem() 79 if (IS_ERR(cell)) in of_get_mac_address_nvmem() 80 return PTR_ERR(cell); in of_get_mac_address_nvmem() 82 mac = nvmem_cell_read(cell, &len); in of_get_mac_address_nvmem() 83 nvmem_cell_put(cell); in of_get_mac_address_nvmem()
|
| /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/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
|
| /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 …]
|