Searched refs:to_remove (Results 1 - 10 of 10) sorted by relevance

/linux-4.4.14/net/atm/
H A Dlec.c66 struct lec_arp_table *to_remove);
1309 lec_arp_remove(struct lec_priv *priv, struct lec_arp_table *to_remove) lec_arp_remove() argument
1314 if (!to_remove) lec_arp_remove()
1317 hlist_del(&to_remove->next); lec_arp_remove()
1318 del_timer(&to_remove->timer); lec_arp_remove()
1324 if (to_remove->status >= ESI_FLUSH_PENDING) { lec_arp_remove()
1331 if (memcmp(to_remove->atm_addr, lec_arp_remove()
1339 lec_arp_clear_vccs(to_remove); lec_arp_remove()
1341 skb_queue_purge(&to_remove->tx_wait); /* FIXME: good place for this? */ lec_arp_remove()
1343 pr_debug("Removed entry:%pM\n", to_remove->mac_addr); lec_arp_remove()
1604 struct lec_arp_table *to_remove = (struct lec_arp_table *)data; lec_arp_expire_vcc() local
1605 struct lec_priv *priv = to_remove->priv; lec_arp_expire_vcc()
1607 del_timer(&to_remove->timer); lec_arp_expire_vcc()
1610 to_remove, priv, lec_arp_expire_vcc()
1611 to_remove->vcc ? to_remove->recv_vcc->vpi : 0, lec_arp_expire_vcc()
1612 to_remove->vcc ? to_remove->recv_vcc->vci : 0); lec_arp_expire_vcc()
1615 hlist_del(&to_remove->next); lec_arp_expire_vcc()
1618 lec_arp_clear_vccs(to_remove); lec_arp_expire_vcc()
1619 lec_arp_put(to_remove); lec_arp_expire_vcc()
/linux-4.4.14/drivers/bluetooth/
H A Dhci_h5.c245 int i, to_remove; h5_pkt_cull() local
250 to_remove = skb_queue_len(&h5->unack); h5_pkt_cull()
251 if (to_remove == 0) h5_pkt_cull()
256 while (to_remove > 0) { h5_pkt_cull()
260 to_remove--; h5_pkt_cull()
269 if (i++ >= to_remove) h5_pkt_cull()
/linux-4.4.14/drivers/uwb/
H A Die.c332 void uwb_rc_ie_cache_rm(struct uwb_rc *uwb_rc, enum uwb_ie to_remove) uwb_rc_ie_cache_rm() argument
345 if (ie->element_id == to_remove) { uwb_rc_ie_cache_rm()
/linux-4.4.14/fs/ceph/
H A Dmds_client.c1147 LIST_HEAD(to_remove); remove_session_caps_cb()
1165 list_add(&cf->list, &to_remove); remove_session_caps_cb()
1170 list_for_each_entry(cf, &to_remove, list) remove_session_caps_cb()
1195 list_add(&ci->i_prealloc_cap_flush->list, &to_remove); remove_session_caps_cb()
1200 while (!list_empty(&to_remove)) { remove_session_caps_cb()
1202 cf = list_first_entry(&to_remove, remove_session_caps_cb()
H A Dcaps.c3012 LIST_HEAD(to_remove); variable
3026 list_add_tail(&cf->list, &to_remove);
3040 if (list_empty(&to_remove) && !cleaned)
3047 if (!list_empty(&to_remove)) {
3048 list_for_each_entry(cf, &to_remove, list)
3088 while (!list_empty(&to_remove)) {
3089 cf = list_first_entry(&to_remove,
/linux-4.4.14/kernel/trace/
H A Dring_buffer.c1435 struct list_head *tail_page, *to_remove, *next_page; rb_remove_pages() local
1463 to_remove = tail_page; rb_remove_pages()
1466 first_page = list_entry(rb_list_head(to_remove->next), rb_remove_pages()
1470 to_remove = rb_list_head(to_remove)->next; rb_remove_pages()
1471 head_bit |= (unsigned long)to_remove & RB_PAGE_HEAD; rb_remove_pages()
1474 next_page = rb_list_head(to_remove)->next; rb_remove_pages()
1507 last_page = list_entry(rb_list_head(to_remove), struct buffer_page, rb_remove_pages()
/linux-4.4.14/drivers/md/
H A Dmd.c596 if (mddev->to_remove) { mddev_unlock()
602 * and anything else which might set ->to_remove or my mddev_unlock()
609 struct attribute_group *to_remove = mddev->to_remove; mddev_unlock() local
610 mddev->to_remove = NULL; mddev_unlock()
615 if (to_remove != &md_redundancy_group) mddev_unlock()
616 sysfs_remove_group(&mddev->kobj, to_remove); mddev_unlock()
3577 if (mddev->to_remove == NULL) level_store()
3578 mddev->to_remove = &md_redundancy_group; level_store()
5517 if (pers->sync_request && mddev->to_remove == NULL) __md_stop()
5518 mddev->to_remove = &md_redundancy_group; __md_stop()
H A Dmd.h453 struct attribute_group *to_remove; member in struct:mddev
H A Draid5.c6945 if (mddev->to_remove == &raid5_attrs_group)
6946 mddev->to_remove = NULL;
7057 mddev->to_remove = &raid5_attrs_group; raid5_free()
/linux-4.4.14/drivers/scsi/
H A Dncr53c8xx.c1956 static struct scsi_cmnd *retrieve_from_waiting_list(int to_remove, struct ncb *np, struct scsi_cmnd *cmd);
8194 static struct scsi_cmnd *retrieve_from_waiting_list(int to_remove, struct ncb *np, struct scsi_cmnd *cmd) retrieve_from_waiting_list() argument
8200 if (to_remove) { retrieve_from_waiting_list()

Completed in 538 milliseconds