/linux-master/arch/s390/kernel/ |
H A D | trace.c | 20 unsigned int *depth; local 26 depth = this_cpu_ptr(&diagnose_trace_depth); 27 if (*depth == 0) { 28 (*depth)++; 30 (*depth)--;
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | opal-tracepoints.c | 50 unsigned int *depth; local 54 depth = this_cpu_ptr(&opal_trace_depth); 56 if (*depth) 59 (*depth)++; 62 (*depth)--; 71 unsigned int *depth; local 75 depth = this_cpu_ptr(&opal_trace_depth); 77 if (*depth) 80 (*depth)++; 83 (*depth) [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_fourcc.c | 36 * @depth: bit depth per pixel 38 * Computes a drm fourcc pixel format code for the given @bpp/@depth values. 41 uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth) argument 47 if (depth == 1) 52 if (depth == 2) 57 if (depth == 4) 62 if (depth == 8) 67 switch (depth) { 80 if (depth 119 drm_driver_legacy_fb_format(struct drm_device *dev, uint32_t bpp, uint32_t depth) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | dc_fpu.c | 63 int depth; local 65 depth = __this_cpu_read(fpu_recursion_depth); 67 ASSERT(depth >= 1); 85 int depth; local 89 depth = __this_cpu_inc_return(fpu_recursion_depth); 91 if (depth == 1) { 106 TRACE_DCN_FPU(true, function_name, line, depth); 121 int depth; local 123 depth = __this_cpu_dec_return(fpu_recursion_depth); 124 if (depth [all...] |
/linux-master/arch/sh/kernel/ |
H A D | return_address.c | 14 void *return_address(unsigned int depth) argument 20 for (i = 0, frame = NULL, ra = 0; i <= depth; i++) { 38 /* Failed to unwind the stack to the specified depth. */ 39 WARN_ON(i != depth + 1); 49 void *return_address(unsigned int depth) argument
|
/linux-master/drivers/video/logo/ |
H A D | logo.c | 44 const struct linux_logo * __ref fb_find_logo(int depth) argument 51 if (depth >= 1) { 62 if (depth >= 4) { 73 if (depth >= 8) {
|
/linux-master/arch/powerpc/include/asm/ |
H A D | btext.h | 13 int depth, int pitch); 14 extern void btext_setup_display(int width, int height, int depth, int pitch,
|
H A D | fadump.h | 32 int depth, void *data);
|
/linux-master/lib/ |
H A D | sbitmap.c | 14 unsigned depth = sb->depth; local 20 if (depth && !sb->round_robin) { 24 *per_cpu_ptr(sb->alloc_hint, i) = get_random_u32_below(depth); 30 unsigned int depth) 35 if (unlikely(hint >= depth)) { 36 hint = depth ? get_random_u32_below(depth) : 0; 44 unsigned int depth, 54 if (hint >= depth 29 update_alloc_hint_before_get(struct sbitmap *sb, unsigned int depth) argument 43 update_alloc_hint_after_get(struct sbitmap *sb, unsigned int depth, unsigned int hint, unsigned int nr) argument 83 sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, gfp_t flags, int node, bool round_robin, bool alloc_hint) argument 123 sbitmap_resize(struct sbitmap *sb, unsigned int depth) argument 136 __sbitmap_get_word(unsigned long *word, unsigned long depth, unsigned int hint, bool wrap) argument 170 sbitmap_find_bit_in_word(struct sbitmap_word *map, unsigned int depth, unsigned int alloc_hint, bool wrap) argument 189 sbitmap_find_bit(struct sbitmap *sb, unsigned int depth, unsigned int index, unsigned int alloc_hint, bool wrap) argument 242 unsigned int hint, depth; local 271 unsigned int hint, depth; local 384 sbq_calc_wake_batch(struct sbitmap_queue *sbq, unsigned int depth) argument 410 sbitmap_queue_init_node(struct sbitmap_queue *sbq, unsigned int depth, int shift, bool round_robin, gfp_t flags, int node) argument 441 sbitmap_queue_update_wake_batch(struct sbitmap_queue *sbq, unsigned int depth) argument 455 unsigned int depth = (sbq->sb.depth + users - 1) / users; local 464 sbitmap_queue_resize(struct sbitmap_queue *sbq, unsigned int depth) argument 481 unsigned int hint, depth; local [all...] |
/linux-master/fs/reiserfs/ |
H A D | lock.c | 55 int depth; local 61 depth = sb_i->lock_depth; 67 return depth; 70 void reiserfs_write_lock_nested(struct super_block *s, int depth) argument 75 if (depth == -1) 80 sb_i->lock_depth = depth;
|
/linux-master/arch/xtensa/include/asm/ |
H A D | stacktrace.h | 36 void xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth, 40 void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth,
|
/linux-master/include/linux/ |
H A D | sbitmap.h | 49 * @depth: Number of bits used in the whole bitmap. 51 unsigned int depth; member in struct:sbitmap 132 * @min_shallow_depth: The minimum shallow depth which may be passed to 152 * @depth: Number of bits to allocate. 165 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, 172 return sb->depth - (index << sb->shift); 190 * @depth: New number of bits to resize to. 193 * depth doesn't exceed the depth that the sb was initialized with. 195 void sbitmap_resize(struct sbitmap *sb, unsigned int depth); 262 unsigned int depth = min_t(unsigned int, local 353 sbitmap_calculate_shift(unsigned int depth) argument [all...] |
H A D | stackleak.h | 53 const unsigned int depth = STACKLEAK_SEARCH_DEPTH / sizeof(unsigned long); local 58 while (sp > low && poison_count < depth) {
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_common.h | 53 unsigned int depth; member in struct:atomisp_format_bridge 62 u32 depth; member in struct:atomisp_fmt
|
/linux-master/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | vmid.h | 45 enum dcn_hubbub_page_table_depth depth; member in struct:dcn_vmid_page_table_config
|
/linux-master/security/integrity/ima/ |
H A D | ima_iint.c | 49 int depth = inode->i_sb->s_stack_depth; local 51 if (WARN_ON_ONCE(depth < 0 || depth >= IMA_MAX_NESTING)) 52 depth = 0; 54 lockdep_set_class(&iint->mutex, &ima_iint_mutex_key[depth]);
|
/linux-master/fs/quota/ |
H A D | quota_tree.c | 25 * Maximum quota tree depth we support. Only to limit recursion when working 32 static int __get_index(struct qtree_mem_dqinfo *info, qid_t id, int depth) argument 36 depth = info->dqi_qtree_depth - depth - 1; 37 while (depth--) 42 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth) argument 46 return __get_index(info, id, depth); 336 uint *blks, int depth) 346 if (!blks[depth]) { 350 for (i = 0; i < depth; 335 do_insert_tree(struct qtree_mem_dqinfo *info, struct dquot *dquot, uint *blks, int depth) argument 544 remove_tree(struct qtree_mem_dqinfo *info, struct dquot *dquot, uint *blks, int depth) argument 660 find_tree_dqentry(struct qtree_mem_dqinfo *info, struct dquot *dquot, uint *blks, int depth) argument 792 find_next_id(struct qtree_mem_dqinfo *info, qid_t *id, unsigned int blk, int depth) argument [all...] |
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | commonring.c | 31 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth, argument 34 commonring->depth = depth; 75 available = commonring->depth - commonring->w_ptr + 83 if (available > commonring->depth / 8) { 116 available = commonring->depth - commonring->w_ptr + 125 if (commonring->w_ptr == commonring->depth) 152 available = commonring->depth - commonring->w_ptr + 161 if (*alloced + commonring->w_ptr > commonring->depth) 162 *alloced = commonring->depth [all...] |
/linux-master/fs/ext4/ |
H A D | extents.c | 111 int depth, i; local 115 depth = path->p_depth; 116 for (i = 0; i <= depth; i++, path++) { 215 int depth = path->p_depth; local 235 ex = path[depth].p_ext; 248 if (path[depth].p_bh) 249 return path[depth].p_bh->b_blocknr; 344 ext4_ext_max_entries(struct inode *inode, int depth) argument 348 if (depth == ext_depth(inode)) { 349 if (depth 387 ext4_valid_extent_entries(struct inode *inode, struct ext4_extent_header *eh, ext4_lblk_t lblk, ext4_fsblk_t *pblk, int depth) argument 454 __ext4_ext_check(const char *function, unsigned int line, struct inode *inode, struct ext4_extent_header *eh, int depth, ext4_fsblk_t pblk, ext4_lblk_t lblk) argument 548 __read_extent_tree_block(const char *function, unsigned int line, struct inode *inode, struct ext4_extent_idx *idx, int depth, int flags) argument 605 int i = 0, depth, ret = 0; local 687 int depth = ext_depth(inode); local 711 int depth = ext_depth(inode); local 889 short int depth, i, ppos = 0; local 1058 int depth = ext_depth(inode); local 1406 int depth, i, err = 0; local 1476 int depth, ee_len; local 1543 int depth; /* Note, NOT eh_depth; depth from top of tree */ local 1644 int depth; local 1676 int depth; local 1709 int depth = ext_depth(inode); local 1806 unsigned int depth, len; local 1894 unsigned int depth; local 1924 unsigned int depth, len1; local 1976 int depth, len, err; local 2248 int depth = ext_depth(inode); local 2277 ext4_ext_rm_idx(handle_t *handle, struct inode *inode, struct ext4_ext_path *path, int depth) argument 2337 int depth = ext_depth(inode); local 2373 int depth; local 2573 int depth = ext_depth(inode), credits, revoke_credits; local 2793 int depth = ext_depth(inode); local 3164 unsigned int ee_len, depth; local 3310 unsigned int ee_len, depth; local 3404 unsigned int ee_len, depth, map_len = map->m_len; local 3660 int split_flag = 0, depth; local 3700 int depth; local 3763 int depth; local 4133 int err = 0, depth, ret; local 4456 int depth = 0; local 5063 int depth, err = 0; local 5162 int ret = 0, depth; local 5447 int ret = 0, depth, split_flag = 0; local 5801 int depth, mapped = 0, err = 0; local [all...] |
/linux-master/drivers/iio/adc/ |
H A D | max1027.c | 97 #define MAX1027_V_CHAN(index, depth) \ 107 .realbits = depth, \ 109 .shift = (depth == 10) ? 2 : 0, \ 129 #define MAX1X27_CHANNELS(depth) \ 131 MAX1027_V_CHAN(0, depth), \ 132 MAX1027_V_CHAN(1, depth), \ 133 MAX1027_V_CHAN(2, depth), \ 134 MAX1027_V_CHAN(3, depth), \ 135 MAX1027_V_CHAN(4, depth), \ 136 MAX1027_V_CHAN(5, depth), \ [all...] |
/linux-master/include/trace/events/ |
H A D | kyber.h | 50 TP_PROTO(dev_t dev, const char *domain, unsigned int depth), 52 TP_ARGS(dev, domain, depth), 57 __field( unsigned int, depth ) 63 __entry->depth = depth; 68 __entry->depth)
|
/linux-master/drivers/media/platform/mediatek/mdp3/ |
H A D | mdp_cfg_data.c | 571 .depth = { 8 }, 578 .depth = { 16 }, 585 .depth = { 16 }, 592 .depth = { 24 }, 599 .depth = { 24 }, 606 .depth = { 32 }, 613 .depth = { 32 }, 620 .depth = { 16 }, 628 .depth = { 16 }, 636 .depth [all...] |
/linux-master/scripts/dtc/libfdt/ |
H A D | fdt.c | 247 int fdt_next_node(const void *fdt, int offset, int *depth) argument 266 if (depth) 267 (*depth)++; 271 if (depth && ((--(*depth)) < 0)) 277 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) 289 int depth = 0; local 291 offset = fdt_next_node(fdt, offset, &depth); 292 if (offset < 0 || depth != 1) 300 int depth local [all...] |
/linux-master/drivers/video/fbdev/via/ |
H A D | via_modesetting.h | 43 void via_set_primary_color_depth(u8 depth); 44 void via_set_secondary_color_depth(u8 depth);
|
/linux-master/sound/isa/gus/ |
H A D | gus_volume.c | 123 long depth; 137 /* value to produce the appropriate depth for the hardware. The depth */ 139 depth = (((int) (*(vi2 + 1) - *vi1) * (pcents - *vi1) / (*vi2 - *vi1)) + v1) * fc_register >> 14; 140 if (depth) 141 depth++; 142 if (depth > 255) 143 depth = 255; 144 return cents < 0 ? -(short) depth : (short) depth; [all...] |