| /linux/drivers/mtd/ubi/ |
| H A D | eba.c | 45 int pnum; member 108 ldesc->pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_get_ldesc() 136 tbl->entries[i].pnum = UBI_LEB_UNMAPPED; in ubi_eba_create_table() 180 dst->entries[i].pnum = src->entries[i].pnum; in ubi_eba_copy_table() 433 return vol->eba_tbl->entries[lnum].pnum >= 0; in ubi_eba_is_mapped() 449 int err, pnum, vol_id = vol->vol_id; in ubi_eba_unmap_leb() local 458 pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_unmap_leb() 459 if (pnum < 0) in ubi_eba_unmap_leb() 463 dbg_eba("erase LEB %d:%d, PEB %d", vol_id, lnum, pnum); in ubi_eba_unmap_leb() 466 vol->eba_tbl->entries[lnum].pnum = UBI_LEB_UNMAPPED; in ubi_eba_unmap_leb() [all …]
|
| H A D | ubi-media.h | 465 __be32 pnum; member 501 __be32 pnum[]; member
|
| H A D | debug.c | 52 void ubi_dump_flash(struct ubi_device *ubi, int pnum, int offset, int len) in FAIL_ACTION() 57 loff_t addr = (loff_t)pnum * ubi->peb_size + offset; in FAIL_ACTION() 65 err, len, pnum, offset, read); in FAIL_ACTION() 70 len, pnum, offset); in FAIL_ACTION() 211 pr_err("\tpnum %d\n", aeb->pnum); in ubi_dump_aeb()
|
| H A D | debug.h | 11 void ubi_dump_flash(struct ubi_device *ubi, int pnum, int offset, int len); 48 int ubi_self_check_all_ff(struct ubi_device *ubi, int pnum, int offset,
|
| H A D | vtbl.c | 317 err = ubi_io_write_vid_hdr(ubi, new_aeb->pnum, vidb); in create_vtbl() 322 err = ubi_io_write_data(ubi, vtbl, new_aeb->pnum, 0, ubi->vtbl_size); in create_vtbl() 330 err = ubi_add_to_av(ubi, ai, new_aeb->pnum, new_aeb->ec, vid_hdr, 0); in create_vtbl() 406 err = ubi_io_read_data(ubi, leb[aeb->lnum], aeb->pnum, 0, in process_lvol()
|
| /linux/security/selinux/ |
| H A D | netport.c | 63 static unsigned int sel_netport_hashfn(u16 pnum) in sel_netport_hashfn() argument 65 return (pnum & (SEL_NETPORT_HASH_SIZE - 1)); in sel_netport_hashfn() 78 static struct sel_netport *sel_netport_find(u8 protocol, u16 pnum) in sel_netport_find() argument 83 idx = sel_netport_hashfn(pnum); in sel_netport_find() 85 if (port->psec.port == pnum && port->psec.protocol == protocol) in sel_netport_find() 132 static int sel_netport_sid_slow(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid_slow() argument 139 port = sel_netport_find(protocol, pnum); in sel_netport_sid_slow() 146 ret = security_port_sid(protocol, pnum, sid); in sel_netport_sid_slow() 155 new->psec.port = pnum; in sel_netport_sid_slow() 182 int sel_netport_sid(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid() argument [all …]
|
| /linux/drivers/rapidio/switches/ |
| H A D | idt_gen3.c | 231 idtg3_em_handler(struct rio_dev *rdev, u8 pnum) in idtg3_em_handler() argument 237 RIO_DEV_PORT_N_ERR_STS_CSR(rdev, pnum), in idtg3_em_handler() 250 rio_read_config_32(rdev, RIO_PLM_SPx_IMP_SPEC_CTL(pnum), &rval); in idtg3_em_handler() 251 rio_write_config_32(rdev, RIO_PLM_SPx_IMP_SPEC_CTL(pnum), in idtg3_em_handler() 254 rio_write_config_32(rdev, RIO_PLM_SPx_IMP_SPEC_CTL(pnum), rval); in idtg3_em_handler()
|
| /linux/drivers/pinctrl/sunplus/ |
| H A D | sppctl.h | 77 .pnum = ARRAY_SIZE(p), \ 146 const unsigned int pnum; /* number of pins */ member
|
| H A D | sppctl.c | 716 for (i = 0; i < f->grps[g2fpm.g_idx].pnum; i++) in sppctl_set_mux() 794 *num_pins = f->grps[g2fpm.g_idx].pnum; in sppctl_get_group_pins()
|
| /linux/security/selinux/include/ |
| H A D | netport.h | 23 int sel_netport_sid(u8 protocol, u16 pnum, u32 *sid);
|
| /linux/drivers/md/ |
| H A D | md-bitmap.c | 1019 int pnum, offset = 0; in md_bitmap_storage_alloc() local 1040 pnum = 0; in md_bitmap_storage_alloc() 1043 pnum = 1; in md_bitmap_storage_alloc() 1047 for ( ; pnum < num_pages; pnum++) { in md_bitmap_storage_alloc() 1048 store->filemap[pnum] = alloc_page(GFP_KERNEL|__GFP_ZERO); in md_bitmap_storage_alloc() 1049 if (!store->filemap[pnum]) { in md_bitmap_storage_alloc() 1050 store->file_pages = pnum; in md_bitmap_storage_alloc() 1054 store->file_pages = pnum; in md_bitmap_storage_alloc() 1119 static inline void set_page_attr(struct bitmap *bitmap, int pnum, in set_page_attr() argument 1122 set_bit((pnum<<2) + attr, bitmap->storage.filemap_attr); in set_page_attr() [all …]
|
| /linux/include/linux/usb/ |
| H A D | pd_vdo.h | 260 #define VDO_DFP(ver, cap, conn, pnum) \ argument 262 | ((pnum) & 0x1f))
|
| /linux/drivers/message/fusion/ |
| H A D | mptlan.c | 87 u8 pnum; /* Port number in the IOC. This is not a Unix network port! */ member 476 pResetReq->PortNumber = priv->pnum; in mpt_lan_reset() 732 pSendReq->PortNumber = priv->pnum; in mpt_lan_sdu_send() 1181 pRecvReq->PortNumber = priv->pnum; in mpt_lan_post_receive_buckets() 1301 mpt_register_lan_device (MPT_ADAPTER *mpt_dev, int pnum) in mpt_register_lan_device() argument 1317 priv->pnum = pnum; in mpt_register_lan_device()
|
| /linux/drivers/rapidio/ |
| H A D | rio.h | 34 extern int rio_set_port_lockout(struct rio_dev *rdev, u32 pnum, int lock);
|
| /linux/drivers/net/dsa/lantiq/ |
| H A D | mxl-gsw1xx.c | 693 u16 pnum; in gsw1xx_probe() local 753 pnum = FIELD_GET(GSW1XX_SHELL_MANU_ID_PNUML, val); in gsw1xx_probe() 759 pnum |= FIELD_GET(GSW1XX_SHELL_PNUM_ID_PNUMM, val) << 4; in gsw1xx_probe() 782 dev_info(dev, "standalone switch part number 0x%x v1.%u\n", pnum, shellver); in gsw1xx_probe()
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_proto.c | 148 u8 pnum; in nf_confirm() local 169 pnum = ipv6_hdr(skb)->nexthdr; in nf_confirm() 170 start = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &pnum, &frag_off); in nf_confirm()
|
| H A D | nf_conntrack_core.c | 2229 u8 pnum; in nf_confirm_cthelper() local 2231 pnum = ipv6_hdr(skb)->nexthdr; in nf_confirm_cthelper() 2232 protoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &pnum, in nf_confirm_cthelper()
|
| /linux/drivers/net/dsa/realtek/ |
| H A D | rtl8366rb.c | 260 #define RTL8366RB_IB_REG(pnum) (RTL8366RB_IB_BASE + (pnum)) argument 266 #define RTL8366RB_EB_REG(pnum) (RTL8366RB_EB_BASE + (pnum)) argument 300 #define RTL8366RB_PORT_ISO(pnum) (RTL8366RB_PORT_ISO_BASE + (pnum)) argument
|
| /linux/drivers/phy/freescale/ |
| H A D | phy-fsl-imx8-mipi-dphy.c | 159 static void get_best_ratio(u32 *pnum, u32 *pdenom, u32 max_n, u32 max_d) in get_best_ratio() argument 161 u32 a = *pnum; in get_best_ratio() 182 *pnum = n[i]; in get_best_ratio()
|
| /linux/fs/ext4/ |
| H A D | mballoc.c | 1546 int block, pnum; in ext4_mb_get_buddy_folio_lock() local 1558 pnum = EXT4_LBLK_TO_PG(inode, block); in ext4_mb_get_buddy_folio_lock() 1559 folio = __filemap_get_folio(inode->i_mapping, pnum, in ext4_mb_get_buddy_folio_lock() 1570 pnum = EXT4_LBLK_TO_PG(inode, block); in ext4_mb_get_buddy_folio_lock() 1571 if (folio_contains(folio, pnum)) { in ext4_mb_get_buddy_folio_lock() 1577 folio = __filemap_get_folio(inode->i_mapping, pnum, in ext4_mb_get_buddy_folio_lock() 1679 int pnum; in ext4_mb_load_buddy_gfp() local 1716 pnum = EXT4_LBLK_TO_PG(inode, block); in ext4_mb_load_buddy_gfp() 1719 folio = __filemap_get_folio(inode->i_mapping, pnum, FGP_ACCESSED, 0); in ext4_mb_load_buddy_gfp() 1732 folio = __filemap_get_folio(inode->i_mapping, pnum, in ext4_mb_load_buddy_gfp() [all …]
|
| H A D | ext4.h | 376 #define EXT4_PG_TO_LBLK(inode, pnum) (((loff_t)(pnum) << PAGE_SHIFT) >> \ argument
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-pciercx-defs.h | 163 __BITFIELD_FIELD(uint32_t pnum:8,
|
| /linux/sound/soc/fsl/ |
| H A D | fsl_easrc.c | 1858 u32 pnum, inum, offset; in fsl_easrc_get_firmware() local 1875 pnum = easrc_priv->firmware_hdr->prefil_scen; in fsl_easrc_get_firmware() 1883 if (pnum) { in fsl_easrc_get_firmware()
|
| /linux/fs/ubifs/ |
| H A D | lpt.c | 576 int i, n = c->lpt_hght - 1, pnum = parent->num, num = 0; in calc_pnode_num_from_parent() local 580 num |= pnum & (UBIFS_LPT_FANOUT - 1); in calc_pnode_num_from_parent() 581 pnum >>= UBIFS_LPT_FANOUT_SHIFT; in calc_pnode_num_from_parent()
|
| /linux/drivers/gpu/drm/display/ |
| H A D | drm_dp_mst_topology.c | 2215 int pnum, in build_mst_prop_path() argument 2230 snprintf(temp, sizeof(temp), "-%d", pnum); in build_mst_prop_path()
|