Home
last modified time | relevance | path

Searched refs:ln (Results 1 – 25 of 105) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/scsi/csiostor/
Dcsio_lnode.c117 struct csio_lnode *ln; in csio_ln_lookup_by_portid() local
122 ln = (struct csio_lnode *) tmp; in csio_ln_lookup_by_portid()
123 if (ln->portid == portid) in csio_ln_lookup_by_portid()
124 return ln; in csio_ln_lookup_by_portid()
270 struct csio_lnode *ln = fdmi_req->lnode; in csio_ln_fdmi_done() local
273 csio_ln_dbg(ln, "WR error:%x in processing fdmi rpa cmd\n", in csio_ln_fdmi_done()
275 CSIO_INC_STATS(ln, n_fdmi_err); in csio_ln_fdmi_done()
280 csio_ln_dbg(ln, "fdmi rpa cmd rejected reason %x expl %x\n", in csio_ln_fdmi_done()
299 struct csio_lnode *ln = fdmi_req->lnode; in csio_ln_fdmi_rhba_cbfn() local
307 csio_ln_dbg(ln, "WR error:%x in processing fdmi rhba cmd\n", in csio_ln_fdmi_rhba_cbfn()
[all …]
Dcsio_attr.c48 csio_vport_set_state(struct csio_lnode *ln);
61 struct csio_lnode *ln = csio_rnode_to_lnode(rn); in csio_reg_rnode() local
62 struct Scsi_Host *shost = csio_ln_to_shost(ln); in csio_reg_rnode()
80 csio_ln_err(ln, "Failed to register rport = 0x%x.\n", in csio_reg_rnode()
85 ln->num_reg_rnodes++; in csio_reg_rnode()
108 csio_ln_dbg(ln, "Remote port x%x role 0x%x registered\n", in csio_reg_rnode()
123 struct csio_lnode *ln = csio_rnode_to_lnode(rn); in csio_unreg_rnode() local
128 ln->num_reg_rnodes--; in csio_unreg_rnode()
130 csio_ln_dbg(ln, "Remote port x%x un-registered\n", rn->nport_id); in csio_unreg_rnode()
141 csio_lnode_async_event(struct csio_lnode *ln, enum csio_ln_fc_evt fc_evt) in csio_lnode_async_event() argument
[all …]
Dcsio_rnode.c121 csio_rn_lookup(struct csio_lnode *ln, uint32_t flowid) in csio_rn_lookup() argument
123 struct csio_rnode *rnhead = (struct csio_rnode *) &ln->rnhead; in csio_rn_lookup()
145 csio_rn_lookup_wwpn(struct csio_lnode *ln, uint8_t *wwpn) in csio_rn_lookup_wwpn() argument
147 struct csio_rnode *rnhead = (struct csio_rnode *) &ln->rnhead; in csio_rn_lookup_wwpn()
169 csio_rnode_lookup_portid(struct csio_lnode *ln, uint32_t portid) in csio_rnode_lookup_portid() argument
171 struct csio_rnode *rnhead = (struct csio_rnode *) &ln->rnhead; in csio_rnode_lookup_portid()
185 csio_rn_dup_flowid(struct csio_lnode *ln, uint32_t rdev_flowid, in csio_rn_dup_flowid() argument
192 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_rn_dup_flowid()
196 if (ln_tmp == ln) in csio_rn_dup_flowid()
216 csio_alloc_rnode(struct csio_lnode *ln) in csio_alloc_rnode() argument
[all …]
Dcsio_lnode.h204 #define csio_lnode_to_hw(ln) ((ln)->hwp) argument
205 #define csio_root_lnode(ln) (csio_lnode_to_hw((ln))->rln) argument
206 #define csio_parent_lnode(ln) ((ln)->pln) argument
207 #define csio_ln_flowid(ln) ((ln)->vnp_flowid) argument
208 #define csio_ln_wwpn(ln) ((ln)->ln_sparm.wwpn) argument
209 #define csio_ln_wwnn(ln) ((ln)->ln_sparm.wwnn) argument
211 #define csio_is_root_ln(ln) (((ln) == csio_root_lnode((ln))) ? 1 : 0) argument
212 #define csio_is_phys_ln(ln) (((ln)->pln == NULL) ? 1 : 0) argument
213 #define csio_is_npiv_ln(ln) (((ln)->pln != NULL) ? 1 : 0) argument
238 void csio_lnode_state_to_str(struct csio_lnode *ln, int8_t *str);
Dcsio_init.c597 struct csio_lnode *ln; in csio_shost_init() local
618 ln = shost_priv(shost); in csio_shost_init()
619 memset(ln, 0, sizeof(struct csio_lnode)); in csio_shost_init()
622 ln->dev_num = (shost->host_no << 16); in csio_shost_init()
638 hw->rln = ln; in csio_shost_init()
641 if (csio_lnode_init(ln, hw, pln)) in csio_shost_init()
647 return ln; in csio_shost_init()
650 csio_lnode_exit(ln); in csio_shost_init()
663 csio_shost_exit(struct csio_lnode *ln) in csio_shost_exit() argument
665 struct Scsi_Host *shost = csio_ln_to_shost(ln); in csio_shost_exit()
[all …]
Dcsio_scsi.c1194 struct csio_lnode *ln = ioreq->lnode; in csio_abrt_cls() local
1195 struct csio_hw *hw = ln->hwp; in csio_abrt_cls()
1205 ready = csio_is_lnode_ready(ln); in csio_abrt_cls()
1318 csio_scsim_cleanup_io_lnode(struct csio_scsim *scm, struct csio_lnode *ln) in csio_scsim_cleanup_io_lnode() argument
1325 csio_dbg(hw, "Gathering all SCSI I/Os on lnode %p\n", ln); in csio_scsim_cleanup_io_lnode()
1328 sld.lnode = ln; in csio_scsim_cleanup_io_lnode()
1329 INIT_LIST_HEAD(&ln->cmpl_q); in csio_scsim_cleanup_io_lnode()
1330 csio_scsi_gather_active_ios(scm, &sld, &ln->cmpl_q); in csio_scsim_cleanup_io_lnode()
1333 if (list_empty(&ln->cmpl_q)) in csio_scsim_cleanup_io_lnode()
1337 while (!list_empty(&ln->cmpl_q) && count--) { in csio_scsim_cleanup_io_lnode()
[all …]
Dcsio_init.h82 csio_ln_to_shost(struct csio_lnode *ln) in csio_ln_to_shost() argument
84 return container_of((void *)ln, struct Scsi_Host, hostdata[0]); in csio_ln_to_shost()
/kernel/linux/linux-5.10/Documentation/sphinx/
Dparse-headers.pl43 my $ln = $_;
45 $ln =~ s,/\*.*(\*/),,g;
47 $is_comment = 1 if ($ln =~ s,/\*.*,,);
49 if ($ln =~ s,^(.*\*/),,) {
56 if ($is_enum && $ln =~ m/^\s*([_\w][\w\d_]+)\s*[\,=]?/) {
69 if ($ln =~ m/^\s*#\s*define\s+([_\w][\w\d_]+)\s+_IO/) {
78 if ($ln =~ m/^\s*#\s*define\s+([_\w][\w\d_]+)\s+/) {
88 if ($ln =~ m/^\s*typedef\s+([_\w][\w\d_]+)\s+(.*)\s+([_\w][\w\d_]+);/) {
95 if ($ln =~ m/^\s*enum\s+([_\w][\w\d_]+)\s+\{/
96 || $ln =~ m/^\s*enum\s+([_\w][\w\d_]+)$/
[all …]
Dkernel_abi.py151 ln = 0
170 ln = int(match.group(2)) - 1
172 content.append(line, f, ln)
/kernel/linux/linux-5.10/fs/lockd/
Dsvc.c102 struct lockd_net *ln = container_of(dwork, struct lockd_net, in grace_ender() local
105 locks_end_grace(&ln->lockd_manager); in grace_ender()
111 struct lockd_net *ln = net_generic(net, lockd_net_id); in set_grace_period() local
113 locks_start_grace(net, &ln->lockd_manager); in set_grace_period()
114 cancel_delayed_work_sync(&ln->grace_period_end); in set_grace_period()
115 schedule_delayed_work(&ln->grace_period_end, grace_period); in set_grace_period()
122 struct lockd_net *ln = net_generic(net, lockd_net_id); in restart_grace() local
124 cancel_delayed_work_sync(&ln->grace_period_end); in restart_grace()
125 locks_end_grace(&ln->lockd_manager); in restart_grace()
140 struct lockd_net *ln = net_generic(net, lockd_net_id); in lockd() local
[all …]
Dprocfs.c25 struct lockd_net *ln = net_generic(current->nsproxy->net_ns, in nlm_end_grace_write() local
39 locks_end_grace(&ln->lockd_manager); in nlm_end_grace_write()
52 struct lockd_net *ln = net_generic(current->nsproxy->net_ns, in nlm_end_grace_read() local
56 resp[0] = list_empty(&ln->lockd_manager.list) ? 'Y' : 'N'; in nlm_end_grace_read()
Dhost.c181 struct lockd_net *ln = net_generic(host->net, lockd_net_id); in nlm_destroy_host_locked() local
196 ln->nrhosts--; in nlm_destroy_host_locked()
240 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlmclnt_lookup_host() local
275 ln->nrhosts++; in nlmclnt_lookup_host()
348 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlmsvc_lookup_host() local
356 if (time_after_eq(jiffies, ln->next_gc)) in nlmsvc_lookup_host()
394 ln->nrhosts++; in nlmsvc_lookup_host()
589 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlm_complain_hosts() local
591 if (ln->nrhosts == 0) in nlm_complain_hosts()
595 dprintk("lockd: %lu hosts left in net %x:\n", ln->nrhosts, in nlm_complain_hosts()
[all …]
Dmon.c320 struct lockd_net *ln = net_generic(net, lockd_net_id); in nsm_get_handle() local
335 cached = nsm_lookup_hostname(&ln->nsm_handles, in nsm_get_handle()
338 cached = nsm_lookup_addr(&ln->nsm_handles, sap); in nsm_get_handle()
352 list_add(&new->sm_link, &ln->nsm_handles); in nsm_get_handle()
380 struct lockd_net *ln = net_generic(net, lockd_net_id); in nsm_reboot_lookup() local
384 cached = nsm_lookup_priv(&ln->nsm_handles, &info->priv); in nsm_reboot_lookup()
/kernel/linux/linux-5.10/scripts/
Dget_abi.pl51 my ($file, $ln, $msg, $data) = @_;
55 print STDERR "Warning: file $file#$ln:\n\t$msg";
94 my $ln;
103 $ln++;
115 parse_error($file, $ln, "tag '$tag' is invalid", $_);
121 parse_error($file, $ln, "tag 'Where' is invalid. Should be 'What:' instead", "");
129 push @{$symbols{$content}->{file}}, " $file:" . ($ln - 1);
135 …parse_error($file, $ln, "What '$what' doesn't have a description", "") if (!$data{$what}->{descrip…
173 $data{$what}->{line_no} = $ln;
175 $data{$what}->{line_no} = $ln if (!defined($data{$what}->{line_no}));
[all …]
Ddocumentation-file-ref-check89 my $ln = $2;
101 next if ($ln =~ m,\b(\S*)Documentation/output,);
103 if ($ln =~ m,\b(\S*)(Documentation/[A-Za-z0-9\_\.\,\~/\*\[\]\?+-]*)(.*),) {
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_ddi.c2320 int n_entries, ln; in cnl_ddi_vswing_program() local
2353 for (ln = 0; ln < 4; ln++) { in cnl_ddi_vswing_program()
2354 val = intel_de_read(dev_priv, CNL_PORT_TX_DW4_LN(ln, port)); in cnl_ddi_vswing_program()
2360 intel_de_write(dev_priv, CNL_PORT_TX_DW4_LN(ln, port), val); in cnl_ddi_vswing_program()
2383 int width, rate, ln; in cnl_ddi_vswing_sequence() local
2415 for (ln = 0; ln <= 3; ln++) { in cnl_ddi_vswing_sequence()
2416 val = intel_de_read(dev_priv, CNL_PORT_TX_DW4_LN(ln, port)); in cnl_ddi_vswing_sequence()
2419 if ((rate <= 600000 && width == 4 && ln >= 1) || in cnl_ddi_vswing_sequence()
2420 (rate <= 600000 && width < 4 && (ln == 1 || ln == 2))) { in cnl_ddi_vswing_sequence()
2423 intel_de_write(dev_priv, CNL_PORT_TX_DW4_LN(ln, port), val); in cnl_ddi_vswing_sequence()
[all …]
/kernel/linux/linux-5.10/drivers/md/persistent-data/
Ddm-btree.c542 struct btree_node *ln, *rn, *pn; in btree_split_sibling() local
551 ln = dm_block_data(left); in btree_split_sibling()
554 nr_left = le32_to_cpu(ln->header.nr_entries) / 2; in btree_split_sibling()
555 nr_right = le32_to_cpu(ln->header.nr_entries) - nr_left; in btree_split_sibling()
557 ln->header.nr_entries = cpu_to_le32(nr_left); in btree_split_sibling()
559 rn->header.flags = ln->header.flags; in btree_split_sibling()
561 rn->header.max_entries = ln->header.max_entries; in btree_split_sibling()
562 rn->header.value_size = ln->header.value_size; in btree_split_sibling()
563 memcpy(rn->keys, ln->keys + nr_left, nr_right * sizeof(rn->keys[0])); in btree_split_sibling()
565 size = le32_to_cpu(ln->header.flags) & INTERNAL_NODE ? in btree_split_sibling()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_object.c110 struct i915_lut_handle *lut, *ln; in i915_gem_close_object() local
114 list_for_each_entry_safe(lut, ln, &obj->lut_list, obj_link) { in i915_gem_close_object()
123 if (&ln->obj_link != &obj->lut_list) { in i915_gem_close_object()
124 list_add_tail(&bookmark.obj_link, &ln->obj_link); in i915_gem_close_object()
126 list_safe_reset_next(&bookmark, ln, obj_link); in i915_gem_close_object()
137 list_for_each_entry_safe(lut, ln, &close, obj_link) { in i915_gem_close_object()
/kernel/linux/linux-5.10/drivers/video/fbdev/matrox/
Dmatroxfb_maven.c259 unsigned int ln; in matroxfb_PLL_mavenclock() local
267 ln = fxtal * n; in matroxfb_PLL_mavenclock()
270 if (ln % dvd) in matroxfb_PLL_mavenclock()
272 ln = ln / dvd; in matroxfb_PLL_mavenclock()
274 if (ln < scrlen + 2) in matroxfb_PLL_mavenclock()
276 ln = ln - scrlen; in matroxfb_PLL_mavenclock()
277 if (ln > htotal) in matroxfb_PLL_mavenclock()
279 dprintk(KERN_DEBUG "Match: %u / %u / %u / %u\n", n, m, p, ln); in matroxfb_PLL_mavenclock()
280 if (ln > besth2) { in matroxfb_PLL_mavenclock()
282 *h2 = besth2 = ln; in matroxfb_PLL_mavenclock()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_sk_assign.c93 struct bpf_sock_tuple ln = {0}; in handle_udp() local
125 struct bpf_sock_tuple ln = {0}; in handle_tcp() local
165 struct bpf_sock_tuple *tuple, ln = {0}; in bpf_sk_assign_test() local
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dsorgm200.c27 gm200_sor_dp_drive(struct nvkm_ior *sor, int ln, int pc, int dc, int pe, int pu) in gm200_sor_dp_drive() argument
31 const u32 shift = sor->func->dp.lanes[ln] * 8; in gm200_sor_dp_drive()
39 if ((data[2] & 0x00000f00) < (pu << 8) || ln == 0) in gm200_sor_dp_drive()
Dsorgf119.c71 gf119_sor_dp_drive(struct nvkm_ior *sor, int ln, int pc, int dc, int pe, int pu) in gf119_sor_dp_drive() argument
75 const u32 shift = sor->func->dp.lanes[ln] * 8; in gf119_sor_dp_drive()
81 if ((data[2] & 0x0000ff00) < (pu << 8) || ln == 0) in gf119_sor_dp_drive()
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfa_svc.c148 static void bfa_fcport_queue_cb(struct bfa_fcport_ln_s *ln,
189 static void bfa_fcport_ln_sm_dn(struct bfa_fcport_ln_s *ln,
191 static void bfa_fcport_ln_sm_dn_nf(struct bfa_fcport_ln_s *ln,
193 static void bfa_fcport_ln_sm_dn_up_nf(struct bfa_fcport_ln_s *ln,
195 static void bfa_fcport_ln_sm_up(struct bfa_fcport_ln_s *ln,
197 static void bfa_fcport_ln_sm_up_nf(struct bfa_fcport_ln_s *ln,
199 static void bfa_fcport_ln_sm_up_dn_nf(struct bfa_fcport_ln_s *ln,
201 static void bfa_fcport_ln_sm_up_dn_up_nf(struct bfa_fcport_ln_s *ln,
2786 bfa_fcport_ln_sm_dn(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_dn() argument
2789 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn()
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Dip6_fib.c747 struct fib6_node *fn, *in, *ln; in fib6_add_1() local
837 ln = node_alloc(net); in fib6_add_1()
839 if (!ln) in fib6_add_1()
841 ln->fn_bit = plen; in fib6_add_1()
842 RCU_INIT_POINTER(ln->parent, pn); in fib6_add_1()
845 rcu_assign_pointer(pn->right, ln); in fib6_add_1()
847 rcu_assign_pointer(pn->left, ln); in fib6_add_1()
849 return ln; in fib6_add_1()
879 ln = node_alloc(net); in fib6_add_1()
881 if (!in || !ln) { in fib6_add_1()
[all …]
/kernel/linux/linux-5.10/tools/iio/
DMakefile30 ln -sf $(CURDIR)/../../include/uapi/linux/iio/events.h $@
31 ln -sf $(CURDIR)/../../include/uapi/linux/iio/types.h $@

12345