/linux/fs/ubifs/ |
A D | master.c | 199 if (c->zroot.lnum >= c->leb_cnt || c->zroot.lnum < c->main_first || in validate_master() 211 if (c->gc_lnum >= c->leb_cnt || c->gc_lnum < c->main_first) { in validate_master() 216 if (c->ihead_lnum >= c->leb_cnt || c->ihead_lnum < c->main_first || in validate_master() 229 if (c->lpt_lnum < c->lpt_first || c->lpt_lnum > c->lpt_last || in validate_master() 230 c->lpt_offs < 0 || c->lpt_offs + c->nnode_sz > c->leb_size) { in validate_master() 235 if (c->nhead_lnum < c->lpt_first || c->nhead_lnum > c->lpt_last || in validate_master() 242 if (c->ltab_lnum < c->lpt_first || c->ltab_lnum > c->lpt_last || in validate_master() 244 c->ltab_offs + c->ltab_sz > c->leb_size) { in validate_master() 251 c->lsave_offs + c->lsave_sz > c->leb_size)) { in validate_master() 256 if (c->lscan_lnum < c->main_first || c->lscan_lnum >= c->leb_cnt) { in validate_master() [all …]
|
A D | super.c | 530 c->leb_cnt = c->vi.size; in init_constants_early() 682 c->main_bytes = (long long)c->main_lebs * c->leb_size; in init_constants_sb() 755 c->idx_leb_size = c->leb_size - c->max_idx_node_sz; in init_constants_sb() 772 c->report_rp_size = ubifs_reported_space(c, c->rp_size); in init_constants_master() 810 err = ubifs_change_one_lp(c, c->gc_lnum, c->leb_size, 0, in take_gc_lnum() 1271 if (c->empty && (c->ro_mount || c->ro_media)) { in mount_ubifs() 1549 c->vi.ubi_num, c->vi.vol_id, c->vi.name, in mount_ubifs() 1554 c->leb_size, c->leb_size >> 10, c->min_io_size, in mount_ubifs() 1572 c->lpt_lebs, c->lpt_first, c->lpt_last); in mount_ubifs() 1574 c->orph_lebs, c->orph_first, c->orph_last); in mount_ubifs() [all …]
|
A D | lpt_commit.c | 99 c->lpt_cnext = first_dirty_cnode(c, c->nroot); in get_cnodes_to_commit() 118 ubifs_assert(c, cnt == c->dirty_nn_cnt + c->dirty_pn_cnt); in get_cnodes_to_commit() 134 ubifs_assert(c, lnum >= c->lpt_first && lnum <= c->lpt_last); in upd_ltab() 691 else if (c->ltab[i].free + c->ltab[i].dirty == c->leb_size) in need_write_all() 716 c->ltab[i].free + c->ltab[i].dirty == c->leb_size) { in lpt_tgc_start() 767 ubifs_assert(c, c->big_lpt); in populate_lsave() 770 ubifs_add_lpt_dirt(c, c->lsave_lnum, c->lsave_sz); in populate_lsave() 945 ubifs_add_lpt_dirt(c, c->ltab_lnum, c->ltab_sz); in make_ltab_dirty() 970 ubifs_add_lpt_dirt(c, c->lsave_lnum, c->lsave_sz); in make_lsave_dirty() 1158 c->ltab[i].free + c->ltab[i].dirty == c->leb_size) in lpt_gc() [all …]
|
A D | sb.c | 152 c->max_leb_cnt = c->leb_cnt; in create_default_filesystem() 461 ubifs_idx_node_sz(c, c->fanout) > c->leb_size) { in validate_sb() 468 c->log_lebs - c->lpt_lebs - c->orph_lebs)) { in validate_sb() 474 c->orph_lebs + c->main_lebs != c->leb_cnt) { in validate_sb() 661 ubifs_assert(c, !c->ro_media || c->ro_mount); in ubifs_read_superblock() 757 if (c->leb_cnt < c->vi.size && c->leb_cnt < c->max_leb_cnt) { in ubifs_read_superblock() 769 c->log_bytes = (long long)c->log_lebs * c->leb_size; in ubifs_read_superblock() 772 c->lpt_last = c->lpt_first + c->lpt_lebs - 1; in ubifs_read_superblock() 774 c->orph_last = c->orph_first + c->orph_lebs - 1; in ubifs_read_superblock() 776 c->main_lebs -= c->log_lebs + c->lpt_lebs + c->orph_lebs; in ubifs_read_superblock() [all …]
|
A D | budget.c | 97 liab = c->bi.idx_growth + c->bi.data_growth + c->bi.dd_growth; in get_liability() 171 idx_size = c->bi.old_idx_sz + c->bi.idx_growth + c->bi.uncommitted_idx; in ubifs_calc_min_idx_lebs() 330 lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - in do_budget_space() 451 ubifs_assert(c, c->bi.dd_growth >= 0); in ubifs_budget_space() 453 if (unlikely(c->bi.nospace) && (c->bi.nospace_rp || !can_use_rp(c))) { in ubifs_budget_space() 496 if (can_use_rp(c) || c->rp_size == 0) in ubifs_budget_space() 542 c->bi.nospace = c->bi.nospace_rp = 0; in ubifs_release_budget() 555 ubifs_assert(c, c->bi.min_idx_lebs < c->main_lebs); in ubifs_release_budget() 579 c->bi.dd_growth += c->bi.page_budget; in ubifs_convert_page_budget() 671 ubifs_assert(c, c->bi.min_idx_lebs == ubifs_calc_min_idx_lebs(c)); in ubifs_get_free_space_nolock() [all …]
|
A D | commit.c | 62 if (c->mounting || c->remounting_rw) in nothing_to_commit() 69 if (c->zroot.znode && ubifs_zn_dirty(c->zroot.znode)) in nothing_to_commit() 83 ubifs_assert(c, c->dirty_pn_cnt == 0); in nothing_to_commit() 84 ubifs_assert(c, c->dirty_nn_cnt == 0); in nothing_to_commit() 104 ubifs_assert(c, !c->ro_media && !c->ro_mount); in do_commit() 161 c->mst_node->cmt_no = cpu_to_le64(c->cmt_no); in do_commit() 169 c->mst_node->lpt_lnum = cpu_to_le32(c->lpt_lnum); in do_commit() 170 c->mst_node->lpt_offs = cpu_to_le32(c->lpt_offs); in do_commit() 637 key_read(c, ubifs_idx_key(c, idx), &l_key); in dbg_check_old_index() 704 ubifs_dump_node(c, idx, ubifs_idx_node_sz(c, c->fanout)); in dbg_check_old_index() [all …]
|
A D | log.c | 94 h = (long long)c->lhead_lnum * c->leb_size + c->lhead_offs; in empty_log_bytes() 136 ubifs_assert(c, c->replaying && c->ro_mount); in ubifs_add_bud() 180 ubifs_assert(c, !c->ro_media && !c->ro_mount); in ubifs_add_bud_to_log() 187 if (empty_log_bytes(c) - c->ref_node_alsz < c->min_log_bytes) { in ubifs_add_bud_to_log() 204 if (c->bud_bytes + c->leb_size - offs > c->max_bud_bytes) { in ubifs_add_bud_to_log() 234 if (c->lhead_offs > c->leb_size - c->ref_node_alsz) { in ubifs_add_bud_to_log() 235 c->lhead_lnum = ubifs_next_log_lnum(c, c->lhead_lnum); in ubifs_add_bud_to_log() 236 ubifs_assert(c, c->lhead_lnum != c->ltail_lnum); in ubifs_add_bud_to_log() 422 c->lhead_lnum = ubifs_next_log_lnum(c, c->lhead_lnum); in ubifs_log_start_commit() 423 ubifs_assert(c, c->lhead_lnum != c->ltail_lnum); in ubifs_log_start_commit() [all …]
|
A D | lpt.c | 51 n = c->main_lebs + c->max_leb_cnt - c->leb_cnt; in do_calc_lpt_geom() 99 c->lpt_sz = (long long)c->pnode_cnt * c->pnode_sz; in do_calc_lpt_geom() 100 c->lpt_sz += (long long)c->nnode_cnt * c->nnode_sz; in do_calc_lpt_geom() 101 c->lpt_sz += c->ltab_sz; in do_calc_lpt_geom() 103 c->lpt_sz += c->lsave_sz; in do_calc_lpt_geom() 141 if (c->ltab_sz > c->leb_size) { in ubifs_calc_lpt_geom() 184 if (c->lpt_sz > c->leb_size) { in calc_dflt_lpt_geom() 492 ubifs_add_lpt_dirt(c, c->lpt_lnum, c->nnode_sz); in ubifs_add_nnode_dirt() 495 ubifs_add_lpt_dirt(c, c->ltab_lnum, c->ltab_sz); in ubifs_add_nnode_dirt() 638 ubifs_assert(c, !c->ltab); in ubifs_create_dflt_lpt() [all …]
|
A D | tnc_commit.c | 135 if (c->enext == c->cnext) in fill_gap() 287 c->ileb_len = c->leb_size; in layout_leb_in_gaps() 307 c->leb_size - c->ileb_len, in layout_leb_in_gaps() 314 err = ubifs_change_one_lp(c, lnum, c->leb_size - c->ileb_len, dirt, in layout_leb_in_gaps() 318 err = ubifs_leb_change(c, lnum, c->ileb_buf, c->ileb_len); in layout_leb_in_gaps() 339 cnt -= (c->leb_size - c->ihead_offs) / c->max_idx_node_sz; in get_leb_cnt() 384 ubifs_dump_budg(c, &c->bi); in layout_in_gaps() 463 lnum = c->ilebs[c->ileb_nxt++]; in layout_in_empty_space() 648 znode = c->enext = c->cnext; in get_znodes_to_commit() 700 c->ilebs[c->ileb_cnt++] = lnum; in alloc_idx_lebs() [all …]
|
A D | find.c | 58 n = c->lst.empty_lebs + c->freeable_cnt - in valuable() 162 if (c->pnodes_have >= c->pnode_cnt) in scan_for_dirty() 174 ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt); in scan_for_dirty() 234 lebs = c->lst.empty_lebs + c->idx_gc_cnt; in ubifs_find_dirty_leb() 317 ubifs_assert(c, lp->dirty >= c->dead_wm || in ubifs_find_dirty_leb() 442 if (c->pnodes_have >= c->pnode_cnt) in do_find_free_space() 453 ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt); in do_find_free_space() 496 lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - in ubifs_find_free_space() 633 ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt); in scan_for_leb_for_idx() 842 if (c->pnodes_have >= c->pnode_cnt) in find_dirty_idx_leb() [all …]
|
A D | orphan.c | 253 c->cmt_orphans = c->new_orphans; in ubifs_orphan_start_commit() 276 avail_lebs = c->orph_lebs - (c->ohead_lnum - c->orph_first) - 1; in avail_orphs() 320 err = ubifs_leb_change(c, c->ohead_lnum, c->orph_buf, len); in do_write_orph_node() 328 err = ubifs_write_node(c, c->orph_buf, len, c->ohead_lnum, in do_write_orph_node() 368 ubifs_assert(c, c->orph_buf); in write_orph_node() 389 ubifs_assert(c, c->ohead_offs + len <= c->leb_size); in write_orph_node() 390 ubifs_assert(c, c->ohead_lnum >= c->orph_first); in write_orph_node() 391 ubifs_assert(c, c->ohead_lnum <= c->orph_last); in write_orph_node() 461 ubifs_assert(c, cnt == c->tot_orphans - c->new_orphans); in consolidate() 463 c->ohead_lnum = c->orph_first; in consolidate() [all …]
|
A D | lprops.c | 293 ubifs_assert(c, c->in_a_category_cnt <= c->main_lebs); in ubifs_add_to_cat() 315 ubifs_assert(c, c->freeable_cnt >= 0); in ubifs_remove_from_cat() 537 ubifs_assert(c, c->freeable_cnt >= 0); in ubifs_change_lp() 538 ubifs_assert(c, c->freeable_cnt <= c->main_lebs); in ubifs_change_lp() 540 ubifs_assert(c, c->lst.taken_empty_lebs <= c->lst.empty_lebs); in ubifs_change_lp() 541 ubifs_assert(c, !(c->lst.total_free & 7) && !(c->lst.total_dirty & 7)); in ubifs_change_lp() 542 ubifs_assert(c, !(c->lst.total_dead & 7) && !(c->lst.total_dark & 7)); in ubifs_change_lp() 814 ubifs_assert(c, c->freeable_cnt > 0); in ubifs_fast_find_freeable() 1107 ubifs_dump_budg(c, &c->bi); in scan_check_cb() 1271 err = ubifs_lpt_scan_nolock(c, c->main_first, c->leb_cnt - 1, in dbg_check_lprops() [all …]
|
A D | io.c | 110 ubifs_assert(c, !c->ro_media && !c->ro_mount); in ubifs_leb_write() 130 ubifs_assert(c, !c->ro_media && !c->ro_mount); in ubifs_leb_change() 150 ubifs_assert(c, !c->ro_media && !c->ro_mount); in ubifs_leb_unmap() 169 ubifs_assert(c, !c->ro_media && !c->ro_mount); in ubifs_leb_map() 539 struct ubifs_info *c = wbuf->c; in ubifs_wbuf_sync_nolock() local 554 ubifs_assert(c, !c->ro_media && !c->ro_mount); in ubifs_wbuf_sync_nolock() 651 ubifs_assert(c, !c->ro_media && !c->ro_mount); in ubifs_bg_wbufs_sync() 721 struct ubifs_info *c = wbuf->c; in ubifs_wbuf_write_nolock() local 735 ubifs_assert(c, !c->ro_media && !c->ro_mount); in ubifs_wbuf_write_nolock() 920 ubifs_assert(c, !c->ro_media && !c->ro_mount); in ubifs_write_node_hmac() [all …]
|
/linux/drivers/net/wan/ |
A D | z85230.c | 325 if (c->count < c->max) { in z8530_rx() 336 c->dptr = c->skb->data; in z8530_rx() 1320 c->tx_skb = c->tx_next_skb; in z8530_tx_begin() 1322 c->tx_ptr = c->tx_next_ptr; in z8530_tx_begin() 1521 c->skb = c->skb2; in z8530_rx_done() 1523 c->max = c->mtu; in z8530_rx_done() 1525 c->dptr = c->skb->data; in z8530_rx_done() 1526 c->max = c->mtu; in z8530_rx_done() 1535 skb_put(c->skb2, c->mtu); in z8530_rx_done() 1544 c->rx_function(c, skb); in z8530_rx_done() [all …]
|
/linux/arch/mips/kernel/ |
A D | cpu-probe.c | 281 unsigned int probability = c->tlbsize / c->tlbsizevtlb; in calculate_ftlb_probability() 482 c->tlbsizevtlb = c->tlbsize; in decode_config1() 545 c->htw_seq = 0; in decode_config3() 585 c->tlbsizevtlb = c->tlbsize; in decode_config4() 591 c->tlbsize = c->tlbsizevtlb; in decode_config4() 616 c->tlbsize += c->tlbsizeftlbways * c->tlbsizeftlbsets; in decode_config4() 1048 c->tlbsize = 64; in cpu_probe_legacy() 1068 c->tlbsize = 64; in cpu_probe_legacy() 1116 c->tlbsize = 48; in cpu_probe_legacy() 1504 mm_config(c); in cpu_probe_mips() [all …]
|
/linux/fs/jffs2/ |
A D | wbuf.c | 285 jeb = &c->blocks[c->wbuf_ofs / c->sector_size]; in jffs2_wbuf_recover() 453 memmove(c->wbuf, c->wbuf + (start - c->wbuf_ofs), end - start); in jffs2_wbuf_recover() 567 c->wbuf_ofs, c->wbuf_len); in jffs2_wbuf_recover() 599 wbuf_jeb = &c->blocks[c->wbuf_ofs / c->sector_size]; in __jffs2_flush_wbuf() 610 c->wbuf_len = PAD(c->wbuf_len); in __jffs2_flush_wbuf() 614 memset(c->wbuf + c->wbuf_len, 0, c->wbuf_pagesize - c->wbuf_len); in __jffs2_flush_wbuf() 632 mtd_write(c->mtd, c->wbuf_ofs, c->wbuf_pagesize, &retlen, in __jffs2_flush_wbuf() 638 ret = mtd_write(c->mtd, c->wbuf_ofs, c->wbuf_pagesize, in __jffs2_flush_wbuf() 843 c->wbuf_ofs, c->wbuf_ofs + c->wbuf_len); in jffs2_flash_writev() 1260 c->flash_size = c->mtd->size; in jffs2_dataflash_setup() [all …]
|
A D | nodemgmt.c | 29 avail = c->dirty_size + c->free_size + c->unchecked_size + in jffs2_rp_can_write() 30 c->erasing_size - c->resv_blocks_write * c->sector_size in jffs2_rp_can_write() 38 c->erasing_size, c->unchecked_size, in jffs2_rp_can_write() 115 …dirty = c->dirty_size + c->erasing_size - c->nr_erasing_blocks * c->sector_size + c->unchecked_siz… in jffs2_reserve_space() 140 avail = c->free_size + c->dirty_size + c->erasing_size + c->unchecked_size; in jffs2_reserve_space() 159 c->free_size, c->dirty_size, c->wasted_size, in jffs2_reserve_space() 160 c->used_size, c->erasing_size, c->bad_size, in jffs2_reserve_space() 161 c->free_size + c->dirty_size + in jffs2_reserve_space() 163 c->erasing_size + c->bad_size, in jffs2_reserve_space() 343 if (!(c->wbuf_ofs % c->sector_size) && !c->wbuf_len) in jffs2_find_nextblock() [all …]
|
A D | build.c | 326 c->resv_blocks_write = c->resv_blocks_deletion + (size / c->sector_size); in jffs2_calc_trigger_levels() 350 c->nospc_dirty_size = c->sector_size + (c->flash_size / 100); in jffs2_calc_trigger_levels() 353 c->flash_size / 1024, c->sector_size / 1024, c->nr_blocks); in jffs2_calc_trigger_levels() 355 c->resv_blocks_deletion, c->resv_blocks_deletion*c->sector_size/1024); in jffs2_calc_trigger_levels() 357 c->resv_blocks_write, c->resv_blocks_write*c->sector_size/1024); in jffs2_calc_trigger_levels() 359 c->resv_blocks_gctrigger, c->resv_blocks_gctrigger*c->sector_size/1024); in jffs2_calc_trigger_levels() 361 c->resv_blocks_gcmerge, c->resv_blocks_gcmerge*c->sector_size/1024); in jffs2_calc_trigger_levels() 363 c->resv_blocks_gcbad, c->resv_blocks_gcbad*c->sector_size/1024); in jffs2_calc_trigger_levels() 376 c->free_size = c->flash_size; in jffs2_do_mount_fs() 377 c->nr_blocks = c->flash_size / c->sector_size; in jffs2_do_mount_fs() [all …]
|
A D | erase.c | 52 c->erasing_size -= c->sector_size; in jffs2_erase_block() 53 c->dirty_size += c->sector_size; in jffs2_erase_block() 83 c->erasing_size -= c->sector_size; in jffs2_erase_block() 84 c->dirty_size += c->sector_size; in jffs2_erase_block() 131 c->erasing_size += c->sector_size; in jffs2_erase_pending_blocks() 186 c->erasing_size -= c->sector_size; in jffs2_erase_failed() 187 c->dirty_size += c->sector_size; in jffs2_erase_failed() 197 c->erasing_size -= c->sector_size; in jffs2_erase_failed() 198 c->bad_size += c->sector_size; in jffs2_erase_failed() 456 c->erasing_size -= c->sector_size; in jffs2_mark_erased_block() [all …]
|
/linux/arch/x86/kernel/cpu/ |
A D | amd.c | 110 if (c->x86_model == 9 || c->x86_model == 10) { in init_amd_k5() 132 if (c->x86_model == 6 && c->x86_stepping == 1) { in init_amd_k6() 162 (c->x86_model == 8 && c->x86_stepping < 8)) { in init_amd_k6() 182 c->x86_model == 9 || c->x86_model == 13) { in init_amd_k6() 221 if (c->x86_model >= 6 && c->x86_model <= 10) { in init_amd_k7() 234 if ((c->x86_model == 8 && c->x86_stepping >= 1) || (c->x86_model > 8)) { in init_amd_k7() 392 c->phys_proc_id = c->initial_apicid >> bits; in amd_detect_cmp() 555 c->x86 >= 0x15 && c->x86 <= 0x17) { in bsp_init_amd() 691 if (c->x86 == 0x16 && c->x86_model <= 0xf) in early_init_amd() 1179 if (c->x86 == 0x17 && ((c->x86_model >= 0x30 && c->x86_model < 0x40) || in amd_get_highest_perf() [all …]
|
/linux/drivers/most/ |
A D | core.c | 567 ret = comp->probe_channel(c->iface, c->channel_id, &c->cfg, name, in link_channel_to_component() 853 c->pipe0.comp->tx_completion(c->iface, c->channel_id); in arm_mbo() 856 c->pipe1.comp->tx_completion(c->iface, c->channel_id); in arm_mbo() 963 if (c->pipe0.refs && c->pipe1.refs && in channel_has_mbo() 996 if (c->pipe0.refs && c->pipe1.refs && in most_get_mbo() 1101 if (c->pipe0.refs + c->pipe1.refs > 0) in most_start_channel() 1111 if (c->iface->configure(c->iface, c->channel_id, &c->cfg)) { in most_start_channel() 1136 c->pipe1.num_buffers = c->cfg.num_buffers - c->pipe0.num_buffers; in most_start_channel() 1185 if (c->iface->poison_channel(c->iface, c->channel_id)) { in most_stop_channel() 1318 c = kzalloc(sizeof(*c), GFP_KERNEL); in most_register_interface() [all …]
|
A D | most_cdev.c | 191 while (c->dev && !ch_get_mbo(c, &mbo)) { in comp_write() 196 if (wait_event_interruptible(c->wq, ch_has_mbo(c) || !c->dev)) in comp_write() 214 if (c->mbo_offs >= c->cfg->buffer_size || in comp_write() 290 if (!c->dev || !kfifo_is_empty(&c->fifo)) in comp_poll() 293 if (!c->dev || !kfifo_is_empty(&c->fifo) || ch_has_mbo(c)) in comp_poll() 325 if (!c) in comp_disconnect_channel() 359 if (!c) in comp_rx_completion() 363 if (!c->access_ref || !c->dev) { in comp_rx_completion() 424 if (c) in comp_probe() 431 c = kzalloc(sizeof(*c), GFP_KERNEL); in comp_probe() [all …]
|
/linux/drivers/scsi/ |
A D | atp870u.c | 133 for (c = 0; c < 2; c++) { in atp870u_intr_handle() 229 if (((dev->quhd[c] != dev->quend[c]) || in atp870u_intr_handle() 668 if (dev->quhd[c] == dev->quend[c]) { in atp870u_queuecommand_lck() 680 dev->quereq[c][dev->quend[c]] = req_p; in atp870u_queuecommand_lck() 684 dev->ioport[c], atp_readb_io(dev, c, 0x1c), c, in atp870u_queuecommand_lck() 685 dev->in_int[c],c,dev->in_snd[c]); in atp870u_queuecommand_lck() 736 if (dev->quhd[c] == dev->quend[c]) { in DEF_SCSI_QCMD() 1257 for(c=0;c < 2;c++) { in atp870u_init_tables() 1486 for (c = 0; c < 2; c++) { in atp885_init() 2046 c, i, dev->id[c][i].devsp); in atp_is() [all …]
|
/linux/drivers/media/firewire/ |
A D | firedtv-avc.c | 371 c->operand[11] = 0; in avc_tuner_tuneqpsk() 373 c->operand[11] = 1; in avc_tuner_tuneqpsk() 378 c->operand[12] = 1; in avc_tuner_tuneqpsk() 380 c->operand[12] = 0; in avc_tuner_tuneqpsk() 496 c->operand[5] = in avc_tuner_dsd_dvb_t() 507 c->operand[6] = in avc_tuner_dsd_dvb_t() 513 c->operand[7] = 0x0; in avc_tuner_dsd_dvb_t() 602 pad_operands(c, pos); in avc_tuner_dsd() 654 pad_operands(c, pos); in avc_tuner_set_pids() 722 c->operand[1] = 0xff; in avc_identify_subunit() [all …]
|
/linux/sound/firewire/ |
A D | cmp.c | 143 c->connected = false; in cmp_connection_init() 144 mutex_init(&c->mutex); in cmp_connection_init() 182 WARN_ON(c->connected); in cmp_connection_destroy() 193 mutex_lock(&c->mutex); in cmp_connection_reserve() 200 c->speed = min(c->max_speed, in cmp_connection_reserve() 204 c->speed); in cmp_connection_reserve() 259 spd = c->speed; in opcr_set_modify() 328 c->connected = true; in cmp_connection_establish() 352 if (!c->connected) { in cmp_connection_update() 376 c->connected = false; in cmp_connection_update() [all …]
|