| /linux/include/kunit/ |
| H A D | test.h | 833 left, \ argument 839 const typeof(left) __left = (left); \ 843 .left_text = #left, \ 864 left, \ argument 873 left, op, right, \ 879 left, \ argument 888 left, op, right, \ 894 left, \ argument 900 const char *__left = (left); \ 904 .left_text = #left, \ [all …]
|
| /linux/scripts/kconfig/ |
| H A D | expr.c | 41 if (e->type == type && e->left._initdata == l && in expr_lookup() 48 e->left._initdata = l; in expr_lookup() 108 l = (*ep1)->left.expr; in __expr_eliminate_eq() 116 l = (*ep2)->left.expr; in __expr_eliminate_eq() 127 (*ep1)->left.sym == (*ep2)->left.sym && in __expr_eliminate_eq() 128 ((*ep1)->left.sym == &symbol_yes || (*ep1)->left.sym == &symbol_no)) in __expr_eliminate_eq() 228 return e1->left.sym == e2->left.sym && e1->right.sym == e2->right.sym; in expr_eq() 230 return e1->left.sym == e2->left.sym; in expr_eq() 232 return expr_eq(e1->left.expr, e2->left.expr); in expr_eq() 238 e1->left.sym == e2->left.sym); in expr_eq() [all …]
|
| /linux/include/media/ |
| H A D | v4l2-rect.h | 62 if (r->left < boundary->left) in v4l2_rect_map_inside() 63 r->left = boundary->left; in v4l2_rect_map_inside() 66 if (r->left + r->width > boundary->left + boundary->width) in v4l2_rect_map_inside() 67 r->left = boundary->left + boundary->width - r->width; in v4l2_rect_map_inside() 95 return r1->top == r2->top && r1->left == r2->left; in v4l2_rect_same_position() 124 r->left = max(r1->left, r2->left); in v4l2_rect_intersect() 126 right = min(r1->left + r1->width, r2->left + r2->width); in v4l2_rect_intersect() 128 r->width = max(0, right - r->left); in v4l2_rect_intersect() 149 r->left = r->top = r->width = r->height = 0; in v4l2_rect_scale() 152 r->left = (((r->left - from->left) * to->width) / from->width) & ~1; in v4l2_rect_scale() [all …]
|
| /linux/arch/parisc/math-emu/ |
| H A D | sfsub.c | 42 register unsigned int left, right, result, extent; in sgl_fsub() local 50 left = *leftptr; in sgl_fsub() 55 Sgl_xortointp1(left,right,/*to*/save); in sgl_fsub() 60 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fsub() 62 if (Sgl_iszero_mantissa(left)) in sgl_fsub() 80 *dstptr = left; in sgl_fsub() 89 if (Sgl_isone_signaling(left)) in sgl_fsub() 95 Sgl_set_quiet(left); in sgl_fsub() 113 *dstptr = left; in sgl_fsub() 150 Sgl_copytoint_exponentmantissa(left,signless_upper_left); in sgl_fsub() [all …]
|
| H A D | sfadd.c | 42 register unsigned int left, right, result, extent; in sgl_fadd() local 52 left = *leftptr; in sgl_fadd() 57 Sgl_xortointp1(left,right,/*to*/save); in sgl_fadd() 62 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fadd() 64 if (Sgl_iszero_mantissa(left)) in sgl_fadd() 82 *dstptr = left; in sgl_fadd() 91 if (Sgl_isone_signaling(left)) in sgl_fadd() 97 Sgl_set_quiet(left); in sgl_fadd() 115 *dstptr = left; in sgl_fadd() 151 Sgl_copytoint_exponentmantissa(left,signless_upper_left); in sgl_fadd() [all …]
|
| H A D | sfcmp.c | 42 register unsigned int left, right; in sgl_fcmp() local 46 left = *leftptr; in sgl_fcmp() 52 if( (Sgl_exponent(left) == SGL_INFINITY_EXPONENT) in sgl_fcmp() 58 if( ( (Sgl_exponent(left) == SGL_INFINITY_EXPONENT) in sgl_fcmp() 59 && Sgl_isnotzero_mantissa(left) in sgl_fcmp() 60 && (Exception(cond) || Sgl_isone_signaling(left))) in sgl_fcmp() 76 else if( ((Sgl_exponent(left) == SGL_INFINITY_EXPONENT) in sgl_fcmp() 77 && Sgl_isnotzero_mantissa(left)) in sgl_fcmp() 90 Sgl_xortointp1(left,right,xorresult); in sgl_fcmp() 95 if( Sgl_iszero_exponentmantissa(left) in sgl_fcmp() [all …]
|
| /linux/net/sunrpc/ |
| H A D | sysctl.c | 71 size_t left, len; in proc_dodebug() local 78 left = *lenp; in proc_dodebug() 82 while (left && isspace(*p)) { in proc_dodebug() 83 left--; in proc_dodebug() 86 if (!left) in proc_dodebug() 89 if (left > sizeof(tmpbuf) - 1) in proc_dodebug() 91 memcpy(tmpbuf, p, left); in proc_dodebug() 92 tmpbuf[left] = '\0'; in proc_dodebug() 96 left -= (s - tmpbuf); in proc_dodebug() 97 if (left && !isspace(*s)) in proc_dodebug() [all …]
|
| /linux/fs/xfs/scrub/ |
| H A D | bitmap.c | 125 struct xbitmap64_node *left; in xbitmap64_set() local 131 left = xbitmap64_tree_iter_first(&bitmap->xb_root, start, last); in xbitmap64_set() 132 if (left && left->bn_start <= start && left->bn_last >= last) in xbitmap64_set() 141 left = xbitmap64_tree_iter_first(&bitmap->xb_root, start - 1, start - 1); in xbitmap64_set() 142 ASSERT(!left || left->bn_last + 1 == start); in xbitmap64_set() 148 if (left && right) { in xbitmap64_set() 150 xbitmap64_tree_remove(left, &bitmap->xb_root); in xbitmap64_set() 152 left->bn_last = right->bn_last; in xbitmap64_set() 153 xbitmap64_tree_insert(left, &bitmap->xb_root); in xbitmap64_set() 155 } else if (left) { in xbitmap64_set() [all …]
|
| /linux/kernel/bpf/ |
| H A D | range_tree.c | 187 struct range_node *left; in is_range_tree_set() local 190 left = range_it_iter_first(rt, start, last); in is_range_tree_set() 191 if (left && left->rn_start <= start && left->rn_last >= last) in is_range_tree_set() 201 struct range_node *left; in range_tree_set() local 205 left = range_it_iter_first(rt, start, last); in range_tree_set() 206 if (left && left->rn_start <= start && left->rn_last >= last) in range_tree_set() 215 left = range_it_iter_first(rt, start - 1, start - 1); in range_tree_set() 216 if (left && left->rn_last + 1 != start) in range_tree_set() 224 if (left && right) { in range_tree_set() 226 range_it_remove(left, rt); in range_tree_set() [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt-y8i.rst | 18 word. E.g. the R200 RealSense camera stores pixel from the left sensor 32 - Y'\ :sub:`00left` 34 - Y'\ :sub:`01left` 36 - Y'\ :sub:`02left` 38 - Y'\ :sub:`03left` 41 - Y'\ :sub:`10left` 43 - Y'\ :sub:`11left` 45 - Y'\ :sub:`12left` 47 - Y'\ :sub:`13left` 50 - Y'\ :sub:`20left` [all …]
|
| /linux/kernel/ |
| H A D | sysctl.c | 409 size_t left; in __do_proc_dointvec() local 419 left = *lenp; in __do_proc_dointvec() 428 if (left > PAGE_SIZE - 1) in __do_proc_dointvec() 429 left = PAGE_SIZE - 1; in __do_proc_dointvec() 433 for (; left && vleft--; i++, first=0) { in __do_proc_dointvec() 438 proc_skip_spaces(&p, &left); in __do_proc_dointvec() 440 if (!left) in __do_proc_dointvec() 442 err = proc_get_long(&p, &left, &lval, &neg, in __do_proc_dointvec() 457 proc_put_char(&buffer, &left, '\t'); in __do_proc_dointvec() 458 proc_put_long(&buffer, &left, lval, neg); in __do_proc_dointvec() [all …]
|
| /linux/include/linux/ |
| H A D | uidgid.h | 53 static inline bool uid_eq(kuid_t left, kuid_t right) in uid_eq() argument 55 return __kuid_val(left) == __kuid_val(right); in uid_eq() 58 static inline bool gid_eq(kgid_t left, kgid_t right) in gid_eq() argument 60 return __kgid_val(left) == __kgid_val(right); in gid_eq() 63 static inline bool uid_gt(kuid_t left, kuid_t right) in uid_gt() argument 65 return __kuid_val(left) > __kuid_val(right); in uid_gt() 68 static inline bool gid_gt(kgid_t left, kgid_t right) in gid_gt() argument 70 return __kgid_val(left) > __kgid_val(right); in gid_gt() 73 static inline bool uid_gte(kuid_t left, kuid_t right) in uid_gte() argument 75 return __kuid_val(left) >= __kuid_val(right); in uid_gte() [all …]
|
| H A D | regset.h | 22 size_t left; member 27 if (s->left) { in membuf_zero() 28 if (size > s->left) in membuf_zero() 29 size = s->left; in membuf_zero() 32 s->left -= size; in membuf_zero() 34 return s->left; in membuf_zero() 39 if (s->left) { in membuf_write() 40 if (size > s->left) in membuf_write() 41 size = s->left; in membuf_write() 44 s->left -= size; in membuf_write() [all …]
|
| /linux/arch/x86/crypto/ |
| H A D | des3_ede-asm_64.S | 92 #define initial_permutation(left, right) \ argument 93 do_permutation(left##d, right##d, 4, 0x0f0f0f0f); \ 94 do_permutation(left##d, right##d, 16, 0x0000ffff); \ 95 do_permutation(right##d, left##d, 2, 0x33333333); \ 96 do_permutation(right##d, left##d, 8, 0x00ff00ff); \ 98 movl left##d, RW0d; \ 102 xorl RW0d, left##d; \ 104 roll $1, left##d; \ 106 expand_to_64bits(left, RT3); 108 #define final_permutation(left, right) \ argument [all …]
|
| /linux/fs/quota/ |
| H A 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() 17 switch(left.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() 43 switch (left.type) { in qid_lt() [all …]
|
| /linux/drivers/md/persistent-data/ |
| H A D | dm-btree-remove.c | 86 static int node_copy(struct btree_node *left, struct btree_node *right, int shift) in node_copy() argument 88 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); in node_copy() 89 uint32_t value_size = le32_to_cpu(left->header.value_size); in node_copy() 99 if (nr_left + shift > le32_to_cpu(left->header.max_entries)) { in node_copy() 104 memcpy(key_ptr(left, nr_left), in node_copy() 107 memcpy(value_ptr(left, nr_left), in node_copy() 117 key_ptr(left, nr_left - shift), in node_copy() 120 value_ptr(left, nr_left - shift), in node_copy() 192 static int shift(struct btree_node *left, struct btree_node *right, int count) in shift() argument 195 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); in shift() [all …]
|
| /linux/drivers/firmware/ |
| H A D | edd.c | 45 #define left (PAGE_SIZE - (p - buf) - 1) macro 135 p += scnprintf(p, left, "%c", info->params.host_bus_type[i]); in edd_show_host_bus() 137 p += scnprintf(p, left, " "); in edd_show_host_bus() 142 p += scnprintf(p, left, "\tbase_address: %x\n", in edd_show_host_bus() 147 p += scnprintf(p, left, in edd_show_host_bus() 155 p += scnprintf(p, left, in edd_show_host_bus() 160 p += scnprintf(p, left, "\tunknown: %llx\n", in edd_show_host_bus() 181 p += scnprintf(p, left, "%c", info->params.interface_type[i]); in edd_show_interface() 183 p += scnprintf(p, left, " "); in edd_show_interface() 187 p += scnprintf(p, left, "\tdevice: %u lun: %u\n", in edd_show_interface() [all …]
|
| /linux/tools/perf/util/ |
| H A D | sort.c | 111 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp() argument 113 return thread__tid(right->thread) - thread__tid(left->thread); in sort__thread_cmp() 147 sort__tgid_cmp(struct hist_entry *left, struct hist_entry *right) in sort__tgid_cmp() argument 149 return thread__pid(right->thread) - thread__pid(left->thread); in sort__tgid_cmp() 184 sort__simd_cmp(struct hist_entry *left, struct hist_entry *right) in sort__simd_cmp() argument 186 if (left->simd_flags.arch != right->simd_flags.arch) in sort__simd_cmp() 187 return (int64_t) left->simd_flags.arch - right->simd_flags.arch; in sort__simd_cmp() 189 return (int64_t) left->simd_flags.pred - right->simd_flags.pred; in sort__simd_cmp() 235 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) in sort__comm_cmp() argument 237 return strcmp(comm__str(right->comm), comm__str(left->comm)); in sort__comm_cmp() [all …]
|
| /linux/tools/testing/selftests/hid/tests/ |
| H A D | base_gamepad.py | 64 self.left = (127, 127) 83 left=(None, None), argument 128 left = replace_none_in_tuple(left, self.left) 129 self.left = left 142 self.store_axes("left_stick", gamepad, left) 150 self, *, left=(None, None), right=(None, None), hat_switch=None, buttons=None argument 165 left=left, right=right, hat_switch=hat_switch, buttons=buttons 205 left=(None, None), argument 229 left=left,
|
| /linux/tools/lib/perf/ |
| H A D | lib.c | 13 size_t left = n; in ion() local 15 while (left) { in ion() 17 ssize_t ret = is_read ? read(fd, buf, left) : in ion() 18 write(fd, buf, left); in ion() 25 left -= ret; in ion() 43 size_t left = n; in preadn() local 45 while (left) { in preadn() 46 ssize_t ret = pread(fd, buf, left, offs); in preadn() 53 left -= ret; in preadn()
|
| /linux/drivers/soc/samsung/ |
| H A D | s3c-pm-check.c | 106 unsigned long addr, left; in s3c_pm_makecheck() local 110 left = res->end - addr; in s3c_pm_makecheck() 112 if (left > CHECK_CHUNKSIZE) in s3c_pm_makecheck() 113 left = CHECK_CHUNKSIZE; in s3c_pm_makecheck() 115 *val = crc32_le(~0, phys_to_virt(addr), left); in s3c_pm_makecheck() 164 unsigned long left; in s3c_pm_runcheck() local 173 left = res->end - addr; in s3c_pm_runcheck() 175 if (left > CHECK_CHUNKSIZE) in s3c_pm_runcheck() 176 left = CHECK_CHUNKSIZE; in s3c_pm_runcheck() 180 if (in_region(ptr, left, stkpage, 4096)) { in s3c_pm_runcheck() [all …]
|
| /linux/drivers/infiniband/hw/usnic/ |
| H A D | usnic_debugfs.c | 73 int left; in flowinfo_read() local 79 left = count; in flowinfo_read() 85 n = scnprintf(ptr, left, in flowinfo_read() 89 UPDATE_PTR_LEFT(n, ptr, left); in flowinfo_read() 91 n = scnprintf(ptr, left, "Port_Num:%hu\n", in flowinfo_read() 93 UPDATE_PTR_LEFT(n, ptr, left); in flowinfo_read() 95 n = usnic_transport_sock_to_str(ptr, left, in flowinfo_read() 97 UPDATE_PTR_LEFT(n, ptr, left); in flowinfo_read() 98 n = scnprintf(ptr, left, "\n"); in flowinfo_read() 99 UPDATE_PTR_LEFT(n, ptr, left); in flowinfo_read()
|
| /linux/scripts/gendwarfksyms/ |
| H A D | kabi.c | 103 static inline const char *get_rule_field(const char **pos, ssize_t *left) in get_rule_field() argument 108 if (*left <= 0) in get_rule_field() 111 len = strnlen(start, *left) + 1; in get_rule_field() 113 *left -= len; in get_rule_field() 127 ssize_t left; in kabi_read_rules() local 199 left = shdr->sh_size; in kabi_read_rules() 201 if (left < KABI_RULE_MIN_ENTRY_SIZE) in kabi_read_rules() 202 error("kABI rule section too small: %zd bytes", left); in kabi_read_rules() 204 if (rule_str[left - 1] != '\0') in kabi_read_rules() 207 while (left > KABI_RULE_MIN_ENTRY_SIZE) { in kabi_read_rules() [all …]
|
| /linux/drivers/misc/cb710/ |
| H A D | sgbuf2.c | 27 size_t len, left = 4; in sg_dwiter_read_buffer() local 32 len = min(miter->length - miter->consumed, left); in sg_dwiter_read_buffer() 35 left -= len; in sg_dwiter_read_buffer() 36 if (!left) in sg_dwiter_read_buffer() 41 memset(addr, 0, left); in sg_dwiter_read_buffer() 103 size_t len, left = 4; in sg_dwiter_write_slow() local 107 len = min(miter->length - miter->consumed, left); in sg_dwiter_write_slow() 110 left -= len; in sg_dwiter_write_slow() 111 if (!left) in sg_dwiter_write_slow()
|
| /linux/Documentation/sound/cards/ |
| H A D | audigy-mixer.rst | 49 This control is used to attenuate samples from left and right front PCM FX-bus 50 accumulators. ALSA uses accumulators 8 and 9 for left and right front PCM 55 This control is used to attenuate samples from left and right surround PCM FX-bus 56 accumulators. ALSA uses accumulators 2 and 3 for left and right surround PCM 62 This control is used to attenuate samples from left and right side PCM FX-bus 63 accumulators. ALSA uses accumulators 14 and 15 for left and right side PCM 80 This control is used to attenuate samples from left and right PCM FX-bus 81 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples for 86 This control is used to attenuate samples from left and right PCM FX-bus 87 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples for [all …]
|