Home
last modified time | relevance | path

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

/linux-4.1.27/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.c432 struct lnet_peer_table *ptable; in proc_lnet_peers() local
477 ptable = the_lnet.ln_peer_tables[cpt]; in proc_lnet_peers()
479 ver = LNET_PROC_VERSION(ptable->pt_version); in proc_lnet_peers()
481 if (ver != LNET_PROC_VERSION(ptable->pt_version)) { in proc_lnet_peers()
489 p = ptable->pt_hash[hash].next; in proc_lnet_peers()
491 while (p != &ptable->pt_hash[hash]) { in proc_lnet_peers()
501 &ptable->pt_hash[hash]) { in proc_lnet_peers()
/linux-4.1.27/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.1.27/arch/cris/arch-v32/drivers/
Daxisflashmap.c310 struct partitiontable_entry *ptable; in init_axis_flash() local
460 ptable = (struct partitiontable_entry *) in init_axis_flash()
464 p = (unsigned char*) ptable; in init_axis_flash()
484 && ptable->offset != PARTITIONTABLE_END_MARKER in init_axis_flash()
485 && ptable < max_addr in init_axis_flash()
488 axis_partitions[pidx].offset = offset + ptable->offset; in init_axis_flash()
492 (((ptable+1)->offset == in init_axis_flash()
495 ((ptable+1)->offset + offset)) - in init_axis_flash()
496 (ptable->offset + offset); in init_axis_flash()
500 axis_partitions[pidx].size = ptable->size; in init_axis_flash()
[all …]
/linux-4.1.27/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.1.27/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 ?
317 move.d PTABLE_START, $r7; otherwise use the ptable start
/linux-4.1.27/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()
6496 if (!wl->ops || !wl->ptable) in wlcore_probe()
/linux-4.1.27/include/linux/
Dsfi.h88 #define SFI_GET_NUM_ENTRIES(ptable, entry_type) \ argument
89 ((ptable->header.len - sizeof(struct sfi_table_header)) / \
/linux-4.1.27/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.1.27/drivers/net/wireless/ti/wl18xx/
Dmain.c714 ret = wlcore_set_partition(wl, &wl->ptable[PART_TOP_PRCM_ELP_SOC]); in wl18xx_set_clk()
846 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl18xx_pre_boot()
869 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl18xx_pre_upload()
895 ret = wlcore_set_partition(wl, &wl->ptable[PART_PHY_INIT]); in wl18xx_pre_upload()
931 ret = wlcore_set_partition(wl, &wl->ptable[PART_PHY_INIT]); in wl18xx_set_mac_and_phy()
1311 ret = wlcore_set_partition(wl, &wl->ptable[PART_TOP_PRCM_ELP_SOC]); in wl18xx_get_pg_ver()
1347 ret = wlcore_set_partition(wl, &wl->ptable[PART_BOOT]); in wl18xx_get_pg_ver()
1436 ret = wlcore_set_partition(wl, &wl->ptable[PART_TOP_PRCM_ELP_SOC]); in wl18xx_get_mac()
1463 ret = wlcore_set_partition(wl, &wl->ptable[PART_DOWN]); in wl18xx_get_mac()
1953 wl->ptable = wl18xx_ptable; in wl18xx_probe()
/linux-4.1.27/drivers/staging/rtl8723au/core/
Drtw_mlme_ext.c614 _mgt_dispatcher23a(struct rtw_adapter *padapter, struct mlme_handler *ptable, in _mgt_dispatcher23a() argument
620 if (ptable->func) { in _mgt_dispatcher23a()
627 ptable->func(padapter, precv_frame); in _mgt_dispatcher23a()
634 struct mlme_handler *ptable; in mgt_dispatcher23a() local
653 ptable = mlme_sta_tbl; in mgt_dispatcher23a()
664 ptable += index; in mgt_dispatcher23a()
686 ptable->func = &OnAuth23a; in mgt_dispatcher23a()
688 ptable->func = &OnAuth23aClient23a; in mgt_dispatcher23a()
692 _mgt_dispatcher23a(padapter, ptable, precv_frame); in mgt_dispatcher23a()
696 _mgt_dispatcher23a(padapter, ptable, precv_frame); in mgt_dispatcher23a()
[all …]
/linux-4.1.27/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.1.27/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.1.27/drivers/staging/rtl8188eu/core/
Drtw_mlme_ext.c415 static void _mgt_dispatcher(struct adapter *padapter, struct mlme_handler *ptable, struct recv_fram… in _mgt_dispatcher() argument
420 if (ptable->func) { in _mgt_dispatcher()
425 ptable->func(padapter, precv_frame); in _mgt_dispatcher()
432 struct mlme_handler *ptable; in mgt_dispatcher() local
454 ptable = mlme_sta_tbl; in mgt_dispatcher()
462 ptable += index; in mgt_dispatcher()
481 ptable->func = &OnAuth; in mgt_dispatcher()
483 ptable->func = &OnAuthClient; in mgt_dispatcher()
490 _mgt_dispatcher(padapter, ptable, precv_frame); in mgt_dispatcher()
493 _mgt_dispatcher(padapter, ptable, precv_frame); in mgt_dispatcher()
[all …]
/linux-4.1.27/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h868 lnet_peer_t *lnet_find_peer_locked(struct lnet_peer_table *ptable,