Home
last modified time | relevance | path

Searched defs:pnum (Results 1 – 25 of 27) sorted by relevance

12

/linux/drivers/mtd/ubi/
H A Dio.c113 int ubi_io_read(const struct ubi_device *ubi, void *buf, int pnum, int offset, in ubi_io_read()
234 int ubi_io_write(struct ubi_device *ubi, const void *buf, int pnum, int offset, in ubi_io_write()
319 static int do_sync_erase(struct ubi_device *ubi, int pnum) in do_sync_erase()
375 static int torture_peb(struct ubi_device *ubi, int pnum) in torture_peb()
461 static int nor_erase_prepare(struct ubi_device *ubi, int pnum) in nor_erase_prepare()
535 int ubi_io_sync_erase(struct ubi_device *ubi, int pnum, int torture) in ubi_io_sync_erase()
584 int ubi_io_is_bad(const struct ubi_device *ubi, int pnum) in ubi_io_is_bad()
613 int ubi_io_mark_bad(const struct ubi_device *ubi, int pnum) in ubi_io_mark_bad()
706 int ubi_io_read_ec_hdr(struct ubi_device *ubi, int pnum, in ubi_io_read_ec_hdr()
844 int ubi_io_write_ec_hdr(struct ubi_device *ubi, int pnum, in ubi_io_write_ec_hdr()
[all …]
H A Dattach.c178 struct ubi_ainf_peb *ubi_alloc_aeb(struct ubi_attach_info *ai, int pnum, in ubi_alloc_aeb()
229 static int add_to_list(struct ubi_attach_info *ai, int pnum, int vol_id, in add_to_list()
268 static int add_corrupted(struct ubi_attach_info *ai, int pnum, int ec) in add_corrupted()
296 static int add_fastmap(struct ubi_attach_info *ai, int pnum, in add_fastmap()
332 const struct ubi_ainf_volume *av, int pnum) in validate_vid_hdr()
397 int vol_id, int pnum, in add_volume()
439 int pnum, const struct ubi_vid_hdr *vid_hdr) in ubi_compare_lebs()
563 int ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum, in ubi_add_to_av()
772 const struct ubi_attach_info *ai, int pnum, int ec) in early_erase_peb()
873 int pnum) in check_corruption()
[all …]
H A Deba.c45 int pnum; member
450 int err, pnum, vol_id = vol->vol_id; in ubi_eba_unmap_leb() local
495 int *pnum) in check_mapping()
567 int *pnum) in check_mapping()
595 int err, pnum, scrub = 0, vol_id = vol->vol_id; in ubi_eba_read_leb() local
803 static int try_recover_peb(struct ubi_volume *vol, int pnum, int lnum, in try_recover_peb()
899 static int recover_peb(struct ubi_device *ubi, int pnum, int vol_id, int lnum, in recover_peb()
946 int pnum, opnum, err, err2, vol_id = vol->vol_id; in try_write_vid_and_data() local
1016 int err, pnum, tries, vol_id = vol->vol_id; in ubi_eba_write_leb() local
H A Dfastmap.c45 static inline void set_seen(struct ubi_device *ubi, int pnum, unsigned long *seen) in set_seen()
60 int pnum, ret = 0; in self_check_seen() local
137 int pnum, int ec, int scrub) in add_aeb()
370 static void unmap_peb(struct ubi_attach_info *ai, int pnum) in unmap_peb()
408 int i, pnum, err, ret = 0; in scan_pool() local
735 int pnum = be32_to_cpu(fm_eba->pnum[j]); in ubi_attach_fastmap() local
869 int i, used_blocks, pnum, fm_anchor, ret = 0; in ubi_scan_fastmap() local
H A Dwl.c429 static int prot_queue_del(struct ubi_device *ubi, int pnum) in prot_queue_del()
1111 int pnum = e->pnum; local
1271 int pnum, int torture)
1374 int ubi_wl_scrub_peb(struct ubi_device *ubi, int pnum)
1523 int ubi_bitflip_check(struct ubi_device *ubi, int pnum, int force)
2029 static int self_check_ec(struct ubi_device *ubi, int pnum, int ec)
H A Dfastmap-wl.c355 int pnum; in next_peb_for_wl() local
416 int pnum; in get_peb_for_wl() local
496 int vol_id, pnum = fm_e->pnum; in ubi_wl_put_fm_peb() local
H A Dcdev.c967 int pnum; in ubi_cdev_ioctl() local
982 int pnum; in ubi_cdev_ioctl() local
H A Dubi.h176 int pnum; member
271 int pnum; member
679 int pnum; member
1149 int pnum, int offset, int len) in ubi_io_read_data()
1161 int pnum, int offset, int len) in ubi_io_write_data()
1223 int pnum) in ubi_find_fm_block()
H A Dubi-media.h465 __be32 pnum; member
501 __be32 pnum[]; member
/linux/security/selinux/
H A Dnetport.c68 static unsigned int sel_netport_hashfn(u16 pnum) in sel_netport_hashfn()
83 static struct sel_netport *sel_netport_find(u8 protocol, u16 pnum) in sel_netport_find()
137 static int sel_netport_sid_slow(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid_slow()
183 int sel_netport_sid(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid()
/linux/mm/
H A Dsparse.c276 static unsigned long sparse_encode_mem_map(struct page *mem_map, unsigned long pnum) in sparse_encode_mem_map() argument
289 struct page *sparse_decode_mem_map(unsigned long coded_mem_map, unsigned long pnum) in sparse_decode_mem_map() argument
298 unsigned long pnum, struct page *mem_map, in sparse_init_one_section() argument
510 unsigned long pnum; in sparse_init_nid() local
[all...]
/linux/drivers/md/
H A Dmd-bitmap.c1012 int pnum, offset = 0; in md_bitmap_storage_alloc() local
1113 static inline void set_page_attr(struct bitmap *bitmap, int pnum, in set_page_attr()
1119 static inline void clear_page_attr(struct bitmap *bitmap, int pnum, in clear_page_attr()
1125 static inline int test_page_attr(struct bitmap *bitmap, int pnum, in test_page_attr()
1131 static inline int test_and_clear_page_attr(struct bitmap *bitmap, int pnum, in test_and_clear_page_attr()
/linux/drivers/rapidio/switches/
H A Didt_gen3.c231 idtg3_em_handler(struct rio_dev *rdev, u8 pnum) in idtg3_em_handler()
/linux/drivers/rapidio/
H A Drio.c867 int rio_set_port_lockout(struct rio_dev *rdev, u32 pnum, int lock) in rio_set_port_lockout()
1028 rio_get_input_status(struct rio_dev *rdev, int pnum, u32 *lnkresp) in rio_get_input_status()
1079 static int rio_clr_err_stopped(struct rio_dev *rdev, u32 pnum, u32 err_status) in rio_clr_err_stopped()
/linux/drivers/message/fusion/
H A Dmptlan.c87 u8 pnum; /* Port number in the IOC. This is not a Unix network port! */ member
1306 mpt_register_lan_device (MPT_ADAPTER *mpt_dev, int pnum) in mpt_register_lan_device()
/linux/arch/x86/kernel/
H A Dcrash.c363 unsigned long pnum = 0; in crash_load_segments() local
/linux/drivers/pinctrl/sunplus/
H A Dsppctl.h146 const unsigned int pnum; /* number of pins */ member
/linux/net/netfilter/
H A Dnf_conntrack_proto.c145 u8 pnum; in nf_confirm() local
/linux/drivers/net/dsa/realtek/
H A Drtl8366rb.c297 #define RTL8366RB_IB_REG(pnum) (RTL8366RB_IB_BASE + (pnum)) argument
303 #define RTL8366RB_EB_REG(pnum) (RTL8366RB_EB_BASE + (pnum)) argument
337 #define RTL8366RB_PORT_ISO(pnum) (RTL8366RB_PORT_ISO_BASE + (pnum)) argument
/linux/drivers/phy/freescale/
H A Dphy-fsl-imx8-mipi-dphy.c159 static void get_best_ratio(u32 *pnum, u32 *pdenom, u32 max_n, u32 max_d) in get_best_ratio()
/linux/include/dt-bindings/usb/
H A Dpd.h230 #define VDO_DFP(ver, cap, conn, pnum) \ argument
/linux/include/linux/usb/
H A Dpd_vdo.h260 #define VDO_DFP(ver, cap, conn, pnum) \ argument
/linux/sound/soc/fsl/
H A Dfsl_easrc.c1804 u32 pnum, inum, offset; in fsl_easrc_get_firmware() local
/linux/drivers/usb/serial/
H A Dmos7840.c1539 int pnum; in mos7840_port_probe() local
/linux/fs/ubifs/
H A Dlpt.c576 int i, n = c->lpt_hght - 1, pnum = parent->num, num = 0; in calc_pnode_num_from_parent() local

12