/linux-4.19.296/drivers/lightnvm/ |
D | pblk-core.c | 32 struct pblk_line *line; in pblk_line_mark_bb() local 35 line = &pblk->lines[pblk_ppa_to_line(*ppa)]; in pblk_line_mark_bb() 39 line->id, pos); in pblk_line_mark_bb() 46 static void pblk_mark_bb(struct pblk *pblk, struct pblk_line *line, in pblk_mark_bb() argument 54 pblk_debug(pblk, "erase failed: line:%d, pos:%d\n", line->id, pos); in pblk_mark_bb() 57 atomic_dec(&line->blk_in_line); in pblk_mark_bb() 58 if (test_and_set_bit(pos, line->blk_bitmap)) in pblk_mark_bb() 60 line->id, pos); in pblk_mark_bb() 80 struct pblk_line *line; in __pblk_end_io_erase() local 83 line = &pblk->lines[pblk_ppa_to_line(rqd->ppa_addr)]; in __pblk_end_io_erase() [all …]
|
D | pblk-recovery.c | 33 static int pblk_recov_l2p_from_emeta(struct pblk *pblk, struct pblk_line *line) in pblk_recov_l2p_from_emeta() argument 38 struct pblk_emeta *emeta = line->emeta; in pblk_recov_l2p_from_emeta() 49 data_start = pblk_line_smeta_start(pblk, line) + lm->smeta_sec; in pblk_recov_l2p_from_emeta() 50 data_end = line->emeta_ssec; in pblk_recov_l2p_from_emeta() 57 ppa = addr_to_gen_ppa(pblk, i, line->id); in pblk_recov_l2p_from_emeta() 61 if (test_bit(pos, line->blk_bitmap)) in pblk_recov_l2p_from_emeta() 65 spin_lock(&line->lock); in pblk_recov_l2p_from_emeta() 66 if (test_and_set_bit(i, line->invalid_bitmap)) in pblk_recov_l2p_from_emeta() 69 le32_add_cpu(line->vsc, -1); in pblk_recov_l2p_from_emeta() 70 spin_unlock(&line->lock); in pblk_recov_l2p_from_emeta() [all …]
|
D | pblk-gc.c | 47 kref_put(&gc_rq->line->ref, pblk_line_put); in pblk_gc_write() 59 static void pblk_put_line_back(struct pblk *pblk, struct pblk_line *line) in pblk_put_line_back() argument 64 spin_lock(&line->lock); in pblk_put_line_back() 65 WARN_ON(line->state != PBLK_LINESTATE_GC); in pblk_put_line_back() 66 line->state = PBLK_LINESTATE_CLOSED; in pblk_put_line_back() 67 move_list = pblk_line_gc_list(pblk, line); in pblk_put_line_back() 68 spin_unlock(&line->lock); in pblk_put_line_back() 72 list_add_tail(&line->list, move_list); in pblk_put_line_back() 85 struct pblk_line *line = gc_rq_ws->line; in pblk_gc_line_ws() local 94 line->id, *line->vsc, gc_rq->nr_secs); in pblk_gc_line_ws() [all …]
|
D | pblk-init.c | 113 struct pblk_line *line = NULL; in pblk_l2p_recover() local 118 line = pblk_recov_l2p(pblk); in pblk_l2p_recover() 119 if (IS_ERR(line)) { in pblk_l2p_recover() 132 if (!line) { in pblk_l2p_recover() 134 line = pblk_line_get_first_data(pblk); in pblk_l2p_recover() 135 if (!line) in pblk_l2p_recover() 513 struct pblk_line *line) in pblk_line_meta_free() argument 515 struct pblk_w_err_gc *w_err_gc = line->w_err_gc; in pblk_line_meta_free() 517 kfree(line->blk_bitmap); in pblk_line_meta_free() 518 kfree(line->erase_bitmap); in pblk_line_meta_free() [all …]
|
D | pblk-map.c | 27 struct pblk_line *line = pblk_line_get_data(pblk); in pblk_map_page_data() local 35 if (pblk_line_is_full(line)) { in pblk_map_page_data() 36 struct pblk_line *prev_line = line; in pblk_map_page_data() 41 line = pblk_line_replace_data(pblk); in pblk_map_page_data() 44 if (!line) in pblk_map_page_data() 48 emeta = line->emeta; in pblk_map_page_data() 51 paddr = pblk_alloc_page(pblk, line, nr_secs); in pblk_map_page_data() 57 ppa_list[i] = addr_to_gen_ppa(pblk, paddr, line->id); in pblk_map_page_data() 67 kref_get(&line->ref); in pblk_map_page_data() 73 line->nr_valid_lbas++; in pblk_map_page_data() [all …]
|
D | pblk.h | 219 struct pblk_line *line; member 708 struct pblk_line *line; member 739 struct pblk_w_ctx w_ctx, struct pblk_line *line, 792 int pblk_line_recov_alloc(struct pblk *pblk, struct pblk_line *line); 793 void pblk_line_recov_close(struct pblk *pblk, struct pblk_line *line); 796 int pblk_line_erase(struct pblk *pblk, struct pblk_line *line); 797 int pblk_line_is_full(struct pblk_line *line); 798 void pblk_line_free(struct pblk_line *line); 799 void pblk_line_close_meta(struct pblk *pblk, struct pblk_line *line); 800 void pblk_line_close(struct pblk *pblk, struct pblk_line *line); [all …]
|
D | pblk-sysfs.c | 169 struct pblk_line *line; in pblk_sysfs_lines() local 187 list_for_each_entry(line, &l_mg->free_list, list) in pblk_sysfs_lines() 192 list_for_each_entry(line, &l_mg->emeta_list, list) in pblk_sysfs_lines() 197 list_for_each_entry(line, &l_mg->gc_full_list, list) { in pblk_sysfs_lines() 198 if (line->type == PBLK_LINETYPE_DATA) in pblk_sysfs_lines() 200 else if (line->type == PBLK_LINETYPE_LOG) in pblk_sysfs_lines() 206 list_for_each_entry(line, &l_mg->gc_high_list, list) { in pblk_sysfs_lines() 207 if (line->type == PBLK_LINETYPE_DATA) in pblk_sysfs_lines() 209 else if (line->type == PBLK_LINETYPE_LOG) in pblk_sysfs_lines() 215 list_for_each_entry(line, &l_mg->gc_mid_list, list) { in pblk_sysfs_lines() [all …]
|
D | pblk-write.c | 111 struct pblk_line *line; in pblk_map_remaining() local 116 line = &pblk->lines[pblk_ppa_to_line(*ppa)]; in pblk_map_remaining() 117 spin_lock(&line->lock); in pblk_map_remaining() 122 if (!test_and_set_bit(paddr, line->map_bitmap)) in pblk_map_remaining() 123 line->left_msecs--; in pblk_map_remaining() 125 if (!test_and_set_bit(paddr, line->invalid_bitmap)) in pblk_map_remaining() 126 le32_add_cpu(line->vsc, -1); in pblk_map_remaining() 139 line->w_err_gc->has_write_err = 1; in pblk_map_remaining() 140 spin_unlock(&line->lock); in pblk_map_remaining() 148 struct pblk_line *line; in pblk_prepare_resubmit() local [all …]
|
/linux-4.19.296/drivers/gpio/ |
D | gpio-thunderx.c | 49 unsigned int line; member 65 static unsigned int bit_cfg_reg(unsigned int line) in bit_cfg_reg() argument 67 return 8 * line + GPIO_BIT_CFG; in bit_cfg_reg() 70 static unsigned int intr_reg(unsigned int line) in intr_reg() argument 72 return 8 * line + GPIO_INTR; in intr_reg() 76 unsigned int line) in thunderx_gpio_is_gpio_nowarn() argument 78 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_is_gpio_nowarn() 88 unsigned int line) in thunderx_gpio_is_gpio() argument 90 bool rv = thunderx_gpio_is_gpio_nowarn(txgpio, line); in thunderx_gpio_is_gpio() 92 WARN_RATELIMIT(!rv, "Pin %d not available for GPIO\n", line); in thunderx_gpio_is_gpio() [all …]
|
D | gpio-ts5500.c | 205 const struct ts5500_dio line = priv->pinout[offset]; in ts5500_gpio_input() local 208 if (line.no_input) in ts5500_gpio_input() 211 if (line.no_output) in ts5500_gpio_input() 215 ts5500_clear_mask(line.control_mask, line.control_addr); in ts5500_gpio_input() 224 const struct ts5500_dio line = priv->pinout[offset]; in ts5500_gpio_get() local 226 return !!(inb(line.value_addr) & line.value_mask); in ts5500_gpio_get() 232 const struct ts5500_dio line = priv->pinout[offset]; in ts5500_gpio_output() local 235 if (line.no_output) in ts5500_gpio_output() 239 if (!line.no_input) in ts5500_gpio_output() 240 ts5500_set_mask(line.control_mask, line.control_addr); in ts5500_gpio_output() [all …]
|
D | gpio-ep93xx.c | 69 int line = irq_to_gpio(irq); in ep93xx_gpio_int_debounce() local 70 int port = line >> 3; in ep93xx_gpio_int_debounce() 71 int port_mask = 1 << (line & 7); in ep93xx_gpio_int_debounce() 120 int line = irq_to_gpio(d->irq); in ep93xx_gpio_irq_ack() local 121 int port = line >> 3; in ep93xx_gpio_irq_ack() 122 int port_mask = 1 << (line & 7); in ep93xx_gpio_irq_ack() 134 int line = irq_to_gpio(d->irq); in ep93xx_gpio_irq_mask_ack() local 135 int port = line >> 3; in ep93xx_gpio_irq_mask_ack() 136 int port_mask = 1 << (line & 7); in ep93xx_gpio_irq_mask_ack() 149 int line = irq_to_gpio(d->irq); in ep93xx_gpio_irq_mask() local [all …]
|
/linux-4.19.296/fs/gfs2/ |
D | util.c | 91 const char *function, char *file, unsigned int line) in gfs2_assert_withdraw_i() argument 97 assertion, function, file, line); in gfs2_assert_withdraw_i() 109 const char *function, char *file, unsigned int line) in gfs2_assert_warn_i() argument 118 assertion, function, file, line); in gfs2_assert_warn_i() 129 sdp->sd_fsname, function, file, line); in gfs2_assert_warn_i() 143 char *file, unsigned int line) in gfs2_consist_i() argument 148 function, file, line); in gfs2_consist_i() 159 const char *function, char *file, unsigned int line) in gfs2_consist_inode_i() argument 169 function, file, line); in gfs2_consist_inode_i() 180 const char *function, char *file, unsigned int line) in gfs2_consist_rgrpd_i() argument [all …]
|
D | util.h | 43 const char *function, char *file, unsigned int line); 51 const char *function, char *file, unsigned int line); 59 const char *function, char *file, unsigned int line); 66 const char *function, char *file, unsigned int line); 73 const char *function, char *file, unsigned int line); 81 char *file, unsigned int line); 99 char *file, unsigned int line); 105 char *file, unsigned int line) in gfs2_metatype_check_i() argument 112 file, line); in gfs2_metatype_check_i() 115 file, line); in gfs2_metatype_check_i() [all …]
|
/linux-4.19.296/usr/ |
D | gen_init_cpio.c | 30 int (*handler)(const char *line); 134 static int cpio_mkslink_line(const char *line) in cpio_mkslink_line() argument 143 …if (5 != sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) "s %o %d %d", name, target, &mode, &ui… in cpio_mkslink_line() 144 fprintf(stderr, "Unrecognized dir format '%s'", line); in cpio_mkslink_line() 206 static int cpio_mkgeneric_line(const char *line, enum generic_types gt) in cpio_mkgeneric_line() argument 214 if (4 != sscanf(line, "%" str(PATH_MAX) "s %o %d %d", name, &mode, &uid, &gid)) { in cpio_mkgeneric_line() 216 line, generic_type_table[gt].type); in cpio_mkgeneric_line() 225 static int cpio_mkdir_line(const char *line) in cpio_mkdir_line() argument 227 return cpio_mkgeneric_line(line, GT_DIR); in cpio_mkdir_line() 230 static int cpio_mkpipe_line(const char *line) in cpio_mkpipe_line() argument [all …]
|
/linux-4.19.296/drivers/isdn/i4l/ |
D | isdn_v110.c | 192 int line = 0; in DecodeMatrix() local 199 while (line < len) { /* Are we done with all lines of the matrix? */ in DecodeMatrix() 200 if ((line % 10) == 0) { /* the 0. line of the matrix is always 0 ! */ in DecodeMatrix() 201 if (m[line] != 0x00) { /* not 0 ? -> error! */ in DecodeMatrix() 207 line++; /* next line of matrix */ in DecodeMatrix() 209 } else if ((line % 10) == 5) { /* in line 5 there's only e-bits ! */ in DecodeMatrix() 210 if ((m[line] & 0x70) != 0x30) { /* 011 has to be at the beginning! */ in DecodeMatrix() 216 line++; /* next line */ in DecodeMatrix() 219 introducer = (m[line] & mbit) ? 0 : 1; /* current bit of the matrix */ in DecodeMatrix() 226 line++; in DecodeMatrix() [all …]
|
/linux-4.19.296/fs/ext4/ |
D | ext4_jbd2.c | 67 handle_t *__ext4_journal_start_sb(struct super_block *sb, unsigned int line, in __ext4_journal_start_sb() argument 82 type, line); in __ext4_journal_start_sb() 85 int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle) in __ext4_journal_stop() argument 108 __ext4_std_error(sb, where, line, err); in __ext4_journal_stop() 112 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line, in __ext4_journal_start_reserved() argument 130 err = jbd2_journal_start_reserved(handle, type, line); in __ext4_journal_start_reserved() 136 static void ext4_journal_abort_handle(const char *caller, unsigned int line, in ext4_journal_abort_handle() argument 156 caller, line, errstr, err_fn); in ext4_journal_abort_handle() 161 int __ext4_journal_get_write_access(const char *where, unsigned int line, in __ext4_journal_get_write_access() argument 171 ext4_journal_abort_handle(where, line, __func__, bh, in __ext4_journal_get_write_access() [all …]
|
D | ext4_jbd2.h | 233 int __ext4_journal_get_write_access(const char *where, unsigned int line, 236 int __ext4_forget(const char *where, unsigned int line, handle_t *handle, 240 int __ext4_journal_get_create_access(const char *where, unsigned int line, 243 int __ext4_handle_dirty_metadata(const char *where, unsigned int line, 247 int __ext4_handle_dirty_super(const char *where, unsigned int line, 263 handle_t *__ext4_journal_start_sb(struct super_block *sb, unsigned int line, 265 int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle); 308 unsigned int line, int type, in __ext4_journal_start() argument 311 return __ext4_journal_start_sb(inode->i_sb, line, type, blocks, in __ext4_journal_start() 321 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line,
|
/linux-4.19.296/drivers/s390/char/ |
D | tty3270.c | 139 struct string *line; in tty3270_update_prompt() local 142 line = tp->prompt; in tty3270_update_prompt() 144 line->string[5] = TF_INMDT; in tty3270_update_prompt() 146 line->string[5] = tp->inattr; in tty3270_update_prompt() 149 memcpy(line->string + 6, input, count); in tty3270_update_prompt() 150 line->string[6 + count] = TO_IC; in tty3270_update_prompt() 153 line->string[7 + count] = TO_RA; in tty3270_update_prompt() 154 line->string[10 + count] = 0; in tty3270_update_prompt() 156 raw3270_buffer_address(tp->view.dev, line->string+count+8, off); in tty3270_update_prompt() 157 line->len = 11 + count; in tty3270_update_prompt() [all …]
|
/linux-4.19.296/fs/nfs/ |
D | nfsroot.c | 131 static int __init nfs_root_setup(char *line) in nfs_root_setup() argument 135 if (line[0] == '/' || line[0] == ',' || (line[0] >= '0' && line[0] <= '9')) { in nfs_root_setup() 136 strlcpy(nfs_root_parms, line, sizeof(nfs_root_parms)); in nfs_root_setup() 138 size_t n = strlen(line) + sizeof(NFS_ROOT) - 1; in nfs_root_setup() 140 line[sizeof(nfs_root_parms) - sizeof(NFS_ROOT) - 2] = '\0'; in nfs_root_setup() 141 sprintf(nfs_root_parms, NFS_ROOT, line); in nfs_root_setup()
|
/linux-4.19.296/include/dt-bindings/pinctrl/ |
D | stm32-pinfunc.h | 31 #define PIN_NO(port, line) (((port) - 'A') * 0x10 + (line)) argument 33 #define STM32_PINMUX(port, line, mode) (((PIN_NO(port, line)) << 8) | (mode)) argument
|
/linux-4.19.296/lib/ |
D | test_bitmap.c | 22 __check_eq_uint(const char *srcfile, unsigned int line, in __check_eq_uint() argument 27 srcfile, line, exp_uint, x); in __check_eq_uint() 35 __check_eq_bitmap(const char *srcfile, unsigned int line, in __check_eq_bitmap() argument 41 srcfile, line, in __check_eq_bitmap() 49 __check_eq_pbl(const char *srcfile, unsigned int line, in __check_eq_pbl() argument 56 srcfile, line, in __check_eq_pbl() 64 __check_eq_u32_array(const char *srcfile, unsigned int line, 68 __check_eq_u32_array(const char *srcfile, unsigned int line, in __check_eq_u32_array() argument 74 srcfile, line, in __check_eq_u32_array() 80 pr_warn("[%s:%u] array contents differ\n", srcfile, line); in __check_eq_u32_array()
|
D | bug.c | 147 unsigned line, warning, once, done; in report_bug() local 157 line = 0; in report_bug() 165 line = bug->line; in report_bug() 183 __warn(file, line, (void *)bugaddr, BUG_GET_TAINT(bug), regs, in report_bug() 191 pr_crit("kernel BUG at %s:%u!\n", file, line); in report_bug()
|
/linux-4.19.296/include/linux/ |
D | kmsg_dump.h | 59 char *line, size_t size, size_t *len); 62 char *line, size_t size, size_t *len); 80 bool syslog, const char *line, in kmsg_dump_get_line_nolock() argument 87 const char *line, size_t size, size_t *len) in kmsg_dump_get_line() argument
|
/linux-4.19.296/fs/xfs/ |
D | xfs_message.c | 89 asswarn(char *expr, char *file, int line) in asswarn() argument 92 expr, file, line); in asswarn() 97 assfail(char *expr, char *file, int line) in assfail() argument 100 expr, file, line); in assfail()
|
/linux-4.19.296/include/asm-generic/ |
D | bug.h | 35 unsigned short line; member 94 void warn_slowpath_fmt(const char *file, const int line, 97 void warn_slowpath_fmt_taint(const char *file, const int line, unsigned taint, 99 extern void warn_slowpath_null(const char *file, const int line); 119 void __warn(const char *file, int line, void *caller, unsigned taint,
|