/kernel/linux/linux-5.10/arch/x86/um/os-Linux/ |
H A D | task_size.c | 71 unsigned long bottom = 0; in os_get_top_address() local 83 printf("Locating the bottom of the address space ... "); in os_get_top_address() 98 /* Manually scan the address space, bottom-up, until we find in os_get_top_address() 101 for (bottom = 0; bottom < top; bottom++) { in os_get_top_address() 102 if (page_ok(bottom)) in os_get_top_address() 107 if (bottom == top) { in os_get_top_address() 108 fprintf(stderr, "Unable to determine bottom of address " in os_get_top_address() 113 printf("0x%lx\n", bottom << UM_KERN_PAGE_SHIF in os_get_top_address() [all...] |
/kernel/linux/linux-6.6/arch/x86/um/os-Linux/ |
H A D | task_size.c | 71 unsigned long bottom = 0; in os_get_top_address() local 83 printf("Locating the bottom of the address space ... "); in os_get_top_address() 98 /* Manually scan the address space, bottom-up, until we find in os_get_top_address() 101 for (bottom = 0; bottom < top; bottom++) { in os_get_top_address() 102 if (page_ok(bottom)) in os_get_top_address() 107 if (bottom == top) { in os_get_top_address() 108 fprintf(stderr, "Unable to determine bottom of address " in os_get_top_address() 113 printf("0x%lx\n", bottom << UM_KERN_PAGE_SHIF in os_get_top_address() [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
H A D | lcd_dma.c | 132 unsigned long top, bottom; in set_b1_regs() local 168 bottom = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); in set_b1_regs() 169 /* 1510 DMA requires the bottom address to be 2 more in set_b1_regs() 173 bottom += 2; in set_b1_regs() 178 bottom = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs() 188 bottom = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs() 193 bottom = PIXADDR(0, 0); in set_b1_regs() 203 bottom = PIXADDR(0, 0); in set_b1_regs() 208 bottom = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs() 218 bottom in set_b1_regs() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/omap/ |
H A D | lcd_dma.c | 135 unsigned long top, bottom; in set_b1_regs() local 171 bottom = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); in set_b1_regs() 172 /* 1510 DMA requires the bottom address to be 2 more in set_b1_regs() 176 bottom += 2; in set_b1_regs() 181 bottom = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs() 191 bottom = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs() 196 bottom = PIXADDR(0, 0); in set_b1_regs() 206 bottom = PIXADDR(0, 0); in set_b1_regs() 211 bottom = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs() 221 bottom in set_b1_regs() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
H A D | qxl_draw.c | 92 drawable->self_bitmap_area.bottom = 0; in make_drawable() 137 int left, right, top, bottom; in qxl_draw_dirty_fb() local 161 bottom = clips->y2; in qxl_draw_dirty_fb() 169 bottom = max_t(int, bottom, (int)clips_ptr->y2); in qxl_draw_dirty_fb() 173 height = bottom - top; in qxl_draw_dirty_fb() 193 drawable_rect.bottom = bottom; in qxl_draw_dirty_fb() 223 drawable->u.copy.src_area.bottom = height; in qxl_draw_dirty_fb() 242 rects[i].bottom in qxl_draw_dirty_fb() [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
H A D | bttv-risc.c | 460 if (NULL != btv->curr.bottom) btv->cap_ctl |= 0x01; in bttv_set_dma() 472 btv->cvbi ? (unsigned long long)btv->cvbi->bottom.dma : 0, in bttv_set_dma() 473 btv->curr.bottom ? (unsigned long long)btv->curr.bottom->bottom.dma : 0); in bttv_set_dma() 530 /* bottom field */ in bttv_risc_init_main() 579 btcx_riscmem_free(btv->c.pci,&buf->bottom); in bttv_dma_free() 589 struct btcx_riscmem *bottom; in bttv_buffer_activate_vbi() local 594 bottom = NULL; in bttv_buffer_activate_vbi() 625 bottom in bttv_buffer_activate_vbi() [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/bt8xx/ |
H A D | bttv-risc.c | 386 if (btv->curr.top || btv->curr.bottom) in bttv_set_capture_control() 437 btv->cvbi ? (unsigned long long)btv->cvbi->bottom.dma : 0, in bttv_set_dma() 438 btv->curr.bottom ? (unsigned long long)btv->curr.bottom->bottom.dma : 0); in bttv_set_dma() 467 /* bottom field */ in bttv_risc_init_main() 537 r = bttv_risc_packed(btv, &buf->bottom, list, offset, bpl, in bttv_buffer_risc_vbi() 558 struct btcx_riscmem *bottom; in bttv_buffer_activate_vbi() local 563 bottom = NULL; in bttv_buffer_activate_vbi() 593 bottom in bttv_buffer_activate_vbi() [all...] |
/kernel/linux/linux-5.10/drivers/s390/scsi/ |
H A D | zfcp_fsf.c | 394 (unsigned long long)qtcb->bottom.support.req_handle); in zfcp_fsf_protstatus_eval() 520 struct fsf_qtcb_bottom_config *bottom = &req->qtcb->bottom.config; in zfcp_fsf_exchange_config_evaluate() local 525 plogi = (struct fc_els_flogi *) ((u8 *)&bottom->plogi_payload in zfcp_fsf_exchange_config_evaluate() 529 memcpy(req->data, bottom, sizeof(*bottom)); in zfcp_fsf_exchange_config_evaluate() 531 adapter->timer_ticks = bottom->timer_interval & ZFCP_FSF_TIMER_INT_MASK; in zfcp_fsf_exchange_config_evaluate() 532 adapter->stat_read_buf_num = max(bottom->status_read_buf_num, in zfcp_fsf_exchange_config_evaluate() 540 adapter->hydra_version = bottom->adapter_type; in zfcp_fsf_exchange_config_evaluate() 542 switch (bottom in zfcp_fsf_exchange_config_evaluate() 568 struct fsf_qtcb_bottom_config *bottom = &qtcb->bottom.config; zfcp_fsf_exchange_config_data_handler() local 737 struct fsf_qtcb_bottom_port *bottom = &req->qtcb->bottom.port; zfcp_fsf_exchange_port_evaluate() local 755 struct fsf_qtcb_bottom_port *bottom = &qtcb->bottom.port; zfcp_fsf_exchange_port_data_handler() local 1679 struct fsf_qtcb_bottom_support *bottom = &req->qtcb->bottom.support; zfcp_fsf_open_port_handler() local [all...] |
H A D | zfcp_scsi.c | 868 const struct fsf_qtcb_bottom_config *const bottom, in zfcp_scsi_shost_update_config_data() 878 "0x%08x", bottom->lic_version); in zfcp_scsi_shost_update_config_data() 883 "0x%08x", bottom->hardware_version); in zfcp_scsi_shost_update_config_data() 884 memcpy(fc_host_serial_number(shost), bottom->serial_number, in zfcp_scsi_shost_update_config_data() 891 nsp = (struct fc_els_flogi *) ((u8 *)&bottom->nport_serv_param in zfcp_scsi_shost_update_config_data() 893 plogi = (struct fc_els_flogi *) ((u8 *)&bottom->plogi_payload in zfcp_scsi_shost_update_config_data() 908 fc_host_port_id(shost) = ntoh24(bottom->s_id); in zfcp_scsi_shost_update_config_data() 910 zfcp_fsf_convert_portspeed(bottom->fc_link_speed); in zfcp_scsi_shost_update_config_data() 913 bottom->adapter_type); in zfcp_scsi_shost_update_config_data() 915 switch (bottom in zfcp_scsi_shost_update_config_data() 866 zfcp_scsi_shost_update_config_data( struct zfcp_adapter *const adapter, const struct fsf_qtcb_bottom_config *const bottom, const bool bottom_incomplete) zfcp_scsi_shost_update_config_data() argument 936 zfcp_scsi_shost_update_port_data( struct zfcp_adapter *const adapter, const struct fsf_qtcb_bottom_port *const bottom) zfcp_scsi_shost_update_port_data() argument [all...] |
/kernel/linux/linux-6.6/drivers/s390/scsi/ |
H A D | zfcp_fsf.c | 413 (unsigned long long)qtcb->bottom.support.req_handle); in zfcp_fsf_protstatus_eval() 539 struct fsf_qtcb_bottom_config *bottom = &req->qtcb->bottom.config; in zfcp_fsf_exchange_config_evaluate() local 544 plogi = (struct fc_els_flogi *) ((u8 *)&bottom->plogi_payload in zfcp_fsf_exchange_config_evaluate() 548 memcpy(req->data, bottom, sizeof(*bottom)); in zfcp_fsf_exchange_config_evaluate() 550 adapter->timer_ticks = bottom->timer_interval & ZFCP_FSF_TIMER_INT_MASK; in zfcp_fsf_exchange_config_evaluate() 551 adapter->stat_read_buf_num = max(bottom->status_read_buf_num, in zfcp_fsf_exchange_config_evaluate() 559 adapter->hydra_version = bottom->adapter_type; in zfcp_fsf_exchange_config_evaluate() 561 switch (bottom in zfcp_fsf_exchange_config_evaluate() 587 struct fsf_qtcb_bottom_config *bottom = &qtcb->bottom.config; zfcp_fsf_exchange_config_data_handler() local 756 struct fsf_qtcb_bottom_port *bottom = &req->qtcb->bottom.port; zfcp_fsf_exchange_port_evaluate() local 774 struct fsf_qtcb_bottom_port *bottom = &qtcb->bottom.port; zfcp_fsf_exchange_port_data_handler() local 1700 struct fsf_qtcb_bottom_support *bottom = &req->qtcb->bottom.support; zfcp_fsf_open_port_handler() local [all...] |
H A D | zfcp_scsi.c | 865 const struct fsf_qtcb_bottom_config *const bottom, in zfcp_scsi_shost_update_config_data() 875 "0x%08x", bottom->lic_version); in zfcp_scsi_shost_update_config_data() 880 "0x%08x", bottom->hardware_version); in zfcp_scsi_shost_update_config_data() 881 memcpy(fc_host_serial_number(shost), bottom->serial_number, in zfcp_scsi_shost_update_config_data() 888 nsp = (struct fc_els_flogi *) ((u8 *)&bottom->nport_serv_param in zfcp_scsi_shost_update_config_data() 890 plogi = (struct fc_els_flogi *) ((u8 *)&bottom->plogi_payload in zfcp_scsi_shost_update_config_data() 905 fc_host_port_id(shost) = ntoh24(bottom->s_id); in zfcp_scsi_shost_update_config_data() 907 zfcp_fsf_convert_portspeed(bottom->fc_link_speed); in zfcp_scsi_shost_update_config_data() 910 bottom->adapter_type); in zfcp_scsi_shost_update_config_data() 912 switch (bottom in zfcp_scsi_shost_update_config_data() 863 zfcp_scsi_shost_update_config_data( struct zfcp_adapter *const adapter, const struct fsf_qtcb_bottom_config *const bottom, const bool bottom_incomplete) zfcp_scsi_shost_update_config_data() argument 933 zfcp_scsi_shost_update_port_data( struct zfcp_adapter *const adapter, const struct fsf_qtcb_bottom_port *const bottom) zfcp_scsi_shost_update_port_data() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/qxl/ |
H A D | qxl_draw.c | 97 drawable->self_bitmap_area.bottom = 0; in make_drawable() 142 int left, right, top, bottom; in qxl_draw_dirty_fb() local 167 bottom = clips->y2; in qxl_draw_dirty_fb() 175 bottom = max_t(int, bottom, (int)clips_ptr->y2); in qxl_draw_dirty_fb() 179 height = bottom - top; in qxl_draw_dirty_fb() 199 drawable_rect.bottom = bottom; in qxl_draw_dirty_fb() 230 drawable->u.copy.src_area.bottom = height; in qxl_draw_dirty_fb() 249 rects[i].bottom in qxl_draw_dirty_fb() [all...] |
/kernel/liteos_m/testsuites/unittest/xts/ipc/mutex/ |
H A D | pthread_mutex_test.c | 52 int bottom; member 67 if ((g_st1.top + 1) % g_st1.countMax == g_st1.bottom) { /* 1, common data for test, no special meaning */ in PthreadProduce() 91 if (g_st1.top == g_st1.bottom) { in PthreadConsume() 96 g_st1.bottom = (g_st1.bottom + 1) % g_st1.countMax; in PthreadConsume()
|
/kernel/uniproton/src/core/kernel/task/ |
H A D | prt_task_info.c | 89 stackInfo->peakUsed = (U32)(stackInfo->bottom - (uintptr_t)stack); in OsTaskStackPeakGet() 124 stackInfo->bottom = TRUNCATE(((uintptr_t)(taskCb->topOfStack) + (taskCb->stackSize)), OS_TSK_STACK_ADDR_ALIGN); in OsTaskStackInfoGet() 125 stackInfo->currUsed = (U32)(stackInfo->bottom - stackInfo->sp); in OsTaskStackInfoGet() 141 taskInfo->bottom = stackInfo.bottom; in OsTaskInfoStackGet()
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
H A D | dumpstack.c | 19 void dump_mem(const char *str, const char *loglvl, unsigned long bottom, in dump_mem() argument 25 printk("%s%s(0x%08lx to 0x%08lx)\n", loglvl, str, bottom, top); in dump_mem() 27 for (p = bottom & ~31; p < top; ) { in dump_mem() 33 if (p < bottom || p >= top) in dump_mem()
|
/kernel/linux/linux-6.6/arch/sh/kernel/ |
H A D | dumpstack.c | 19 void dump_mem(const char *str, const char *loglvl, unsigned long bottom, in dump_mem() argument 25 printk("%s%s(0x%08lx to 0x%08lx)\n", loglvl, str, bottom, top); in dump_mem() 27 for (p = bottom & ~31; p < top; ) { in dump_mem() 33 if (p < bottom || p >= top) in dump_mem()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_scrn.c | 51 * @bottom: Bottom side of bounding box. 58 s32 left, right, top, bottom; member 517 blit->body.destRect.bottom = clip->y2; in vmw_sou_bo_populate_clip() 610 blit->body.srcRect.bottom = 0; in vmw_sou_surface_pre_clip() 615 blit->body.destRect.bottom = 0; in vmw_sou_surface_pre_clip() 633 rect->bottom = clip->y2; in vmw_sou_surface_clip_rect() 670 blit->body.srcRect.bottom = src_bb.y2; in vmw_sou_surface_post_clip() 675 blit->body.destRect.bottom = bb->y2; in vmw_sou_surface_post_clip() 682 rect->bottom -= bb->y1; in vmw_sou_surface_post_clip() 1050 cmd->body.destRect.bottom in vmw_sou_surface_fifo_commit() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_scrn.c | 50 * @bottom: Bottom side of bounding box. 57 s32 left, right, top, bottom; member 511 blit->body.destRect.bottom = clip->y2; in vmw_sou_bo_populate_clip() 603 blit->body.srcRect.bottom = 0; in vmw_sou_surface_pre_clip() 608 blit->body.destRect.bottom = 0; in vmw_sou_surface_pre_clip() 626 rect->bottom = clip->y2; in vmw_sou_surface_clip_rect() 663 blit->body.srcRect.bottom = src_bb.y2; in vmw_sou_surface_post_clip() 668 blit->body.destRect.bottom = bb->y2; in vmw_sou_surface_post_clip() 675 rect->bottom -= bb->y1; in vmw_sou_surface_post_clip() 1016 cmd->body.destRect.bottom in vmw_sou_surface_fifo_commit() [all...] |
/kernel/linux/linux-5.10/block/ |
H A D | blk-settings.c | 482 * @b: the underlying queue limits (bottom, component device) 490 * all component (bottom) devices. The stacking function will 493 * Returns 0 if the top and bottom queue_limits are compatible. The 495 * ensure alignment with the bottom device. If no compatible sizes 503 unsigned int top, bottom, alignment, ret = 0; in blk_stack_limits() local 541 bottom = max(b->physical_block_size, b->io_min) + alignment; in blk_stack_limits() 543 /* Verify that top and bottom intervals line up */ in blk_stack_limits() 544 if (max(top, bottom) % min(top, bottom)) { in blk_stack_limits() 616 bottom in blk_stack_limits() 655 char top[BDEVNAME_SIZE], bottom[BDEVNAME_SIZE]; disk_stack_limits() local [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/ |
H A D | saa7134-go7007.c | 54 u8 *bottom; member 238 go7007_parse_video_stream(go, saa->bottom, PAGE_SIZE); in saa7134_go7007_irq_ts_done() 258 virt_to_page(saa->bottom), in saa7134_go7007_stream_start() 445 saa->bottom = (u8 *)get_zeroed_page(GFP_KERNEL); in saa7134_go7007_init() 446 if (!saa->bottom) in saa7134_go7007_init() 471 if (saa->bottom) in saa7134_go7007_init() 472 free_page((unsigned long)saa->bottom); in saa7134_go7007_init() 493 free_page((unsigned long)saa->bottom); in saa7134_go7007_fini()
|
/kernel/linux/linux-6.6/drivers/media/pci/saa7134/ |
H A D | saa7134-go7007.c | 54 u8 *bottom; member 233 go7007_parse_video_stream(go, saa->bottom, PAGE_SIZE); in saa7134_go7007_irq_ts_done() 253 virt_to_page(saa->bottom), in saa7134_go7007_stream_start() 440 saa->bottom = (u8 *)get_zeroed_page(GFP_KERNEL); in saa7134_go7007_init() 441 if (!saa->bottom) in saa7134_go7007_init() 466 if (saa->bottom) in saa7134_go7007_init() 467 free_page((unsigned long)saa->bottom); in saa7134_go7007_init() 488 free_page((unsigned long)saa->bottom); in saa7134_go7007_fini()
|
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/ |
H A D | It_posix_pthread.c | 166 g_scenarii[i].bottom = malloc(minstacksize + pagesize); in ScenarInit() 167 ICUNIT_TRACK_NOT_EQUAL(g_scenarii[i].bottom, NULL, g_scenarii[i].bottom); in ScenarInit() 193 if (g_scenarii[i].bottom != NULL) in ScenarFini() 194 free(g_scenarii[i].bottom); in ScenarFini()
|
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/ |
H A D | prism2sta.c | 684 le16_to_cpus(&hw->cap_sup_mfi.bottom); in prism2sta_getcardinfo() 690 hw->cap_sup_mfi.variant, hw->cap_sup_mfi.bottom, in prism2sta_getcardinfo() 708 le16_to_cpus(&hw->cap_sup_cfi.bottom); in prism2sta_getcardinfo() 714 hw->cap_sup_cfi.variant, hw->cap_sup_cfi.bottom, in prism2sta_getcardinfo() 732 le16_to_cpus(&hw->cap_sup_pri.bottom); in prism2sta_getcardinfo() 738 hw->cap_sup_pri.variant, hw->cap_sup_pri.bottom, in prism2sta_getcardinfo() 756 le16_to_cpus(&hw->cap_sup_sta.bottom); in prism2sta_getcardinfo() 763 hw->cap_sup_sta.variant, hw->cap_sup_sta.bottom, in prism2sta_getcardinfo() 769 hw->cap_sup_sta.variant, hw->cap_sup_sta.bottom, in prism2sta_getcardinfo() 788 le16_to_cpus(&hw->cap_act_pri_cfi.bottom); in prism2sta_getcardinfo() [all...] |
/kernel/linux/linux-6.6/drivers/staging/wlan-ng/ |
H A D | prism2sta.c | 664 le16_to_cpus(&hw->cap_sup_mfi.bottom); in prism2sta_getcardinfo() 670 hw->cap_sup_mfi.variant, hw->cap_sup_mfi.bottom, in prism2sta_getcardinfo() 688 le16_to_cpus(&hw->cap_sup_cfi.bottom); in prism2sta_getcardinfo() 694 hw->cap_sup_cfi.variant, hw->cap_sup_cfi.bottom, in prism2sta_getcardinfo() 712 le16_to_cpus(&hw->cap_sup_pri.bottom); in prism2sta_getcardinfo() 718 hw->cap_sup_pri.variant, hw->cap_sup_pri.bottom, in prism2sta_getcardinfo() 736 le16_to_cpus(&hw->cap_sup_sta.bottom); in prism2sta_getcardinfo() 743 hw->cap_sup_sta.variant, hw->cap_sup_sta.bottom, in prism2sta_getcardinfo() 749 hw->cap_sup_sta.variant, hw->cap_sup_sta.bottom, in prism2sta_getcardinfo() 768 le16_to_cpus(&hw->cap_act_pri_cfi.bottom); in prism2sta_getcardinfo() [all...] |
/kernel/linux/linux-5.10/include/media/ |
H A D | v4l2-rect.h | 121 int right, bottom; in v4l2_rect_intersect() local 125 bottom = min(r1->top + r1->height, r2->top + r2->height); in v4l2_rect_intersect() 127 r->height = max(0, bottom - r->top); in v4l2_rect_intersect() 177 * IF the top side of r1 is below the bottom of r2 OR in v4l2_rect_overlap() 178 * the top side of r2 is below the bottom of r1 THEN in v4l2_rect_overlap()
|