| /linux/drivers/scsi/csiostor/ |
| H A D | csio_lnode.c | 117 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 …]
|
| H A D | csio_attr.c | 48 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 …]
|
| H A D | csio_rnode.c | 121 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 …]
|
| H A D | csio_lnode.h | 191 #define csio_lnode_to_hw(ln) ((ln)->hwp) argument 192 #define csio_root_lnode(ln) (csio_lnode_to_hw((ln))->rln) argument 193 #define csio_parent_lnode(ln) ((ln)->pln) argument 194 #define csio_ln_flowid(ln) ((ln)->vnp_flowid) argument 195 #define csio_ln_wwpn(ln) ((ln)->ln_sparm.wwpn) argument 196 #define csio_ln_wwnn(ln) ((ln)->ln_sparm.wwnn) argument 198 #define csio_is_root_ln(ln) (((ln) == csio_root_lnode((ln))) ? 1 : 0) argument 199 #define csio_is_phys_ln(ln) (((ln)->pln == NULL) ? 1 : 0) argument 200 #define csio_is_npiv_ln(ln) (((ln)->pln != NULL) ? 1 : 0) argument 225 void csio_lnode_state_to_str(struct csio_lnode *ln, int8_t *str);
|
| H A D | csio_scsi.c | 1194 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 …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_mg_phy_regs.h | 11 #define MG_PHY_PORT_LN(ln, tc_port, ln0p1, ln0p2, ln1p1) \ argument 12 _MMIO(_PORT(tc_port, ln0p1, ln0p2) + (ln) * ((ln1p1) - (ln0p1))) 18 #define MG_TX1_LINK_PARAMS(ln, tc_port) \ argument 19 MG_PHY_PORT_LN(ln, tc_port, MG_TX_LINK_PARAMS_TX1LN0_PORT1, \ 27 #define MG_TX2_LINK_PARAMS(ln, tc_port) \ argument 28 MG_PHY_PORT_LN(ln, tc_port, MG_TX_LINK_PARAMS_TX2LN0_PORT1, \ 37 #define MG_TX1_PISO_READLOAD(ln, tc_port) \ argument 38 MG_PHY_PORT_LN(ln, tc_port, MG_TX_PISO_READLOAD_TX1LN0_PORT1, \ 46 #define MG_TX2_PISO_READLOAD(ln, tc_port) \ argument 47 MG_PHY_PORT_LN(ln, tc_port, MG_TX_PISO_READLOAD_TX2LN0_PORT1, \ [all …]
|
| H A D | intel_snps_phy_regs.h | 19 #define _MMIO_SNPS_LN(ln, phy, reg) _MMIO(_SNPS2(phy, \ argument 20 (reg) + (ln) * 0x10)) 70 #define SNPS_PHY_TX_EQ(ln, phy) _MMIO_SNPS_LN(ln, phy, 0x168300) argument
|
| /linux/tools/lib/python/kdoc/ |
| H A D | kdoc_parser.py | 260 def __init__(self, config, fname, ln): argument 285 self.declaration_start_line = ln + 1 297 def emit_msg(self, ln, msg, *, warning=True): argument 403 def emit_msg(self, ln, msg, *, warning=True): argument 407 self.entry.emit_msg(ln, msg, warning=warning) 451 def reset_state(self, ln): argument 464 self.entry = KernelEntry(self.config, self.fname, ln) 469 def push_parameter(self, ln, decl_type, param, dtype, argument 515 self.emit_msg(ln, 531 def create_parameter_list(self, ln, decl_type, args, argument [all …]
|
| H A D | parse_data_structs.py | 167 for ln, line in enumerate(f): 168 ln += 1 177 self.ignore.append((ln, match.group(1), match.group(2))) 183 self.replace.append((ln, match.group(1), match.group(2), 200 for ln, c_type, symbol in self.ignore: 209 for ln, c_type, old, new in self.replace: 237 (_, ln) = self.symbols[c_type][old] 238 self.symbols[c_type][old] = (new_ref, ln) 242 def store_type(self, ln, symbol_type: str, symbol: str, argument 276 self.symbols[symbol_type][symbol] = (f"{prefix}{ref_link}{suffix}", ln) [all …]
|
| H A D | kdoc_output.py | 275 def print_lineno(self, ln): argument 278 if self.enable_lineno and ln is not None: 279 ln += 1 377 ln = args.declaration_start_line 393 self.print_lineno(ln) 409 self.print_lineno(ln) 449 ln = args.declaration_start_line 453 self.print_lineno(ln) 478 ln = args.declaration_start_line 482 self.print_lineno(ln) [all …]
|
| /linux/fs/lockd/ |
| H A D | svc.c | 89 struct lockd_net *ln = net_generic(net, lockd_net_id); in get_lockd_grace_period() local 92 if (ln->gracetime) in get_lockd_grace_period() 93 return ln->gracetime * HZ; in get_lockd_grace_period() 105 struct lockd_net *ln = container_of(dwork, struct lockd_net, in grace_ender() local 108 locks_end_grace(&ln->lockd_manager); in grace_ender() 114 struct lockd_net *ln = net_generic(net, lockd_net_id); in set_grace_period() local 116 locks_start_grace(net, &ln->lockd_manager); in set_grace_period() 117 cancel_delayed_work_sync(&ln->grace_period_end); in set_grace_period() 118 schedule_delayed_work(&ln->grace_period_end, grace_period); in set_grace_period() 129 struct lockd_net *ln = net_generic(net, lockd_net_id); in lockd() local [all …]
|
| H A D | procfs.c | 25 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()
|
| H A D | host.c | 180 struct lockd_net *ln = net_generic(host->net, lockd_net_id); in nlm_destroy_host_locked() local 195 ln->nrhosts--; in nlm_destroy_host_locked() 239 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlmclnt_lookup_host() local 274 ln->nrhosts++; in nlmclnt_lookup_host() 347 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlmsvc_lookup_host() local 355 if (time_after_eq(jiffies, ln->next_gc)) in nlmsvc_lookup_host() 393 ln->nrhosts++; in nlmsvc_lookup_host() 588 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlm_complain_hosts() local 590 if (ln->nrhosts == 0) in nlm_complain_hosts() 594 dprintk("lockd: %lu hosts left in net %x:\n", ln->nrhosts, in nlm_complain_hosts() [all …]
|
| H A D | mon.c | 323 struct lockd_net *ln = net_generic(net, lockd_net_id); in nsm_get_handle() local 338 cached = nsm_lookup_hostname(&ln->nsm_handles, in nsm_get_handle() 341 cached = nsm_lookup_addr(&ln->nsm_handles, sap); in nsm_get_handle() 355 list_add(&new->sm_link, &ln->nsm_handles); in nsm_get_handle() 383 struct lockd_net *ln = net_generic(net, lockd_net_id); in nsm_reboot_lookup() local 387 cached = nsm_lookup_priv(&ln->nsm_handles, &info->priv); in nsm_reboot_lookup()
|
| /linux/tools/testing/selftests/net/ |
| H A D | tcp_port_share.c | 139 int c1, c2, ln, pb; in TEST_F() local 142 ln = socket(v->domain, SOCK_STREAM, 0); in TEST_F() 143 ASSERT_GE(ln, 0) TH_LOG("socket(): %m"); in TEST_F() 144 ASSERT_EQ(setsockopt(ln, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)), 0); in TEST_F() 147 ASSERT_EQ(bind(ln, &addr.sa, addr.len), 0) TH_LOG("bind(%s): %m", addr.str); in TEST_F() 148 ASSERT_EQ(listen(ln, 2), 0); in TEST_F() 191 ASSERT_EQ(close(ln), 0); in TEST_F() 201 int c1, c2, ln, pb; in TEST_F() local 204 ln = socket(v->domain, SOCK_STREAM, 0); in TEST_F() 205 ASSERT_GE(ln, 0) TH_LOG("socket(): %m"); in TEST_F() [all …]
|
| /linux/tools/testing/memblock/ |
| H A D | Makefile | 31 test -L linux/memblock.h || ln -s ../../../../include/linux/memblock.h linux/memblock.h 32 test -L asm/asm.h || ln -s ../../../arch/x86/include/asm/asm.h asm/asm.h 33 test -L asm/cmpxchg.h || ln -s ../../../arch/x86/include/asm/cmpxchg.h asm/cmpxchg.h 36 test -L memblock.c || ln -s $(EXTR_SRC) memblock.c
|
| /linux/tools/lib/python/abi/ |
| H A D | abi_parser.py | 79 def add_symbol(self, what, fname, ln=None, xref=None): argument 88 if ln and ln not in self.what_symbols[what]["file"][fname]: 89 self.what_symbols[what]["file"][fname].append(ln) 128 self.add_symbol(what=content, fname=fdata.fname, ln=fdata.ln) 139 ln=fdata.what_ln, xref=fdata.key) 164 "line_no": fdata.ln, 171 fdata.what_ln = fdata.ln 306 fdata.ln = 0 336 fdata.ln += 1 547 ln = v.get("line_no", 1) [all …]
|
| /linux/scripts/package/ |
| H A D | builddeb | 122 ln -sf --relative "${dbg}" "${link}" 133 ln -s ../lib/modules/${KERNELRELEASE}/vmlinux ${pdir}/usr/lib/debug/boot/vmlinux-${KERNELRELEASE} 135 ln -s lib/modules/${KERNELRELEASE}/vmlinux ${pdir}/usr/lib/debug/vmlinux-${KERNELRELEASE} 145 ln -s /usr/src/linux-headers-$version $pdir/lib/modules/$version/build
|
| /linux/Documentation/sphinx/ |
| H A D | kernel_include.py | 263 ln, ref = match.groups() 264 ln = int(ln) 267 if startline and (ln < startline): 270 if endline and (ln > endline): 275 realln = ln + 1 276 result.append(f"- {ref}: {relpath}#{realln}", path, ln)
|
| /linux/tools/docs/ |
| H A D | documentation-file-ref-check | 89 my $ln = $2; 104 next if ($ln =~ m,\b(\S*)Documentation/output,); 106 if ($ln =~ m,\b(\S*)(Documentation/[A-Za-z0-9\_\.\,\~/\*\[\]\?+-]*)(.*),) {
|
| /linux/drivers/md/persistent-data/ |
| H A D | dm-btree.c | 659 struct btree_node *ln, *rn, *pn; in split_one_into_two() local 668 ln = dm_block_data(left); in split_one_into_two() 671 rn->header.flags = ln->header.flags; in split_one_into_two() 673 rn->header.max_entries = ln->header.max_entries; in split_one_into_two() 674 rn->header.value_size = ln->header.value_size; in split_one_into_two() 675 redistribute2(ln, rn); in split_one_into_two() 743 struct btree_node *ln, *rn, *mn, *pn; in split_two_into_three() local 767 ln = dm_block_data(left); in split_two_into_three() 772 mn->header.flags = ln->header.flags; in split_two_into_three() 773 mn->header.max_entries = ln->header.max_entries; in split_two_into_three() [all …]
|
| /linux/tools/iio/ |
| H A D | Makefile | 30 ln -sf $(CURDIR)/../../include/uapi/linux/iio/buffer.h $@ 31 ln -sf $(CURDIR)/../../include/uapi/linux/iio/events.h $@ 32 ln -sf $(CURDIR)/../../include/uapi/linux/iio/types.h $@
|
| /linux/drivers/video/fbdev/matrox/ |
| H A D | matroxfb_maven.c | 259 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()
|
| /linux/net/ipv6/ |
| H A D | ip6_fib.c | 762 struct fib6_node *fn, *in, *ln; in fib6_add_1() local 850 ln = node_alloc(net); in fib6_add_1() 852 if (!ln) in fib6_add_1() 854 ln->fn_bit = plen; in fib6_add_1() 855 RCU_INIT_POINTER(ln->parent, pn); in fib6_add_1() 858 rcu_assign_pointer(pn->right, ln); in fib6_add_1() 860 rcu_assign_pointer(pn->left, ln); in fib6_add_1() 862 return ln; in fib6_add_1() 888 * (new leaf node)[ln] (old node)[fn] in fib6_add_1() 892 ln in fib6_add_1() [all...] |
| /linux/tools/lib/python/feat/ |
| H A D | parse_features.py | 68 def parse_error(self, fname, ln, msg, data=None): argument 73 if ln: 114 for ln, line in enumerate(f, start=1): 177 self.parse_error(fname, ln, "Line is invalid", line) 448 for ln, line in enumerate(lines): 451 if not ln: 455 if ln >= 2 and descs:
|