Home
last modified time | relevance | path

Searched refs:ptable (Results 1 – 20 of 20) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Dpeer.c46 struct lnet_peer_table *ptable; in lnet_peer_tables_create() local
52 sizeof(*ptable)); in lnet_peer_tables_create()
58 cfs_percpt_for_each(ptable, i, the_lnet.ln_peer_tables) { in lnet_peer_tables_create()
59 INIT_LIST_HEAD(&ptable->pt_deathrow); in lnet_peer_tables_create()
71 ptable->pt_hash = hash; /* sign of initialization */ in lnet_peer_tables_create()
80 struct lnet_peer_table *ptable; in lnet_peer_tables_destroy() local
88 cfs_percpt_for_each(ptable, i, the_lnet.ln_peer_tables) { in lnet_peer_tables_destroy()
89 hash = ptable->pt_hash; in lnet_peer_tables_destroy()
93 LASSERT(list_empty(&ptable->pt_deathrow)); in lnet_peer_tables_destroy()
95 ptable->pt_hash = NULL; in lnet_peer_tables_destroy()
[all …]
Drouter_proc.c417 struct lnet_peer_table *ptable; in proc_lnet_peers() local
462 ptable = the_lnet.ln_peer_tables[cpt]; in proc_lnet_peers()
464 ver = LNET_PROC_VERSION(ptable->pt_version); in proc_lnet_peers()
466 if (ver != LNET_PROC_VERSION(ptable->pt_version)) { in proc_lnet_peers()
474 p = ptable->pt_hash[hash].next; in proc_lnet_peers()
476 while (p != &ptable->pt_hash[hash]) { in proc_lnet_peers()
486 &ptable->pt_hash[hash]) { in proc_lnet_peers()
/linux-4.4.14/arch/m68k/mm/
Dmemory.c32 #define PD_PAGE(ptable) (list_entry(ptable, struct page, lru)) argument
37 void __init init_pointer_table(unsigned long ptable) in init_pointer_table() argument
40 unsigned long page = ptable & PAGE_MASK; in init_pointer_table()
41 unsigned char mask = 1 << ((ptable - page)/PTABLE_SIZE); in init_pointer_table()
51 printk("init_pointer_table: %lx, %x\n", ptable, PD_MARKBITS(dp)); in init_pointer_table()
101 int free_pointer_table (pmd_t *ptable) in free_pointer_table() argument
104 unsigned long page = (unsigned long)ptable & PAGE_MASK; in free_pointer_table()
105 unsigned char mask = 1 << (((unsigned long)ptable - page)/PTABLE_SIZE); in free_pointer_table()
Dinit.c43 extern void init_pointer_table(unsigned long ptable);
/linux-4.4.14/arch/cris/arch-v32/drivers/
Daxisflashmap.c310 struct partitiontable_entry *ptable; in init_axis_flash() local
433 ptable = (struct partitiontable_entry *) in init_axis_flash()
437 p = (unsigned char*) ptable; in init_axis_flash()
457 && ptable->offset != PARTITIONTABLE_END_MARKER in init_axis_flash()
458 && ptable < max_addr in init_axis_flash()
461 axis_partitions[pidx].offset = offset + ptable->offset; in init_axis_flash()
465 (((ptable+1)->offset == in init_axis_flash()
468 ((ptable+1)->offset + offset)) - in init_axis_flash()
469 (ptable->offset + offset); in init_axis_flash()
473 axis_partitions[pidx].size = ptable->size; in init_axis_flash()
[all …]
/linux-4.4.14/arch/cris/arch-v10/drivers/
Daxisflashmap.c275 struct partitiontable_entry *ptable; in init_axis_flash() local
318 ptable = (struct partitiontable_entry *) in init_axis_flash()
322 p = (unsigned char*) ptable; in init_axis_flash()
342 && ptable->offset != 0xffffffff in init_axis_flash()
343 && ptable < max_addr in init_axis_flash()
346 axis_partitions[pidx].offset = offset + ptable->offset; in init_axis_flash()
347 axis_partitions[pidx].size = ptable->size; in init_axis_flash()
352 ptable++; in init_axis_flash()
/linux-4.4.14/arch/cris/boot/rescue/
Dhead_v10.S193 ;; ptable is ok. validate each entry.
197 ploop: move.d [$r3+], $r1 ; partition offset (from ptable start)
198 bne notfirst ; check if it is the partition containing ptable
200 move.d $r8, $r1 ; for its checksum check, skip the ptable
202 sub.d $r8, $r2 ; minus the ptable length
206 cmp.d -1, $r1 ; the end of the ptable ?
314 move.d PTABLE_START, $r7; otherwise use the ptable start
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dboot.c200 memcpy(&partition, &wl->ptable[PART_DOWN], sizeof(partition)); in wl1271_boot_upload_firmware_chunk()
208 partition_limit = wl->ptable[PART_DOWN].mem.size; in wl1271_boot_upload_firmware_chunk()
216 wl->ptable[PART_DOWN].mem.size; in wl1271_boot_upload_firmware_chunk()
415 ret = wlcore_set_partition(wl, &wl->ptable[PART_WORK]); in wlcore_boot_upload_nvs()
443 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wlcore_boot_run_firmware()
527 ret = wlcore_set_partition(wl, &wl->ptable[PART_WORK]); in wlcore_boot_run_firmware()
Dwlcore.h429 const struct wlcore_partition_set *ptable; member
Dmain.c963 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wlcore_print_recovery()
978 wlcore_set_partition(wl, &wl->ptable[PART_WORK]); in wlcore_print_recovery()
1080 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl12xx_set_power_on()
6541 if (!wl->ops || !wl->ptable) in wlcore_probe()
/linux-4.4.14/drivers/soc/qcom/
Dsmem.c577 struct smem_ptable *ptable; in qcom_smem_enumerate_partitions() local
582 ptable = smem->regions[0].virt_base + smem->regions[0].size - SZ_4K; in qcom_smem_enumerate_partitions()
583 if (memcmp(ptable->magic, SMEM_PTABLE_MAGIC, sizeof(ptable->magic))) in qcom_smem_enumerate_partitions()
586 version = le32_to_cpu(ptable->version); in qcom_smem_enumerate_partitions()
593 for (i = 0; i < le32_to_cpu(ptable->num_entries); i++) { in qcom_smem_enumerate_partitions()
594 entry = &ptable->entry[i]; in qcom_smem_enumerate_partitions()
/linux-4.4.14/include/linux/
Dsfi.h88 #define SFI_GET_NUM_ENTRIES(ptable, entry_type) \ argument
89 ((ptable->header.len - sizeof(struct sfi_table_header)) / \
/linux-4.4.14/drivers/sfi/
Dsfi_acpi.c76 #define XSDT_GET_NUM_ENTRIES(ptable, entry_type) \ argument
77 ((ptable->header.length - sizeof(struct acpi_table_header)) / \
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/
Dmain.c717 ret = wlcore_set_partition(wl, &wl->ptable[PART_TOP_PRCM_ELP_SOC]); in wl18xx_set_clk()
849 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl18xx_pre_boot()
873 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl18xx_pre_upload()
899 ret = wlcore_set_partition(wl, &wl->ptable[PART_PHY_INIT]); in wl18xx_pre_upload()
925 &wl->ptable[PART_TOP_PRCM_ELP_SOC]); in wl18xx_pre_upload()
938 ret = wlcore_set_partition(wl, &wl->ptable[PART_PHY_INIT]); in wl18xx_pre_upload()
957 ret = wlcore_set_partition(wl, &wl->ptable[PART_PHY_INIT]); in wl18xx_set_mac_and_phy()
1342 ret = wlcore_set_partition(wl, &wl->ptable[PART_TOP_PRCM_ELP_SOC]); in wl18xx_get_pg_ver()
1378 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl18xx_get_pg_ver()
1472 ret = wlcore_set_partition(wl, &wl->ptable[PART_TOP_PRCM_ELP_SOC]); in wl18xx_get_mac()
[all …]
/linux-4.4.14/drivers/staging/rtl8723au/core/
Drtw_mlme_ext.c613 _mgt_dispatcher23a(struct rtw_adapter *padapter, struct mlme_handler *ptable, in _mgt_dispatcher23a() argument
619 if (ptable->func) { in _mgt_dispatcher23a()
626 ptable->func(padapter, precv_frame); in _mgt_dispatcher23a()
633 struct mlme_handler *ptable; in mgt_dispatcher23a() local
652 ptable = mlme_sta_tbl; in mgt_dispatcher23a()
663 ptable += index; in mgt_dispatcher23a()
685 ptable->func = &OnAuth23a; in mgt_dispatcher23a()
687 ptable->func = &OnAuth23aClient23a; in mgt_dispatcher23a()
691 _mgt_dispatcher23a(padapter, ptable, precv_frame); in mgt_dispatcher23a()
695 _mgt_dispatcher23a(padapter, ptable, precv_frame); in mgt_dispatcher23a()
[all …]
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/
Dmain.c1118 ret = wlcore_set_partition(wl, &wl->ptable[PART_DRPW]); in wl12xx_pre_boot()
1141 ret = wlcore_set_partition(wl, &wl->ptable[PART_WORK]); in wl12xx_pre_boot()
1521 ret = wlcore_set_partition(wl, &wl->ptable[PART_DRPW]); in wl12xx_get_fuse_mac()
1538 ret = wlcore_set_partition(wl, &wl->ptable[PART_DOWN]); in wl12xx_get_fuse_mac()
1916 wl->ptable = wl12xx_ptable; in wl12xx_probe()
/linux-4.4.14/drivers/s390/block/
Ddasd_eer.c650 static unsigned int dasd_eer_poll(struct file *filp, poll_table *ptable) in dasd_eer_poll() argument
657 poll_wait(filp, &dasd_eer_read_wait_queue, ptable); in dasd_eer_poll()
/linux-4.4.14/drivers/staging/rtl8188eu/core/
Drtw_mlme_ext.c3921 struct action_handler *ptable; in OnAction() local
3930 ptable = &OnAction_tbl[i]; in OnAction()
3931 if (category == ptable->num) in OnAction()
3932 ptable->func(padapter, precv_frame); in OnAction()
4177 static void _mgt_dispatcher(struct adapter *padapter, struct mlme_handler *ptable, struct recv_fram… in _mgt_dispatcher() argument
4182 if (ptable->func) { in _mgt_dispatcher()
4187 ptable->func(padapter, precv_frame); in _mgt_dispatcher()
4194 struct mlme_handler *ptable; in mgt_dispatcher() local
4219 ptable = mlme_sta_tbl; in mgt_dispatcher()
4227 ptable += index; in mgt_dispatcher()
[all …]
/linux-4.4.14/Documentation/DocBook/
Dscsi.xml.db16 API-scsi-bios-ptable
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h673 lnet_peer_t *lnet_find_peer_locked(struct lnet_peer_table *ptable,