Home
last modified time | relevance | path

Searched refs:top (Results 1 – 25 of 69) sorted by relevance

123

/linux-4.19.296/include/media/
Dv4l2-rect.h64 if (r->top < boundary->top) in v4l2_rect_map_inside()
65 r->top = boundary->top; in v4l2_rect_map_inside()
68 if (r->top + r->height > boundary->top + boundary->height) in v4l2_rect_map_inside()
69 r->top = boundary->top + boundary->height - r->height; in v4l2_rect_map_inside()
97 r->top = max(r1->top, r2->top); in v4l2_rect_intersect()
99 bottom = min(r1->top + r1->height, r2->top + r2->height); in v4l2_rect_intersect()
101 r->height = max(0, bottom - r->top); in v4l2_rect_intersect()
123 r->left = r->top = r->width = r->height = 0; in v4l2_rect_scale()
128 r->top = ((r->top - from->top) * to->height) / from->height; in v4l2_rect_scale()
155 if (r1->top >= r2->top + r2->height || in v4l2_rect_overlap()
[all …]
Dtuner.h157 #define TDA9887_TOP(top) (TDA9887_TOP_SET | \ argument
158 (((16 + (top)) & 0x1f) << 8))
/linux-4.19.296/fs/jfs/
Djfs_btree.h119 struct btframe *top; member
125 (btstack)->top = (btstack)->stack
128 ( (btstack)->top == &((btstack)->stack[MAXTREEHEIGHT-1]))
133 (BTSTACK)->top->bn = BN;\
134 (BTSTACK)->top->index = INDEX;\
135 ++(BTSTACK)->top;\
139 ( (btstack)->top == (btstack)->stack ? NULL : --(btstack)->top )
142 ( (btstack)->top == (btstack)->stack ? NULL : (btstack)->top )
169 if (! BT_IS_ROOT((BTSTACK)->top->mp))\
170 release_metapage((BTSTACK)->top->mp);\
Djfs_xtree.c188 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtLookup()
359 btsp = btstack->top; in xtSearch()
406 btsp = btstack->top; in xtSearch()
464 btsp = btstack->top; in xtSearch()
569 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtInsert()
1385 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtExtend()
1552 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtTailgate()
1733 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index0); in xtUpdate()
2047 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index0); in xtUpdate()
2208 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtAppend()
[all …]
/linux-4.19.296/fs/autofs/
Dexpire.c35 struct dentry *top = dentry; in autofs_mount_busy() local
64 ino = autofs_dentry_ino(top); in autofs_mount_busy()
193 struct dentry *top, in autofs_direct_busy() argument
197 pr_debug("top %p %pd\n", top, top); in autofs_direct_busy()
207 ino = autofs_dentry_ino(top); in autofs_direct_busy()
214 if (!autofs_can_expire(top, timeout, how)) in autofs_direct_busy()
225 struct dentry *top, in autofs_tree_busy() argument
229 struct autofs_info *top_ino = autofs_dentry_ino(top); in autofs_tree_busy()
232 pr_debug("top %p %pd\n", top, top); in autofs_tree_busy()
235 if (!simple_positive(top)) in autofs_tree_busy()
[all …]
/linux-4.19.296/lib/
Dplist.c45 static void plist_check_list(struct list_head *top) in plist_check_list() argument
47 struct list_head *prev = top, *next = top->next; in plist_check_list()
49 plist_check_prev_next(top, prev, next); in plist_check_list()
50 while (next != top) { in plist_check_list()
53 plist_check_prev_next(top, prev, next); in plist_check_list()
/linux-4.19.296/drivers/uwb/
Ddrp-avail.c144 size_t top = itr + len; in get_val() local
148 while (itr < top) { in get_val()
150 val |= array[top - 1]; in get_val()
151 top--; in get_val()
/linux-4.19.296/block/
Dblk-settings.c559 unsigned int top, bottom, alignment, ret = 0; in blk_stack_limits() local
593 top = max(t->physical_block_size, t->io_min) in blk_stack_limits()
598 if (max(top, bottom) % min(top, bottom)) { in blk_stack_limits()
660 top = t->discard_granularity + t->discard_alignment; in blk_stack_limits()
664 if ((max(top, bottom) % min(top, bottom)) != 0) in blk_stack_limits()
724 char top[BDEVNAME_SIZE], bottom[BDEVNAME_SIZE]; in disk_stack_limits() local
726 disk_name(disk, 0, top); in disk_stack_limits()
730 top, bottom); in disk_stack_limits()
/linux-4.19.296/include/linux/wimax/
Ddebug.h458 struct d_level *itr, *top; in d_submodule_set() local
461 for (itr = d_level, top = itr + d_level_size; itr < top; itr++) { in d_submodule_set()
/linux-4.19.296/drivers/media/
Dmedia-entity.c253 if (graph->top == MEDIA_ENTITY_ENUM_MAX_DEPTH - 1) { in stack_push()
257 graph->top++; in stack_push()
258 graph->stack[graph->top].link = entity->links.next; in stack_push()
259 graph->stack[graph->top].entity = entity; in stack_push()
266 entity = graph->stack[graph->top].entity; in stack_pop()
267 graph->top--; in stack_pop()
272 #define link_top(en) ((en)->stack[(en)->top].link)
273 #define stack_top(en) ((en)->stack[(en)->top].entity)
309 graph->top = 0; in media_graph_walk_start()
310 graph->stack[graph->top].entity = NULL; in media_graph_walk_start()
/linux-4.19.296/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c449 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
452 tpg->compose.top = tpg->compose.left = 0; in tpg_reset_source()
1546 tpg->square.top = (h - sq_h) / 2; in tpg_calculate_square_border()
1549 tpg->border.top = 0; in tpg_calculate_square_border()
1563 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1568 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1579 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1584 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1595 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1828 y += tpg->compose.top; in tpg_gen_text()
[all …]
/linux-4.19.296/drivers/pci/
Dbus.c375 void pci_walk_bus(struct pci_bus *top, int (*cb)(struct pci_dev *, void *), in pci_walk_bus() argument
383 bus = top; in pci_walk_bus()
385 next = top->devices.next; in pci_walk_bus()
389 if (bus == top) in pci_walk_bus()
/linux-4.19.296/drivers/media/usb/gspca/stv06xx/
Dstv06xx_hdcs.c72 int left, top; member
307 + hdcs->array.top; in hdcs_set_size()
312 y = hdcs->array.top + (hdcs->array.height - height) / 2; in hdcs_set_size()
385 hdcs->array.top = 8; in hdcs_probe_1x00()
447 hdcs->array.top = 4; in hdcs_probe_1020()
/linux-4.19.296/drivers/base/regmap/
Dregcache-rbtree.c46 unsigned int *base, unsigned int *top) in regcache_rbtree_get_base_top_reg() argument
49 *top = rbnode->base_reg + ((rbnode->blklen - 1) * map->reg_stride); in regcache_rbtree_get_base_top_reg()
142 unsigned int base, top; in rbtree_show() local
159 regcache_rbtree_get_base_top_reg(map, n, &base, &top); in rbtree_show()
160 this_registers = ((top - base) / map->reg_stride) + 1; in rbtree_show()
161 seq_printf(s, "%x-%x (%d)\n", base, top, this_registers); in rbtree_show()
/linux-4.19.296/fs/nfs/blocklayout/
Ddev.c501 struct pnfs_block_dev *top; in bl_alloc_deviceid_node() local
531 top = kzalloc(sizeof(*top), gfp_mask); in bl_alloc_deviceid_node()
532 if (!top) in bl_alloc_deviceid_node()
535 ret = bl_parse_deviceid(server, top, volumes, nr_volumes - 1, gfp_mask); in bl_alloc_deviceid_node()
537 node = &top->node; in bl_alloc_deviceid_node()
/linux-4.19.296/fs/btrfs/
Dreada.c54 struct btrfs_key top; member
89 struct btrfs_key *top, u64 generation);
142 next_key = re->top; in __readahead_hook()
300 struct btrfs_key *top) in reada_find_extent() argument
329 re->top = *top; in reada_find_extent()
543 struct btrfs_key *top, u64 generation) in reada_add_block() argument
550 re = reada_find_extent(fs_info, logical, top); in reada_add_block()
/linux-4.19.296/drivers/fsi/
Dfsi-master-gpio.c171 int top; in msg_push_crc() local
173 top = msg->bits & 0x3; in msg_push_crc()
176 crc = crc4(0, 1 << top | msg->msg >> (msg->bits - top), top + 1); in msg_push_crc()
179 crc = crc4(crc, msg->msg, msg->bits - top); in msg_push_crc()
/linux-4.19.296/fs/minix/
Ditree_common.c227 block_t *top) in find_shared() argument
232 *top = 0; in find_shared()
249 *top = *p->p; in find_shared()
/linux-4.19.296/drivers/media/tuners/
Dmxl5005s.h101 u32 top; member
/linux-4.19.296/crypto/
Dalgapi.c101 struct list_head *top, in crypto_more_spawns() argument
118 return &n->list == stack ? top : &n->inst->alg.cra_users; in crypto_more_spawns()
151 LIST_HEAD(top); in crypto_remove_spawns()
158 list_move(&spawn->list, &top); in crypto_remove_spawns()
161 spawns = &top; in crypto_remove_spawns()
192 } while ((spawns = crypto_more_spawns(alg, &stack, &top, in crypto_remove_spawns()
/linux-4.19.296/include/video/
Dmbxfb.h83 __u8 top; member
/linux-4.19.296/drivers/media/common/saa7146/
Dsaa7146_hlp.c310 int low = 0, high = 0, top = 0; in sort_and_eliminate() local
319 for( top = *count; top > 0; top--) { in sort_and_eliminate()
320 for( low = 0, high = 1; high < top; low++, high++) { in sort_and_eliminate()
366 y[i] = vv->ov.clips[i].c.top; in calculate_clipping_registers_rect()
653 …saa7146_set_position(dev, vv->ov.win.w.left, vv->ov.win.w.top, vv->ov.win.w.height, vv->ov.win.fie… in saa7146_enable_overlay()
/linux-4.19.296/include/uapi/drm/
Dqxl_drm.h99 __u32 top; member
/linux-4.19.296/fs/ext4/
Ddir.c641 char *top; in ext4_check_all_de() local
644 top = buf + buf_size; in ext4_check_all_de()
645 while ((char *) de < top) { in ext4_check_all_de()
653 if ((char *) de > top) in ext4_check_all_de()
/linux-4.19.296/fs/sysv/
Ditree.c285 sysv_zone_t *top) in find_shared() argument
290 *top = 0; in find_shared()
317 *top = *p->p; in find_shared()

123