/linux-master/fs/ntfs3/lib/ |
H A D | decompress_common.c | 47 * when zero-padded on the left to 'max_codeword_len' binary digits. 117 int left; local 141 left = 1; 143 left <<= 1; 144 left -= len_counts[len]; 145 if (left < 0) { 153 if (left) { 157 if (left == (1 << max_codeword_len)) { 281 * simply the index of the left child combined 299 /* Go to the left chil [all...] |
/linux-master/lib/zlib_inflate/ |
H A D | inftrees.c | 32 int left; /* number of prefix codes available */ local 117 left = 1; 119 left <<= 1; 120 left -= count[len]; 121 if (left < 0) return -1; /* over-subscribed */ 123 if (left > 0 && (type == CODES || max != 1)) 256 left = (int)(1 << curr); 258 left -= count[curr + drop]; 259 if (left <= 0) break; 261 left << [all...] |
/linux-master/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]); 137 p += scnprintf(p, left, " "); 142 p += scnprintf(p, left, "\tbase_address: %x\n", 147 p += scnprintf(p, left, 155 p += scnprintf(p, left, 160 p += scnprintf(p, left, "\tunknown: %llx\n", 181 p += scnprintf(p, left, "%c", info->params.interface_type[i]); 183 p += scnprintf(p, left, " "); 187 p += scnprintf(p, left, "\tdevic [all...] |
/linux-master/net/mac80211/ |
H A D | michael.c | 57 size_t block, blocks, left; local 64 left = data_len % 4; 72 while (left > 0) { 74 left--; 75 val |= data[blocks * 4 + left];
|
/linux-master/arch/x86/crypto/ |
H A D | des3_ede-asm_64.S | 92 #define initial_permutation(left, right) \ 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, righ [all...] |
/linux-master/fs/bcachefs/ |
H A D | siphash.c | 106 size_t left, used; local 115 left = sizeof(ctx->buf) - used; 117 if (len >= left) { 118 memcpy(&ctx->buf[used], ptr, left); 120 len -= left; 121 ptr += left; 150 size_t left, used; local 153 left = sizeof(ctx->buf) - used; 154 memset(&ctx->buf[used], 0, left - 1);
|
/linux-master/drivers/video/fbdev/core/ |
H A D | cfbcopyarea.c | 110 int const left = shift & (bits - 1); local 121 d0 <<= left; local 129 d0 = d0 >> right | d1 << left; 146 d0 <<= left; local 153 d0 = d0 >> right | d1 << left; 166 FB_WRITEL(d0 >> right | d1 << left, dst++); 169 FB_WRITEL(d0 >> right | d1 << left, dst++); 172 FB_WRITEL(d0 >> right | d1 << left, dst++); 175 FB_WRITEL(d0 >> right | d1 << left, dst++); 182 d0 = d0 >> right | d1 << left; 283 int const left = shift & (bits-1); local 296 d0 <<= left; local 366 d0 <<= left; local [all...] |
H A D | cfbfillrect.c | 93 unsigned long pat, int left, int right, unsigned n, int bits) 114 pat = pat << left | pat >> right; 122 pat = pat << left | pat >> right; 124 pat = pat << left | pat >> right; 126 pat = pat << left | pat >> right; 128 pat = pat << left | pat >> right; 133 pat = pat << left | pat >> right; 218 int dst_idx, unsigned long pat, int left, int right, 243 pat = pat << left | pat >> right; 252 pat = pat << left | pa 92 bitfill_unaligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) argument 217 bitfill_unaligned_rev(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) argument 285 int dst_idx, left; local [all...] |
/linux-master/include/sound/ |
H A D | mixer_oss.h | 21 int *left, int *right); 24 int left, int right);
|
/linux-master/arch/csky/mm/ |
H A D | dma-mapping.c | 20 size_t left = size; local 23 size_t len = left; 43 left -= len; 44 } while (left);
|
/linux-master/arch/mips/mm/ |
H A D | dma-noncoherent.c | 100 size_t left = size; local 103 size_t len = left; 120 left -= len; 121 } while (left);
|
/linux-master/tools/perf/util/ |
H A D | sort.c | 110 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) argument 112 return thread__tid(right->thread) - thread__tid(left->thread); 146 sort__simd_cmp(struct hist_entry *left, struct hist_entry *right) argument 148 if (left->simd_flags.arch != right->simd_flags.arch) 149 return (int64_t) left->simd_flags.arch - right->simd_flags.arch; 151 return (int64_t) left->simd_flags.pred - right->simd_flags.pred; 197 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) argument 199 return strcmp(comm__str(right->comm), comm__str(left->comm)); 203 sort__comm_collapse(struct hist_entry *left, struct hist_entry *right) argument 205 return strcmp(comm__str(right->comm), comm__str(left 209 sort__comm_sort(struct hist_entry *left, struct hist_entry *right) argument 253 sort__dso_cmp(struct hist_entry *left, struct hist_entry *right) argument 325 sort__sym_cmp(struct hist_entry *left, struct hist_entry *right) argument 346 sort__sym_sort(struct hist_entry *left, struct hist_entry *right) argument 425 sort__symoff_cmp(struct hist_entry *left, struct hist_entry *right) argument 437 sort__symoff_sort(struct hist_entry *left, struct hist_entry *right) argument 476 sort__srcline_cmp(struct hist_entry *left, struct hist_entry *right) argument 488 sort__srcline_collapse(struct hist_entry *left, struct hist_entry *right) argument 499 sort__srcline_sort(struct hist_entry *left, struct hist_entry *right) argument 535 sort__srcline_from_cmp(struct hist_entry *left, struct hist_entry *right) argument 541 sort__srcline_from_collapse(struct hist_entry *left, struct hist_entry *right) argument 553 sort__srcline_from_sort(struct hist_entry *left, struct hist_entry *right) argument 583 sort__srcline_to_cmp(struct hist_entry *left, struct hist_entry *right) argument 589 sort__srcline_to_collapse(struct hist_entry *left, struct hist_entry *right) argument 601 sort__srcline_to_sort(struct hist_entry *left, struct hist_entry *right) argument 705 sort__srcfile_cmp(struct hist_entry *left, struct hist_entry *right) argument 711 sort__srcfile_collapse(struct hist_entry *left, struct hist_entry *right) argument 722 sort__srcfile_sort(struct hist_entry *left, struct hist_entry *right) argument 752 sort__parent_cmp(struct hist_entry *left, struct hist_entry *right) argument 780 sort__cpu_cmp(struct hist_entry *left, struct hist_entry *right) argument 811 sort__cgroup_id_cmp(struct hist_entry *left, struct hist_entry *right) argument 841 sort__cgroup_cmp(struct hist_entry *left, struct hist_entry *right) argument 874 sort__socket_cmp(struct hist_entry *left, struct hist_entry *right) argument 906 sort__time_cmp(struct hist_entry *left, struct hist_entry *right) argument 963 sort__trace_cmp(struct hist_entry *left, struct hist_entry *right) argument 1004 sort__dso_from_cmp(struct hist_entry *left, struct hist_entry *right) argument 1036 sort__dso_to_cmp(struct hist_entry *left, struct hist_entry *right) argument 1068 sort__sym_from_cmp(struct hist_entry *left, struct hist_entry *right) argument 1085 sort__sym_to_cmp(struct hist_entry *left, struct hist_entry *right) argument 1241 sort__addr_from_cmp(struct hist_entry *left, struct hist_entry *right) argument 1265 sort__addr_to_cmp(struct hist_entry *left, struct hist_entry *right) argument 1306 sort__mispredict_cmp(struct hist_entry *left, struct hist_entry *right) argument 1333 sort__cycles_cmp(struct hist_entry *left, struct hist_entry *right) argument 1362 sort__daddr_cmp(struct hist_entry *left, struct hist_entry *right) argument 1388 sort__iaddr_cmp(struct hist_entry *left, struct hist_entry *right) argument 1414 sort__dso_daddr_cmp(struct hist_entry *left, struct hist_entry *right) argument 1439 sort__locked_cmp(struct hist_entry *left, struct hist_entry *right) argument 1467 sort__tlb_cmp(struct hist_entry *left, struct hist_entry *right) argument 1495 sort__lvl_cmp(struct hist_entry *left, struct hist_entry *right) argument 1523 sort__snoop_cmp(struct hist_entry *left, struct hist_entry *right) argument 1551 sort__dcacheline_cmp(struct hist_entry *left, struct hist_entry *right) argument 1645 sort__weight_cmp(struct hist_entry *left, struct hist_entry *right) argument 1678 sort__ins_lat_cmp(struct hist_entry *left, struct hist_entry *right) argument 1711 sort__p_stage_cyc_cmp(struct hist_entry *left, struct hist_entry *right) argument 1801 sort__blocked_cmp(struct hist_entry *left, struct hist_entry *right) argument 1836 sort__phys_daddr_cmp(struct hist_entry *left, struct hist_entry *right) argument 1877 sort__data_page_size_cmp(struct hist_entry *left, struct hist_entry *right) argument 1906 sort__code_page_size_cmp(struct hist_entry *left, struct hist_entry *right) argument 1931 sort__abort_cmp(struct hist_entry *left, struct hist_entry *right) argument 1963 sort__in_tx_cmp(struct hist_entry *left, struct hist_entry *right) argument 1995 sort__transaction_cmp(struct hist_entry *left, struct hist_entry *right) argument 2078 sort__sym_size_cmp(struct hist_entry *left, struct hist_entry *right) argument 2117 sort__dso_size_cmp(struct hist_entry *left, struct hist_entry *right) argument 2147 sort__addr_cmp(struct hist_entry *left, struct hist_entry *right) argument 2191 sort__type_cmp(struct hist_entry *left, struct hist_entry *right) argument 2209 sort__type_collapse(struct hist_entry *left, struct hist_entry *right) argument 2228 sort__type_sort(struct hist_entry *left, struct hist_entry *right) argument 2252 sort__typeoff_sort(struct hist_entry *left, struct hist_entry *right) argument [all...] |
/linux-master/drivers/md/persistent-data/ |
H A D | dm-btree-remove.c | 29 * Each node may have a left or right sibling. When decending the spine, 36 * [B] No left sibling 40 * ==> rebalance(left sibling, node) 42 * [D] Both siblings, total_entries(left, node, right) <= DEL_THRESHOLD 43 * ==> delete node adding it's contents to left and right 45 * [E] Both siblings, total_entries(left, node, right) > DEL_THRESHOLD 46 * ==> rebalance(left, node, right) 86 static int node_copy(struct btree_node *left, struct btree_node *right, int shift) argument 88 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); 89 uint32_t value_size = le32_to_cpu(left 192 shift(struct btree_node *left, struct btree_node *right, int count) argument 240 struct btree_node *left = l->n; local 284 struct child left, right; local 311 delete_center_node(struct dm_btree_info *info, struct btree_node *parent, struct child *l, struct child *c, struct child *r, struct btree_node *left, struct btree_node *center, struct btree_node *right, uint32_t nr_left, uint32_t nr_center, uint32_t nr_right) argument 351 redistribute3(struct dm_btree_info *info, struct btree_node *parent, struct child *l, struct child *c, struct child *r, struct btree_node *left, struct btree_node *center, struct btree_node *right, uint32_t nr_left, uint32_t nr_center, uint32_t nr_right) argument 421 struct btree_node *left = l->n; local 451 struct child left, center, right; local [all...] |
/linux-master/drivers/staging/rtl8712/ |
H A D | ieee80211.c | 281 int left, count; local 294 left = wpa_ie_len - 8; 296 if (left >= WPA_SELECTOR_LEN) { 299 left -= WPA_SELECTOR_LEN; 300 } else if (left > 0) { 304 if (left >= 2) { 307 left -= 2; 308 if (count == 0 || left < count * WPA_SELECTOR_LEN) 313 left -= WPA_SELECTOR_LEN; 315 } else if (left 325 int left, count; local [all...] |
/linux-master/lib/ |
H A D | siphash.c | 49 const u8 left = len & (sizeof(u64) - 1); local 60 if (left) 62 bytemask_from_count(left))); 64 switch (left) { 82 const u8 left = len & (sizeof(u64) - 1); local 93 if (left) 95 bytemask_from_count(left))); 97 switch (left) { 250 const u8 left = len & (sizeof(u64) - 1); local 260 if (left) 283 const u8 left = len & (sizeof(u64) - 1); local 412 const u8 left = len & (sizeof(u32) - 1); local 435 const u8 left = len & (sizeof(u32) - 1); local [all...] |
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_draw.c | 96 drawable->self_bitmap_area.left = 0; 142 int left, right, top, bottom; local 164 left = clips->x1; 172 left = min_t(int, left, (int)clips_ptr->x1); 178 width = right - left; 196 drawable_rect.left = left; 212 left - dumb_shadow_offset, 231 drawable->u.copy.src_area.left [all...] |
/linux-master/drivers/hid/ |
H A D | hid-pl.c | 52 int left, right; local 54 left = effect->u.rumble.strong_magnitude; 56 debug("called with 0x%04x 0x%04x", left, right); 58 left = left * plff->maxval / 0xffff; 61 *plff->strong = left; 63 debug("running with 0x%02x 0x%02x", left, right);
|
H A D | hid-sjoy.c | 34 u32 left, right; local 36 left = effect->u.rumble.strong_magnitude; 38 dev_dbg(&dev->dev, "called with 0x%08x 0x%08x\n", left, right); 40 left = left * 0xff / 0xffff; 44 sjoyff->report->field[0]->value[2] = left; 45 dev_dbg(&dev->dev, "running with 0x%02x 0x%02x\n", left, right);
|
H A D | hid-axff.c | 37 int left, right; local 40 left = effect->u.rumble.strong_magnitude; 43 dbg_hid("called with 0x%04x 0x%04x", left, right); 45 left = left * 0xff / 0xffff; 51 field_count % 2 ? right : left; 56 dbg_hid("running with 0x%02x 0x%02x", left, right);
|
H A D | hid-lgff.c | 63 unsigned int left, right; local 83 left = effect->u.rumble.weak_magnitude; 85 left = left * 0xff / 0xffff; 86 CLAMP(left); 90 report->field[0]->value[2] = left; 92 dbg_hid("(left, right)=(%04x, %04x)\n", left, right);
|
H A D | hid-gaff.c | 34 int left, right; local 36 left = effect->u.rumble.strong_magnitude; 39 dbg_hid("called with 0x%04x 0x%04x", left, right); 41 left = left * 0xfe / 0xffff; 48 gaff->report->field[0]->value[4] = left; 50 dbg_hid("running with 0x%02x 0x%02x", left, right);
|
/linux-master/net/tipc/ |
H A D | core.h | 185 static inline int less_eq(u16 left, u16 right) argument 187 return mod(right - left) < 32768u; 190 static inline int more(u16 left, u16 right) argument 192 return !less_eq(left, right); 195 static inline int less(u16 left, u16 right) argument 197 return less_eq(left, right) && (mod(right) != mod(left));
|
/linux-master/drivers/media/platform/ti/omap/ |
H A D | omap_voutlib.c | 52 crop->left = ((pix->width - crop->width) >> 1) & ~1; 74 if (try_win.left < 0) { 75 try_win.width += try_win.left; 76 try_win.left = 0; 86 if (try_win.left + try_win.width > fbuf->fmt.width) 87 try_win.width = fbuf->fmt.width - try_win.left; 180 if (try_crop.left < 0) { 181 try_crop.width += try_crop.left; 182 try_crop.left = 0; 192 if (try_crop.left [all...] |
/linux-master/fs/unicode/ |
H A D | mkutf8data.c | 125 * LEFTNODE - 1 bit field - set if the left-hand node is internal 367 void *left; member in struct:node 401 node = node->left; 403 leaf = node->left; 415 * left and right branches in the leftmask and rightmask. 439 " left %p right %p mask %x bits %x\n", 442 node->left, node->right, 445 if (!(node->left && node->right)) 453 assert(node->left); 454 tree->leaf_print(node->left, 657 struct node *left; local 1376 struct unicode_data *left = l; local 1393 struct unicode_data *left = l; local [all...] |
/linux-master/kernel/ |
H A D | sysctl.c | 479 size_t left; local 489 left = *lenp; 498 if (left > PAGE_SIZE - 1) 499 left = PAGE_SIZE - 1; 503 for (; left && vleft--; i++, first=0) { 508 proc_skip_spaces(&p, &left); 510 if (!left) 512 err = proc_get_long(&p, &left, &lval, &neg, 527 proc_put_char(&buffer, &left, '\t'); 528 proc_put_long(&buffer, &left, lva 565 size_t left; local 620 size_t left; local 1032 size_t left; local 1373 size_t left = *lenp; local [all...] |