Home
last modified time | relevance | path

Searched refs:POS (Results 1 – 25 of 44) sorted by relevance

12

/linux/arch/x86/math-emu/
H A Dreg_constant.c23 FPU_REG const CONST_1 = MAKE_REG(POS, 0, 0x00000000, 0x80000000);
25 FPU_REG const CONST_2 = MAKE_REG(POS, 1, 0x00000000, 0x80000000);
26 FPU_REG const CONST_HALF = MAKE_REG(POS, -1, 0x00000000, 0x80000000);
28 static FPU_REG const CONST_L2T = MAKE_REG(POS, 1, 0xcd1b8afe, 0xd49a784b);
29 static FPU_REG const CONST_L2E = MAKE_REG(POS, 0, 0x5c17f0bc, 0xb8aa3b29);
30 FPU_REG const CONST_PI = MAKE_REG(POS, 1, 0x2168c235, 0xc90fdaa2);
31 FPU_REG const CONST_PI2 = MAKE_REG(POS, 0, 0x2168c235, 0xc90fdaa2);
32 FPU_REG const CONST_PI4 = MAKE_REG(POS, -1, 0x2168c235, 0xc90fdaa2);
33 static FPU_REG const CONST_LG2 = MAKE_REG(POS, -2, 0xfbcff799, 0x9a209a84);
41 FPU_REG const CONST_Z = MAKE_REG(POS, EXP_UNDER, 0x0, 0x0);
[all …]
/linux/include/linux/
H A Dfortify-string.h152 #define POS __pass_dynamic_object_size(1) macro
155 #define POS __pass_object_size(1) macro
197 char *strncpy(char * const POS p, const char *q, __kernel_size_t size) in strncpy()
219 __FORTIFY_INLINE __kernel_size_t strnlen(const char * const POS p, __kernel_size_t maxlen) in strnlen()
261 __kernel_size_t __fortify_strlen(const char * const POS p) in __fortify_strlen()
277 __FORTIFY_INLINE ssize_t sized_strscpy(char * const POS p, const char * const POS q, size_t size) in sized_strscpy()
359 size_t strlcat(char * const POS p, const char * const POS q, size_t avail) in strlcat()
413 char *strcat(char * const POS p, const char *q) in strcat()
444 char *strncat(char * const POS p, const char * const POS q, __kernel_size_t count) in strncat()
773 char *strcpy(char * const POS p, const char * const POS q) in strcpy()
[all …]
/linux/fs/bcachefs/
H A Dtests.c19 POS(0, U64_MAX), in delete_test_keys()
25 POS(0, U64_MAX), in delete_test_keys()
135 SPOS(0, 0, U32_MAX), POS(0, U64_MAX), in test_iterate()
190 SPOS(0, 0, U32_MAX), POS(0, U64_MAX), in test_iterate_extents()
246 SPOS(0, 0, U32_MAX), POS(0, U64_MAX), in test_iterate_slots()
263 SPOS(0, 0, U32_MAX), POS(0, U64_MAX), in test_iterate_slots()
306 SPOS(0, 0, U32_MAX), POS(0, U64_MAX), in test_iterate_slots_extents()
324 SPOS(0, 0, U32_MAX), POS(0, U64_MAX), in test_iterate_slots_extents()
675 k = bch2_btree_iter_peek_upto(&iter, POS(0, U64_MAX)); in __do_delete()
730 SPOS(0, 0, U32_MAX), POS(0, U64_MAX), in seq_lookup()
[all …]
H A Dsubvolume_format.h5 #define SUBVOL_POS_MIN POS(0, 1)
6 #define SUBVOL_POS_MAX POS(0, S32_MAX)
H A Dio_misc.c144 struct bpos end_pos = POS(inum.inum, end); in bch2_fpunch_at()
200 POS(inum.inum, start), in bch2_fpunch()
260 POS(inum.inum, round_up(new_i_size, block_bytes(c)) >> 9), in __bch2_resume_logged_op_truncate()
385 POS(inum.inum, 0), in __bch2_resume_logged_op_finsert()
399 bch2_btree_iter_set_pos(&iter, POS(inum.inum, src_offset)); in __bch2_resume_logged_op_finsert()
416 struct bpos src_pos = POS(inum.inum, src_offset); in __bch2_resume_logged_op_finsert()
430 : bch2_btree_iter_peek_upto(&iter, POS(inum.inum, U64_MAX)); in __bch2_resume_logged_op_finsert()
436 bkey_le(k.k->p, POS(inum.inum, src_offset))) in __bch2_resume_logged_op_finsert()
H A Dsubvolume.c24 return POS(le32_to_cpu(s.v->fs_path_parent), s.k->p.offset); in subvolume_children_pos()
177 int ret = bch2_bkey_get_val_typed(trans, BTREE_ID_subvolumes, POS(0, child_k.k->p.offset), in check_subvol_child()
277 bch2_trans_iter_init(trans, &iter, BTREE_ID_subvolume_children, POS(subvol, 0), 0); in bch2_subvol_has_children()
292 int ret = bch2_bkey_get_val_typed(trans, BTREE_ID_subvolumes, POS(0, subvol), in bch2_subvolume_get_inlined()
342 BTREE_ID_subvolumes, POS(0, subvolid), in __bch2_subvolume_get_snapshot()
420 BTREE_ID_subvolumes, POS(0, subvolid), in __bch2_subvolume_delete()
521 BTREE_ID_subvolumes, POS(0, subvolid), in bch2_subvolume_unlink()
550 BTREE_ID_subvolumes, POS(0, U32_MAX)); in bch2_subvolume_create()
563 BTREE_ID_subvolumes, POS(0, src_subvolid), in bch2_subvolume_create()
H A Dfs-io.c252 POS(inode->v.i_ino, (index << PAGE_SECTORS_SHIFT)), in __bch2_truncate_folio()
253 POS(inode->v.i_ino, (index << PAGE_SECTORS_SHIFT) + PAGE_SECTORS)); in __bch2_truncate_folio()
580 struct bpos end_pos = POS(inode->v.i_ino, end_sector); in __bchfs_fallocate()
587 POS(inode->v.i_ino, start_sector), in __bchfs_fallocate()
649 bch2_btree_iter_set_pos(&iter, POS(iter.pos.inode, hole_start)); in __bchfs_fallocate()
811 POS(inode->v.i_ino, start), in quota_reserve_range()
812 POS(inode->v.i_ino, end - 1), in quota_reserve_range()
926 POS(inode->v.i_ino, offset >> 9), in bch2_seek_data()
927 POS(inode->v.i_ino, U64_MAX), in bch2_seek_data()
962 POS(inode->v.i_ino, offset >> 9), in bch2_seek_hole()
[all …]
H A Dsnapshot.c39 bkey_fsck_err_on(bkey_gt(k.k->p, POS(0, U32_MAX)) || in bch2_snapshot_tree_validate()
40 bkey_lt(k.k->p, POS(0, 1)), in bch2_snapshot_tree_validate()
63 BTREE_ID_snapshot_trees, POS(0, U32_MAX)); in __bch2_snapshot_tree_create()
235 bkey_lt(k.k->p, POS(0, 1)), in bch2_snapshot_validate()
518 BTREE_ID_subvolumes, POS(0, *subvol_id), in bch2_snapshot_tree_master_subvol()
700 BTREE_ID_snapshots, POS(0, root_id), in snapshot_tree_ptr_repair()
938 snapshot->k.p = POS(0, id); in check_snapshot_exists()
1107 BTREE_ID_snapshots, POS(0, id), in bch2_snapshot_node_set_deleted()
1163 BTREE_ID_snapshots, POS(0, parent_id), in bch2_snapshot_node_delete()
1190 BTREE_ID_snapshots, POS(0, child_id), in bch2_snapshot_node_delete()
[all …]
H A Dextent_update.c74 BTREE_ID_reflink, POS(0, idx + offset), in count_iters_for_insert()
76 if (bkey_ge(bkey_start_pos(r_k.k), POS(0, idx + sectors))) in count_iters_for_insert()
H A Dbackpointers.h43 return POS(bp_pos.inode, sector_to_bucket(ca, bucket_sector)); in bp_pos_to_bucket()
66 return POS(bucket.inode, in bucket_pos_to_bp_noerror()
H A Dquota.c631 POS(QTYP_USR, 0), in bch2_quota_remove()
632 POS(QTYP_USR, U64_MAX), in bch2_quota_remove()
643 POS(QTYP_GRP, 0), in bch2_quota_remove()
644 POS(QTYP_GRP, U64_MAX), in bch2_quota_remove()
655 POS(QTYP_PRJ, 0), in bch2_quota_remove()
656 POS(QTYP_PRJ, U64_MAX), in bch2_quota_remove()
870 new_quota.k.p = POS(qid.type, from_kqid(&init_user_ns, qid)); in bch2_set_quota()
H A Dstr_hash.h165 POS(inum.inum, U64_MAX), in bch2_hash_lookup_in_snapshot()
215 POS(inum.inum, U64_MAX), in bch2_hash_hole()
272 POS(insert->k.p.inode, U64_MAX), in bch2_hash_set_or_get_in_snapshot()
H A Ddirent.c289 POS(dst_dir.inum, bch2_dirent_hash(dst_hash, dst_name)); in bch2_dirent_rename()
505 POS(dir, U64_MAX), 0, k, ret) in bch2_empty_dir_snapshot()
553 POS(inum.inum, ctx->pos), in bch2_readdir()
554 POS(inum.inum, U64_MAX), in bch2_readdir()
H A Dlru.h17 struct bpos pos = POS(((u64) lru_id << LRU_TIME_BITS)|time, dev_bucket); in lru_pos()
H A Dalloc_background.c617 bch2_btree_iter_set_pos(&iter, POS(k.k->p.inode + 1, 0)); in bch2_alloc_read()
638 bch2_btree_iter_set_pos(&iter, POS(k.k->p.inode + 1, 0)); in bch2_alloc_read()
648 bch2_btree_iter_set_pos(&iter, POS(k.k->p.inode + 1, 0)); in bch2_alloc_read()
1083 *bucket = POS((*ca)->dev_idx, (*ca)->mi.first_bucket); in next_bucket()
1891 POS(ca->dev_idx, 0), in bch2_do_discards_work()
1892 POS(ca->dev_idx, U64_MAX), 0, k, in bch2_do_discards_work()
1983 bch2_clear_bucket_needs_discard(trans, POS(ca->dev_idx, bucket))); in bch2_do_discards_fast_work()
2192 struct bpos end = POS(ca->dev_idx, bucket_end); in bch2_dev_freespace_init()
2201 POS(ca->dev_idx, max_t(u64, ca->mi.first_bucket, bucket_start)), in bch2_dev_freespace_init()
2326 struct bpos start = POS(ca->dev_idx, 0); in bch2_dev_remove_alloc()
[all …]
H A Dreflink.c88 BTREE_ID_reflink, POS(0, *idx), in trans_trigger_reflink_p_segment()
435 struct bpos dst_start = POS(dst_inum.inum, dst_offset); in bch2_remap_range()
436 struct bpos src_start = POS(src_inum.inum, src_offset); in bch2_remap_range()
499 src_want = POS(src_start.inode, src_start.offset + dst_done); in bch2_remap_range()
H A Dfsck.c78 POS(inum, U64_MAX), in bch2_count_inode_sectors()
95 POS(inum, U64_MAX), in bch2_count_subdirs()
577 BTREE_ID_snapshots, POS(0, snapshotid), in reconstruct_subvol()
591 BTREE_ID_snapshot_trees, POS(0, snapshot_tree), in reconstruct_subvol()
2039 POS(BCACHEFS_ROOT_INO, 0), in bch2_check_extents()
2371 BTREE_ID_subvolumes, POS(0, target_subvol), in check_dirent_to_subvol()
2554 POS(BCACHEFS_ROOT_INO, 0), in bch2_check_dirents()
2613 POS(BCACHEFS_ROOT_INO, 0), in bch2_check_xattrs()
2736 BTREE_ID_subvolumes, POS(0, parent), 0); in check_subvol_path()
2988 POS(0, start), in check_nlinks_find_hardlinks()
[all …]
H A Dinode.c656 BTREE_ID_inodes, POS(0, pos.offset), bpos_predecessor(pos), in __bch2_inode_has_child_snapshots()
895 bch2_trans_iter_init(trans, iter, BTREE_ID_inodes, POS(0, pos), in bch2_inode_create()
901 bkey_lt(k.k->p, POS(0, max))) { in bch2_inode_create()
910 bch2_btree_iter_set_pos(iter, POS(0, pos)); in bch2_inode_create()
926 bch2_btree_iter_set_pos(iter, POS(0, pos)); in bch2_inode_create()
949 struct bpos end = POS(inum.inum, U64_MAX); in bch2_inode_delete_keys()
957 bch2_trans_iter_init(trans, &iter, id, POS(inum.inum, 0), in bch2_inode_delete_keys()
H A Dbuckets.h123 return POS(ptr->dev, PTR_BUCKET_NR(ca, ptr)); in PTR_BUCKET_POS()
130 return POS(ptr->dev, sector_to_bucket_and_offset(ca, ptr->offset, bucket_offset)); in PTR_BUCKET_POS_OFFSET()
H A Dalloc_foreground.c234 if (bch2_bucket_nocow_is_locked(&c->nocow_locks, POS(ca->dev_idx, bucket))) { in __try_alloc_bucket()
306 BTREE_ID_alloc, POS(ca->dev_idx, b), in try_alloc_bucket()
349 ret = bch2_get_next_backpointer(trans, ca, POS(ca->dev_idx, b), -1, in try_alloc_bucket()
411 for_each_btree_key_norestart(trans, iter, BTREE_ID_alloc, POS(ca->dev_idx, alloc_cursor), in bch2_bucket_alloc_early()
415 if (bkey_ge(k.k->p, POS(ca->dev_idx, ca->mi.nbuckets))) in bch2_bucket_alloc_early()
432 bch2_btree_iter_set_pos(&iter, POS(ca->dev_idx, bucket)); in bch2_bucket_alloc_early()
496 POS(ca->dev_idx, alloc_cursor), 0, k, ret) { in bch2_bucket_alloc_freelist()
520 bch2_btree_iter_set_pos(&iter, POS(ca->dev_idx, alloc_cursor)); in bch2_bucket_alloc_freelist()
H A Dfs.c61 bch2_assert_pos_locked(trans, BTREE_ID_inodes, POS(0, bi->bi_inum)); in bch2_inode_update_after_write()
632 !bkey_eq(k.k->p, POS(inode_u.bi_dir, inode_u.bi_dir_offset)), in bch2_lookup_trans()
1256 struct bpos end = POS(ei->v.i_ino, (start + len) >> 9); in bch2_fiemap()
1267 POS(ei->v.i_ino, start), 0); in bch2_fiemap()
1311 bch2_cut_front(POS(k.k->p.inode, in bch2_fiemap()
1331 POS(iter.pos.inode, iter.pos.offset + sectors)); in bch2_fiemap()
1637 POS(dir->ei_inode.bi_inum, 0), 0); in bch2_get_name()
1639 POS(dir->ei_inode.bi_inum, 0), 0); in bch2_get_name()
1655 bch2_btree_iter_set_pos(&iter1, POS(inode_u.bi_dir, inode_u.bi_dir_offset)); in bch2_get_name()
H A Drebalance.c287 r->scan_start = BBPOS(BTREE_ID_extents, POS(inum, 0)); in do_rebalance_scan()
288 r->scan_end = BBPOS(BTREE_ID_extents, POS(inum, U64_MAX)); in do_rebalance_scan()
/linux/drivers/staging/sm750fb/
H A Dddk750_mode.h8 POS = 0, /* positive */ enumerator
H A Dsm750_hw.c285 (var->sync & FB_SYNC_HOR_HIGH_ACT) ? POS : NEG; in hw_sm750_crtc_setMode()
287 (var->sync & FB_SYNC_VERT_HIGH_ACT) ? POS : NEG; in hw_sm750_crtc_setMode()
289 (var->sync & FB_SYNC_COMP_HIGH_ACT) ? POS : NEG; in hw_sm750_crtc_setMode()
/linux/scripts/gcc-plugins/
H A Dgcc-common.h126 #define PASS_INFO(NAME, REF, ID, POS) \ argument
131 .pos_op = POS, \

12