/linux-4.19.296/include/linux/ |
D | uidgid.h | 61 static inline bool uid_eq(kuid_t left, kuid_t right) in uid_eq() argument 63 return __kuid_val(left) == __kuid_val(right); in uid_eq() 66 static inline bool gid_eq(kgid_t left, kgid_t right) in gid_eq() argument 68 return __kgid_val(left) == __kgid_val(right); in gid_eq() 71 static inline bool uid_gt(kuid_t left, kuid_t right) in uid_gt() argument 73 return __kuid_val(left) > __kuid_val(right); in uid_gt() 76 static inline bool gid_gt(kgid_t left, kgid_t right) in gid_gt() argument 78 return __kgid_val(left) > __kgid_val(right); in gid_gt() 81 static inline bool uid_gte(kuid_t left, kuid_t right) in uid_gte() argument 83 return __kuid_val(left) >= __kuid_val(right); in uid_gte() [all …]
|
D | projid.h | 36 static inline bool projid_eq(kprojid_t left, kprojid_t right) in projid_eq() argument 38 return __kprojid_val(left) == __kprojid_val(right); in projid_eq() 41 static inline bool projid_lt(kprojid_t left, kprojid_t right) in projid_lt() argument 43 return __kprojid_val(left) < __kprojid_val(right); in projid_lt()
|
D | interval_tree_generic.h | 195 ITSTRUCT *right = rb_entry(rb, ITSTRUCT, ITRB); \ 196 if (start <= right->ITSUBTREE) \ 197 return ITPREFIX ## _subtree_search(right, \
|
/linux-4.19.296/fs/quota/ |
D | kqid.c | 13 bool qid_eq(struct kqid left, struct kqid right) in qid_eq() argument 15 if (left.type != right.type) in qid_eq() 19 return uid_eq(left.uid, right.uid); in qid_eq() 21 return gid_eq(left.gid, right.gid); in qid_eq() 23 return projid_eq(left.projid, right.projid); in qid_eq() 37 bool qid_lt(struct kqid left, struct kqid right) in qid_lt() argument 39 if (left.type < right.type) in qid_lt() 41 if (left.type > right.type) in qid_lt() 45 return uid_lt(left.uid, right.uid); in qid_lt() 47 return gid_lt(left.gid, right.gid); in qid_lt() [all …]
|
/linux-4.19.296/drivers/hid/ |
D | hid-zpff.c | 42 int left, right; in zpff_play() local 51 right = effect->u.rumble.weak_magnitude; in zpff_play() 52 dbg_hid("called with 0x%04x 0x%04x\n", left, right); in zpff_play() 55 right = right * 0x7f / 0xffff; in zpff_play() 58 zpff->report->field[3]->value[0] = right; in zpff_play() 59 dbg_hid("running with 0x%02x 0x%02x\n", left, right); in zpff_play()
|
D | hid-sjoy.c | 46 u32 left, right; in hid_sjoyff_play() local 49 right = effect->u.rumble.weak_magnitude; in hid_sjoyff_play() 50 dev_dbg(&dev->dev, "called with 0x%08x 0x%08x\n", left, right); in hid_sjoyff_play() 53 right = (right != 0); /* on/off only */ in hid_sjoyff_play() 55 sjoyff->report->field[0]->value[1] = right; in hid_sjoyff_play() 57 dev_dbg(&dev->dev, "running with 0x%02x 0x%02x\n", left, right); in hid_sjoyff_play()
|
D | hid-axff.c | 49 int left, right; in axff_play() local 53 right = effect->u.rumble.weak_magnitude; in axff_play() 55 dbg_hid("called with 0x%04x 0x%04x", left, right); in axff_play() 58 right = right * 0xff / 0xffff; in axff_play() 63 field_count % 2 ? right : left; in axff_play() 68 dbg_hid("running with 0x%02x 0x%02x", left, right); in axff_play()
|
D | hid-gaff.c | 47 int left, right; in hid_gaff_play() local 50 right = effect->u.rumble.weak_magnitude; in hid_gaff_play() 52 dbg_hid("called with 0x%04x 0x%04x", left, right); in hid_gaff_play() 55 right = right * 0xfe / 0xffff; in hid_gaff_play() 59 gaff->report->field[0]->value[2] = right; in hid_gaff_play() 63 dbg_hid("running with 0x%02x 0x%02x", left, right); in hid_gaff_play()
|
D | hid-lgff.c | 75 unsigned int left, right; in hid_lgff_play() local 94 right = effect->u.rumble.strong_magnitude; in hid_lgff_play() 96 right = right * 0xff / 0xffff; in hid_lgff_play() 99 CLAMP(right); in hid_lgff_play() 103 report->field[0]->value[3] = right; in hid_lgff_play() 104 dbg_hid("(left, right)=(%04x, %04x)\n", left, right); in hid_lgff_play()
|
D | hid-pl.c | 64 int left, right; in hid_plff_play() local 67 right = effect->u.rumble.weak_magnitude; in hid_plff_play() 68 debug("called with 0x%04x 0x%04x", left, right); in hid_plff_play() 71 right = right * plff->maxval / 0xffff; in hid_plff_play() 74 *plff->weak = right; in hid_plff_play() 75 debug("running with 0x%02x 0x%02x", left, right); in hid_plff_play()
|
D | hid-holtekff.c | 107 int left, right; in holtekff_play() local 113 right = effect->u.rumble.weak_magnitude; in holtekff_play() 114 dbg_hid("called with 0x%04x 0x%04x\n", left, right); in holtekff_play() 116 if (!left && !right) { in holtekff_play() 123 if (right) in holtekff_play() 127 buf[6] = min(0xf, (left >> 12) + (right >> 12)); in holtekff_play()
|
D | hid-tmff.c | 92 int left, right; /* Rumbling */ in tmff_play() local 114 right = tmff_scale_u16(effect->u.rumble.strong_magnitude, in tmff_play() 121 left = right; in tmff_play() 122 right = motor_swap; in tmff_play() 125 dbg_hid("(left,right)=(%08x, %08x)\n", left, right); in tmff_play() 127 ff_field->value[1] = right; in tmff_play()
|
D | hid-betopff.c | 45 __u16 left, right; in hid_betopff_play() local 48 right = effect->u.rumble.weak_magnitude; in hid_betopff_play() 51 betopff->report->field[3]->value[0] = right / 256; in hid_betopff_play()
|
/linux-4.19.296/fs/btrfs/ |
D | ctree.c | 1880 struct extent_buffer *right = NULL; in balance_level() local 1972 right = read_node_slot(fs_info, parent, pslot + 1); in balance_level() 1973 if (IS_ERR(right)) in balance_level() 1974 right = NULL; in balance_level() 1976 if (right) { in balance_level() 1977 btrfs_tree_lock(right); in balance_level() 1978 btrfs_set_lock_blocking(right); in balance_level() 1979 wret = btrfs_cow_block(trans, root, right, in balance_level() 1980 parent, pslot + 1, &right); in balance_level() 1998 if (right) { in balance_level() [all …]
|
/linux-4.19.296/fs/nfs/blocklayout/ |
D | extent_tree.c | 113 struct pnfs_block_extent *right = ext_tree_next(be); in ext_try_to_merge_right() local 115 if (right && ext_can_merge(be, right)) { in ext_try_to_merge_right() 116 be->be_length += right->be_length; in ext_try_to_merge_right() 117 rb_erase(&right->be_node, root); in ext_try_to_merge_right() 118 nfs4_put_deviceid_node(right->be_device); in ext_try_to_merge_right() 119 kfree(right); in ext_try_to_merge_right() 451 struct pnfs_block_extent *right = ext_tree_next(be); in ext_tree_mark_written() local 453 if (right && ext_can_merge(be, right)) { in ext_tree_mark_written() 458 right->be_f_offset -= diff; in ext_tree_mark_written() 459 right->be_v_offset -= diff; in ext_tree_mark_written() [all …]
|
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_refcount.c | 393 struct xfs_refcount_irec *right, in xfs_refcount_merge_center_extents() argument 401 cur->bc_private.a.agno, left, center, right); in xfs_refcount_merge_center_extents() 512 struct xfs_refcount_irec *right, in xfs_refcount_merge_right_extent() argument 520 cur->bc_private.a.agno, cright, right); in xfs_refcount_merge_right_extent() 542 error = xfs_refcount_lookup_le(cur, right->rc_startblock, in xfs_refcount_merge_right_extent() 548 right->rc_startblock -= cright->rc_blockcount; in xfs_refcount_merge_right_extent() 549 right->rc_blockcount += cright->rc_blockcount; in xfs_refcount_merge_right_extent() 550 error = xfs_refcount_update(cur, right); in xfs_refcount_merge_right_extent() 656 struct xfs_refcount_irec *right, in xfs_refcount_find_right_extents() argument 666 right->rc_startblock = cright->rc_startblock = NULLAGBLOCK; in xfs_refcount_find_right_extents() [all …]
|
D | xfs_btree.c | 918 xfs_fsblock_t right = be64_to_cpu(block->bb_u.l.bb_rightsib); in xfs_btree_readahead_lblock() local 926 if ((lr & XFS_BTCUR_RIGHTRA) && right != NULLFSBLOCK) { in xfs_btree_readahead_lblock() 927 xfs_btree_reada_bufl(cur->bc_mp, right, 1, in xfs_btree_readahead_lblock() 943 xfs_agblock_t right = be32_to_cpu(block->bb_u.s.bb_rightsib); in xfs_btree_readahead_sblock() local 952 if ((lr & XFS_BTCUR_RIGHTRA) && right != NULLAGBLOCK) { in xfs_btree_readahead_sblock() 954 right, 1, cur->bc_ops->buf_ops); in xfs_btree_readahead_sblock() 2311 struct xfs_btree_block *right; /* right btree block */ in xfs_btree_lshift() local 2326 right = xfs_btree_get_block(cur, level, &rbp); in xfs_btree_lshift() 2329 error = xfs_btree_check_block(cur, right, level, rbp); in xfs_btree_lshift() 2335 xfs_btree_get_sibling(cur, right, &lptr, XFS_BB_LEFTSIB); in xfs_btree_lshift() [all …]
|
/linux-4.19.296/crypto/ |
D | ecc.c | 174 static int vli_cmp(const u64 *left, const u64 *right, unsigned int ndigits) in vli_cmp() argument 179 if (left[i] > right[i]) in vli_cmp() 181 else if (left[i] < right[i]) in vli_cmp() 223 static u64 vli_add(u64 *result, const u64 *left, const u64 *right, in vli_add() argument 232 sum = left[i] + right[i] + carry; in vli_add() 243 static u64 vli_sub(u64 *result, const u64 *left, const u64 *right, in vli_sub() argument 252 diff = left[i] - right[i] - borrow; in vli_sub() 262 static uint128_t mul_64_64(u64 left, u64 right) in mul_64_64() argument 266 u64 b0 = right & 0xffffffffull; in mul_64_64() 267 u64 b1 = right >> 32; in mul_64_64() [all …]
|
/linux-4.19.296/include/sound/ |
D | mixer_oss.h | 36 int *left, int *right); 39 int left, int right);
|
/linux-4.19.296/drivers/media/radio/ |
D | radio-sf16fmr2.c | 152 int volume, balance, left, right; in fmr2_s_ctrl() local 167 left = right = volume; in fmr2_s_ctrl() 169 right = max(0, right + balance); in fmr2_s_ctrl() 174 tc9154a_set_attenuation(fmr2, abs(right - 68), TC9154A_CHANNEL_RIGHT); in fmr2_s_ctrl()
|
/linux-4.19.296/include/media/ |
D | v4l2-rect.h | 95 int right, bottom; in v4l2_rect_intersect() local 100 right = min(r1->left + r1->width, r2->left + r2->width); in v4l2_rect_intersect() 102 r->width = max(0, right - r->left); in v4l2_rect_intersect()
|
/linux-4.19.296/fs/nilfs2/ |
D | btree.c | 184 struct nilfs_btree_node *right, in nilfs_btree_node_move_left() argument 195 rdkeys = nilfs_btree_node_dkeys(right); in nilfs_btree_node_move_left() 196 rdptrs = nilfs_btree_node_dptrs(right, rncmax); in nilfs_btree_node_move_left() 197 rnchildren = nilfs_btree_node_get_nchildren(right); in nilfs_btree_node_move_left() 207 nilfs_btree_node_set_nchildren(right, rnchildren); in nilfs_btree_node_move_left() 212 struct nilfs_btree_node *right, in nilfs_btree_node_move_right() argument 223 rdkeys = nilfs_btree_node_dkeys(right); in nilfs_btree_node_move_right() 224 rdptrs = nilfs_btree_node_dptrs(right, rncmax); in nilfs_btree_node_move_right() 225 rnchildren = nilfs_btree_node_get_nchildren(right); in nilfs_btree_node_move_right() 235 nilfs_btree_node_set_nchildren(right, rnchildren); in nilfs_btree_node_move_right() [all …]
|
/linux-4.19.296/lib/ |
D | btree.c | 524 unsigned long *right, int rfill, in merge() argument 531 setkey(geo, left, lfill + i, bkey(geo, right, i)); in merge() 532 setval(geo, left, lfill + i, bval(geo, right, i)); in merge() 535 setval(geo, parent, lpos, right); in merge() 539 mempool_free(right, head->mempool); in merge() 545 unsigned long *parent, *left = NULL, *right = NULL; in rebalance() local 574 right = bval(geo, parent, i + 1); in rebalance() 575 no_right = getfill(geo, right, 0); in rebalance() 579 right, no_right, in rebalance()
|
/linux-4.19.296/fs/reiserfs/ |
D | procfs.c | 279 __u32 right; in show_oidmap() local 281 right = (i == mapsize - 1) ? MAX_KEY_OBJECTID : MAP(i + 1); in show_oidmap() 283 (i & 1) ? "free" : "used", MAP(i), right); in show_oidmap() 285 total_used += right - MAP(i); in show_oidmap()
|
/linux-4.19.296/fs/befs/ |
D | befs_fs_types.h | 242 fs64 right; member 250 befs_off_t right; member
|