Home
last modified time | relevance | path

Searched refs:cell (Results 1 - 25 of 290) sorted by relevance

12345678910>>...12

/kernel/linux/linux-5.10/fs/afs/
H A Dcell.c2 /* AFS cell and server record management
33 * Set the cell timer to fire after a given delay, assuming it's not already
48 * Look up and get an activation reference on a cell record. The caller must
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 in afs_find_cell_locked()
102 struct afs_cell *cell; afs_find_cell() local
119 struct afs_cell *cell; afs_alloc_cell() local
236 struct afs_cell *cell, *candidate, *cursor; afs_lookup_cell() local
392 afs_update_cell(struct afs_cell *cell) afs_update_cell() argument
491 struct afs_cell *cell = container_of(rcu, struct afs_cell, rcu); afs_cell_destroy() local
540 afs_get_cell(struct afs_cell *cell, enum afs_cell_trace reason) afs_get_cell() argument
555 afs_put_cell(struct afs_cell *cell, enum afs_cell_trace reason) afs_put_cell() argument
575 afs_use_cell(struct afs_cell *cell, enum afs_cell_trace reason) afs_use_cell() argument
592 afs_unuse_cell(struct afs_net *net, struct afs_cell *cell, enum afs_cell_trace reason) afs_unuse_cell() argument
622 afs_see_cell(struct afs_cell *cell, enum afs_cell_trace reason) afs_see_cell() argument
634 afs_queue_cell(struct afs_cell *cell, enum afs_cell_trace reason) afs_queue_cell() argument
644 afs_alloc_anon_key(struct afs_cell *cell) afs_alloc_anon_key() argument
671 afs_activate_cell(struct afs_net *net, struct afs_cell *cell) afs_activate_cell() argument
715 afs_deactivate_cell(struct afs_net *net, struct afs_cell *cell) afs_deactivate_cell() argument
738 afs_manage_cell(struct afs_cell *cell) afs_manage_cell() argument
840 struct afs_cell *cell = container_of(work, struct afs_cell, manager); afs_manage_cell_work() local
875 struct afs_cell *cell = afs_manage_cells() local
[all...]
H A Dvl_alias.c2 /* AFS cell alias detection
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()
154 * Compare root.cell volumes.
156 static int afs_compare_cell_roots(struct afs_cell *cell) in afs_compare_cell_roots() argument
164 hlist_for_each_entry_rcu(p, &cell->net->proc_cells, proc_link) { in afs_compare_cell_roots()
165 if (p == cell || p->alias_of) in afs_compare_cell_roots()
168 continue; /* Ignore cells that don't have a root.cell volum in afs_compare_cell_roots()
187 afs_query_for_alias_one(struct afs_cell *cell, struct key *key, struct afs_cell *p) afs_query_for_alias_one() argument
234 afs_query_for_alias(struct afs_cell *cell, struct key *key) afs_query_for_alias() argument
276 afs_vl_get_cell_name(struct afs_cell *cell, struct key *key) afs_vl_get_cell_name() argument
302 yfs_check_canonical_cell_name(struct afs_cell *cell, struct key *key) yfs_check_canonical_cell_name() argument
326 afs_do_cell_detect_alias(struct afs_cell *cell, struct key *key) afs_do_cell_detect_alias() argument
361 afs_cell_detect_alias(struct afs_cell *cell, struct key *key) afs_cell_detect_alias() argument
[all...]
H A Dvl_rotate.c17 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 afs_queue_cell(cell, afs_cell_trace_get_queue_dn in afs_start_vl_iteration()
294 struct afs_cell *cell = vc->cell; afs_vl_dump_edestaddrreq() local
[all...]
/kernel/linux/linux-6.6/fs/afs/
H A Dcell.c2 /* AFS cell and server record management
33 * Set the cell timer to fire after a given delay, assuming it's not already
48 * Look up and get an activation reference on a cell record. The caller must
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 in afs_find_cell_locked()
102 struct afs_cell *cell; afs_find_cell() local
119 struct afs_cell *cell; afs_alloc_cell() local
238 struct afs_cell *cell, *candidate, *cursor; afs_lookup_cell() local
394 afs_update_cell(struct afs_cell *cell) afs_update_cell() argument
493 struct afs_cell *cell = container_of(rcu, struct afs_cell, rcu); afs_cell_destroy() local
542 afs_get_cell(struct afs_cell *cell, enum afs_cell_trace reason) afs_get_cell() argument
554 afs_put_cell(struct afs_cell *cell, enum afs_cell_trace reason) afs_put_cell() argument
576 afs_use_cell(struct afs_cell *cell, enum afs_cell_trace reason) afs_use_cell() argument
591 afs_unuse_cell(struct afs_net *net, struct afs_cell *cell, enum afs_cell_trace reason) afs_unuse_cell() argument
621 afs_see_cell(struct afs_cell *cell, enum afs_cell_trace reason) afs_see_cell() argument
633 afs_queue_cell(struct afs_cell *cell, enum afs_cell_trace reason) afs_queue_cell() argument
643 afs_alloc_anon_key(struct afs_cell *cell) afs_alloc_anon_key() argument
670 afs_activate_cell(struct afs_net *net, struct afs_cell *cell) afs_activate_cell() argument
707 afs_deactivate_cell(struct afs_net *net, struct afs_cell *cell) afs_deactivate_cell() argument
725 afs_manage_cell(struct afs_cell *cell) afs_manage_cell() argument
827 struct afs_cell *cell = container_of(work, struct afs_cell, manager); afs_manage_cell_work() local
862 struct afs_cell *cell = afs_manage_cells() local
[all...]
H A Dvl_alias.c2 /* AFS cell alias detection
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()
154 * Compare root.cell volumes.
156 static int afs_compare_cell_roots(struct afs_cell *cell) in afs_compare_cell_roots() argument
164 hlist_for_each_entry_rcu(p, &cell->net->proc_cells, proc_link) { in afs_compare_cell_roots()
165 if (p == cell || p->alias_of) in afs_compare_cell_roots()
168 continue; /* Ignore cells that don't have a root.cell volum in afs_compare_cell_roots()
187 afs_query_for_alias_one(struct afs_cell *cell, struct key *key, struct afs_cell *p) afs_query_for_alias_one() argument
234 afs_query_for_alias(struct afs_cell *cell, struct key *key) afs_query_for_alias() argument
276 afs_vl_get_cell_name(struct afs_cell *cell, struct key *key) afs_vl_get_cell_name() argument
302 yfs_check_canonical_cell_name(struct afs_cell *cell, struct key *key) yfs_check_canonical_cell_name() argument
326 afs_do_cell_detect_alias(struct afs_cell *cell, struct key *key) afs_do_cell_detect_alias() argument
361 afs_cell_detect_alias(struct afs_cell *cell, struct key *key) afs_cell_detect_alias() argument
[all...]
H A Dvl_rotate.c17 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 afs_queue_cell(cell, afs_cell_trace_get_queue_dn in afs_start_vl_iteration()
294 struct afs_cell *cell = vc->cell; afs_vl_dump_edestaddrreq() local
[all...]
/kernel/linux/linux-5.10/sound/core/seq/
H A Dseq_prioq.c130 /* enqueue cell to prioq */
132 struct snd_seq_event_cell * cell) in snd_seq_prioq_cell_in()
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()
152 /* add new cell to tail of the fifo */ 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()
161 /* traverse list of elements to find the place where the new cell i in snd_seq_prioq_cell_in()
131 snd_seq_prioq_cell_in(struct snd_seq_prioq * f, struct snd_seq_event_cell * cell) snd_seq_prioq_cell_in() argument
215 struct snd_seq_event_cell *cell; snd_seq_prioq_cell_out() local
252 prioq_match(struct snd_seq_event_cell *cell, int client, int timestamp) prioq_match() argument
277 register struct snd_seq_event_cell *cell, *next; snd_seq_prioq_leave() local
387 struct snd_seq_event_cell *cell, *next; snd_seq_prioq_remove_events() local
[all...]
H A Dseq_fifo.c85 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()
141 /* dequeue cell fro
144 struct snd_seq_event_cell *cell; fifo_cell_out() local
164 struct snd_seq_event_cell *cell; snd_seq_fifo_cell_out() local
198 snd_seq_fifo_cell_putback(struct snd_seq_fifo *f, struct snd_seq_event_cell *cell) snd_seq_fifo_cell_putback() argument
227 struct snd_seq_event_cell *cell, *next, *oldhead; snd_seq_fifo_resize() local
[all...]
H A Dseq_memory.c49 * ext.data.ptr = the additiona cell head
50 * -> cell.next -> cell.next -> ..
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()
163 * release this cell, fre
166 free_cell(struct snd_seq_pool *pool, struct snd_seq_event_cell *cell) free_cell() argument
174 snd_seq_cell_free(struct snd_seq_event_cell * cell) snd_seq_cell_free() argument
215 struct snd_seq_event_cell *cell; snd_seq_cell_alloc() local
288 struct snd_seq_event_cell *cell; snd_seq_event_dup() local
374 int cell; snd_seq_pool_init() local
[all...]
/kernel/linux/linux-6.6/sound/core/seq/
H A Dseq_prioq.c130 /* enqueue cell to prioq */
132 struct snd_seq_event_cell * cell) in snd_seq_prioq_cell_in()
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()
152 /* add new cell to tail of the fifo */ 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()
161 /* traverse list of elements to find the place where the new cell i in snd_seq_prioq_cell_in()
131 snd_seq_prioq_cell_in(struct snd_seq_prioq * f, struct snd_seq_event_cell * cell) snd_seq_prioq_cell_in() argument
215 struct snd_seq_event_cell *cell; snd_seq_prioq_cell_out() local
252 prioq_match(struct snd_seq_event_cell *cell, int client, int timestamp) prioq_match() argument
277 register struct snd_seq_event_cell *cell, *next; snd_seq_prioq_leave() local
387 struct snd_seq_event_cell *cell, *next; snd_seq_prioq_remove_events() local
[all...]
H A Dseq_fifo.c85 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()
141 /* dequeue cell fro
144 struct snd_seq_event_cell *cell; fifo_cell_out() local
165 struct snd_seq_event_cell *cell; snd_seq_fifo_cell_out() local
199 snd_seq_fifo_cell_putback(struct snd_seq_fifo *f, struct snd_seq_event_cell *cell) snd_seq_fifo_cell_putback() argument
228 struct snd_seq_event_cell *cell, *next, *oldhead; snd_seq_fifo_resize() local
[all...]
H A Dseq_memory.c49 * 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
225 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
274 struct snd_seq_event_cell *cell; snd_seq_cell_alloc() local
347 struct snd_seq_event_cell *cell; snd_seq_event_dup() local
439 int cell; snd_seq_pool_init() local
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-bio-prison-v2.c73 struct dm_bio_prison_cell_v2 *cell) in dm_bio_prison_free_cell_v2()
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()
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 in __find_or_insert()
72 dm_bio_prison_free_cell_v2(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell) dm_bio_prison_free_cell_v2() argument
79 __setup_new_cell(struct dm_cell_key_v2 *key, struct dm_bio_prison_cell_v2 *cell) __setup_new_cell() argument
149 __get(struct dm_bio_prison_v2 *prison, struct dm_cell_key_v2 *key, unsigned lock_level, struct bio *inmate, struct dm_bio_prison_cell_v2 *cell_prealloc, struct dm_bio_prison_cell_v2 **cell) __get() argument
189 __put(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell) __put() argument
211 dm_cell_put_v2(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell) dm_cell_put_v2() argument
231 struct dm_bio_prison_cell_v2 *cell; __lock() local
272 __quiesce(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell, struct work_struct *continuation) __quiesce() argument
282 dm_cell_quiesce_v2(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell, struct work_struct *continuation) dm_cell_quiesce_v2() argument
292 __promote(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell, unsigned new_lock_level) __promote() argument
303 dm_cell_lock_promote_v2(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell, unsigned new_lock_level) dm_cell_lock_promote_v2() argument
317 __unlock(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell, struct bio_list *bios) __unlock() argument
335 dm_cell_unlock_v2(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell, struct bio_list *bios) dm_cell_unlock_v2() argument
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-bio-prison-v2.c74 struct dm_bio_prison_cell_v2 *cell) in dm_bio_prison_free_cell_v2()
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()
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 in __find_or_insert()
73 dm_bio_prison_free_cell_v2(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell) dm_bio_prison_free_cell_v2() argument
80 __setup_new_cell(struct dm_cell_key_v2 *key, struct dm_bio_prison_cell_v2 *cell) __setup_new_cell() argument
150 __get(struct dm_bio_prison_v2 *prison, struct dm_cell_key_v2 *key, unsigned int lock_level, struct bio *inmate, struct dm_bio_prison_cell_v2 *cell_prealloc, struct dm_bio_prison_cell_v2 **cell) __get() argument
190 __put(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell) __put() argument
212 dm_cell_put_v2(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell) dm_cell_put_v2() argument
232 struct dm_bio_prison_cell_v2 *cell; __lock() local
273 __quiesce(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell, struct work_struct *continuation) __quiesce() argument
283 dm_cell_quiesce_v2(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell, struct work_struct *continuation) dm_cell_quiesce_v2() argument
293 __promote(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell, unsigned int new_lock_level) __promote() argument
304 dm_cell_lock_promote_v2(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell, unsigned int new_lock_level) dm_cell_lock_promote_v2() argument
318 __unlock(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell, struct bio_list *bios) __unlock() argument
336 dm_cell_unlock_v2(struct dm_bio_prison_v2 *prison, struct dm_bio_prison_cell_v2 *cell, struct bio_list *bios) dm_cell_unlock_v2() argument
[all...]
H A Ddm-bio-prison-v1.c23 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()
83 mempool_free(cell, &prison->cell_pool); in dm_bio_prison_free_cell()
89 struct dm_bio_prison_cell *cell) in __setup_new_cell()
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
80 dm_bio_prison_free_cell(struct dm_bio_prison *prison, struct dm_bio_prison_cell *cell) dm_bio_prison_free_cell() argument
87 __setup_new_cell(struct dm_cell_key *key, struct bio *holder, struct dm_bio_prison_cell *cell) __setup_new_cell() argument
213 __cell_release(struct rb_root *root, struct dm_bio_prison_cell *cell, struct bio_list *inmates) __cell_release() argument
226 dm_cell_release(struct dm_bio_prison *prison, struct dm_bio_prison_cell *cell, struct bio_list *bios) dm_cell_release() argument
241 __cell_release_no_holder(struct rb_root *root, struct dm_bio_prison_cell *cell, struct bio_list *inmates) __cell_release_no_holder() argument
249 dm_cell_release_no_holder(struct dm_bio_prison *prison, struct dm_bio_prison_cell *cell, struct bio_list *inmates) dm_cell_release_no_holder() argument
262 dm_cell_error(struct dm_bio_prison *prison, struct dm_bio_prison_cell *cell, blk_status_t error) dm_cell_error() argument
278 dm_cell_visit_release(struct dm_bio_prison *prison, void (*visit_fn)(void *, struct dm_bio_prison_cell *), void *context, struct dm_bio_prison_cell *cell) dm_cell_visit_release() argument
291 __promote_or_release(struct rb_root *root, struct dm_bio_prison_cell *cell) __promote_or_release() argument
303 dm_cell_promote_or_release(struct dm_bio_prison *prison, struct dm_bio_prison_cell *cell) dm_cell_promote_or_release() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Disp2400_support.h25 #define hrt_isp_vamem1_store_16(cell, addr, val) hrt_mem_store_16(cell, HRT_PROC_TYPE_PROP(cell, _simd_vamem1), addr, val)
26 #define hrt_isp_vamem2_store_16(cell, addr, val) hrt_mem_store_16(cell, HRT_PROC_TYPE_PROP(cell, _simd_vamem2), addr, val)
28 #define hrt_isp_dmem(cell) HRT_PROC_TYPE_PROP(cell, _base_dmem)
29 #define hrt_isp_vmem(cell) HRT_PROC_TYPE_PROP(cell, _simd_vme
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
H A Disp2400_support.h25 #define hrt_isp_vamem1_store_16(cell, addr, val) hrt_mem_store_16(cell, HRT_PROC_TYPE_PROP(cell, _simd_vamem1), addr, val)
26 #define hrt_isp_vamem2_store_16(cell, addr, val) hrt_mem_store_16(cell, HRT_PROC_TYPE_PROP(cell, _simd_vamem2), addr, val)
28 #define hrt_isp_dmem(cell) HRT_PROC_TYPE_PROP(cell, _base_dmem)
29 #define hrt_isp_vmem(cell) HRT_PROC_TYPE_PROP(cell, _simd_vme
[all...]
/kernel/linux/linux-5.10/drivers/nvmem/
H A Dcore.c339 static void nvmem_cell_drop(struct nvmem_cell *cell) in nvmem_cell_drop() argument
341 blocking_notifier_call_chain(&nvmem_notifier, NVMEM_CELL_REMOVE, cell); in nvmem_cell_drop()
343 list_del(&cell->node); in nvmem_cell_drop()
345 of_node_put(cell->np); in nvmem_cell_drop()
346 kfree_const(cell->name); in nvmem_cell_drop()
347 kfree(cell); in nvmem_cell_drop()
352 struct nvmem_cell *cell, *p; in nvmem_device_remove_all_cells() local
354 list_for_each_entry_safe(cell, p, &nvmem->cells, node) in nvmem_device_remove_all_cells()
355 nvmem_cell_drop(cell); in nvmem_device_remove_all_cells()
358 static void nvmem_cell_add(struct nvmem_cell *cell) in nvmem_cell_add() argument
366 nvmem_cell_info_to_nvmem_cell_nodup(struct nvmem_device *nvmem, const struct nvmem_cell_info *info, struct nvmem_cell *cell) nvmem_cell_info_to_nvmem_cell_nodup() argument
392 nvmem_cell_info_to_nvmem_cell(struct nvmem_device *nvmem, const struct nvmem_cell_info *info, struct nvmem_cell *cell) nvmem_cell_info_to_nvmem_cell() argument
488 struct nvmem_cell *cell; nvmem_add_cells_from_table() local
524 struct nvmem_cell *iter, *cell = NULL; nvmem_find_cell_by_name() local
542 struct nvmem_cell *cell; nvmem_add_cells_from_of() local
997 struct nvmem_cell *cell = ERR_PTR(-ENOENT); nvmem_cell_get_from_lookup() local
1039 struct nvmem_cell *iter, *cell = NULL; nvmem_find_cell_by_node() local
1069 struct nvmem_cell *cell; of_nvmem_cell_get() local
1114 struct nvmem_cell *cell; nvmem_cell_get() local
1147 struct nvmem_cell **ptr, *cell; devm_nvmem_cell_get() local
1182 devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell) devm_nvmem_cell_put() argument
1198 nvmem_cell_put(struct nvmem_cell *cell) nvmem_cell_put() argument
1206 nvmem_shift_read_buffer_in_place(struct nvmem_cell *cell, void *buf) nvmem_shift_read_buffer_in_place() argument
1239 __nvmem_cell_read(struct nvmem_device *nvmem, struct nvmem_cell *cell, void *buf, size_t *len) __nvmem_cell_read() argument
1270 nvmem_cell_read(struct nvmem_cell *cell, size_t *len) nvmem_cell_read() argument
1293 nvmem_cell_prepare_write_buffer(struct nvmem_cell *cell, u8 *_buf, int len) nvmem_cell_prepare_write_buffer() argument
1355 nvmem_cell_write(struct nvmem_cell *cell, void *buf, size_t len) nvmem_cell_write() argument
1386 struct nvmem_cell *cell; nvmem_cell_read_common() local
1484 struct nvmem_cell cell; nvmem_device_cell_read() local
1515 struct nvmem_cell cell; nvmem_device_cell_write() local
[all...]
/kernel/linux/linux-5.10/drivers/mfd/
H A Dmfd-core.c38 const struct mfd_cell *cell = mfd_get_cell(pdev); in mfd_cell_enable() local
40 if (!cell->enable) { in mfd_cell_enable()
45 return cell->enable(pdev); in mfd_cell_enable()
51 const struct mfd_cell *cell = mfd_get_cell(pdev); in mfd_cell_disable() local
53 if (!cell->disable) { in mfd_cell_disable()
58 return cell->disable(pdev); in mfd_cell_disable()
63 static void mfd_acpi_add_device(const struct mfd_cell *cell, in mfd_acpi_add_device() argument
66 const struct mfd_cell_acpi_match *match = cell->acpi_match; in mfd_acpi_add_device()
114 static inline void mfd_acpi_add_device(const struct mfd_cell *cell, in mfd_acpi_add_device() argument
122 const struct mfd_cell *cell) in mfd_match_of_node_to_dev()
120 mfd_match_of_node_to_dev(struct platform_device *pdev, struct device_node *np, const struct mfd_cell *cell) mfd_match_of_node_to_dev() argument
165 mfd_add_device(struct device *parent, int id, const struct mfd_cell *cell, struct resource *mem_base, int irq_base, struct irq_domain *domain) mfd_add_device() argument
369 const struct mfd_cell *cell; mfd_remove_devices_fn() local
[all...]
/kernel/linux/linux-5.10/drivers/clk/mmp/
H A Dreset.c16 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 in mmp_clk_reset_assert()
60 struct mmp_clk_reset_cell *cell; mmp_clk_reset_deassert() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/mmp/
H A Dreset.c16 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 in mmp_clk_reset_assert()
60 struct mmp_clk_reset_cell *cell; mmp_clk_reset_deassert() local
[all...]
/kernel/linux/linux-6.6/drivers/mfd/
H A Dmfd-core.c54 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()
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()
141 const struct mfd_cell *cell, in mfd_add_device()
157 platform_id = id + cell->id; in mfd_add_device()
159 pdev = platform_device_alloc(cell->name, platform_id); in mfd_add_device()
163 pdev->mfd_cell = kmemdup(cell, sizeo in mfd_add_device()
99 mfd_match_of_node_to_dev(struct platform_device *pdev, struct device_node *np, const struct mfd_cell *cell) mfd_match_of_node_to_dev() argument
140 mfd_add_device(struct device *parent, int id, const struct mfd_cell *cell, struct resource *mem_base, int irq_base, struct irq_domain *domain) mfd_add_device() argument
347 const struct mfd_cell *cell; mfd_remove_devices_fn() local
[all...]
/kernel/linux/linux-6.6/drivers/nvmem/
H A Dcore.c439 static void nvmem_cell_entry_drop(struct nvmem_cell_entry *cell) in nvmem_cell_entry_drop() argument
441 blocking_notifier_call_chain(&nvmem_notifier, NVMEM_CELL_REMOVE, cell); in nvmem_cell_entry_drop()
443 list_del(&cell->node); in nvmem_cell_entry_drop()
445 of_node_put(cell->np); in nvmem_cell_entry_drop()
446 kfree_const(cell->name); in nvmem_cell_entry_drop()
447 kfree(cell); in nvmem_cell_entry_drop()
452 struct nvmem_cell_entry *cell, *p; in nvmem_device_remove_all_cells() local
454 list_for_each_entry_safe(cell, p, &nvmem->cells, node) in nvmem_device_remove_all_cells()
455 nvmem_cell_entry_drop(cell); in nvmem_device_remove_all_cells()
458 static void nvmem_cell_entry_add(struct nvmem_cell_entry *cell) in nvmem_cell_entry_add() argument
466 nvmem_cell_info_to_nvmem_cell_entry_nodup(struct nvmem_device *nvmem, const struct nvmem_cell_info *info, struct nvmem_cell_entry *cell) nvmem_cell_info_to_nvmem_cell_entry_nodup() argument
496 nvmem_cell_info_to_nvmem_cell_entry(struct nvmem_device *nvmem, const struct nvmem_cell_info *info, struct nvmem_cell_entry *cell) nvmem_cell_info_to_nvmem_cell_entry() argument
524 struct nvmem_cell_entry *cell; nvmem_add_one_cell() local
597 struct nvmem_cell_entry *cell; nvmem_add_cells_from_table() local
631 struct nvmem_cell_entry *iter, *cell = NULL; nvmem_find_cell_entry_by_name() local
1287 struct nvmem_cell *cell; nvmem_create_cell() local
1313 struct nvmem_cell *cell = ERR_PTR(-ENOENT); nvmem_cell_get_from_lookup() local
1359 struct nvmem_cell_entry *iter, *cell = NULL; nvmem_find_cell_entry_by_node() local
1390 struct nvmem_cell *cell; of_nvmem_cell_get() local
1465 struct nvmem_cell *cell; nvmem_cell_get() local
1498 struct nvmem_cell **ptr, *cell; devm_nvmem_cell_get() local
1533 devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell) devm_nvmem_cell_put() argument
1549 nvmem_cell_put(struct nvmem_cell *cell) nvmem_cell_put() argument
1561 nvmem_shift_read_buffer_in_place(struct nvmem_cell_entry *cell, void *buf) nvmem_shift_read_buffer_in_place() argument
1594 __nvmem_cell_read(struct nvmem_device *nvmem, struct nvmem_cell_entry *cell, void *buf, size_t *len, const char *id, int index) __nvmem_cell_read() argument
1632 nvmem_cell_read(struct nvmem_cell *cell, size_t *len) nvmem_cell_read() argument
1656 nvmem_cell_prepare_write_buffer(struct nvmem_cell_entry *cell, u8 *_buf, int len) nvmem_cell_prepare_write_buffer() argument
1709 __nvmem_cell_entry_write(struct nvmem_cell_entry *cell, void *buf, size_t len) __nvmem_cell_entry_write() argument
1753 nvmem_cell_write(struct nvmem_cell *cell, void *buf, size_t len) nvmem_cell_write() argument
1763 struct nvmem_cell *cell; nvmem_cell_read_common() local
1852 struct nvmem_cell *cell; nvmem_cell_read_variable_common() local
1956 struct nvmem_cell_entry cell; nvmem_device_cell_read() local
1987 struct nvmem_cell_entry cell; nvmem_device_cell_write() local
[all...]
/kernel/linux/linux-5.10/net/core/
H A Dgro_cells.c15 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) > READ_ONCE(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 in gro_cells_init()
99 struct gro_cell *cell = per_cpu_ptr(gcells->cells, i); gro_cells_destroy() local
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dgro_cells.c15 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) > READ_ONCE(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 in gro_cells_init()
113 struct gro_cell *cell = per_cpu_ptr(gcells->cells, i); gro_cells_destroy() local
[all...]

Completed in 15 milliseconds

12345678910>>...12