Home
last modified time | relevance | path

Searched refs:lc (Results 1 – 25 of 108) sorted by relevance

12345

/linux-6.3-rc2/tools/testing/selftests/drivers/net/mlxsw/
A Ddevlink_linecard.sh39 local lc=$1
41 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].state"
46 local lc=$1
55 local lc=$1
91 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].nested_devlink"
111 devlink lc set $DEVLINK_DEV lc $lc notype
130 devlink lc set $DEVLINK_DEV lc $lc type $type
140 provisioned_type=$(devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].type")
153 local lc
170 supported_types_count=$(devlink lc show $DEVLINK_DEV lc $lc -j | \
[all …]
/linux-6.3-rc2/lib/
A Dlru_cache.c104 lc = kzalloc(sizeof(*lc), GFP_KERNEL); in lc_create()
105 if (!lc) in lc_create()
136 return lc; in lc_create()
143 kfree(lc); in lc_create()
167 if (!lc) in lc_destroy()
173 kfree(lc); in lc_destroy()
229 lc->name, lc->used, lc->nr_elements, in lc_seq_printf_stats()
230 lc->hits, lc->misses, lc->starving, lc->locked, lc->changed); in lc_seq_printf_stats()
235 return lc->lc_slot + (enr % lc->nr_elements); in lc_hash_slot()
416 if (lc->pending_changes >= lc->max_pending_changes) in __lc_get()
[all …]
/linux-6.3-rc2/drivers/md/
A Ddm-log.c405 lc = kmalloc(sizeof(*lc), GFP_KERNEL); in create_log_context()
479 lc->io_req.mem.ptr.vma = lc->disk_header; in create_log_context()
574 dm_put_device(lc->ti, lc->log_dev); in disk_dtr()
616 log_set_bit(lc, lc->clean_bits, i); in disk_resume()
620 log_clear_bit(lc, lc->clean_bits, i); in disk_resume()
624 log_clear_bit(lc, lc->clean_bits, i); in disk_resume()
633 lc->header.nr_regions = lc->region_count; in disk_resume()
707 log_clear_bit(lc, lc->clean_bits, i); in disk_flush()
740 log_set_bit(lc, lc->clean_bits, region); in core_clear_region()
747 if (lc->sync_search >= lc->region_count) in core_get_resync_work()
[all …]
A Ddm-log-userspace-base.c208 lc = kzalloc(sizeof(*lc), GFP_KERNEL); in userspace_ctr()
209 if (!lc) { in userspace_ctr()
215 lc->luid = (unsigned long)lc; in userspace_ctr()
221 kfree(lc); in userspace_ctr()
242 kfree(lc); in userspace_ctr()
343 dm_put_device(lc->ti, lc->log_dev); in userspace_dtr()
348 kfree(lc); in userspace_dtr()
471 r = userspace_do_request(lc, lc->uuid, fe->type, in flush_one_by_one()
520 r = userspace_do_request(lc, lc->uuid, type, in flush_by_group()
717 if (lc->in_sync_hint >= lc->region_count) in userspace_get_resync_work()
[all …]
A Ddm-log-writes.c452 lc->next_sector += dev_to_bio_sectors(lc, 1); in log_writes_kthread()
459 lc->end_sector = logdev_last_sector(lc); in log_writes_kthread()
461 lc->next_sector >= lc->end_sector) { in log_writes_kthread()
522 if (!lc) { in log_writes_ctr()
551 lc->sectorshift = ilog2(lc->sectorsize); in log_writes_ctr()
566 lc->next_sector = lc->sectorsize >> SECTOR_SHIFT; in log_writes_ctr()
568 lc->end_sector = logdev_last_sector(lc); in log_writes_ctr()
580 kfree(lc); in log_writes_ctr()
625 wait_event(lc->wait, !atomic_read(&lc->io_blocks) && in log_writes_dtr()
633 kfree(lc); in log_writes_dtr()
[all …]
A Ddm-linear.c32 struct linear_c *lc; in linear_ctr() local
42 lc = kmalloc(sizeof(*lc), GFP_KERNEL); in linear_ctr()
43 if (lc == NULL) { in linear_ctr()
53 lc->start = tmp; in linear_ctr()
65 ti->private = lc; in linear_ctr()
69 kfree(lc); in linear_ctr()
78 kfree(lc); in linear_dtr()
110 DMEMIT("%s %llu", lc->dev->name, (unsigned long long)lc->start); in linear_status()
142 return dm_report_zones(lc->dev->bdev, lc->start, in linear_report_zones()
155 return fn(ti, lc->dev, lc->start, ti->len, data); in linear_iterate_devices()
[all …]
/linux-6.3-rc2/include/linux/
A Dlru_cache.h241 extern void lc_reset(struct lru_cache *lc);
242 extern void lc_destroy(struct lru_cache *lc);
243 extern void lc_del(struct lru_cache *lc, struct lc_element *element);
250 extern void lc_committed(struct lru_cache *lc);
266 static inline int lc_try_lock_for_transaction(struct lru_cache *lc) in lc_try_lock_for_transaction() argument
268 return !test_and_set_bit(__LC_LOCKED, &lc->flags); in lc_try_lock_for_transaction()
280 extern int lc_try_lock(struct lru_cache *lc);
286 static inline void lc_unlock(struct lru_cache *lc) in lc_unlock() argument
288 clear_bit(__LC_DIRTY, &lc->flags); in lc_unlock()
289 clear_bit_unlock(__LC_LOCKED, &lc->flags); in lc_unlock()
[all …]
/linux-6.3-rc2/net/rds/
A Dloop.c137 struct rds_loop_connection *lc; in rds_loop_conn_alloc() local
141 if (!lc) in rds_loop_conn_alloc()
145 lc->conn = conn; in rds_loop_conn_alloc()
146 conn->c_transport_data = lc; in rds_loop_conn_alloc()
160 rdsdebug("lc %p\n", lc); in rds_loop_conn_free()
162 list_del(&lc->loop_node); in rds_loop_conn_free()
164 kfree(lc); in rds_loop_conn_free()
191 WARN_ON(lc->conn->c_passive); in rds_loop_exit()
192 rds_conn_destroy(lc->conn); in rds_loop_exit()
212 WARN_ON(lc->conn->c_passive); in rds_loop_kill_conns()
[all …]
/linux-6.3-rc2/arch/s390/kernel/
A Dsmp.c195 struct lowcore *lc; in pcpu_alloc_lowcore() local
204 memset((char *) lc + 512, 0, sizeof(*lc) - 512); in pcpu_alloc_lowcore()
208 lc->cpu_nr = cpu; in pcpu_alloc_lowcore()
259 lc->cpu_nr = cpu; in pcpu_prepare_secondary()
267 lc->user_timer = lc->system_timer = in pcpu_prepare_secondary()
268 lc->steal_timer = lc->avg_steal_timer = 0; in pcpu_prepare_secondary()
270 lc->cregs_save_area[1] = lc->kernel_asce; in pcpu_prepare_secondary()
271 lc->cregs_save_area[7] = lc->user_asce; in pcpu_prepare_secondary()
303 lc->restart_stack = lc->kernel_stack; in pcpu_start_fn()
338 if (lc) { in pcpu_delegate()
[all …]
A Dsetup.c419 struct lowcore *lc, *abs_lc; in setup_lowcore() local
426 lc = memblock_alloc_low(sizeof(*lc), sizeof(*lc)); in setup_lowcore()
427 if (!lc) in setup_lowcore()
429 __func__, sizeof(*lc), sizeof(*lc)); in setup_lowcore()
447 lc->lpp = LPP_MAGIC; in setup_lowcore()
476 lc->restart_data = 0; in setup_lowcore()
477 lc->restart_source = -1U; in setup_lowcore()
487 lc->spinlock_index = 0; in setup_lowcore()
504 abs_lc->mcesad = lc->mcesad; in setup_lowcore()
507 set_prefix(__pa(lc)); in setup_lowcore()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dsetget_sockopt.c154 return bpf_test_sockopt_flip(lc->ctx, lc->sk, t, SOL_SOCKET); in bpf_test_socket_sockopt()
156 return bpf_test_sockopt_int(lc->ctx, lc->sk, t, SOL_SOCKET); in bpf_test_socket_sockopt()
159 static int bpf_test_ip_sockopt(__u32 i, struct loop_ctx *lc) in bpf_test_ip_sockopt() argument
171 return bpf_test_sockopt_flip(lc->ctx, lc->sk, t, IPPROTO_IP); in bpf_test_ip_sockopt()
173 return bpf_test_sockopt_int(lc->ctx, lc->sk, t, IPPROTO_IP); in bpf_test_ip_sockopt()
188 return bpf_test_sockopt_flip(lc->ctx, lc->sk, t, IPPROTO_IPV6); in bpf_test_ipv6_sockopt()
190 return bpf_test_sockopt_int(lc->ctx, lc->sk, t, IPPROTO_IPV6); in bpf_test_ipv6_sockopt()
193 static int bpf_test_tcp_sockopt(__u32 i, struct loop_ctx *lc) in bpf_test_tcp_sockopt() argument
206 ctx = lc->ctx; in bpf_test_tcp_sockopt()
207 sk = lc->sk; in bpf_test_tcp_sockopt()
[all …]
/linux-6.3-rc2/fs/ocfs2/
A Dstack_user.c811 complete(&lc->oc_sync_wait); in sync_wait_cb()
902 lc->oc_version_lksb.sb_lvbptr = lc->oc_lvb; in get_protocol_version()
956 lc->oc_our_slot = our_slot; in user_recover_done()
957 wake_up(&lc->oc_wait); in user_recover_done()
985 if (!lc) in user_cluster_connect()
991 conn->cc_private = lc; in user_cluster_connect()
992 lc->oc_type = NO_CONTROLD; in user_cluster_connect()
1008 lc->oc_type = WITH_CONTROLD; in user_cluster_connect()
1030 wait_event(lc->oc_wait, (atomic_read(&lc->oc_this_node) > 0)); in user_cluster_connect()
1045 lc = NULL; in user_cluster_connect()
[all …]
/linux-6.3-rc2/arch/ia64/lib/
A Dxor.S16 .save ar.lc, r30
17 mov r30 = ar.lc
30 mov ar.lc = in0
43 mov ar.lc = r30
54 .save ar.lc, r30
55 mov r30 = ar.lc
69 mov ar.lc = in0
84 mov ar.lc = r30
96 mov r30 = ar.lc
110 mov ar.lc = in0
[all …]
A Dflush.S43 .save ar.lc,r3
44 mov r3=ar.lc // save ar.lc
48 mov ar.lc=r8
62 mov ar.lc=r3 // restore ar.lc
98 .save ar.lc,r3
99 mov r3=ar.lc // save ar.lc
103 mov ar.lc=r8
118 mov ar.lc=r3 // restore ar.lc
A Dclear_user.S61 .save ar.lc, saved_lc
62 mov saved_lc=ar.lc // preserve ar.lc (slow)
70 mov ar.lc=tmp // initialize lc for small count
91 mov ar.lc=saved_lc
127 mov ar.lc=tmp
155 mov ar.lc=saved_lc
209 mov ar.lc=saved_lc
A Dstrnlen_user.S22 .save ar.lc, r16
23 mov r16=ar.lc // preserve ar.lc
29 mov ar.lc=r3
45 mov ar.lc=r16 // restore ar.lc
A Dclear_page.S38 .save ar.lc, saved_lc
39 mov saved_lc = ar.lc
42 mov ar.lc = (PREFETCH_LINES - 1)
52 mov ar.lc = r16 // one L3 line per iteration
76 mov ar.lc = saved_lc // restore lc
A Dcopy_user.S88 .save ar.lc, saved_lc
119 mov ar.lc=saved_lc
194 mov ar.lc=cnt
218 mov ar.lc=cnt
305 mov ar.lc=len1
312 mov ar.lc=saved_lc
371 mov ar.lc=tmp
403 mov ar.lc=saved_lc
447 mov ar.lc=saved_lc
558 mov ar.lc=saved_lc
[all …]
/linux-6.3-rc2/drivers/accessibility/speakup/
A Dgenmap.c75 lc++; in main()
130 for (lc = 1; lc <= max_key_used; lc++) { in main()
131 kp = key_data[lc]; in main()
151 for (lc = 1; lc <= max_key_used; lc++) { in main()
152 kp = key_data[lc]; in main()
155 printf("\n\t%d,", lc); in main()
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb/
A Dsubr.c159 lc->fc = (unsigned char)fc; in t1_link_changed()
645 lc->speed = lc->requested_speed; in t1_link_start()
646 lc->duplex = lc->requested_duplex; in t1_link_start()
649 lc->duplex, fc); in t1_link_start()
652 phy->ops->set_speed_duplex(phy, lc->speed, lc->duplex); in t1_link_start()
1050 lc->supported = bi->caps; in init_link_config()
1051 lc->requested_speed = lc->speed = SPEED_INVALID; in init_link_config()
1052 lc->requested_duplex = lc->duplex = DUPLEX_INVALID; in init_link_config()
1053 lc->requested_fc = lc->fc = PAUSE_RX | PAUSE_TX; in init_link_config()
1055 lc->advertising = lc->supported; in init_link_config()
[all …]
/linux-6.3-rc2/fs/affs/
A Dsymlink.c23 char lc; in affs_symlink_read_folio() local
33 lc = 0; in affs_symlink_read_folio()
48 lc = '/'; in affs_symlink_read_folio()
51 if (c == '/' && lc == '/' && i < 1020) { /* parent dir */ in affs_symlink_read_folio()
56 lc = c; in affs_symlink_read_folio()
/linux-6.3-rc2/Documentation/networking/devlink/
A Ddevlink-linecard.rst112 $ devlink lc show [ DEV [ lc LC_INDEX ] ]
113 $ devlink lc set DEV lc LC_INDEX [ { type LC_TYPE | notype } ]
116 $ devlink lc
119 $ devlink lc set pci/0000:01:00.0 lc 8 type 16x100G
122 $ devlink lc set pci/0000:01:00.0 lc 8 notype
/linux-6.3-rc2/arch/powerpc/kernel/
A Dio.c126 u32 lc = c; in _memset_io() local
127 lc |= lc << 8; in _memset_io()
128 lc |= lc << 16; in _memset_io()
137 *((volatile u32 *)p) = lc; in _memset_io()
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4vf/
A Dt4vf_hw.c460 lc->pcaps = pcaps; in init_link_config()
461 lc->lpacaps = 0; in init_link_config()
463 lc->speed = 0; in init_link_config()
464 lc->requested_fc = lc->fc = PAUSE_RX | PAUSE_TX; in init_link_config()
471 lc->fec = lc->auto_fec; in init_link_config()
485 lc->acaps = 0; in init_link_config()
2015 if (link_ok != lc->link_ok || speed != lc->speed || in t4vf_handle_get_port_info()
2016 fc != lc->fc || adv_fc != lc->advertised_fc || in t4vf_handle_get_port_info()
2029 lc->fc = fc; in t4vf_handle_get_port_info()
2030 lc->fec = fec; in t4vf_handle_get_port_info()
[all …]
/linux-6.3-rc2/drivers/usb/serial/
A Dxr_serial.c743 struct usb_cdc_line_coding *lc; in xr_cdc_set_line_coding() local
746 lc = kzalloc(sizeof(*lc), GFP_KERNEL); in xr_cdc_set_line_coding()
747 if (!lc) in xr_cdc_set_line_coding()
753 lc->dwDTERate = cpu_to_le32(9600); in xr_cdc_set_line_coding()
773 lc->bParityType = USB_CDC_NO_PARITY; in xr_cdc_set_line_coding()
787 lc->bDataBits = 5; in xr_cdc_set_line_coding()
790 lc->bDataBits = 6; in xr_cdc_set_line_coding()
793 lc->bDataBits = 7; in xr_cdc_set_line_coding()
797 lc->bDataBits = 8; in xr_cdc_set_line_coding()
805 lc, sizeof(*lc), USB_CTRL_SET_TIMEOUT); in xr_cdc_set_line_coding()
[all …]

Completed in 54 milliseconds

12345