| /linux/lib/ |
| H A D | lru_cache.c | 29 BUG_ON(!lc); \ 30 BUG_ON(!lc->nr_elements); \ 31 BUG_ON(test_and_set_bit(__LC_PARANOIA, &lc->flags)); \ 35 clear_bit_unlock(__LC_PARANOIA, &lc->flags); \ 39 #define PARANOIA_LC_ELEMENT(lc, e) do { \ argument 40 struct lru_cache *lc_ = (lc); \ 55 int lc_try_lock(struct lru_cache *lc) in lc_try_lock() argument 59 val = cmpxchg(&lc->flags, 0, LC_LOCKED); in lc_try_lock() 83 struct lru_cache *lc; in lc_create() local 104 lc = kzalloc_obj(*lc); in lc_create() [all …]
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | devlink_linecard.sh | 39 local lc=$1 41 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].state" 46 local lc=$1 50 busywait "$timeout" until_lc_state_is_not "$state" lc_state_get "$lc" 55 local lc=$1 59 busywait "$timeout" until_lc_state_is "$state" lc_state_get "$lc" 73 local lc=$1 75 devlink port -j | jq -e -r ".[][] | select(.lc==$lc) | .port" | wc -l 80 local lc=$1 84 busywait "$timeout" until_lc_port_count_is "$port_count" lc_port_count_get "$lc" [all …]
|
| /linux/drivers/md/ |
| H A D | dm-log.c | 299 static int rw_header(struct log_c *lc, enum req_op op) in rw_header() argument 301 lc->io_req.bi_opf = op; in rw_header() 303 return dm_io(&lc->io_req, 1, &lc->header_location, NULL, NULL, IOPRIO_DEFAULT); in rw_header() 306 static int flush_header(struct log_c *lc) in flush_header() argument 309 .bdev = lc->header_location.bdev, in flush_header() 314 lc->io_req.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in flush_header() 316 return dm_io(&lc->io_req, 1, &null_location, NULL, NULL, IOPRIO_DEFAULT); in flush_header() 374 struct log_c *lc; in create_log_context() local 409 lc = kmalloc_obj(*lc); in create_log_context() 410 if (!lc) { in create_log_context() [all …]
|
| H A D | dm-log-writes.c | 138 static inline sector_t bio_to_dev_sectors(struct log_writes_c *lc, in bio_to_dev_sectors() argument 141 return sectors >> (lc->sectorshift - SECTOR_SHIFT); in bio_to_dev_sectors() 144 static inline sector_t dev_to_bio_sectors(struct log_writes_c *lc, in dev_to_bio_sectors() argument 147 return sectors << (lc->sectorshift - SECTOR_SHIFT); in dev_to_bio_sectors() 150 static void put_pending_block(struct log_writes_c *lc) in put_pending_block() argument 152 if (atomic_dec_and_test(&lc->pending_blocks)) { in put_pending_block() 154 if (waitqueue_active(&lc->wait)) in put_pending_block() 155 wake_up(&lc->wait); in put_pending_block() 159 static void put_io_block(struct log_writes_c *lc) in put_io_block() argument 161 if (atomic_dec_and_test(&lc->io_blocks)) { in put_io_block() [all …]
|
| H A D | dm-linear.c | 32 struct linear_c *lc; in linear_ctr() local 42 lc = kmalloc_obj(*lc); in linear_ctr() 43 if (lc == NULL) { in linear_ctr() 53 lc->start = tmp; in linear_ctr() 55 ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &lc->dev); in linear_ctr() 66 ti->private = lc; in linear_ctr() 70 kfree(lc); in linear_ctr() 76 struct linear_c *lc = ti->private; in linear_dtr() local 78 dm_put_device(ti, lc->dev); in linear_dtr() 79 kfree(lc); in linear_dtr() [all …]
|
| /linux/arch/s390/include/asm/ |
| H A D | vtime.h | 15 struct lowcore *lc = get_lowcore(); in update_timer_sys() local 17 lc->system_timer += lc->last_update_timer - lc->exit_timer; in update_timer_sys() 18 lc->user_timer += lc->exit_timer - lc->sys_enter_timer; in update_timer_sys() 19 lc->last_update_timer = lc->sys_enter_timer; in update_timer_sys() 24 struct lowcore *lc = get_lowcore(); in update_timer_mcck() local 26 lc->system_timer += lc->last_update_timer - lc->exit_timer; in update_timer_mcck() 27 lc->user_timer += lc->exit_timer - lc->mcck_enter_timer; in update_timer_mcck() 28 lc->last_update_timer = lc->mcck_enter_timer; in update_timer_mcck() 34 struct lowcore *lc = get_lowcore(); in update_timer_idle() local 53 lc->steal_timer += idle->clock_idle_enter.tod - lc->last_update_clock; in update_timer_idle() [all …]
|
| H A D | entry-percpu.h | 12 struct lowcore *lc = get_lowcore(); in percpu_entry() local 14 regs->cpu = lc->cpu_nr; in percpu_entry() 15 regs->percpu_register = lc->percpu_register; in percpu_entry() 16 lc->percpu_register = 0; in percpu_entry() 22 struct lowcore *lc = get_lowcore(); in percpu_exit() local 27 lc->percpu_register = regval; in percpu_exit() 29 if (regs->cpu == lc->cpu_nr) in percpu_exit() 39 regs->gprs[regoff] = lc->percpu_offset; in percpu_exit()
|
| /linux/arch/s390/kernel/ |
| H A D | vtime.c | 33 struct lowcore *lc = get_lowcore(); in cpu_timer_init() local 40 lc->system_timer += lc->last_update_timer - timer; in cpu_timer_init() 41 lc->last_update_timer = value; in cpu_timer_init() 99 static inline void vtime_reset_last_update(struct lowcore *lc) in vtime_reset_last_update() argument 104 : "=Q" (lc->last_update_timer), in vtime_reset_last_update() 105 "=Q" (lc->last_update_clock) in vtime_reset_last_update() 116 struct lowcore *lc = get_lowcore(); in do_account_vtime() local 118 timer = lc->last_update_timer; in do_account_vtime() 119 clock = lc->last_update_clock; in do_account_vtime() 121 vtime_reset_last_update(lc); in do_account_vtime() [all …]
|
| H A D | smp.c | 185 struct lowcore *lc; in pcpu_alloc_lowcore() local 187 lc = (struct lowcore *) __get_free_pages(GFP_KERNEL | GFP_DMA, LC_ORDER); in pcpu_alloc_lowcore() 191 if (!lc || !nodat_stack || !async_stack || !mcck_stack) in pcpu_alloc_lowcore() 193 memcpy(lc, get_lowcore(), 512); in pcpu_alloc_lowcore() 194 memset((char *) lc + 512, 0, sizeof(*lc) - 512); in pcpu_alloc_lowcore() 195 lc->async_stack = async_stack + STACK_INIT_OFFSET; in pcpu_alloc_lowcore() 196 lc->nodat_stack = nodat_stack + STACK_INIT_OFFSET; in pcpu_alloc_lowcore() 197 lc->mcck_stack = mcck_stack + STACK_INIT_OFFSET; in pcpu_alloc_lowcore() 198 lc->cpu_nr = cpu; in pcpu_alloc_lowcore() 199 lc->spinlock_lockval = arch_spin_lockval(cpu); in pcpu_alloc_lowcore() [all …]
|
| H A D | nmi.c | 122 struct lowcore *lc = get_lowcore(); in nmi_print_info() local 128 ptr = u64_to_hex(ptr, lc->mcck_interruption_code); in nmi_print_info() 141 ptr = u64_to_hex(ptr, lc->mcck_old_psw.mask); in nmi_print_info() 143 ptr = u64_to_hex(ptr, lc->mcck_old_psw.addr); in nmi_print_info() 150 ptr = u64_to_hex(ptr, lc->last_break_save_area); in nmi_print_info() 152 ptr = u64_to_hex(ptr, lc->external_damage_code); in nmi_print_info() 154 ptr = u64_to_hex(ptr, lc->failing_storage_address); in nmi_print_info() 162 ptr = u64_to_hex(ptr, lc->cregs_save_area[i].val); in nmi_print_info() 175 ptr = u64_to_hex(ptr, lc->gpregs_save_area[i]); in nmi_print_info() 190 struct lowcore *lc = get_lowcore(); in s390_handle_damage() local [all …]
|
| H A D | early.c | 155 struct lowcore *lc = get_lowcore(); in __do_early_pgm_check() local 158 regs->int_code = lc->pgm_int_code; in __do_early_pgm_check() 159 regs->int_parm_long = lc->trans_exc_code; in __do_early_pgm_check() 160 regs->last_break = lc->pgm_last_break; in __do_early_pgm_check() 161 regs->monitor_code = lc->monitor_code; in __do_early_pgm_check() 200 struct lowcore *lc = get_lowcore(); in setup_lowcore_early() local 205 lc->program_new_psw = psw; in setup_lowcore_early() 206 lc->preempt_count = INIT_PREEMPT_COUNT; in setup_lowcore_early() 207 lc->return_lpswe = gen_lpswe(__LC_RETURN_PSW); in setup_lowcore_early() 208 lc->return_mcck_lpswe = gen_lpswe(__LC_RETURN_MCCK_PSW); in setup_lowcore_early()
|
| H A D | traps.c | 340 struct lowcore *lc = get_lowcore(); in trap_init() 346 psw_bits(lc->external_new_psw).mcheck = 1; in trap_init() 347 psw_bits(lc->program_new_psw).mcheck = 1; in trap_init() 348 psw_bits(lc->svc_new_psw).mcheck = 1; 349 psw_bits(lc->io_new_psw).mcheck = 1; 360 struct lowcore *lc = get_lowcore(); in __do_pgm_check() 366 teid.val = lc->trans_exc_code; in __do_pgm_check() 367 regs->int_code = lc->pgm_int_code; in __do_pgm_check() 369 regs->monitor_code = lc->monitor_code; in __do_pgm_check() 397 if (lc in __do_pgm_check() 333 struct lowcore *lc = get_lowcore(); trap_init() local 353 struct lowcore *lc = get_lowcore(); __do_pgm_check() local [all...] |
| H A D | crash_dump.c | 89 struct lowcore *lc; in save_area_add_regs() local 91 lc = (struct lowcore *)(regs - __LC_FPREGS_SAVE_AREA); in save_area_add_regs() 92 memcpy(&sa->psw, &lc->psw_save_area, sizeof(sa->psw)); in save_area_add_regs() 93 memcpy(&sa->ctrs, &lc->cregs_save_area, sizeof(sa->ctrs)); in save_area_add_regs() 94 memcpy(&sa->gprs, &lc->gpregs_save_area, sizeof(sa->gprs)); in save_area_add_regs() 95 memcpy(&sa->acrs, &lc->access_regs_save_area, sizeof(sa->acrs)); in save_area_add_regs() 96 memcpy(&sa->fprs, &lc->floating_pt_save_area, sizeof(sa->fprs)); in save_area_add_regs() 97 memcpy(&sa->fpc, &lc->fpt_creg_save_area, sizeof(sa->fpc)); in save_area_add_regs() 98 memcpy(&sa->prefix, &lc->prefixreg_save_area, sizeof(sa->prefix)); in save_area_add_regs() 99 memcpy(&sa->todpreg, &lc->tod_progreg_save_area, sizeof(sa->todpreg)); in save_area_add_regs() [all …]
|
| /linux/include/linux/ |
| H A D | lru_cache.h | 241 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); 245 extern struct lc_element *lc_get_cumulative(struct lru_cache *lc, unsigned int enr); 246 extern struct lc_element *lc_try_get(struct lru_cache *lc, unsigned int enr); 247 extern struct lc_element *lc_find(struct lru_cache *lc, unsigned int enr); 248 extern struct lc_element *lc_get(struct lru_cache *lc, unsigned int enr); 249 extern unsigned int lc_put(struct lru_cache *lc, struct lc_element *e); 250 extern void lc_committed(struct lru_cache *lc); 253 extern void lc_seq_printf_stats(struct seq_file *seq, struct lru_cache *lc); [all …]
|
| /linux/net/rds/ |
| H A D | loop.c | 141 struct rds_loop_connection *lc; in rds_loop_conn_alloc() local 144 lc = kzalloc_obj(struct rds_loop_connection, gfp); in rds_loop_conn_alloc() 145 if (!lc) in rds_loop_conn_alloc() 148 INIT_LIST_HEAD(&lc->loop_node); in rds_loop_conn_alloc() 149 lc->conn = conn; in rds_loop_conn_alloc() 150 conn->c_transport_data = lc; in rds_loop_conn_alloc() 153 list_add_tail(&lc->loop_node, &loop_conns); in rds_loop_conn_alloc() 161 struct rds_loop_connection *lc = arg; in rds_loop_conn_free() local 164 rdsdebug("lc %p\n", lc); in rds_loop_conn_free() 166 list_del(&lc->loop_node); in rds_loop_conn_free() [all …]
|
| /linux/tools/testing/selftests/powerpc/papr_vpd/ |
| H A D | papr_vpd.c | 32 struct papr_location_code lc = { .str = "", }; in dev_papr_vpd_get_handle_all() local 42 fd = ioctl(devfd, PAPR_VPD_IOC_CREATE_HANDLE, &lc); in dev_papr_vpd_get_handle_all() 71 struct papr_location_code lc = { .str = "", }; in dev_papr_vpd_get_handle_byte_at_a_time() local 80 fd = ioctl(devfd, PAPR_VPD_IOC_CREATE_HANDLE, &lc); in dev_papr_vpd_get_handle_byte_at_a_time() 112 struct papr_location_code lc = {}; in dev_papr_vpd_unterm_loc_code() local 124 memset(lc.str, 'x', ARRAY_SIZE(lc.str)); in dev_papr_vpd_unterm_loc_code() 127 fd = ioctl(devfd, PAPR_VPD_IOC_CREATE_HANDLE, &lc); in dev_papr_vpd_unterm_loc_code() 157 struct papr_location_code lc = { .str = "", }; in papr_vpd_close_handle_without_reading() local 166 fd = ioctl(devfd, PAPR_VPD_IOC_CREATE_HANDLE, &lc); in papr_vpd_close_handle_without_reading() 180 struct papr_location_code lc = { .str = "", }; in papr_vpd_reread() local [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | setget_sockopt.c | 157 static int bpf_test_socket_sockopt(__u32 i, struct loop_ctx *lc) in bpf_test_socket_sockopt() argument 169 return bpf_test_sockopt_flip(lc->ctx, lc->sk, t, SOL_SOCKET); in bpf_test_socket_sockopt() 171 return bpf_test_sockopt_int(lc->ctx, lc->sk, t, SOL_SOCKET); in bpf_test_socket_sockopt() 174 static int bpf_test_ip_sockopt(__u32 i, struct loop_ctx *lc) in bpf_test_ip_sockopt() argument 186 return bpf_test_sockopt_flip(lc->ctx, lc->sk, t, IPPROTO_IP); in bpf_test_ip_sockopt() 188 return bpf_test_sockopt_int(lc->ctx, lc in bpf_test_ip_sockopt() 191 bpf_test_ipv6_sockopt(__u32 i,struct loop_ctx * lc) bpf_test_ipv6_sockopt() argument 208 bpf_test_tcp_sockopt(__u32 i,struct loop_ctx * lc) bpf_test_tcp_sockopt() argument 261 struct loop_ctx lc = { .ctx = ctx, .sk = sk, }; bpf_test_sockopt() local [all...] |
| /linux/fs/f2fs/ |
| H A D | checkpoint.c | 43 struct f2fs_lock_context *lc) in trace_lock_elapsed_time_start() argument 45 lc->lock_trace = trace_f2fs_lock_elapsed_time_enabled(); in trace_lock_elapsed_time_start() 46 if (!lc->lock_trace) in trace_lock_elapsed_time_start() 49 get_lock_elapsed_time(&lc->ts); in trace_lock_elapsed_time_start() 53 struct f2fs_lock_context *lc, bool is_write) in trace_lock_elapsed_time_end() argument 63 if (!lc->lock_trace) in trace_lock_elapsed_time_end() 71 total_time = div_u64(tts.total_time - lc->ts.total_time, npm); in trace_lock_elapsed_time_end() 76 running_time = div_u64(tts.running_time - lc->ts.running_time, npm); in trace_lock_elapsed_time_end() 79 runnable_time = div_u64(tts.runnable_time - lc->ts.runnable_time, npm); in trace_lock_elapsed_time_end() 82 io_sleep_time = div_u64(tts.io_sleep_time - lc in trace_lock_elapsed_time_end() 118 uplift_priority(struct f2fs_rwsem * sem,struct f2fs_lock_context * lc,bool is_write) uplift_priority() argument 139 restore_priority(struct f2fs_rwsem * sem,struct f2fs_lock_context * lc,bool is_write) restore_priority() argument 153 f2fs_down_read_trace(struct f2fs_rwsem * sem,struct f2fs_lock_context * lc) f2fs_down_read_trace() argument 160 f2fs_down_read_trylock_trace(struct f2fs_rwsem * sem,struct f2fs_lock_context * lc) f2fs_down_read_trylock_trace() argument 171 f2fs_up_read_trace(struct f2fs_rwsem * sem,struct f2fs_lock_context * lc) f2fs_up_read_trace() argument 178 f2fs_down_write_trace(struct f2fs_rwsem * sem,struct f2fs_lock_context * lc) f2fs_down_write_trace() argument 185 f2fs_down_write_trylock_trace(struct f2fs_rwsem * sem,struct f2fs_lock_context * lc) f2fs_down_write_trylock_trace() argument 196 f2fs_up_write_trace(struct f2fs_rwsem * sem,struct f2fs_lock_context * lc) f2fs_up_write_trace() argument 203 f2fs_lock_op(struct f2fs_sb_info * sbi,struct f2fs_lock_context * lc) f2fs_lock_op() argument 208 f2fs_trylock_op(struct f2fs_sb_info * sbi,struct f2fs_lock_context * lc) f2fs_trylock_op() argument 216 f2fs_unlock_op(struct f2fs_sb_info * sbi,struct f2fs_lock_context * lc) f2fs_unlock_op() argument 580 struct f2fs_lock_context lc; f2fs_write_meta_pages() local 1957 struct f2fs_lock_context lc; f2fs_write_checkpoint() local 2110 struct f2fs_lock_context lc; __write_checkpoint_sync() local 2203 struct f2fs_lock_context lc; f2fs_issue_checkpoint() local [all...] |
| H A D | namei.c | 372 struct f2fs_lock_context lc; in f2fs_create() local 395 f2fs_lock_op(sbi, &lc); in f2fs_create() 399 f2fs_unlock_op(sbi, &lc); in f2fs_create() 414 f2fs_handle_failed_inode(inode, &lc, true); in f2fs_create() 423 struct f2fs_lock_context lc; in f2fs_link() local 453 f2fs_lock_op(sbi, &lc); in f2fs_link() 457 f2fs_unlock_op(sbi, &lc); in f2fs_link() 470 f2fs_unlock_op(sbi, &lc); in f2fs_link() 575 struct f2fs_lock_context lc; in __do_unlink() 608 f2fs_lock_op(sbi, &lc); in __do_unlink() 574 struct f2fs_lock_context lc; __do_unlink() local 669 struct f2fs_lock_context lc; f2fs_symlink() local 758 struct f2fs_lock_context lc; f2fs_mkdir() local 817 struct f2fs_lock_context lc; f2fs_mknod() local 865 struct f2fs_lock_context lc; __f2fs_tmpfile() local 975 struct f2fs_lock_context lc; f2fs_rename() local 1182 struct f2fs_lock_context lc; f2fs_cross_rename() local [all...] |
| /linux/Documentation/networking/devlink/ |
| H A D | devlink-linecard.rst | 112 $ 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/drivers/net/ethernet/chelsio/cxgb4vf/ |
| H A D | t4vf_hw.c | 456 static void init_link_config(struct link_config *lc, in init_link_config() argument 460 lc->pcaps = pcaps; in init_link_config() 461 lc->lpacaps = 0; in init_link_config() 462 lc->speed_caps = 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() 469 lc->auto_fec = fwcap_to_cc_fec(acaps); in init_link_config() 470 lc->requested_fec = FEC_AUTO; in init_link_config() 471 lc->fec = lc->auto_fec; in init_link_config() 480 if (lc->pcaps & FW_PORT_CAP32_ANEG) { in init_link_config() [all …]
|
| /linux/drivers/gpio/ |
| H A D | gpiolib-cdev.c | 965 static bool gpio_v2_line_config_debounced(struct gpio_v2_line_config *lc, in gpio_v2_line_config_debounce_period() 971 for (i = 0; i < lc->num_attrs; i++) { in gpio_v2_line_config_debounce_period() 972 if ((lc->attrs[i].attr.id == GPIO_V2_LINE_ATTR_ID_DEBOUNCE) && in gpio_v2_line_config_debounce_period() 973 (lc->attrs[i].mask & mask)) in gpio_v2_line_config_debounce_period() 979 static u32 gpio_v2_line_config_debounce_period(struct gpio_v2_line_config *lc, in edge_detector_stop() 985 for (i = 0; i < lc->num_attrs; i++) { in edge_detector_stop() 986 if ((lc->attrs[i].attr.id == GPIO_V2_LINE_ATTR_ID_DEBOUNCE) && in edge_detector_stop() 987 (lc->attrs[i].mask & mask)) in edge_detector_stop() 988 return lc->attrs[i].attr.debounce_period_us; in edge_detector_stop() 1039 struct gpio_v2_line_config *lc, in edge_detector_setup() 947 gpio_v2_line_config_debounced(struct gpio_v2_line_config * lc,unsigned int line_idx) gpio_v2_line_config_debounced() argument 961 gpio_v2_line_config_debounce_period(struct gpio_v2_line_config * lc,unsigned int line_idx) gpio_v2_line_config_debounce_period() argument 1004 edge_detector_setup(struct line * line,struct gpio_v2_line_config * lc,unsigned int line_idx,u64 edflags) edge_detector_setup() argument 1064 edge_detector_update(struct line * line,struct gpio_v2_line_config * lc,unsigned int line_idx,u64 edflags) edge_detector_update() argument 1097 gpio_v2_line_config_flags(struct gpio_v2_line_config * lc,unsigned int line_idx) gpio_v2_line_config_flags() argument 1111 gpio_v2_line_config_output_value(struct gpio_v2_line_config * lc,unsigned int line_idx) gpio_v2_line_config_output_value() argument 1184 gpio_v2_line_config_validate(struct gpio_v2_line_config * lc,unsigned int num_lines) gpio_v2_line_config_validate() argument 1391 struct gpio_v2_line_config lc; linereq_set_config() local 1607 struct gpio_v2_line_config *lc; linereq_create() local [all...] |
| /linux/drivers/usb/serial/ |
| H A D | xr_serial.c | 757 struct usb_cdc_line_coding *lc; in xr_cdc_set_line_coding() local 760 lc = kzalloc_obj(*lc); in xr_cdc_set_line_coding() 761 if (!lc) in xr_cdc_set_line_coding() 765 lc->dwDTERate = cpu_to_le32(tty->termios.c_ospeed); in xr_cdc_set_line_coding() 767 lc->dwDTERate = cpu_to_le32(9600); in xr_cdc_set_line_coding() 770 lc->bCharFormat = USB_CDC_2_STOP_BITS; in xr_cdc_set_line_coding() 772 lc->bCharFormat = USB_CDC_1_STOP_BITS; in xr_cdc_set_line_coding() 777 lc->bParityType = USB_CDC_MARK_PARITY; in xr_cdc_set_line_coding() 779 lc->bParityType = USB_CDC_SPACE_PARITY; in xr_cdc_set_line_coding() 782 lc->bParityType = USB_CDC_ODD_PARITY; in xr_cdc_set_line_coding() [all …]
|
| /linux/drivers/net/ethernet/chelsio/cxgb3/ |
| H A D | t3_hw.c | 1181 struct link_config *lc = &pi->link_config; in t3_link_changed() local 1185 if (!lc->link_ok && link_ok) { in t3_link_changed() 1202 if (lc->requested_fc & PAUSE_AUTONEG) in t3_link_changed() 1203 fc &= lc->requested_fc; in t3_link_changed() 1205 fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in t3_link_changed() 1207 if (link_ok == lc->link_ok && speed == lc->speed && in t3_link_changed() 1208 duplex == lc->duplex && fc == lc->fc) in t3_link_changed() 1211 if (link_ok != lc->link_ok && adapter->params.rev > 0 && in t3_link_changed() 1218 lc->link_ok = link_ok; in t3_link_changed() 1219 lc->speed = speed < 0 ? SPEED_INVALID : speed; in t3_link_changed() [all …]
|
| /linux/arch/s390/lib/ |
| H A D | uaccess.c | 22 struct lowcore *lc = get_lowcore(); in debug_user_asce() local 27 if (cr1.val == lc->user_asce.val && cr7.val == lc->user_asce.val) in debug_user_asce() 33 lc->kernel_asce.val, lc->user_asce.val); in debug_user_asce()
|