/linux-4.1.27/include/net/tc_act/ |
H A D | tc_connmark.h | 12 container_of(a->priv, struct tcf_connmark_info, common)
|
H A D | tc_csum.h | 13 container_of(a->priv,struct tcf_csum,common)
|
H A D | tc_defact.h | 12 container_of(a->priv, struct tcf_defact, common)
|
H A D | tc_gact.h | 15 container_of(a->priv, struct tcf_gact, common)
|
H A D | tc_ipt.h | 15 container_of(a->priv, struct tcf_ipt, common)
|
H A D | tc_mirred.h | 15 container_of(a->priv, struct tcf_mirred, common)
|
H A D | tc_nat.h | 18 return container_of(a->priv, struct tcf_nat, common); to_tcf_nat()
|
H A D | tc_pedit.h | 13 container_of(a->priv, struct tcf_pedit, common)
|
H A D | tc_vlan.h | 25 container_of(a->priv, struct tcf_vlan, common)
|
H A D | tc_bpf.h | 27 container_of(a->priv, struct tcf_bpf, common)
|
H A D | tc_skbedit.h | 33 container_of(a->priv, struct tcf_skbedit, common)
|
/linux-4.1.27/tools/lib/lockdep/uinclude/linux/ |
H A D | kernel.h | 10 #ifndef container_of 11 #define container_of(ptr, type, member) ({ \ macro
|
/linux-4.1.27/drivers/md/persistent-data/ |
H A D | dm-space-map-disk.c | 36 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_destroy() 43 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_extend() 50 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_get_nr_blocks() 58 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_get_nr_free() 67 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_get_count() 92 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_set_count() 130 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_inc_block() 146 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_dec_block() 155 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_new_block() 176 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_commit() 206 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); sm_disk_copy_root()
|
H A D | dm-space-map-metadata.c | 265 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_destroy() 272 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_get_nr_blocks() 281 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_get_nr_free() 294 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_get_count() 334 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_count_is_more_than_one() 386 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_set_count() 404 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_inc_block() 421 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_dec_block() 438 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_new_block_() 463 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_new_block() 485 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_commit() 503 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_register_threshold_callback() 519 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_copy_root() 573 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_get_nr_blocks() 582 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_get_nr_free() 592 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_get_count() 617 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_new_block() 632 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_inc_block() 639 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_dec_block() 687 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_extend() 758 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); dm_sm_metadata_create() 804 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); dm_sm_metadata_open()
|
/linux-4.1.27/drivers/dma/sh/ |
H A D | shdma.h | 59 #define to_sh_chan(chan) container_of(chan, struct sh_dmae_chan, shdma_chan) 60 #define to_sh_desc(lh) container_of(lh, struct sh_desc, node) 61 #define tx_to_sh_desc(tx) container_of(tx, struct sh_desc, async_tx) 62 #define to_sh_dev(chan) container_of(chan->shdma_chan.dma_chan.device,\
|
H A D | shdmac.c | 289 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, sh_dmae_start_xfer() 291 struct sh_dmae_desc *sh_desc = container_of(sdesc, sh_dmae_start_xfer() 303 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, sh_dmae_channel_busy() 311 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, sh_dmae_setup_xfer() 358 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, sh_dmae_set_slave() 385 struct sh_dmae_desc *sh_desc = container_of(sdesc, sh_dmae_desc_setup() 400 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, sh_dmae_halt() 407 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, sh_dmae_chan_irq() 422 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, sh_dmae_get_partial() 424 struct sh_dmae_desc *sh_desc = container_of(sdesc, sh_dmae_get_partial() 462 struct sh_dmae_chan *sh_chan = container_of(schan, sh_dmae_desc_completed() 464 struct sh_dmae_desc *sh_desc = container_of(sdesc, sh_dmae_desc_completed() 647 struct sh_dmae_chan *sh_chan = container_of(schan, sh_dmae_slave_addr()
|
/linux-4.1.27/drivers/usb/gadget/ |
H A D | configfs.h | 16 return container_of(to_config_group(item), struct usb_os_desc, group); to_usb_os_desc()
|
H A D | configfs.c | 312 return container_of(to_config_group(item), struct gadget_info, group); to_gadget_info() 317 return container_of(to_config_group(item), struct gadget_strings, to_gadget_strings() 324 return container_of(to_config_group(item), struct gadget_config_name, to_gadget_config_name() 330 return container_of(to_config_group(item), struct config_usb_cfg, to_config_usb_cfg() 337 return container_of(to_config_group(item), to_usb_function_instance() 376 struct gadget_info *gi = container_of(cdev, struct gadget_info, cdev); config_usb_cfg_link() 379 struct usb_function_instance *fi = container_of(group, config_usb_cfg_link() 427 struct gadget_info *gi = container_of(cdev, struct gadget_info, cdev); config_usb_cfg_unlink() 430 struct usb_function_instance *fi = container_of(group, config_usb_cfg_unlink() 587 gi = container_of(group, struct gadget_info, functions_group); function_make() 602 gi = container_of(group, struct gadget_info, functions_group); function_drop() 652 gi = container_of(group, struct gadget_info, configs_group); config_desc_make() 752 return container_of(to_config_group(item), struct os_desc, group); to_os_desc() 880 struct gadget_info *gi = container_of(to_config_group(os_desc_ci), os_desc_link() 884 container_of(to_config_group(usb_cfg_ci), os_desc_link() 915 struct gadget_info *gi = container_of(to_config_group(os_desc_ci), os_desc_unlink() 949 return container_of(item, struct usb_os_desc_ext_prop, item); to_usb_os_desc_ext_prop() 1095 desc = container_of(group, struct usb_os_desc, group); ext_prop_make() 1286 cfg = container_of(c, struct config_usb_cfg, c); purge_configs_funcs() 1309 struct gadget_info *gi = container_of(composite, configfs_composite_bind() 1336 cfg = container_of(c, struct config_usb_cfg, c); configfs_composite_bind() 1386 cfg = container_of(c, struct config_usb_cfg, c); configfs_composite_bind() 1438 gi = container_of(cdev, struct gadget_info, cdev); configfs_composite_unbind()
|
/linux-4.1.27/arch/arm/include/asm/xen/ |
H A D | events.h | 19 #define xchg_xen_ulong(ptr, val) atomic64_xchg(container_of((ptr), \
|
/linux-4.1.27/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib.h | 84 return container_of(ibdev, struct usnic_ib_dev, ib_dev); to_usdev() 90 return container_of(ibucontext, struct usnic_ib_ucontext, ibucontext); to_ucontext() 96 return container_of(ibpd, struct usnic_ib_pd, ibpd); to_upd() 102 return container_of(ibucontext, struct usnic_ib_ucontext, ibucontext); to_uucontext() 108 return container_of(ibmr, struct usnic_ib_mr, ibmr); to_umr()
|
H A D | usnic_ib_sysfs.c | 38 container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_fw_ver() 53 container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_board() 76 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_config() 135 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_iface() 147 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_max_vf() 160 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_qp_per_vf() 174 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_cq_per_vf() 212 qp_grp = container_of(kobj, struct usnic_ib_qp_grp, kobj); usnic_ib_qpn_attr_show() 213 qpn_attr = container_of(attr, struct qpn_attribute, attr); usnic_ib_qpn_attr_show()
|
/linux-4.1.27/drivers/target/ |
H A D | target_core_stat.c | 80 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_dev_show_attr_inst() 91 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_dev_show_attr_indx() 108 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_dev_show_attr_ports() 157 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_tgt_dev_show_attr_inst() 168 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_tgt_dev_show_attr_indx() 185 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_tgt_dev_show_attr_status() 198 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_tgt_dev_show_attr_non_access_lus() 214 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_tgt_dev_show_attr_resets() 265 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_lu_show_attr_inst() 276 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_lu_show_attr_dev() 301 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_lu_show_attr_lu_name() 314 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_lu_show_attr_vend() 331 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_lu_show_attr_prod() 348 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_lu_show_attr_rev() 365 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_lu_show_attr_dev_type() 377 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_lu_show_attr_status() 397 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_lu_show_attr_num_cmds() 409 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_lu_show_attr_read_mbytes() 421 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_lu_show_attr_write_mbytes() 433 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_lu_show_attr_resets() 460 container_of(sgrps, struct se_device, dev_stat_grps); target_stat_scsi_lu_show_attr_creation_time() 545 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_port_show_attr_inst() 567 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_port_show_attr_dev() 587 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_port_show_attr_indx() 606 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_port_show_attr_role() 629 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_port_show_attr_busy_count() 688 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_tgt_port_show_attr_inst() 710 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_tgt_port_show_attr_dev() 730 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_tgt_port_show_attr_indx() 749 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_tgt_port_show_attr_name() 772 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_tgt_port_show_attr_port_index() 796 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_tgt_port_show_attr_in_cmds() 816 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_tgt_port_show_attr_write_mbytes() 837 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_tgt_port_show_attr_read_mbytes() 858 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_tgt_port_show_attr_hs_in_cmds() 924 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_transport_show_attr_inst() 947 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_transport_show_attr_device() 970 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_transport_show_attr_indx() 992 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); target_stat_scsi_transport_show_attr_dev_name() 1081 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_auth_intr_show_attr_inst() 1106 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_auth_intr_show_attr_dev() 1130 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_auth_intr_show_attr_port() 1154 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_auth_intr_show_attr_indx() 1176 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_auth_intr_show_attr_dev_or_port() 1198 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_auth_intr_show_attr_intr_name() 1220 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_auth_intr_show_attr_map_indx() 1242 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_auth_intr_show_attr_att_count() 1264 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_auth_intr_show_attr_num_cmds() 1286 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_auth_intr_show_attr_read_mbytes() 1308 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_auth_intr_show_attr_write_mbytes() 1330 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_auth_intr_show_attr_hs_num_cmds() 1352 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_auth_intr_show_attr_creation_time() 1375 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_auth_intr_show_attr_row_status() 1447 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_att_intr_port_show_attr_inst() 1472 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_att_intr_port_show_attr_dev() 1496 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_att_intr_port_show_attr_port() 1520 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_att_intr_port_show_attr_indx() 1546 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_att_intr_port_show_attr_port_auth_indx() 1568 struct se_lun_acl *lacl = container_of(lgrps, target_stat_scsi_att_intr_port_show_attr_port_ident()
|
H A D | target_core_fabric_configfs.c | 80 struct se_lun *lun = container_of(to_config_group(lun_ci), target_fabric_mappedlun_link() 82 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), target_fabric_mappedlun_link() 155 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), target_fabric_mappedlun_unlink() 166 lun = container_of(to_config_group(lun_ci), struct se_lun, lun_group); target_fabric_mappedlun_unlink() 235 struct se_lun_acl *lacl = container_of(to_config_group(item), target_fabric_mappedlun_release() 333 struct se_node_acl *se_nacl = container_of(group, target_fabric_make_mappedlun() 432 struct se_lun_acl *lacl = container_of(to_config_group(item), target_fabric_drop_mappedlun() 459 struct se_node_acl *se_nacl = container_of(to_config_group(item), target_fabric_nacl_base_release() 498 struct se_portal_group *se_tpg = container_of(group, target_fabric_make_nodeacl() 540 struct se_node_acl *se_nacl = container_of(to_config_group(item), target_fabric_drop_nodeacl() 573 struct se_tpg_np *se_tpg_np = container_of(to_config_group(item), target_fabric_np_base_release() 597 struct se_portal_group *se_tpg = container_of(group, target_fabric_make_np() 770 struct se_lun *lun = container_of(to_config_group(lun_ci), target_fabric_port_link() 775 container_of(to_config_group(se_dev_ci), struct se_device, dev_group); target_fabric_port_link() 791 se_tpg = container_of(to_config_group(tpg_ci), target_fabric_port_link() 825 struct se_lun *lun = container_of(to_config_group(lun_ci), target_fabric_port_unlink() 886 struct se_portal_group *se_tpg = container_of(group, target_fabric_make_lun() 940 struct se_lun *lun = container_of(to_config_group(item), target_fabric_drop_lun() 1021 struct se_portal_group *se_tpg = container_of(to_config_group(item), target_fabric_tpg_release() 1045 struct se_wwn *wwn = container_of(group, struct se_wwn, wwn_group); target_fabric_make_tpg() 1091 struct se_portal_group *se_tpg = container_of(to_config_group(item), target_fabric_drop_tpg() 1111 struct se_wwn *wwn = container_of(to_config_group(item), target_fabric_release_wwn() 1147 struct target_fabric_configfs *tf = container_of(group, target_fabric_make_wwn() 1180 struct se_wwn *wwn = container_of(to_config_group(item), target_fabric_drop_wwn()
|
/linux-4.1.27/drivers/target/iscsi/ |
H A D | iscsi_target_stat.c | 70 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_instance_show_attr_inst() 94 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_instance_show_attr_portals() 111 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_instance_show_attr_sessions() 121 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_instance_show_attr_fail_sess() 139 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_instance_show_attr_fail_type() 151 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_instance_show_attr_fail_rem_name() 240 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_sess_err_show_attr_inst() 250 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_sess_err_show_attr_digest_errors() 261 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_sess_err_show_attr_cxn_errors() 272 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_sess_err_show_attr_format_errors() 322 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_tgt_attr_show_attr_inst() 339 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_tgt_attr_show_attr_login_fails() 357 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_tgt_attr_show_attr_last_fail_time() 375 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_tgt_attr_show_attr_last_fail_type() 391 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_tgt_attr_show_attr_fail_intr_name() 408 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_tgt_attr_show_attr_fail_intr_addr_type() 427 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_tgt_attr_show_attr_fail_intr_addr() 486 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_login_show_attr_inst() 503 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_login_show_attr_accepts() 519 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_login_show_attr_other_fails() 535 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_login_show_attr_redirects() 551 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_login_show_attr_authorize_fails() 567 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_login_show_attr_authenticate_fails() 583 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_login_show_attr_negotiate_fails() 643 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_logout_show_attr_inst() 660 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_logout_show_attr_normal_logouts() 671 struct iscsi_tiqn *tiqn = container_of(igrps, iscsi_stat_logout_show_attr_abnormal_logouts() 722 struct iscsi_node_acl *acl = container_of(igrps, iscsi_stat_sess_show_attr_inst() 725 struct iscsi_tiqn *tiqn = container_of(wwn, iscsi_stat_sess_show_attr_inst() 735 struct iscsi_node_acl *acl = container_of(igrps, iscsi_stat_sess_show_attr_node() 759 struct iscsi_node_acl *acl = container_of(igrps, iscsi_stat_sess_show_attr_indx() 783 struct iscsi_node_acl *acl = container_of(igrps, iscsi_stat_sess_show_attr_cmd_pdus() 807 struct iscsi_node_acl *acl = container_of(igrps, iscsi_stat_sess_show_attr_rsp_pdus() 831 struct iscsi_node_acl *acl = container_of(igrps, iscsi_stat_sess_show_attr_txdata_octs() 855 struct iscsi_node_acl *acl = container_of(igrps, iscsi_stat_sess_show_attr_rxdata_octs() 879 struct iscsi_node_acl *acl = container_of(igrps, iscsi_stat_sess_show_attr_conn_digest_errors() 903 struct iscsi_node_acl *acl = container_of(igrps, iscsi_stat_sess_show_attr_conn_timeout_errors()
|
H A D | iscsi_target_configfs.c | 53 struct iscsi_tpg_np *tpg_np = container_of(se_tpg_np, lio_target_np_show_sctp() 74 struct iscsi_tpg_np *tpg_np = container_of(se_tpg_np, lio_target_np_store_sctp() 129 struct iscsi_tpg_np *tpg_np = container_of(se_tpg_np, lio_target_np_show_iser() 150 struct iscsi_tpg_np *tpg_np = container_of(se_tpg_np, lio_target_np_store_iser() 298 tpg = container_of(se_tpg, struct iscsi_portal_group, tpg_se_tpg); lio_target_call_addnptotpg() 340 tpg_np = container_of(se_tpg_np, struct iscsi_tpg_np, se_tpg_np); lio_target_call_delnpfromtpg() 369 struct iscsi_node_acl *nacl = container_of(se_nacl, struct iscsi_node_acl, \ 380 struct iscsi_node_acl *nacl = container_of(se_nacl, struct iscsi_node_acl, \ 510 return __iscsi_nacl_auth_show_##name(container_of(nacl, \ 518 return __iscsi_nacl_auth_store_##name(container_of(nacl, \ 528 return __iscsi_nacl_auth_show_##name(container_of(nacl, \ 783 struct iscsi_portal_group *tpg = container_of(se_tpg, lio_target_nacl_store_cmdsn_depth() 885 struct iscsi_portal_group *tpg = container_of(se_tpg, lio_target_make_nodeacl() 903 acl = container_of(se_nacl, struct iscsi_node_acl, se_node_acl); lio_target_make_nodeacl() 928 struct iscsi_node_acl *acl = container_of(se_nacl, lio_target_drop_nodeacl() 956 struct iscsi_portal_group *tpg = container_of(se_tpg, \ 973 struct iscsi_portal_group *tpg = container_of(se_tpg, \ 1083 struct iscsi_portal_group *tpg = container_of(se_tpg, \ 1098 struct iscsi_portal_group *tpg = container_of(se_tpg, \ 1125 struct iscsi_portal_group *tpg = container_of(se_tpg, \ 1208 struct iscsi_portal_group *tpg = container_of(se_tpg, \ 1232 struct iscsi_portal_group *tpg = container_of(se_tpg, \ 1360 struct iscsi_portal_group *tpg = container_of(se_tpg, lio_target_tpg_show_enable() 1377 struct iscsi_portal_group *tpg = container_of(se_tpg, lio_target_tpg_store_enable() 1446 tiqn = container_of(wwn, struct iscsi_tiqn, tiqn_wwn); lio_target_tiqn_addtpg() 1490 tpg = container_of(se_tpg, struct iscsi_portal_group, tpg_se_tpg); lio_target_tiqn_deltpg() 1568 struct iscsi_tiqn *tiqn = container_of(wwn, struct iscsi_tiqn, tiqn_wwn); lio_target_call_coredeltiqn() 1740 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); iscsi_get_task_tag() 1748 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); iscsi_get_cmd_state() 1774 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); lio_queue_data_in() 1784 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); lio_write_pending() 1795 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); lio_write_pending_status() 1807 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); lio_queue_status() 1822 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); lio_queue_tm_rsp() 1830 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); lio_aborted_task() 1904 struct iscsi_node_acl *acl = container_of(se_acl, lio_tpg_release_fabric_acl() 1972 struct iscsi_node_acl *acl = container_of(se_acl, struct iscsi_node_acl, lio_set_default_node_attributes() 1975 struct iscsi_portal_group *tpg = container_of(se_tpg, lio_set_default_node_attributes() 1989 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); lio_release_cmd()
|
/linux-4.1.27/drivers/misc/ |
H A D | tifm_core.c | 47 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_bus_match() 48 struct tifm_driver *fm_drv = container_of(drv, struct tifm_driver, tifm_bus_match() 64 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_uevent() 74 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_device_probe() 75 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, tifm_device_probe() 96 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_device_remove() 97 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, tifm_device_remove() 115 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_device_suspend() 116 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, tifm_device_suspend() 126 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_device_resume() 127 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, tifm_device_resume() 145 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); type_show() 169 struct tifm_adapter *fm = container_of(dev, struct tifm_adapter, dev); tifm_free() 248 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_free_device()
|
/linux-4.1.27/tools/perf/util/ |
H A D | strlist.c | 19 struct strlist *strlist = container_of(rblist, struct strlist, rblist); strlist__node_new() 49 struct strlist *slist = container_of(rblist, struct strlist, rblist); strlist__node_delete() 50 struct str_node *snode = container_of(rb_node, struct str_node, rb_node); strlist__node_delete() 58 struct str_node *snode = container_of(rb_node, struct str_node, rb_node); strlist__node_cmp() 106 snode = container_of(rb_node, struct str_node, rb_node); strlist__find() 170 snode = container_of(rb_node, struct str_node, rb_node); strlist__entry()
|
H A D | intlist.c | 38 struct int_node *node = container_of(rb_node, struct int_node, rb_node); intlist__node_delete() 46 struct int_node *node = container_of(rb_node, struct int_node, rb_node); intlist__node_cmp() 76 node = container_of(rb_node, struct int_node, rb_node); __intlist__findnew() 143 node = container_of(rb_node, struct int_node, rb_node); intlist__entry()
|
/linux-4.1.27/drivers/clk/ |
H A D | clk-wm831x.c | 36 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_xtal_is_prepared() 45 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_xtal_recalc_rate() 78 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_fll_is_prepared() 95 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_fll_prepare() 112 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_fll_unprepare() 125 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_fll_recalc_rate() 162 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_fll_set_rate() 187 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_fll_get_parent() 242 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_clkout_is_prepared() 259 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_clkout_prepare() 282 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_clkout_unprepare() 308 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_clkout_get_parent() 328 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, wm831x_clkout_set_parent()
|
H A D | clk-twl6040.c | 40 struct twl6040_clk *twl6040_clk = container_of(hw, struct twl6040_clk, twl6040_bitclk_is_enabled() 47 struct twl6040_clk *twl6040_clk = container_of(hw, struct twl6040_clk, twl6040_bitclk_prepare() 60 struct twl6040_clk *twl6040_clk = container_of(hw, struct twl6040_clk, twl6040_bitclk_unprepare()
|
H A D | clk-si5351.c | 225 container_of(hw, struct si5351_driver_data, xtal); si5351_xtal_prepare() 234 container_of(hw, struct si5351_driver_data, xtal); si5351_xtal_unprepare() 250 container_of(hw, struct si5351_driver_data, clkin); si5351_clkin_prepare() 259 container_of(hw, struct si5351_driver_data, clkin); si5351_clkin_unprepare() 273 container_of(hw, struct si5351_driver_data, clkin); si5351_clkin_recalc_rate() 313 container_of(hw, struct si5351_hw_data, hw); si5351_vxco_prepare() 392 container_of(hw, struct si5351_hw_data, hw); si5351_pll_get_parent() 404 container_of(hw, struct si5351_hw_data, hw); si5351_pll_set_parent() 422 container_of(hw, struct si5351_hw_data, hw); si5351_pll_recalc_rate() 453 container_of(hw, struct si5351_hw_data, hw); si5351_pll_round_rate() 510 container_of(hw, struct si5351_hw_data, hw); si5351_pll_set_rate() 579 container_of(hw, struct si5351_hw_data, hw); si5351_msynth_get_parent() 590 container_of(hw, struct si5351_hw_data, hw); si5351_msynth_set_parent() 601 container_of(hw, struct si5351_hw_data, hw); si5351_msynth_recalc_rate() 646 container_of(hw, struct si5351_hw_data, hw); si5351_msynth_round_rate() 746 container_of(hw, struct si5351_hw_data, hw); si5351_msynth_set_rate() 892 container_of(hw, struct si5351_hw_data, hw); si5351_clkout_prepare() 904 container_of(hw, struct si5351_hw_data, hw); si5351_clkout_unprepare() 915 container_of(hw, struct si5351_hw_data, hw); si5351_clkout_get_parent() 941 container_of(hw, struct si5351_hw_data, hw); si5351_clkout_set_parent() 966 container_of(hw, struct si5351_hw_data, hw); si5351_clkout_recalc_rate() 990 container_of(hw, struct si5351_hw_data, hw); si5351_clkout_round_rate() 1043 container_of(hw, struct si5351_hw_data, hw); si5351_clkout_set_rate()
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | gio_device.h | 19 #define to_gio_device(d) container_of(d, struct gio_device, dev) 32 #define to_gio_driver(drv) container_of(drv, struct gio_driver, driver)
|
/linux-4.1.27/drivers/gpu/drm/rcar-du/ |
H A D | rcar_du_encoder.h | 40 container_of(e, struct rcar_du_encoder, slave.base) 50 container_of(c, struct rcar_du_connector, connector)
|
H A D | rcar_du_plane.h | 38 return container_of(plane, struct rcar_du_plane, plane); to_rcar_plane() 63 return container_of(state, struct rcar_du_plane_state, state); to_rcar_du_plane_state()
|
/linux-4.1.27/drivers/mmc/core/ |
H A D | pwrseq_simple.c | 42 struct mmc_pwrseq_simple *pwrseq = container_of(host->pwrseq, mmc_pwrseq_simple_pre_power_on() 55 struct mmc_pwrseq_simple *pwrseq = container_of(host->pwrseq, mmc_pwrseq_simple_post_power_on() 63 struct mmc_pwrseq_simple *pwrseq = container_of(host->pwrseq, mmc_pwrseq_simple_power_off() 76 struct mmc_pwrseq_simple *pwrseq = container_of(host->pwrseq, mmc_pwrseq_simple_free()
|
H A D | pwrseq_emmc.c | 38 struct mmc_pwrseq_emmc *pwrseq = container_of(host->pwrseq, mmc_pwrseq_emmc_reset() 46 struct mmc_pwrseq_emmc *pwrseq = container_of(host->pwrseq, mmc_pwrseq_emmc_free() 62 struct mmc_pwrseq_emmc *pwrseq = container_of(this, mmc_pwrseq_emmc_reset_nb()
|
/linux-4.1.27/drivers/staging/iio/ |
H A D | ring_hw.h | 25 #define iio_to_hw_buf(r) container_of(r, struct iio_hw_buffer, buf)
|
/linux-4.1.27/drivers/pcmcia/ |
H A D | sa1111_generic.h | 12 return container_of(s, struct sa1111_pcmcia_socket, soc); to_skt()
|
/linux-4.1.27/drivers/gpio/ |
H A D | gpio-ucb1400.c | 18 gpio = container_of(gc, struct ucb1400_gpio, gc); ucb1400_gpio_dir_in() 26 gpio = container_of(gc, struct ucb1400_gpio, gc); ucb1400_gpio_dir_out() 35 gpio = container_of(gc, struct ucb1400_gpio, gc); ucb1400_gpio_get() 42 gpio = container_of(gc, struct ucb1400_gpio, gc); ucb1400_gpio_set()
|
H A D | gpio-adp5520.c | 30 dev = container_of(chip, struct adp5520_gpio, gpio_chip); adp5520_gpio_get_value() 49 dev = container_of(chip, struct adp5520_gpio, gpio_chip); adp5520_gpio_set_value() 60 dev = container_of(chip, struct adp5520_gpio, gpio_chip); adp5520_gpio_direction_input() 73 dev = container_of(chip, struct adp5520_gpio, gpio_chip); adp5520_gpio_direction_output()
|
H A D | gpio-octeon.c | 44 struct octeon_gpio *gpio = container_of(chip, struct octeon_gpio, chip); octeon_gpio_dir_in() 52 struct octeon_gpio *gpio = container_of(chip, struct octeon_gpio, chip); octeon_gpio_set() 61 struct octeon_gpio *gpio = container_of(chip, struct octeon_gpio, chip); octeon_gpio_dir_out() 75 struct octeon_gpio *gpio = container_of(chip, struct octeon_gpio, chip); octeon_gpio_get()
|
H A D | gpio-kempld.c | 69 = container_of(chip, struct kempld_gpio_data, chip); kempld_gpio_get() 78 = container_of(chip, struct kempld_gpio_data, chip); kempld_gpio_set() 89 = container_of(chip, struct kempld_gpio_data, chip); kempld_gpio_direction_input() 103 = container_of(chip, struct kempld_gpio_data, chip); kempld_gpio_direction_output() 117 = container_of(chip, struct kempld_gpio_data, chip); kempld_gpio_get_direction()
|
H A D | gpio-pl061.c | 68 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_gpio_request() 78 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_gpio_free() 87 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_direction_input() 106 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_direction_output() 131 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_get_value() 138 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_set_value() 146 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_irq_type() 195 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_irq_handler() 214 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_irq_mask() 227 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); pl061_irq_unmask()
|
H A D | gpio-dln2.c | 156 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); dln2_gpio_request() 197 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); dln2_gpio_free() 204 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); dln2_gpio_get_direction() 214 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); dln2_gpio_get() 229 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); dln2_gpio_set() 237 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); dln2_gpio_set_direction() 265 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); dln2_gpio_direction_output() 278 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); dln2_gpio_set_debounce() 305 struct dln2_gpio *dln2 = container_of(gc, struct dln2_gpio, gpio); dln2_irq_unmask() 314 struct dln2_gpio *dln2 = container_of(gc, struct dln2_gpio, gpio); dln2_irq_mask() 323 struct dln2_gpio *dln2 = container_of(gc, struct dln2_gpio, gpio); dln2_irq_set_type() 352 struct dln2_gpio *dln2 = container_of(gc, struct dln2_gpio, gpio); dln2_irq_bus_lock() 360 struct dln2_gpio *dln2 = container_of(gc, struct dln2_gpio, gpio); dln2_irq_bus_unlock()
|
H A D | gpio-rdc321x.c | 50 gpch = container_of(chip, struct rdc321x_gpio, chip); rdc_gpio_get_value() 68 gpch = container_of(chip, struct rdc321x_gpio, chip); rdc_gpio_set_value_impl() 86 gpch = container_of(chip, struct rdc321x_gpio, chip); rdc_gpio_set_value() 99 gpch = container_of(chip, struct rdc321x_gpio, chip); rdc_gpio_config()
|
H A D | gpio-viperboard.c | 92 container_of(chip, struct vprbrd_gpio, gpioa); vprbrd_gpioa_get() 143 container_of(chip, struct vprbrd_gpio, gpioa); vprbrd_gpioa_set() 185 container_of(chip, struct vprbrd_gpio, gpioa); vprbrd_gpioa_direction_input() 223 container_of(chip, struct vprbrd_gpio, gpioa); vprbrd_gpioa_direction_output() 291 container_of(chip, struct vprbrd_gpio, gpiob); vprbrd_gpiob_get() 323 container_of(chip, struct vprbrd_gpio, gpiob); vprbrd_gpiob_set() 357 container_of(chip, struct vprbrd_gpio, gpiob); vprbrd_gpiob_direction_input() 379 container_of(chip, struct vprbrd_gpio, gpiob); vprbrd_gpiob_direction_output()
|
H A D | gpio-mpc5200.c | 74 struct mpc52xx_gpiochip *chip = container_of(mm_gc, __mpc52xx_wkup_gpio_set() 103 struct mpc52xx_gpiochip *chip = container_of(mm_gc, mpc52xx_wkup_gpio_dir_in() 128 struct mpc52xx_gpiochip *chip = container_of(mm_gc, mpc52xx_wkup_gpio_dir_out() 239 struct mpc52xx_gpiochip *chip = container_of(mm_gc, __mpc52xx_simple_gpio_set() 267 struct mpc52xx_gpiochip *chip = container_of(mm_gc, mpc52xx_simple_gpio_dir_in() 291 struct mpc52xx_gpiochip *chip = container_of(mm_gc, mpc52xx_simple_gpio_dir_out()
|
H A D | gpio-tc3589x.c | 39 return container_of(chip, struct tc3589x_gpio, chip); to_tc3589x_gpio() 105 struct tc3589x_gpio *tc3589x_gpio = container_of(gc, struct tc3589x_gpio, chip); tc3589x_gpio_irq_set_type() 133 struct tc3589x_gpio *tc3589x_gpio = container_of(gc, struct tc3589x_gpio, chip); tc3589x_gpio_irq_lock() 141 struct tc3589x_gpio *tc3589x_gpio = container_of(gc, struct tc3589x_gpio, chip); tc3589x_gpio_irq_sync_unlock() 170 struct tc3589x_gpio *tc3589x_gpio = container_of(gc, struct tc3589x_gpio, chip); tc3589x_gpio_irq_mask() 181 struct tc3589x_gpio *tc3589x_gpio = container_of(gc, struct tc3589x_gpio, chip); tc3589x_gpio_irq_unmask()
|
H A D | gpio-lynxpoint.c | 100 struct lp_gpio *lg = container_of(chip, struct lp_gpio, chip); lp_gpio_reg() 115 struct lp_gpio *lg = container_of(chip, struct lp_gpio, chip); lp_gpio_request() 140 struct lp_gpio *lg = container_of(chip, struct lp_gpio, chip); lp_gpio_free() 152 struct lp_gpio *lg = container_of(gc, struct lp_gpio, chip); lp_irq_type() 194 struct lp_gpio *lg = container_of(chip, struct lp_gpio, chip); lp_gpio_set() 210 struct lp_gpio *lg = container_of(chip, struct lp_gpio, chip); lp_gpio_direction_input() 224 struct lp_gpio *lg = container_of(chip, struct lp_gpio, chip); lp_gpio_direction_output() 241 struct lp_gpio *lg = container_of(gc, struct lp_gpio, chip); lp_gpio_irq_handler() 276 struct lp_gpio *lg = container_of(gc, struct lp_gpio, chip); lp_irq_enable() 289 struct lp_gpio *lg = container_of(gc, struct lp_gpio, chip); lp_irq_disable()
|
/linux-4.1.27/drivers/gpu/drm/armada/ |
H A D | armada_fb.h | 18 container_of(dfb, struct armada_framebuffer, fb)
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nouveau_ttm.h | 7 return container_of(bd, struct nouveau_drm, ttm.bdev); nouveau_bdev()
|
H A D | nouveau_gem.h | 15 return gem ? container_of(gem, struct nouveau_bo, gem) : NULL; nouveau_gem_object()
|
/linux-4.1.27/include/scsi/ |
H A D | scsi_driver.h | 21 container_of((drv), struct scsi_driver, gendrv)
|
H A D | scsi_transport_sas.h | 77 container_of((d), struct sas_phy, dev) 93 container_of((d), struct sas_rphy, dev) 112 container_of((r), struct sas_end_device, rphy) 133 container_of((r), struct sas_expander_device, rphy) 151 container_of((d), struct sas_port, dev)
|
/linux-4.1.27/include/linux/ |
H A D | container.h | 24 return container_of(dev, struct container_dev, dev); to_container_dev()
|
H A D | isa.h | 23 #define to_isa_driver(x) container_of((x), struct isa_driver, driver)
|
H A D | pcieport_if.h | 32 #define to_pcie_device(d) container_of(d, struct pcie_device, device) 63 container_of(d, struct pcie_port_service_driver, driver)
|
H A D | transport_class.h | 55 container_of(x, struct transport_class, class) 63 container_of(x, struct transport_container, ac)
|
H A D | hwmon-sysfs.h | 30 container_of(_dev_attr, struct sensor_device_attribute, dev_attr) 46 container_of(_dev_attr, struct sensor_device_attribute_2, dev_attr)
|
H A D | maple.h | 99 #define to_maple_dev(n) container_of(n, struct maple_device, dev) 100 #define to_maple_driver(n) container_of(n, struct maple_driver, drv)
|
H A D | mcb.h | 36 #define to_mcb_bus(b) container_of((b), struct mcb_bus, dev) 72 #define to_mcb_device(x) container_of((x), struct mcb_device, dev) 90 #define to_mcb_driver(x) container_of((x), struct mcb_driver, driver)
|
H A D | superhyway.h | 60 #define to_superhyway_driver(d) container_of((d), struct superhyway_driver, drv) 76 #define to_superhyway_device(d) container_of((d), struct superhyway_device, dev)
|
H A D | eisa.h | 47 #define to_eisa_device(n) container_of(n, struct eisa_device, dev) 62 #define to_eisa_driver(drv) container_of(drv,struct eisa_driver, driver)
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | movinggc.c | 23 struct cache_set *c = container_of(buf, struct cache_set, moving_pred() 39 struct moving_io *io = container_of(cl, struct moving_io, cl); moving_io_destructor() 45 struct moving_io *io = container_of(cl, struct moving_io, cl); write_moving_finish() 65 struct bbio *b = container_of(bio, struct bbio, bio); read_moving_endio() 66 struct moving_io *io = container_of(bio->bi_private, read_moving_endio() 97 struct moving_io *io = container_of(cl, struct moving_io, cl); write_moving() 121 struct moving_io *io = container_of(cl, struct moving_io, cl); read_moving_submit()
|
H A D | io.c | 54 struct bio_split_hook *s = container_of(cl, struct bio_split_hook, cl); bch_bio_submit_split_done() 67 struct bio_split_hook *s = container_of(cl, struct bio_split_hook, cl); bch_bio_submit_split_endio() 116 struct bbio *b = container_of(bio, struct bbio, bio); bch_bbio_free() 135 struct bbio *b = container_of(bio, struct bbio, bio); __bch_submit_bbio() 147 struct bbio *b = container_of(bio, struct bbio, bio); bch_submit_bbio() 209 struct bbio *b = container_of(bio, struct bbio, bio); bch_bbio_count_io_errors()
|
H A D | request.c | 57 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); bch_data_insert_keys() 117 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); bch_data_invalidate() 145 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); bch_data_insert_error() 176 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); bch_data_insert_endio() 193 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); bch_data_insert_start() 312 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); bch_data_insert() 476 struct bbio *b = container_of(bio, struct bbio, bio); bch_cache_read_endio() 478 struct search *s = container_of(cl, struct search, cl); bch_cache_read_endio() 504 struct search *s = container_of(op, struct search, op); cache_lookup_fn() 543 bio_key = &container_of(n, struct bbio, bio)->key; cache_lookup_fn() 569 struct search *s = container_of(cl, struct search, iop.cl); cache_lookup() 591 struct search *s = container_of(cl, struct search, cl); request_endio() 627 struct search *s = container_of(cl, struct search, cl); search_free() 672 struct search *s = container_of(cl, struct search, cl); cached_dev_bio_complete() 673 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); cached_dev_bio_complete() 683 struct search *s = container_of(cl, struct search, cl); cached_dev_cache_miss_done() 701 struct search *s = container_of(cl, struct search, cl); cached_dev_read_error() 721 struct search *s = container_of(cl, struct search, cl); cached_dev_read_done() 722 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); cached_dev_read_done() 761 struct search *s = container_of(cl, struct search, cl); cached_dev_read_done_bh() 762 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); cached_dev_read_done_bh() 781 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); cached_dev_cache_miss() 860 struct search *s = container_of(cl, struct search, cl); cached_dev_write_complete() 861 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); cached_dev_write_complete() 938 struct search *s = container_of(cl, struct search, cl); cached_dev_nodata() 956 struct cached_dev *dc = container_of(d, struct cached_dev, disk); cached_dev_make_request() 996 struct cached_dev *dc = container_of(d, struct cached_dev, disk); cached_dev_ioctl() 1003 struct cached_dev *dc = container_of(d, struct cached_dev, disk); cached_dev_congested() 1056 struct search *s = container_of(cl, struct search, cl); flash_dev_nodata()
|
H A D | sysfs.c | 111 struct cached_dev *dc = container_of(kobj, struct cached_dev, SHOW() 192 struct cached_dev *dc = container_of(kobj, struct cached_dev, SHOW_LOCKED() 290 struct cached_dev *dc = container_of(kobj, struct cached_dev, STORE() 343 struct bcache_device *d = container_of(kobj, struct bcache_device, SHOW() 362 struct bcache_device *d = container_of(kobj, struct bcache_device, STORE() 410 struct bset_stats_op *op = container_of(b_op, struct bset_stats_op, op); bch_btree_bset_stats() 519 struct cache_set *c = container_of(kobj, struct cache_set, kobj); SHOW() 582 struct cache_set *c = container_of(kobj, struct cache_set, kobj); SHOW_LOCKED() 662 struct cache_set *c = container_of(kobj, struct cache_set, internal); STORE_LOCKED() 668 struct cache_set *c = container_of(kobj, struct cache_set, internal); STORE() 736 struct cache *ca = container_of(kobj, struct cache, kobj); SHOW() 843 struct cache *ca = container_of(kobj, struct cache, kobj); SHOW_LOCKED()
|
H A D | stats.c | 55 container_of(kobj, struct cache_stats, kobj); SHOW() 201 struct cached_dev *dc = container_of(d, struct cached_dev, disk); bch_mark_cache_accounting() 208 struct cached_dev *dc = container_of(d, struct cached_dev, disk); bch_mark_cache_readahead() 215 struct cached_dev *dc = container_of(d, struct cached_dev, disk); bch_mark_cache_miss_collision()
|
H A D | writeback.c | 74 struct cached_dev *dc = container_of(to_delayed_work(work), update_writeback_rate() 123 struct dirty_io *io = container_of(cl, struct dirty_io, cl); dirty_io_destructor() 129 struct dirty_io *io = container_of(cl, struct dirty_io, cl); write_dirty_finish() 182 struct dirty_io *io = container_of(cl, struct dirty_io, cl); write_dirty() 209 struct dirty_io *io = container_of(cl, struct dirty_io, cl); read_dirty_submit() 326 struct cached_dev *dc = container_of(buf, struct cached_dev, writeback_keys); dirty_pred() 479 struct sectors_dirty_init *op = container_of(_op, sectors_dirty_init_fn()
|
/linux-4.1.27/security/tomoyo/ |
H A D | group.c | 21 return container_of(a, struct tomoyo_path_group, head)->member_name == tomoyo_same_path_group() 22 container_of(b, struct tomoyo_path_group, head)->member_name; tomoyo_same_path_group() 36 return !memcmp(&container_of(a, struct tomoyo_number_group, head) tomoyo_same_number_group() 38 &container_of(b, struct tomoyo_number_group, head) tomoyo_same_number_group() 40 sizeof(container_of(a, struct tomoyo_number_group, head) tomoyo_same_number_group() 55 const struct tomoyo_address_group *p1 = container_of(a, typeof(*p1), tomoyo_same_address_group() 57 const struct tomoyo_address_group *p2 = container_of(b, typeof(*p2), tomoyo_same_address_group()
|
H A D | gc.c | 109 container_of(element, typeof(*ptr), head.list); tomoyo_del_transition_control() 124 container_of(element, typeof(*ptr), head.list); tomoyo_del_aggregator() 139 container_of(element, typeof(*ptr), head.list); tomoyo_del_manager() 153 container_of(element, typeof(*acl), list); tomoyo_del_acl() 159 = container_of(acl, typeof(*entry), head); tomoyo_del_acl() 166 = container_of(acl, typeof(*entry), head); tomoyo_del_acl() 174 = container_of(acl, typeof(*entry), head); tomoyo_del_acl() 182 = container_of(acl, typeof(*entry), head); tomoyo_del_acl() 192 = container_of(acl, typeof(*entry), head); tomoyo_del_acl() 202 container_of(acl, typeof(*entry), head); tomoyo_del_acl() 210 container_of(acl, typeof(*entry), head); tomoyo_del_acl() 219 container_of(acl, typeof(*entry), head); tomoyo_del_acl() 227 container_of(acl, typeof(*entry), head); tomoyo_del_acl() 246 container_of(element, typeof(*domain), list); tomoyo_del_domain() 270 struct tomoyo_condition *cond = container_of(element, typeof(*cond), tomoyo_del_condition() 322 container_of(element, typeof(*member), head.list); tomoyo_del_path_group() 336 container_of(element, typeof(*group), head.list); tomoyo_del_group() 426 (container_of(element, typeof(struct tomoyo_name), tomoyo_try_to_gc() 439 if (atomic_read(&container_of tomoyo_try_to_gc()
|
H A D | environ.c | 21 container_of(ptr, typeof(*acl), head); tomoyo_check_env_acl() 78 const struct tomoyo_env_acl *p1 = container_of(a, typeof(*p1), head); tomoyo_same_env_acl() 79 const struct tomoyo_env_acl *p2 = container_of(b, typeof(*p2), head); tomoyo_same_env_acl()
|
H A D | file.c | 253 const struct tomoyo_path_acl *acl = container_of(ptr, typeof(*acl), tomoyo_check_path_acl() 276 container_of(ptr, typeof(*acl), head); tomoyo_check_path_number_acl() 296 container_of(ptr, typeof(*acl), head); tomoyo_check_path2_acl() 315 container_of(ptr, typeof(*acl), head); tomoyo_check_mkdev_acl() 338 const struct tomoyo_path_acl *p1 = container_of(a, typeof(*p1), head); tomoyo_same_path_acl() 339 const struct tomoyo_path_acl *p2 = container_of(b, typeof(*p2), head); tomoyo_same_path_acl() 356 u16 * const a_perm = &container_of(a, struct tomoyo_path_acl, head) tomoyo_merge_path_acl() 359 const u16 b_perm = container_of(b, struct tomoyo_path_acl, head)->perm; tomoyo_merge_path_acl() 407 const struct tomoyo_mkdev_acl *p1 = container_of(a, typeof(*p1), head); tomoyo_same_mkdev_acl() 408 const struct tomoyo_mkdev_acl *p2 = container_of(b, typeof(*p2), head); tomoyo_same_mkdev_acl() 428 u8 *const a_perm = &container_of(a, struct tomoyo_mkdev_acl, tomoyo_merge_mkdev_acl() 431 const u8 b_perm = container_of(b, struct tomoyo_mkdev_acl, head) tomoyo_merge_mkdev_acl() 486 const struct tomoyo_path2_acl *p1 = container_of(a, typeof(*p1), head); tomoyo_same_path2_acl() 487 const struct tomoyo_path2_acl *p2 = container_of(b, typeof(*p2), head); tomoyo_same_path2_acl() 505 u8 * const a_perm = &container_of(a, struct tomoyo_path2_acl, head) tomoyo_merge_path2_acl() 508 const u8 b_perm = container_of(b, struct tomoyo_path2_acl, head)->perm; tomoyo_merge_path2_acl() 619 const struct tomoyo_path_number_acl *p1 = container_of(a, typeof(*p1), tomoyo_same_path_number_acl() 621 const struct tomoyo_path_number_acl *p2 = container_of(b, typeof(*p2), tomoyo_same_path_number_acl() 640 u8 * const a_perm = &container_of(a, struct tomoyo_path_number_acl, tomoyo_merge_path_number_acl() 643 const u8 b_perm = container_of(b, struct tomoyo_path_number_acl, head) tomoyo_merge_path_number_acl() 947 const struct tomoyo_mount_acl *p1 = container_of(a, typeof(*p1), head); tomoyo_same_mount_acl() 948 const struct tomoyo_mount_acl *p2 = container_of(b, typeof(*p2), head); tomoyo_same_mount_acl()
|
/linux-4.1.27/fs/cachefiles/ |
H A D | interface.c | 38 cache = container_of(_cache, struct cachefiles_cache, cache); cachefiles_alloc_object() 127 cache = container_of(_object->cache, struct cachefiles_cache, cache); cachefiles_lookup_object() 128 parent = container_of(_object->parent, cachefiles_lookup_object() 130 object = container_of(_object, struct cachefiles_object, fscache); cachefiles_lookup_object() 164 object = container_of(_object, struct cachefiles_object, fscache); cachefiles_lookup_complete() 183 container_of(_object, struct cachefiles_object, fscache); cachefiles_grab_object() 209 object = container_of(_object, struct cachefiles_object, fscache); cachefiles_update_object() 210 cache = container_of(object->fscache.cache, struct cachefiles_cache, cachefiles_update_object() 259 object = container_of(_object, struct cachefiles_object, fscache); cachefiles_drop_object() 264 cache = container_of(object->fscache.cache, cachefiles_drop_object() 320 object = container_of(_object, struct cachefiles_object, fscache); cachefiles_put_object() 369 cache = container_of(_cache, struct cachefiles_cache, cache); cachefiles_sync_cache() 399 object = container_of(op->object, struct cachefiles_object, fscache); cachefiles_check_consistency() 400 cache = container_of(object->fscache.cache, cachefiles_check_consistency() 430 object = container_of(_object, struct cachefiles_object, fscache); cachefiles_attr_changed() 431 cache = container_of(object->fscache.cache, cachefiles_attr_changed() 493 object = container_of(op->object, struct cachefiles_object, fscache); cachefiles_invalidate_object() 494 cache = container_of(object->fscache.cache, cachefiles_invalidate_object()
|
/linux-4.1.27/drivers/infiniband/hw/amso1100/ |
H A D | c2_provider.h | 134 return container_of(ibpd, struct c2_pd, ibpd); to_c2pd() 139 return container_of(ibucontext, struct c2_ucontext, ibucontext); to_c2ucontext() 144 return container_of(ibmr, struct c2_mr, ibmr); to_c2mr() 150 return container_of(ibah, struct c2_ah, ibah); to_c2ah() 155 return container_of(ibcq, struct c2_cq, ibcq); to_c2cq() 160 return container_of(ibqp, struct c2_qp, ibqp); to_c2qp()
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
H A D | ivtv-controls.c | 28 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); ivtv_s_stream_vbi_fmt() 65 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); ivtv_s_video_encoding() 80 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); ivtv_s_audio_sampling_freq() 91 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); ivtv_s_audio_mode() 132 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); ivtv_g_volatile_ctrl() 146 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); ivtv_s_ctrl()
|
/linux-4.1.27/drivers/media/radio/ |
H A D | radio-trust.c | 121 struct trust *tr = container_of(isa, struct trust, isa); trust_s_mute_volume() 131 struct trust *tr = container_of(isa, struct trust, isa); trust_s_stereo() 149 struct trust *tr = container_of(isa, struct trust, isa); trust_s_frequency() 165 container_of(ctrl->handler, struct radio_isa_card, hdl); trust_s_ctrl() 166 struct trust *tr = container_of(isa, struct trust, isa); trust_s_ctrl() 185 struct trust *tr = container_of(isa, struct trust, isa); trust_initialize()
|
/linux-4.1.27/drivers/video/fbdev/msm/ |
H A D | mddi_client_nt35399.c | 43 struct panel_info *panel = container_of(panel_data, struct panel_info, nt35399_request_vsync() 56 struct panel_info *panel = container_of(panel_data, struct panel_info, nt35399_wait_vsync() 75 struct panel_info *panel = container_of(panel_data, struct panel_info, nt35399_suspend() 95 struct panel_info *panel = container_of(panel_data, struct panel_info, nt35399_resume() 112 struct panel_info *panel = container_of(panel_data, struct panel_info, nt35399_blank() 123 struct panel_info *panel = container_of(panel_data, struct panel_info, nt35399_unblank()
|
H A D | mddi_client_toshiba.c | 69 struct panel_info *panel = container_of(panel_data, struct panel_info, toshiba_request_vsync() 82 struct panel_info *panel = container_of(panel_data, struct panel_info, toshiba_clear_vsync() 91 struct panel_info *panel = container_of(panel_data, struct panel_info, toshiba_wait_vsync() 108 struct panel_info *panel = container_of(panel_data, struct panel_info, toshiba_suspend() 128 struct panel_info *panel = container_of(panel_data, struct panel_info, toshiba_resume() 145 struct panel_info *panel = container_of(panel_data, struct panel_info, toshiba_blank() 156 struct panel_info *panel = container_of(panel_data, struct panel_info, toshiba_unblank()
|
/linux-4.1.27/net/sunrpc/ |
H A D | svcauth_unix.c | 42 struct unix_domain *ud = container_of(dom, struct unix_domain, h); svcauth_unix_domain_release() 98 struct cache_head *item = container_of(kref, struct cache_head, ref); ip_map_put() 99 struct ip_map *im = container_of(item, struct ip_map,h); ip_map_put() 113 struct ip_map *orig = container_of(corig, struct ip_map, h); ip_map_match() 114 struct ip_map *new = container_of(cnew, struct ip_map, h); ip_map_match() 120 struct ip_map *new = container_of(cnew, struct ip_map, h); ip_map_init() 121 struct ip_map *item = container_of(citem, struct ip_map, h); ip_map_init() 128 struct ip_map *new = container_of(cnew, struct ip_map, h); update() 129 struct ip_map *item = container_of(citem, struct ip_map, h); update() 148 struct ip_map *im = container_of(h, struct ip_map, h); ip_map_request() 233 container_of(dom, struct unix_domain, h), ip_map_parse() 257 im = container_of(h, struct ip_map, h); ip_map_show() 288 return container_of(ch, struct ip_map, h); __ip_map_lookup() 424 struct cache_head *item = container_of(kref, struct cache_head, ref); unix_gid_put() 425 struct unix_gid *ug = container_of(item, struct unix_gid, h); unix_gid_put() 434 struct unix_gid *orig = container_of(corig, struct unix_gid, h); unix_gid_match() 435 struct unix_gid *new = container_of(cnew, struct unix_gid, h); unix_gid_match() 440 struct unix_gid *new = container_of(cnew, struct unix_gid, h); unix_gid_init() 441 struct unix_gid *item = container_of(citem, struct unix_gid, h); unix_gid_init() 446 struct unix_gid *new = container_of(cnew, struct unix_gid, h); unix_gid_update() 447 struct unix_gid *item = container_of(citem, struct unix_gid, h); unix_gid_update() 466 struct unix_gid *ug = container_of(h, struct unix_gid, h); unix_gid_request() 558 ug = container_of(h, struct unix_gid, h); unix_gid_show() 623 return container_of(ch, struct unix_gid, h); unix_gid_lookup()
|
H A D | auth_generic.c | 69 struct auth_cred *acred = &container_of(cred, struct generic_cred, gc_base)->acred; generic_bind_cred() 115 struct generic_cred *gcred = container_of(cred, struct generic_cred, gc_base); generic_free_cred() 126 struct rpc_cred *cred = container_of(head, struct rpc_cred, cr_rcu); generic_free_cred_callback() 153 struct generic_cred *gcred = container_of(cred, struct generic_cred, gc_base); generic_match() 213 struct auth_cred *acred = &container_of(cred, struct generic_cred, generic_key_timeout() 273 struct auth_cred *acred = &container_of(cred, struct generic_cred, generic_key_to_expire()
|
/linux-4.1.27/include/crypto/internal/ |
H A D | hash.h | 138 return container_of(__crypto_hash_alg_common(alg), struct ahash_alg, __crypto_ahash_alg() 151 return container_of(&inst->alg.halg.base, struct crypto_instance, alg); ahash_crypto_instance() 157 return container_of(&inst->alg, struct ahash_instance, alg.halg.base); ahash_instance() 208 return container_of(&inst->alg.base, struct crypto_instance, alg); shash_crypto_instance() 214 return container_of(__crypto_shash_alg(&inst->alg), shash_instance() 243 return container_of(tfm, struct crypto_shash, base); __crypto_shash_cast()
|
/linux-4.1.27/drivers/dma/hsu/ |
H A D | hsu.h | 77 return container_of(vdesc, struct hsu_dma_desc, vdesc); to_hsu_dma_desc() 95 return container_of(chan, struct hsu_dma_chan, vchan.chan); to_hsu_dma_chan() 118 return container_of(ddev, struct hsu_dma, dma); to_hsu_dma()
|
/linux-4.1.27/drivers/char/hw_random/ |
H A D | octeon-rng.c | 31 struct octeon_rng *p = container_of(rng, struct octeon_rng, ops); octeon_rng_init() 43 struct octeon_rng *p = container_of(rng, struct octeon_rng, ops); octeon_rng_cleanup() 52 struct octeon_rng *p = container_of(rng, struct octeon_rng, ops); octeon_rng_data_read()
|
H A D | mxc-rnga.c | 72 struct mxc_rng *mxc_rng = container_of(rng, struct mxc_rng, rng); mxc_rnga_data_present() 89 struct mxc_rng *mxc_rng = container_of(rng, struct mxc_rng, rng); mxc_rnga_data_read() 111 struct mxc_rng *mxc_rng = container_of(rng, struct mxc_rng, rng); mxc_rnga_init() 134 struct mxc_rng *mxc_rng = container_of(rng, struct mxc_rng, rng); mxc_rnga_cleanup()
|
/linux-4.1.27/drivers/acpi/ |
H A D | wakeup.c | 36 container_of(node, struct acpi_device, wakeup_list); acpi_enable_wakeup_devices() 63 container_of(node, struct acpi_device, wakeup_list); acpi_disable_wakeup_devices() 85 struct acpi_device *dev = container_of(node, acpi_wakeup_device_init()
|
H A D | proc.c | 31 container_of(node, struct acpi_device, wakeup_list); acpi_system_wakeup_device_seq_show() 113 container_of(node, struct acpi_device, wakeup_list); acpi_system_write_wakeup_device()
|
/linux-4.1.27/drivers/usb/dwc3/ |
H A D | gadget.h | 27 #define to_dwc3_ep(ep) (container_of(ep, struct dwc3_ep, endpoint)) 28 #define gadget_to_dwc(g) (container_of(g, struct dwc3, gadget)) 61 #define to_dwc3_request(r) (container_of(r, struct dwc3_request, request))
|
/linux-4.1.27/fs/nfs/ |
H A D | dns_resolve.c | 76 new = container_of(cnew, struct nfs_dns_ent, h); nfs_dns_ent_update() 77 key = container_of(ckey, struct nfs_dns_ent, h); nfs_dns_ent_update() 89 new = container_of(cnew, struct nfs_dns_ent, h); nfs_dns_ent_init() 90 key = container_of(ckey, struct nfs_dns_ent, h); nfs_dns_ent_init() 107 item = container_of(ref, struct nfs_dns_ent, h.ref); nfs_dns_ent_put() 134 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); nfs_dns_request() 143 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); nfs_dns_upcall() 158 a = container_of(ca, struct nfs_dns_ent, h); nfs_dns_match() 159 b = container_of(cb, struct nfs_dns_ent, h); nfs_dns_match() 176 item = container_of(h, struct nfs_dns_ent, h); nfs_dns_show() 202 return container_of(ch, struct nfs_dns_ent, h); nfs_dns_lookup() 216 return container_of(ch, struct nfs_dns_ent, h); nfs_dns_update()
|
/linux-4.1.27/tools/perf/util/include/linux/ |
H A D | kernel.h | 18 #ifndef container_of 20 * container_of - cast a member of a structure out to the containing structure 26 #define container_of(ptr, type, member) ({ \ macro
|
/linux-4.1.27/drivers/media/pci/cx18/ |
H A D | cx18-controls.c | 35 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); cx18_s_stream_vbi_fmt() 94 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); cx18_s_video_encoding() 109 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); cx18_s_audio_sampling_freq() 120 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); cx18_s_audio_mode()
|
/linux-4.1.27/drivers/media/platform/vsp1/ |
H A D | vsp1_hsit.h | 33 return container_of(subdev, struct vsp1_hsit, entity.subdev); to_hsit()
|
H A D | vsp1_lif.h | 32 return container_of(subdev, struct vsp1_lif, entity.subdev); to_lif()
|
H A D | vsp1_lut.h | 33 return container_of(subdev, struct vsp1_lut, entity.subdev); to_lut()
|
H A D | vsp1_sru.h | 35 return container_of(subdev, struct vsp1_sru, entity.subdev); to_sru()
|
H A D | vsp1_video.h | 91 return container_of(e->pipe, struct vsp1_pipeline, pipe); to_vsp1_pipeline() 107 return container_of(vb, struct vsp1_video_buffer, buf); to_vsp1_video_buffer() 140 return container_of(vdev, struct vsp1_video, video); to_vsp1_video()
|
H A D | vsp1_bru.h | 41 return container_of(subdev, struct vsp1_bru, entity.subdev); to_bru()
|
H A D | vsp1_uds.h | 33 return container_of(subdev, struct vsp1_uds, entity.subdev); to_uds()
|
/linux-4.1.27/drivers/scsi/ |
H A D | scsi_sas_internal.h | 40 #define to_sas_internal(tmpl) container_of(tmpl, struct sas_internal, t)
|
/linux-4.1.27/drivers/base/ |
H A D | soc.c | 49 struct device *dev = container_of(kobj, struct device, kobj); soc_attribute_mode() 50 struct soc_device *soc_dev = container_of(dev, struct soc_device, dev); soc_attribute_mode() 73 struct soc_device *soc_dev = container_of(dev, struct soc_device, dev); soc_info_get() 108 struct soc_device *soc_dev = container_of(dev, struct soc_device, dev); soc_release()
|
H A D | base.h | 44 #define to_subsys_private(obj) container_of(obj, struct subsys_private, subsys.kobj) 53 #define to_driver(obj) container_of(obj, struct driver_private, kobj) 80 container_of(obj, struct device_private, knode_parent) 82 container_of(obj, struct device_private, knode_driver) 84 container_of(obj, struct device_private, knode_bus)
|
/linux-4.1.27/fs/notify/inotify/ |
H A D | inotify.h | 20 return container_of(fse, struct inotify_event_info, fse); INOTIFY_E()
|
/linux-4.1.27/drivers/w1/slaves/ |
H A D | w1_ds2780.c | 32 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); w1_ds2780_do_io() 57 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); w1_ds2780_io() 75 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); w1_ds2780_eeprom_cmd() 96 struct device *dev = container_of(kobj, struct device, kobj); w1_slave_read()
|
H A D | w1_ds2781.c | 30 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); w1_ds2781_do_io() 55 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); w1_ds2781_io() 73 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); w1_ds2781_eeprom_cmd() 94 struct device *dev = container_of(kobj, struct device, kobj); w1_slave_read()
|
/linux-4.1.27/net/ieee802154/ |
H A D | core.h | 34 return container_of(wpan_phy, struct cfg802154_registered_device, wpan_phy_to_rdev()
|
/linux-4.1.27/scripts/gdb/linux/ |
H A D | utils.py | 50 def container_of(ptr, typeobj, member): function 58 $container_of(PTR, "TYPE", "ELEMENT"): Given PTR, return a pointer to the 63 super(ContainerOf, self).__init__("container_of") 66 return container_of(ptr, gdb.lookup_type(typename.string()).pointer(),
|
H A D | tasks.py | 31 t = utils.container_of(t['thread_group']['next'], 36 t = g = utils.container_of(g['tasks']['next'],
|
H A D | modules.py | 30 yield utils.container_of(entry, module_ptr_type, "list") 87 use = utils.container_of(entry, t, "source_list")
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
H A D | phy_cmn.c | 131 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phyreg_enter() 137 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phyreg_exit() 143 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_radioreg_enter() 151 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_radioreg_exit() 589 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_detach() 616 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_get_phyversion() 627 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_get_encore() 633 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_get_coreflags() 639 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_anacore() 676 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_clk_bwbits() 701 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_por_inform() 708 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_edcrs_lock() 720 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_initcal_enable() 727 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_hw_clk_state_upd() 737 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_hw_state_upd() 749 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_init() 801 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_cal_init() 819 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_down() 1073 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_hold_upd() 1085 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_mute_upd() 1099 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_clear_tssi() 1118 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_switch_radio() 1152 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_bw_state_get() 1159 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_bw_state_set() 1166 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_chanspec_radio_set() 1173 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_chanspec_get() 1180 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_chanspec_set() 1229 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_chanspec_ch14_widefilter_set() 1249 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_chanspec_band_validch() 1270 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_chanspec_band_firstch() 1314 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_get() 1326 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_target_set() 1374 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_set() 1410 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_sromlimit() 1459 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_sromlimit_max_get() 1496 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_get_target_min() 1503 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_get_target_max() 1815 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpwr_percent_set() 1822 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_machwcap_set() 1829 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_runbist_config() 1860 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_limit_set() 1884 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_ofdm_rateset_war() 1891 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_bf_preempt_enable() 1948 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_hw_ctrl_get() 1958 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_hw_ctrl_set() 2041 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_get_current() 2139 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_antsel_type_set() 2146 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_test_ison() 2153 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_ant_rxdiv_set() 2286 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_noise_sample_intr() 2342 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_noise_sample_request() 2534 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_rssi_compute() 2594 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_watchdog() 2654 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_BSSinit() 2714 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_cal_perical() 2807 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_stf_chain_init() 2818 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_stf_chain_set() 2830 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_stf_chain_get() 2840 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_stf_chain_active_get() 2870 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); wlc_phy_stf_ssmode_get() 2947 struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro); wlc_phy_txpower_ipa_ison()
|
/linux-4.1.27/drivers/memstick/core/ |
H A D | memstick.c | 46 struct memstick_dev *card = container_of(dev, struct memstick_dev, memstick_bus_match() 48 struct memstick_driver *ms_drv = container_of(drv, memstick_bus_match() 65 struct memstick_dev *card = container_of(dev, struct memstick_dev, memstick_uevent() 82 struct memstick_dev *card = container_of(dev, struct memstick_dev, memstick_device_probe() 84 struct memstick_driver *drv = container_of(dev->driver, memstick_device_probe() 99 struct memstick_dev *card = container_of(dev, struct memstick_dev, memstick_device_remove() 101 struct memstick_driver *drv = container_of(dev->driver, memstick_device_remove() 118 struct memstick_dev *card = container_of(dev, struct memstick_dev, memstick_device_suspend() 120 struct memstick_driver *drv = container_of(dev->driver, memstick_device_suspend() 131 struct memstick_dev *card = container_of(dev, struct memstick_dev, memstick_device_resume() 133 struct memstick_driver *drv = container_of(dev->driver, memstick_device_resume() 153 struct memstick_dev *card = container_of(dev, struct memstick_dev, \ 184 struct memstick_host *host = container_of(dev, struct memstick_host, memstick_free() 196 struct memstick_dev *card = container_of(dev, struct memstick_dev, memstick_free_card() 434 struct memstick_host *host = container_of(work, struct memstick_host, memstick_check()
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
H A D | qib_sysfs.c | 217 container_of(kobj, struct qib_pportdata, pport_cc_kobj); read_cc_table_bin() 267 container_of(kobj, struct qib_pportdata, pport_cc_kobj); read_cc_setting_bin() 300 container_of(attr, struct qib_port_attr, attr); qib_portattr_show() 302 container_of(kobj, struct qib_pportdata, pport_kobj); qib_portattr_show() 311 container_of(attr, struct qib_port_attr, attr); qib_portattr_store() 313 container_of(kobj, struct qib_pportdata, pport_kobj); qib_portattr_store() 384 container_of(attr, struct qib_sl2vl_attr, attr); sl2vl_attr_show() 386 container_of(kobj, struct qib_pportdata, sl2vl_kobj); sl2vl_attr_show() 456 container_of(attr, struct qib_diagc_attr, attr); diagc_attr_show() 458 container_of(kobj, struct qib_pportdata, diagc_kobj); diagc_attr_show() 468 container_of(attr, struct qib_diagc_attr, attr); diagc_attr_store() 470 container_of(kobj, struct qib_pportdata, diagc_kobj); diagc_attr_store() 505 container_of(device, struct qib_ibdev, ibdev.dev); show_rev() 514 container_of(device, struct qib_ibdev, ibdev.dev); show_hca() 536 container_of(device, struct qib_ibdev, ibdev.dev); show_boardversion() 548 container_of(device, struct qib_ibdev, ibdev.dev); show_localbus_info() 560 container_of(device, struct qib_ibdev, ibdev.dev); show_nctxts() 575 container_of(device, struct qib_ibdev, ibdev.dev); show_nfreectxts() 586 container_of(device, struct qib_ibdev, ibdev.dev); show_serial() 600 container_of(device, struct qib_ibdev, ibdev.dev); store_chip_reset() 621 container_of(device, struct qib_ibdev, ibdev.dev); show_tempsense()
|
/linux-4.1.27/arch/mips/ar7/ |
H A D | gpio.c | 34 container_of(chip, struct ar7_gpio_chip, chip); ar7_gpio_get_value() 43 container_of(chip, struct ar7_gpio_chip, chip); titan_gpio_get_value() 54 container_of(chip, struct ar7_gpio_chip, chip); ar7_gpio_set_value() 68 container_of(chip, struct ar7_gpio_chip, chip); titan_gpio_set_value() 82 container_of(chip, struct ar7_gpio_chip, chip); ar7_gpio_direction_input() 93 container_of(chip, struct ar7_gpio_chip, chip); titan_gpio_direction_input() 109 container_of(chip, struct ar7_gpio_chip, chip); ar7_gpio_direction_output() 122 container_of(chip, struct ar7_gpio_chip, chip); titan_gpio_direction_output()
|
/linux-4.1.27/fs/notify/fanotify/ |
H A D | fanotify.h | 40 return container_of(fse, struct fanotify_perm_event_info, fae.fse); FANOTIFY_PE() 46 return container_of(fse, struct fanotify_event_info, fse); FANOTIFY_E()
|
/linux-4.1.27/include/net/caif/ |
H A D | cfsrvl.h | 50 struct cfsrvl *s = container_of(layr, struct cfsrvl, layer); cfsrvl_get() 59 struct cfsrvl *s = container_of(layr, struct cfsrvl, layer); cfsrvl_put()
|
/linux-4.1.27/arch/parisc/include/asm/ |
H A D | parisc-device.h | 42 #define to_parisc_device(d) container_of(d, struct parisc_device, dev) 43 #define to_parisc_driver(d) container_of(d, struct parisc_driver, drv)
|
/linux-4.1.27/arch/ia64/include/asm/sn/ |
H A D | tiocx.h | 57 #define to_cx_dev(n) container_of(n, struct cx_dev, dev) 58 #define to_cx_driver(drv) container_of(drv, struct cx_drv, driver)
|
/linux-4.1.27/arch/arm/mach-integrator/ |
H A D | lm.c | 17 #define to_lm_device(d) container_of(d, struct lm_device, dev) 18 #define to_lm_driver(d) container_of(d, struct lm_driver, drv)
|
/linux-4.1.27/fs/btrfs/ |
H A D | sysfs.h | 67 return container_of(a, struct btrfs_feature_attr, kobj_attr); to_btrfs_feature_attr() 72 return container_of(attr, struct kobj_attribute, attr); attr_to_btrfs_attr()
|
/linux-4.1.27/drivers/bcma/ |
H A D | main.c | 32 struct bcma_device *core = container_of(dev, struct bcma_device, dev); manuf_show() 39 struct bcma_device *core = container_of(dev, struct bcma_device, dev); id_show() 46 struct bcma_device *core = container_of(dev, struct bcma_device, dev); rev_show() 53 struct bcma_device *core = container_of(dev, struct bcma_device, dev); class_show() 117 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_release_core_dev() 541 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); bcma_bus_suspend() 562 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); bcma_bus_resume() 590 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_bus_match() 591 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); bcma_bus_match() 607 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_device_probe() 608 struct bcma_driver *adrv = container_of(dev->driver, struct bcma_driver, bcma_device_probe() 620 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_device_remove() 621 struct bcma_driver *adrv = container_of(dev->driver, struct bcma_driver, bcma_device_remove() 632 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_device_uevent()
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
H A D | media-dev.h | 67 #define to_fimc_pipeline(_ep) container_of(_ep, struct fimc_pipeline, ep) 100 #define to_cam_clk(_hw) container_of(_hw, struct cam_clk, hw) 162 return container_of(si, struct fimc_sensor_info, pdata); source_to_sensor_info() 168 container_of(me->parent, struct fimc_md, media_dev); entity_to_fimc_mdev() 173 return container_of(n, struct fimc_md, subdev_notifier); notifier_to_fimc_md()
|
/linux-4.1.27/drivers/staging/android/ |
H A D | sync_debug.c | 140 container_of(pos, struct sync_pt, child_list); sync_print_obj() 157 container_of(fence->cbs[i].sync_pt, sync_print_fence() 170 waiter = container_of(pos, struct sync_fence_waiter, work); sync_print_fence() 187 container_of(pos, struct sync_timeline, sync_debugfs_show() 200 container_of(pos, struct sync_fence, sync_fence_list); sync_debugfs_show()
|
H A D | sync.c | 67 container_of(kref, struct sync_timeline, kref); sync_timeline_free() 183 check = container_of(cb, struct sync_fence_cb, cb); fence_check_cb_func() 320 wait = container_of(curr, struct sync_fence_waiter, work); sync_fence_wake_up_wq() 411 struct sync_pt *pt = container_of(fence, struct sync_pt, base); android_fence_get_driver_name() 419 struct sync_pt *pt = container_of(fence, struct sync_pt, base); android_fence_get_timeline_name() 427 struct sync_pt *pt = container_of(fence, struct sync_pt, base); android_fence_release() 446 struct sync_pt *pt = container_of(fence, struct sync_pt, base); android_fence_signaled() 458 struct sync_pt *pt = container_of(fence, struct sync_pt, base); android_fence_enable_signaling() 471 struct sync_pt *pt = container_of(fence, struct sync_pt, base); android_fence_fill_driver_data() 482 struct sync_pt *pt = container_of(fence, struct sync_pt, base); android_fence_value_str() 496 struct sync_pt *pt = container_of(fence, struct sync_pt, base); android_fence_timeline_value_str() 521 struct sync_fence *fence = container_of(kref, struct sync_fence, kref); sync_fence_free()
|
H A D | timed_gpio.c | 41 container_of(timer, struct timed_gpio_data, timer); gpio_timer_func() 52 data = container_of(dev, struct timed_gpio_data, dev); gpio_get_time() 65 container_of(dev, struct timed_gpio_data, dev); gpio_enable()
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
H A D | libcfs_mem.c | 54 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); cfs_percpt_free() 115 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); cfs_percpt_number() 130 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); cfs_percpt_current() 144 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); cfs_percpt_index() 160 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); cfs_array_free()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | radeon_ucode.c | 56 container_of(hdr, struct mc_firmware_header_v1_0, header); radeon_ucode_print_mc_hdr() 77 container_of(hdr, struct smc_firmware_header_v1_0, header); radeon_ucode_print_smc_hdr() 95 container_of(hdr, struct gfx_firmware_header_v1_0, header); radeon_ucode_print_gfx_hdr() 116 container_of(hdr, struct rlc_firmware_header_v1_0, header); radeon_ucode_print_rlc_hdr() 143 container_of(hdr, struct sdma_firmware_header_v1_0, header); radeon_ucode_print_sdma_hdr()
|
H A D | radeon_mn.c | 70 struct radeon_mn *rmn = container_of(work, struct radeon_mn, work); radeon_mn_destroy() 105 struct radeon_mn *rmn = container_of(mn, struct radeon_mn, mn); radeon_mn_release() 126 struct radeon_mn *rmn = container_of(mn, struct radeon_mn, mn); radeon_mn_invalidate_range_start() 140 node = container_of(it, struct radeon_mn_node, it); radeon_mn_invalidate_range_start() 256 node = container_of(it, struct radeon_mn_node, it); radeon_mn_register() 315 node = container_of(head, struct radeon_mn_node, bos); radeon_mn_unregister()
|
/linux-4.1.27/drivers/media/pci/solo6x10/ |
H A D | solo6x10-core.c | 184 container_of(dev, struct solo_dev, dev); eeprom_store() 214 container_of(dev, struct solo_dev, dev); eeprom_show() 230 container_of(dev, struct solo_dev, dev); p2m_timeouts_show() 240 container_of(dev, struct solo_dev, dev); sdram_size_show() 250 container_of(dev, struct solo_dev, dev); tw28xx_show() 263 container_of(dev, struct solo_dev, dev); input_map_show() 298 container_of(dev, struct solo_dev, dev); p2m_timeout_store() 314 container_of(dev, struct solo_dev, dev); p2m_timeout_show() 324 container_of(dev, struct solo_dev, dev); intervals_show() 343 container_of(dev, struct solo_dev, dev); sdram_offsets_show() 392 struct device *dev = container_of(kobj, struct device, kobj); sdram_show() 394 container_of(dev, struct solo_dev, dev); sdram_show() 657 struct solo_dev *solo_dev = container_of(v4l2_dev, struct solo_dev, v4l2_dev); solo_pci_remove()
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
H A D | tcm_qla2xxx.c | 195 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_get_fabric_proto_ident() 212 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_get_fabric_wwn() 221 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_get_tag() 238 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_get_pr_transport_id() 260 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_get_pr_transport_id_len() 282 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_parse_pr_out_transport_id() 300 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_check_demo_mode() 308 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_check_demo_mode_cache() 316 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_check_demo_write_protect() 324 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_check_prod_write_protect() 332 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_check_demo_mode_login_only() 340 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_check_prot_fabric_only() 364 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, tcm_qla2xxx_release_fabric_acl() 371 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_tpg_get_inst_index() 379 struct qla_tgt_mgmt_cmd *mcmd = container_of(work, tcm_qla2xxx_complete_mcmd() 398 struct qla_tgt_cmd *cmd = container_of(work, struct qla_tgt_cmd, work); tcm_qla2xxx_complete_free() 428 cmd = container_of(se_cmd, struct qla_tgt_cmd, se_cmd); tcm_qla2xxx_check_stop_free() 443 struct qla_tgt_mgmt_cmd *mcmd = container_of(se_cmd, tcm_qla2xxx_release_cmd() 449 cmd = container_of(se_cmd, struct qla_tgt_cmd, se_cmd); tcm_qla2xxx_release_cmd() 490 struct qla_tgt_cmd *cmd = container_of(se_cmd, tcm_qla2xxx_write_pending() 544 cmd = container_of(se_cmd, struct qla_tgt_cmd, se_cmd); tcm_qla2xxx_get_task_tag() 588 struct qla_tgt_cmd *cmd = container_of(work, struct qla_tgt_cmd, work); tcm_qla2xxx_handle_data_work() 632 struct qla_tgt_cmd *cmd = container_of(work, struct qla_tgt_cmd, work); tcm_qla2xxx_handle_dif_work() 666 struct qla_tgt_cmd *cmd = container_of(se_cmd, tcm_qla2xxx_queue_data_in() 692 struct qla_tgt_cmd *cmd = container_of(se_cmd, tcm_qla2xxx_queue_status() 730 struct qla_tgt_mgmt_cmd *mcmd = container_of(se_cmd, tcm_qla2xxx_queue_tm_rsp() 763 struct qla_tgt_cmd *cmd = container_of(se_cmd, tcm_qla2xxx_aborted_task() 778 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, tcm_qla2xxx_clear_nacl_from_fcport_map() 780 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, tcm_qla2xxx_clear_nacl_from_fcport_map() 814 struct se_session *se_sess = container_of(kref, tcm_qla2xxx_release_session() 878 nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); tcm_qla2xxx_make_nodeacl() 888 struct tcm_qla2xxx_nacl *nacl = container_of(se_acl, tcm_qla2xxx_drop_nodeacl() 903 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, \ 914 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, \ 1000 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_tpg_show_enable() 1009 struct tcm_qla2xxx_tpg *base_tpg = container_of(work, tcm_qla2xxx_depend_tpg() 1023 struct tcm_qla2xxx_tpg *base_tpg = container_of(work, tcm_qla2xxx_undepend_tpg() 1040 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_tpg_store_enable() 1095 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_tpg_store_fabric_prot_type() 1117 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_tpg_show_fabric_prot_type() 1136 struct tcm_qla2xxx_lport *lport = container_of(wwn, tcm_qla2xxx_make_tpg() 1182 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_drop_tpg() 1214 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, tcm_qla2xxx_npiv_tpg_store_enable() 1217 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, tcm_qla2xxx_npiv_tpg_store_enable() 1260 struct tcm_qla2xxx_lport *lport = container_of(wwn, tcm_qla2xxx_npiv_make_tpg() 1328 nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); tcm_qla2xxx_find_sess_by_s_id() 1432 nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); tcm_qla2xxx_find_sess_by_loop_id() 1544 nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); tcm_qla2xxx_free_session() 1622 nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); tcm_qla2xxx_check_initiator_node_acl() 1649 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, tcm_qla2xxx_update_sess() 1818 struct tcm_qla2xxx_lport *lport = container_of(wwn, tcm_qla2xxx_drop_lport() 1945 struct tcm_qla2xxx_lport *lport = container_of(wwn, tcm_qla2xxx_npiv_drop_lport()
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-lenovo.c | 190 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_fn_lock_show_cptkbd() 201 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_fn_lock_store_cptkbd() 220 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_sensitivity_show_cptkbd() 232 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_sensitivity_store_cptkbd() 310 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_press_to_select_show_tpkbd() 321 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_press_to_select_store_tpkbd() 340 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_dragging_show_tpkbd() 351 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_dragging_store_tpkbd() 370 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_release_to_select_show_tpkbd() 381 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_release_to_select_store_tpkbd() 400 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_select_right_show_tpkbd() 411 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_select_right_store_tpkbd() 430 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_sensitivity_show_tpkbd() 442 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_sensitivity_store_tpkbd() 459 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_press_speed_show_tpkbd() 471 struct hid_device *hdev = container_of(dev, struct hid_device, dev); attr_press_speed_store_tpkbd() 532 struct hid_device *hdev = container_of(dev, struct hid_device, dev); lenovo_led_brightness_get_tpkbd() 548 struct hid_device *hdev = container_of(dev, struct hid_device, dev); lenovo_led_brightness_set_tpkbd()
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
H A D | mthca_provider.h | 301 return container_of(ibucontext, struct mthca_ucontext, ibucontext); to_mucontext() 306 return container_of(ibmr, struct mthca_fmr, ibmr); to_mfmr() 311 return container_of(ibmr, struct mthca_mr, ibmr); to_mmr() 316 return container_of(ibpd, struct mthca_pd, ibpd); to_mpd() 321 return container_of(ibah, struct mthca_ah, ibah); to_mah() 326 return container_of(ibcq, struct mthca_cq, ibcq); to_mcq() 331 return container_of(ibsrq, struct mthca_srq, ibsrq); to_msrq() 336 return container_of(ibqp, struct mthca_qp, ibqp); to_mqp() 341 return container_of(qp, struct mthca_sqp, qp); to_msqp()
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | umem_rbtree.c | 51 container_of(n, struct ib_umem_odp, interval_tree); node_start() 64 container_of(n, struct ib_umem_odp, interval_tree); node_last() 89 umem = container_of(node, struct ib_umem_odp, interval_tree); rbt_ib_umem_for_each_in_range()
|
H A D | sysfs.c | 74 container_of(attr, struct port_attribute, attr); port_attr_show() 75 struct ib_port *p = container_of(kobj, struct ib_port, kobj); port_attr_show() 288 container_of(attr, struct port_table_attribute, attr); show_port_gid() 303 container_of(attr, struct port_table_attribute, attr); show_port_pkey() 324 container_of(attr, struct port_table_attribute, attr); show_pma_counter() 428 struct ib_port *p = container_of(kobj, struct ib_port, kobj); ib_port_release() 457 struct ib_device *dev = container_of(device, struct ib_device, dev); ib_device_release() 465 struct ib_device *dev = container_of(device, struct ib_device, dev); ib_device_uevent() 617 struct ib_device *dev = container_of(device, struct ib_device, dev); show_node_type() 633 struct ib_device *dev = container_of(device, struct ib_device, dev); show_sys_image_guid() 651 struct ib_device *dev = container_of(device, struct ib_device, dev); show_node_guid() 663 struct ib_device *dev = container_of(device, struct ib_device, dev); show_node_desc() 672 struct ib_device *dev = container_of(device, struct ib_device, dev); set_node_desc() 710 struct ib_device *dev = container_of(device, struct ib_device, dev); show_protocol_stat() 824 struct ib_port *port = container_of(p, struct ib_port, kobj); free_port_list_attributes()
|
/linux-4.1.27/drivers/reset/ |
H A D | reset-socfpga.c | 38 struct socfpga_reset_data *data = container_of(rcdev, socfpga_reset_assert() 59 struct socfpga_reset_data *data = container_of(rcdev, socfpga_reset_deassert() 82 struct socfpga_reset_data *data = container_of(rcdev, socfpga_reset_status()
|
/linux-4.1.27/drivers/gpu/drm/bochs/ |
H A D | bochs.h | 97 #define to_bochs_framebuffer(x) container_of(x, struct bochs_framebuffer, base) 110 return container_of(bo, struct bochs_bo, bo); bochs_bo() 115 return container_of(gem, struct bochs_bo, gem); gem_to_bochs_bo()
|
/linux-4.1.27/drivers/clk/hisilicon/ |
H A D | clkgate-separated.c | 54 sclk = container_of(hw, struct clkgate_separated, hw); clkgate_separated_enable() 71 sclk = container_of(hw, struct clkgate_separated, hw); clkgate_separated_disable() 86 sclk = container_of(hw, struct clkgate_separated, hw); clkgate_separated_is_enabled()
|
/linux-4.1.27/drivers/target/tcm_fc/ |
H A D | tfc_conf.c | 145 struct ft_node_acl *acl = container_of(se_nacl, ft_nacl_show_port_name() 156 struct ft_node_acl *acl = container_of(se_nacl, ft_nacl_store_port_name() 168 struct ft_node_acl *acl = container_of(se_nacl, ft_nacl_show_node_name() 179 struct ft_node_acl *acl = container_of(se_nacl, ft_nacl_store_node_name() 212 tpg = container_of(se_tpg, struct ft_tpg, se_tpg); ft_add_acl() 231 struct ft_node_acl *acl = container_of(se_acl, ft_del_acl() 237 tpg = container_of(se_tpg, struct ft_tpg, se_tpg); ft_del_acl() 254 acl = container_of(se_acl, struct ft_node_acl, se_node_acl); ft_acl_get() 286 struct ft_node_acl *acl = container_of(se_acl, ft_tpg_release_fabric_acl() 326 ft_wwn = container_of(wwn, struct ft_lport_wwn, se_wwn); ft_add_tpg() 358 struct ft_tpg *tpg = container_of(se_tpg, struct ft_tpg, se_tpg); ft_del_tpg() 440 struct ft_lport_wwn *ft_wwn = container_of(wwn, ft_del_wwn()
|
/linux-4.1.27/fs/nfs/flexfilelayout/ |
H A D | flexfilelayout.h | 75 return container_of(lo, struct nfs4_flexfile_layout, generic_hdr); FF_LAYOUT_FROM_HDR() 81 return container_of(lseg, FF_LAYOUT_LSEG() 99 return container_of(node, struct nfs4_ff_layout_ds, id_node); FF_LAYOUT_MIRROR_DS()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | macio.h | 48 #define to_macio_device(d) container_of(d, struct macio_dev, ofdev.dev) 49 #define of_to_macio_device(d) container_of(d, struct macio_dev, ofdev) 138 #define to_macio_driver(drv) container_of(drv,struct macio_driver, driver)
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | max3100.c | 263 struct max3100_port *s = container_of(w, struct max3100_port, work); max3100_work() 342 struct max3100_port *s = container_of(port, max3100_enable_ms() 353 struct max3100_port *s = container_of(port, max3100_start_tx() 364 struct max3100_port *s = container_of(port, max3100_stop_rx() 380 struct max3100_port *s = container_of(port, max3100_tx_empty() 393 struct max3100_port *s = container_of(port, max3100_get_mctrl() 407 struct max3100_port *s = container_of(port, max3100_set_mctrl() 429 struct max3100_port *s = container_of(port, max3100_set_termios() 552 struct max3100_port *s = container_of(port, max3100_shutdown() 587 struct max3100_port *s = container_of(port, max3100_startup() 642 struct max3100_port *s = container_of(port, max3100_type() 653 struct max3100_port *s = container_of(port, max3100_release_port() 662 struct max3100_port *s = container_of(port, max3100_config_port() 675 struct max3100_port *s = container_of(port, max3100_verify_port() 689 struct max3100_port *s = container_of(port, max3100_stop_tx() 698 struct max3100_port *s = container_of(port, max3100_request_port() 708 struct max3100_port *s = container_of(port, max3100_break_ctl()
|
H A D | pnx8xxx_uart.c | 130 container_of(port, struct pnx8xxx_port, port); pnx8xxx_stop_tx() 147 container_of(port, struct pnx8xxx_port, port); pnx8xxx_start_tx() 164 container_of(port, struct pnx8xxx_port, port); pnx8xxx_stop_rx() 181 container_of(port, struct pnx8xxx_port, port); pnx8xxx_enable_ms() 321 container_of(port, struct pnx8xxx_port, port); pnx8xxx_tx_empty() 329 container_of(port, struct pnx8xxx_port, port); pnx8xxx_get_mctrl() 357 container_of(port, struct pnx8xxx_port, port); pnx8xxx_break_ctl() 374 container_of(port, struct pnx8xxx_port, port); pnx8xxx_startup() 409 container_of(port, struct pnx8xxx_port, port); pnx8xxx_shutdown() 447 container_of(port, struct pnx8xxx_port, port); pnx8xxx_set_termios() 565 container_of(port, struct pnx8xxx_port, port); pnx8xxx_type() 576 container_of(port, struct pnx8xxx_port, port); pnx8xxx_release_port() 587 container_of(port, struct pnx8xxx_port, port); pnx8xxx_request_port() 598 container_of(port, struct pnx8xxx_port, port); pnx8xxx_config_port() 614 container_of(port, struct pnx8xxx_port, port); pnx8xxx_verify_port() 681 container_of(port, struct pnx8xxx_port, port); pnx8xxx_console_putchar()
|
H A D | sa1100.c | 146 container_of(port, struct sa1100_port, port); sa1100_stop_tx() 160 container_of(port, struct sa1100_port, port); sa1100_start_tx() 174 container_of(port, struct sa1100_port, port); sa1100_stop_rx() 187 container_of(port, struct sa1100_port, port); sa1100_enable_ms() 331 container_of(port, struct sa1100_port, port); sa1100_tx_empty() 351 container_of(port, struct sa1100_port, port); sa1100_break_ctl() 368 container_of(port, struct sa1100_port, port); sa1100_startup() 398 container_of(port, struct sa1100_port, port); sa1100_shutdown() 421 container_of(port, struct sa1100_port, port); sa1100_set_termios() 525 container_of(port, struct sa1100_port, port); sa1100_type() 536 container_of(port, struct sa1100_port, port); sa1100_release_port() 547 container_of(port, struct sa1100_port, port); sa1100_request_port() 559 container_of(port, struct sa1100_port, port); sa1100_config_port() 575 container_of(port, struct sa1100_port, port); sa1100_verify_port() 709 container_of(port, struct sa1100_port, port); sa1100_console_putchar()
|
H A D | altera_uart.c | 106 struct altera_uart *pp = container_of(port, struct altera_uart, port); altera_uart_get_mctrl() 118 struct altera_uart *pp = container_of(port, struct altera_uart, port); altera_uart_set_mctrl() 130 struct altera_uart *pp = container_of(port, struct altera_uart, port); altera_uart_start_tx() 138 struct altera_uart *pp = container_of(port, struct altera_uart, port); altera_uart_stop_tx() 146 struct altera_uart *pp = container_of(port, struct altera_uart, port); altera_uart_stop_rx() 154 struct altera_uart *pp = container_of(port, struct altera_uart, port); altera_uart_break_ctl() 276 struct altera_uart *pp = container_of(port, struct altera_uart, port); altera_uart_interrupt() 294 struct altera_uart *pp = container_of(port, struct altera_uart, port); altera_uart_timer() 312 struct altera_uart *pp = container_of(port, struct altera_uart, port); altera_uart_startup() 343 struct altera_uart *pp = container_of(port, struct altera_uart, port); altera_uart_shutdown()
|
H A D | ar933x_uart.c | 123 container_of(port, struct ar933x_uart_port, port); ar933x_uart_tx_empty() 146 container_of(port, struct ar933x_uart_port, port); ar933x_uart_start_tx() 154 container_of(port, struct ar933x_uart_port, port); ar933x_uart_stop_tx() 162 container_of(port, struct ar933x_uart_port, port); ar933x_uart_stop_rx() 171 container_of(port, struct ar933x_uart_port, port); ar933x_uart_break_ctl() 240 container_of(port, struct ar933x_uart_port, port); ar933x_uart_set_termios() 414 container_of(port, struct ar933x_uart_port, port); ar933x_uart_startup() 441 container_of(port, struct ar933x_uart_port, port); ar933x_uart_shutdown() 480 container_of(port, struct ar933x_uart_port, port); ar933x_uart_verify_port() 534 container_of(port, struct ar933x_uart_port, port); ar933x_uart_console_putchar()
|
H A D | nwpserial.c | 62 up = container_of(port, struct nwpserial_port, port); nwpserial_console_putchar() 171 up = container_of(port, struct nwpserial_port, port); nwpserial_startup() 196 up = container_of(port, struct nwpserial_port, port); nwpserial_shutdown() 224 up = container_of(port, struct nwpserial_port, port); nwpserial_set_termios() 247 up = container_of(port, struct nwpserial_port, port); nwpserial_stop_rx() 264 up = container_of(port, struct nwpserial_port, port); nwpserial_start_tx() 298 up = container_of(port, struct nwpserial_port, port); nwpserial_tx_empty()
|
H A D | tilegx.c | 186 tile_uart = container_of(port, struct tile_uart_port, uart); tilegx_interrupt() 214 tile_uart = container_of(port, struct tile_uart_port, uart); tilegx_tx_empty() 264 tile_uart = container_of(port, struct tile_uart_port, uart); tilegx_start_tx() 306 tile_uart = container_of(port, struct tile_uart_port, uart); tilegx_stop_rx() 336 tile_uart = container_of(port, struct tile_uart_port, uart); tilegx_startup() 411 tile_uart = container_of(port, struct tile_uart_port, uart); tilegx_shutdown() 461 tile_uart = container_of(port, struct tile_uart_port, uart); tilegx_set_termios() 580 tile_uart = container_of(port, struct tile_uart_port, uart); tilegx_poll_get_char() 593 tile_uart = container_of(port, struct tile_uart_port, uart); tilegx_poll_put_char()
|
/linux-4.1.27/drivers/infiniband/hw/ehca/ |
H A D | ehca_mcast.c | 61 struct ehca_qp *my_qp = container_of(ibqp, struct ehca_qp, ib_qp); ehca_attach_mcast() 62 struct ehca_shca *shca = container_of(ibqp->device, struct ehca_shca, ehca_attach_mcast() 98 struct ehca_qp *my_qp = container_of(ibqp, struct ehca_qp, ib_qp); ehca_detach_mcast() 99 struct ehca_shca *shca = container_of(ibqp->pd->device, ehca_detach_mcast()
|
H A D | ehca_av.c | 92 struct ehca_shca *shca = container_of(pd->device, struct ehca_shca, ehca_create_ah() 172 struct ehca_shca *shca = container_of(ah->pd->device, struct ehca_shca, ehca_modify_ah() 226 av = container_of(ah, struct ehca_av, ib_ah); ehca_modify_ah() 234 struct ehca_av *av = container_of(ah, struct ehca_av, ib_ah); ehca_query_ah() 257 kmem_cache_free(av_cache, container_of(ah, struct ehca_av, ib_ah)); ehca_destroy_ah()
|
/linux-4.1.27/drivers/net/ethernet/freescale/fs_enet/ |
H A D | mii-bitbang.c | 60 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); mdio_dir() 73 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); mdio_read() 79 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); mdio() 92 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); mdc()
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
H A D | bttv-gpio.c | 143 struct bttv *btv = container_of(core, struct bttv, c); bttv_gpio_inout() 157 struct bttv *btv = container_of(core, struct bttv, c); bttv_gpio_read() 166 struct bttv *btv = container_of(core, struct bttv, c); bttv_gpio_write() 173 struct bttv *btv = container_of(core, struct bttv, c); bttv_gpio_bits()
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_ptp.c | 38 container_of(ptp, struct stmmac_priv, ptp_clock_ops); stmmac_adjust_freq() 75 container_of(ptp, struct stmmac_priv, ptp_clock_ops); stmmac_adjust_time() 111 container_of(ptp, struct stmmac_priv, ptp_clock_ops); stmmac_get_time() 139 container_of(ptp, struct stmmac_priv, ptp_clock_ops); stmmac_set_time()
|
/linux-4.1.27/drivers/target/loopback/ |
H A D | tcm_loop.h | 17 /* The TCM I/O descriptor that is accessed via container_of() */
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
H A D | framebuffer.h | 42 #define to_psb_fb(x) container_of(x, struct psb_framebuffer, base)
|
/linux-4.1.27/drivers/gpu/drm/msm/adreno/ |
H A D | a3xx_gpu.h | 37 #define to_a3xx_gpu(x) container_of(x, struct a3xx_gpu, base)
|
H A D | a4xx_gpu.h | 32 #define to_a4xx_gpu(x) container_of(x, struct a4xx_gpu, base)
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
H A D | mlx4_ib.h | 560 return container_of(ibdev, struct mlx4_ib_dev, ib_dev); to_mdev() 565 return container_of(ibucontext, struct mlx4_ib_ucontext, ibucontext); to_mucontext() 570 return container_of(ibpd, struct mlx4_ib_pd, ibpd); to_mpd() 575 return container_of(ibxrcd, struct mlx4_ib_xrcd, ibxrcd); to_mxrcd() 580 return container_of(ibcq, struct mlx4_ib_cq, ibcq); to_mcq() 585 return container_of(mcq, struct mlx4_ib_cq, mcq); to_mibcq() 590 return container_of(ibmr, struct mlx4_ib_mr, ibmr); to_mmr() 595 return container_of(ibmw, struct mlx4_ib_mw, ibmw); to_mmw() 600 return container_of(ibfrpl, struct mlx4_ib_fast_reg_page_list, ibfrpl); to_mfrpl() 605 return container_of(ibfmr, struct mlx4_ib_fmr, ibfmr); to_mfmr() 610 return container_of(ibflow, struct mlx4_ib_flow, ibflow); to_mflow() 615 return container_of(ibqp, struct mlx4_ib_qp, ibqp); to_mqp() 620 return container_of(mqp, struct mlx4_ib_qp, mqp); to_mibqp() 625 return container_of(ibsrq, struct mlx4_ib_srq, ibsrq); to_msrq() 630 return container_of(msrq, struct mlx4_ib_srq, msrq); to_mibsrq() 635 return container_of(ibah, struct mlx4_ib_ah, ibah); to_mah()
|
H A D | sysfs.c | 50 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); show_admin_alias_guid() 75 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); store_admin_alias_guid() 116 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); show_port_gid() 143 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); show_phys_port_pkey() 381 struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj); mlx4_port_release() 405 container_of(attr, struct port_attribute, attr); port_attr_show() 406 struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj); port_attr_show() 418 container_of(attr, struct port_attribute, attr); port_attr_store() 419 struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj); port_attr_store() 446 container_of(attr, struct port_table_attribute, attr); show_port_pkey() 463 container_of(attr, struct port_table_attribute, attr); store_port_pkey() 547 container_of(attr, struct mlx4_port, smi_enabled); sysfs_show_smi_enabled() 563 container_of(attr, struct mlx4_port, enable_smi_admin); sysfs_show_enable_smi_admin() 579 container_of(attr, struct mlx4_port, enable_smi_admin); sysfs_store_enable_smi_admin() 753 mport = container_of(p, struct mlx4_port, kobj); register_one_pkey_tree() 798 port = container_of(p, struct mlx4_port, kobj); unregister_pkey_tree()
|
/linux-4.1.27/drivers/devfreq/ |
H A D | governor.h | 19 #define to_devfreq(DEV) container_of((DEV), struct devfreq, dev)
|
/linux-4.1.27/arch/um/kernel/skas/ |
H A D | syscall.c | 17 struct pt_regs *regs = container_of(r, struct pt_regs, regs); handle_syscall()
|
/linux-4.1.27/drivers/clk/qcom/ |
H A D | reset.h | 33 container_of(r, struct qcom_reset_controller, rcdev);
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_kms.h | 39 container_of(x, struct vmw_framebuffer, base) 58 container_of(x, struct vmw_display_unit, crtc) 115 container_of(x, struct vmw_display_unit, crtc) 117 container_of(x, struct vmw_display_unit, connector)
|
/linux-4.1.27/drivers/vfio/ |
H A D | virqfd.c | 48 struct virqfd *virqfd = container_of(wait, struct virqfd, wait); virqfd_wakeup() 84 struct virqfd *virqfd = container_of(pt, struct virqfd, pt); virqfd_ptable_queue_proc() 90 struct virqfd *virqfd = container_of(work, struct virqfd, shutdown); virqfd_shutdown() 102 struct virqfd *virqfd = container_of(work, struct virqfd, inject); virqfd_inject()
|
/linux-4.1.27/fs/qnx4/ |
H A D | qnx4.h | 39 return container_of(inode, struct qnx4_inode_info, vfs_inode); qnx4_i()
|
/linux-4.1.27/include/net/ |
H A D | cls_cgroup.h | 37 classid = container_of(task_css(p, net_cls_cgrp_id), task_cls_classid()
|
/linux-4.1.27/kernel/bpf/ |
H A D | arraymap.c | 65 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_lookup_elem() 77 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_get_next_key() 97 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_update_elem() 125 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_free()
|
/linux-4.1.27/arch/mips/rb532/ |
H A D | gpio.c | 91 gpch = container_of(chip, struct rb532_gpio_chip, chip); rb532_gpio_get() 103 gpch = container_of(chip, struct rb532_gpio_chip, chip); rb532_gpio_set() 114 gpch = container_of(chip, struct rb532_gpio_chip, chip); rb532_gpio_direction_input() 131 gpch = container_of(chip, struct rb532_gpio_chip, chip); rb532_gpio_direction_output()
|
/linux-4.1.27/arch/arm/mach-imx/ |
H A D | clk-busy.c | 41 struct clk_divider *div = container_of(hw, struct clk_divider, hw); to_clk_busy_divider() 43 return container_of(div, struct clk_busy_divider, div); to_clk_busy_divider() 126 struct clk_mux *mux = container_of(hw, struct clk_mux, hw); to_clk_busy_mux() 128 return container_of(mux, struct clk_busy_mux, mux); to_clk_busy_mux()
|
H A D | clk-fixup-mux.c | 18 #define to_clk_mux(_hw) container_of(_hw, struct clk_mux, hw) 39 return container_of(mux, struct clk_fixup_mux, mux); to_clk_fixup_mux()
|
H A D | clk-gate-exclusive.c | 34 struct clk_gate *gate = container_of(hw, struct clk_gate, hw); clk_gate_exclusive_enable() 35 struct clk_gate_exclusive *exgate = container_of(gate, clk_gate_exclusive_enable()
|
/linux-4.1.27/fs/bfs/ |
H A D | bfs.h | 40 return container_of(inode, struct bfs_inode_info, vfs_inode); BFS_I()
|
/linux-4.1.27/fs/exofs/ |
H A D | sys.c | 36 struct exofs_dev *edp = container_of(kobj, struct exofs_dev, ed_kobj); odev_attr_show() 37 struct odev_attr *a = container_of(attr, struct odev_attr, attr); odev_attr_show() 45 struct exofs_dev *edp = container_of(kobj, struct exofs_dev, ed_kobj); odev_attr_store() 46 struct odev_attr *a = container_of(attr, struct odev_attr, attr); odev_attr_store()
|
/linux-4.1.27/net/ceph/ |
H A D | buffer.c | 35 struct ceph_buffer *b = container_of(kref, struct ceph_buffer, kref); ceph_buffer_release()
|
/linux-4.1.27/drivers/iommu/ |
H A D | iova.c | 85 container_of(iovad->cached32_node, struct iova, node); __get_cached_rbnode() 109 cached_iova = container_of(curr, struct iova, node); __cached_rbnode_delete_update() 113 struct iova *iova = container_of(node, struct iova, node); __cached_rbnode_delete_update() 153 struct iova *curr_iova = container_of(curr, struct iova, node); __alloc_and_insert_iova_range() 199 struct iova *this = container_of(*entry, __alloc_and_insert_iova_range() 229 struct iova *this = container_of(*new, struct iova, node); iova_insert_rbtree() 300 struct iova *iova = container_of(node, struct iova, node); find_iova() 371 struct iova *iova = container_of(node, struct iova, node); put_iova_domain() 383 struct iova *iova = container_of(node, struct iova, node); __is_range_overlap() 447 iova = container_of(node, struct iova, node); reserve_iova() 483 struct iova *iova = container_of(node, struct iova, node); copy_reserved_iova()
|
/linux-4.1.27/drivers/leds/ |
H A D | leds-dac124s085.c | 43 struct dac124s085_led *led = container_of(work, struct dac124s085_led, dac124s085_led_work() 57 struct dac124s085_led *led = container_of(ldev, struct dac124s085_led, dac124s085_set_brightness()
|
H A D | leds-lm3642.c | 185 container_of(led_cdev, struct lm3642_chip_data, cdev_indicator); lm3642_torch_pin_store() 215 container_of(work, struct lm3642_chip_data, work_torch); lm3642_deferred_torch_brightness_set() 226 container_of(cdev, struct lm3642_chip_data, cdev_torch); lm3642_torch_brightness_set() 242 container_of(led_cdev, struct lm3642_chip_data, cdev_indicator); lm3642_strobe_pin_store() 272 container_of(work, struct lm3642_chip_data, work_flash); lm3642_deferred_strobe_brightness_set() 283 container_of(cdev, struct lm3642_chip_data, cdev_flash); lm3642_strobe_brightness_set() 293 container_of(work, struct lm3642_chip_data, work_indicator); lm3642_deferred_indicator_brightness_set() 304 container_of(cdev, struct lm3642_chip_data, cdev_indicator); lm3642_indicator_brightness_set()
|
H A D | leds-versatile.c | 43 struct versatile_led *led = container_of(cdev, versatile_led_set() 56 struct versatile_led *led = container_of(cdev, versatile_led_get()
|
H A D | leds-lm355x.c | 322 container_of(work, struct lm355x_chip_data, work_torch); lm355x_deferred_torch_brightness_set() 333 container_of(cdev, struct lm355x_chip_data, cdev_torch); lm355x_torch_brightness_set() 343 container_of(work, struct lm355x_chip_data, work_flash); lm355x_deferred_strobe_brightness_set() 354 container_of(cdev, struct lm355x_chip_data, cdev_flash); lm355x_strobe_brightness_set() 364 container_of(work, struct lm355x_chip_data, work_indicator); lm355x_deferred_indicator_brightness_set() 375 container_of(cdev, struct lm355x_chip_data, cdev_indicator); lm355x_indicator_brightness_set() 389 container_of(led_cdev, struct lm355x_chip_data, cdev_indicator); lm3556_indicator_pattern_store()
|
/linux-4.1.27/drivers/media/usb/au0828/ |
H A D | au0828-vbi.c | 55 struct au0828_buffer *buf = container_of(vb, struct au0828_buffer, vb); vbi_buffer_prepare() 74 struct au0828_buffer *buf = container_of(vb, struct au0828_buffer, vb); vbi_buffer_queue()
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
H A D | em28xx-vbi.c | 64 struct em28xx_buffer *buf = container_of(vb, struct em28xx_buffer, vb); vbi_buffer_prepare() 83 struct em28xx_buffer *buf = container_of(vb, struct em28xx_buffer, vb); vbi_buffer_queue()
|
/linux-4.1.27/drivers/crypto/qce/ |
H A D | sha.h | 73 struct ahash_alg *alg = container_of(crypto_hash_alg_common(ahash), to_ahash_tmpl() 76 return container_of(alg, struct qce_alg_template, alg.ahash); to_ahash_tmpl()
|
/linux-4.1.27/block/ |
H A D | blk-mq-sysfs.c | 40 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr); blk_mq_sysfs_show() 41 ctx = container_of(kobj, struct blk_mq_ctx, kobj); blk_mq_sysfs_show() 63 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr); blk_mq_sysfs_store() 64 ctx = container_of(kobj, struct blk_mq_ctx, kobj); blk_mq_sysfs_store() 86 entry = container_of(attr, struct blk_mq_hw_ctx_sysfs_entry, attr); blk_mq_hw_sysfs_show() 87 hctx = container_of(kobj, struct blk_mq_hw_ctx, kobj); blk_mq_hw_sysfs_show() 110 entry = container_of(attr, struct blk_mq_hw_ctx_sysfs_entry, attr); blk_mq_hw_sysfs_store() 111 hctx = container_of(kobj, struct blk_mq_hw_ctx, kobj); blk_mq_hw_sysfs_store()
|
/linux-4.1.27/drivers/clk/rockchip/ |
H A D | softrst.c | 34 struct rockchip_softrst *softrst = container_of(rcdev, rockchip_softrst_assert() 61 struct rockchip_softrst *softrst = container_of(rcdev, rockchip_softrst_deassert()
|
/linux-4.1.27/drivers/usb/usbip/ |
H A D | vhci.h | 55 /* urb->hcpriv, use container_of() */ 121 return container_of((void *) vhci, struct usb_hcd, hcd_priv); vhci_to_hcd()
|
/linux-4.1.27/include/sound/ |
H A D | seq_device.h | 42 container_of(_dev, struct snd_seq_device, dev) 66 container_of(_drv, struct snd_seq_driver, driver)
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | ccwgroup.h | 71 #define to_ccwgroupdev(x) container_of((x), struct ccwgroup_device, dev) 72 #define to_ccwgroupdrv(x) container_of((x), struct ccwgroup_driver, driver)
|
/linux-4.1.27/arch/arm/mach-footbridge/ |
H A D | ebsa285.c | 50 struct ebsa285_led *led = container_of(cdev, ebsa285_led_set() 62 struct ebsa285_led *led = container_of(cdev, ebsa285_led_get()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_provider.h | 52 return container_of(ibpd, struct iwch_pd, ibpd); to_iwch_pd() 86 return container_of(ibmr, struct iwch_mr, ibmr); to_iwch_mr() 98 return container_of(ibmw, struct iwch_mw, ibmw); to_iwch_mw() 114 return container_of(ibcq, struct iwch_cq, ibcq); to_iwch_cq() 179 return container_of(ibqp, struct iwch_qp, ibqp); to_iwch_qp() 195 return container_of(c, struct iwch_ucontext, ibucontext); to_iwch_ucontext()
|
/linux-4.1.27/drivers/media/platform/soc_camera/ |
H A D | sh_mobile_csi2.c | 51 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); sh_csi2_try_fmt() 99 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); sh_csi2_s_fmt() 136 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); sh_csi2_g_mbus_config() 195 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); sh_csi2_s_mbus_config() 300 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); sh_csi2_s_power() 380 struct sh_csi2 *priv = container_of(subdev, struct sh_csi2, subdev); sh_csi2_remove()
|
/linux-4.1.27/drivers/gpu/drm/cirrus/ |
H A D | cirrus_drv.h | 92 #define to_cirrus_crtc(x) container_of(x, struct cirrus_crtc, base) 93 #define to_cirrus_encoder(x) container_of(x, struct cirrus_encoder, base) 94 #define to_cirrus_framebuffer(x) container_of(x, struct cirrus_framebuffer, base) 171 #define gem_to_cirrus_bo(gobj) container_of((gobj), struct cirrus_bo, gem) 176 return container_of(bo, struct cirrus_bo, bo); cirrus_bo() 180 #define to_cirrus_obj(x) container_of(x, struct cirrus_gem_object, base)
|
/linux-4.1.27/drivers/gpu/drm/mgag200/ |
H A D | mgag200_drv.h | 104 #define to_mga_crtc(x) container_of(x, struct mga_crtc, base) 105 #define to_mga_encoder(x) container_of(x, struct mga_encoder, base) 106 #define to_mga_connector(x) container_of(x, struct mga_connector, base) 107 #define to_mga_framebuffer(x) container_of(x, struct mga_framebuffer, base) 230 #define gem_to_mga_bo(gobj) container_of((gobj), struct mgag200_bo, gem) 235 return container_of(bo, struct mgag200_bo, bo); mgag200_bo()
|
/linux-4.1.27/arch/x86/mm/ |
H A D | pat_rbtree.c | 51 struct memtype *data = container_of(node, struct memtype, rb); get_subtree_max_end() 83 struct memtype *data = container_of(node, struct memtype, rb); memtype_rb_lowest_match() 115 match = container_of(node, struct memtype, rb); memtype_rb_exact_match() 144 match = container_of(node, struct memtype, rb); memtype_rb_check_conflict() 175 struct memtype *data = container_of(*node, struct memtype, rb); memtype_rb_insert() 242 struct memtype *this = container_of(node, struct memtype, rb); rbt_memtype_copy_nth_element()
|
/linux-4.1.27/arch/arm/mach-rpc/ |
H A D | dma.c | 141 struct iomd_dma *idma = container_of(dma, struct iomd_dma, dma); iomd_request_dma() 149 struct iomd_dma *idma = container_of(dma, struct iomd_dma, dma); iomd_free_dma() 156 struct iomd_dma *idma = container_of(dma, struct iomd_dma, dma); iomd_enable_dma() 190 struct iomd_dma *idma = container_of(dma, struct iomd_dma, dma); iomd_disable_dma() 263 struct floppy_dma *fdma = container_of(dma, struct floppy_dma, dma); floppy_enable_dma() 297 struct floppy_dma *fdma = container_of(dma, struct floppy_dma, dma); floppy_disable_dma()
|
/linux-4.1.27/drivers/infiniband/hw/mlx5/ |
H A D | mlx5_ib.h | 100 return container_of(ibucontext, struct mlx5_ib_ucontext, ibucontext); to_mucontext() 448 return container_of(mcq, struct mlx5_ib_cq, mcq); to_mibcq() 453 return container_of(ibxrcd, struct mlx5_ib_xrcd, ibxrcd); to_mxrcd() 458 return container_of(ibdev, struct mlx5_ib_dev, ib_dev); to_mdev() 463 return container_of(ibfmr, struct mlx5_ib_fmr, ibfmr); to_mfmr() 468 return container_of(ibcq, struct mlx5_ib_cq, ibcq); to_mcq() 473 return container_of(mqp, struct mlx5_ib_qp, mqp); to_mibqp() 478 return container_of(mmr, struct mlx5_ib_mr, mmr); to_mibmr() 483 return container_of(ibpd, struct mlx5_ib_pd, ibpd); to_mpd() 488 return container_of(ibsrq, struct mlx5_ib_srq, ibsrq); to_msrq() 493 return container_of(ibqp, struct mlx5_ib_qp, ibqp); to_mqp() 498 return container_of(msrq, struct mlx5_ib_srq, msrq); to_mibsrq() 503 return container_of(ibmr, struct mlx5_ib_mr, ibmr); to_mmr() 508 return container_of(ibfrpl, struct mlx5_ib_fast_reg_page_list, ibfrpl); to_mfrpl() 518 return container_of(ibah, struct mlx5_ib_ah, ibah); to_mah()
|
/linux-4.1.27/fs/nfsd/ |
H A D | nfs4idmap.c | 81 struct ent *new = container_of(cnew, struct ent, h); ent_init() 82 struct ent *itm = container_of(citm, struct ent, h); ent_init() 94 struct ent *map = container_of(ref, struct ent, h.ref); ent_put() 131 struct ent *ent = container_of(ch, struct ent, h); idtoname_request() 145 struct ent *a = container_of(ca, struct ent, h); idtoname_match() 146 struct ent *b = container_of(cb, struct ent, h); idtoname_match() 161 ent = container_of(h, struct ent, h); idtoname_show() 273 return container_of(ch, struct ent, h); idtoname_lookup() 284 return container_of(ch, struct ent, h); idtoname_update() 304 struct ent *ent = container_of(ch, struct ent, h); nametoid_request() 316 struct ent *a = container_of(ca, struct ent, h); nametoid_match() 317 struct ent *b = container_of(cb, struct ent, h); nametoid_match() 332 ent = container_of(h, struct ent, h); nametoid_show() 431 return container_of(ch, struct ent, h); nametoid_lookup() 442 return container_of(ch, struct ent, h); nametoid_update()
|
H A D | export.c | 42 struct svc_expkey *key = container_of(ref, struct svc_expkey, h.ref); expkey_put() 56 struct svc_expkey *ek = container_of(h, struct svc_expkey, h); expkey_request() 176 ek = container_of(h, struct svc_expkey, h); expkey_show() 192 struct svc_expkey *orig = container_of(a, struct svc_expkey, h); expkey_match() 193 struct svc_expkey *new = container_of(b, struct svc_expkey, h); expkey_match() 205 struct svc_expkey *new = container_of(cnew, struct svc_expkey, h); expkey_init() 206 struct svc_expkey *item = container_of(citem, struct svc_expkey, h); expkey_init() 218 struct svc_expkey *new = container_of(cnew, struct svc_expkey, h); expkey_update() 219 struct svc_expkey *item = container_of(citem, struct svc_expkey, h); expkey_update() 269 return container_of(ch, struct svc_expkey, h); svc_expkey_lookup() 283 return container_of(ch, struct svc_expkey, h); svc_expkey_update() 311 struct svc_export *exp = container_of(ref, struct svc_export, h.ref); svc_export_put() 324 struct svc_export *exp = container_of(h, struct svc_export, h); svc_export_request() 666 exp = container_of(h, struct svc_export, h); svc_export_show() 691 struct svc_export *orig = container_of(a, struct svc_export, h); svc_export_match() 692 struct svc_export *new = container_of(b, struct svc_export, h); svc_export_match() 699 struct svc_export *new = container_of(cnew, struct svc_export, h); svc_export_init() 700 struct svc_export *item = container_of(citem, struct svc_export, h); svc_export_init() 716 struct svc_export *new = container_of(cnew, struct svc_export, h); export_update() 717 struct svc_export *item = container_of(citem, struct svc_export, h); export_update() 783 return container_of(ch, struct svc_export, h); svc_export_lookup() 796 return container_of(ch, struct svc_export, h); svc_export_update() 1256 struct svc_export *exp = container_of(cp, struct svc_export, h); e_show()
|
/linux-4.1.27/drivers/gpu/drm/ast/ |
H A D | ast_drv.h | 267 #define to_ast_crtc(x) container_of(x, struct ast_crtc, base) 268 #define to_ast_connector(x) container_of(x, struct ast_connector, base) 269 #define to_ast_encoder(x) container_of(x, struct ast_encoder, base) 270 #define to_ast_framebuffer(x) container_of(x, struct ast_framebuffer, base) 327 #define gem_to_ast_bo(gobj) container_of((gobj), struct ast_bo, gem) 332 return container_of(bo, struct ast_bo, bo); ast_bo() 336 #define to_ast_obj(x) container_of(x, struct ast_gem_object, base)
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-sysfs.c | 93 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_name); show_name() 108 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_type); show_type() 129 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_min); show_min() 142 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_max); show_max() 157 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_def); show_def() 176 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_val); show_val_norm() 195 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_custom); show_val_custom() 213 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_enum); show_enum() 237 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_bits); show_bits() 279 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_val); store_val_norm() 293 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_custom); store_val_custom() 508 clp = container_of(class,struct pvr2_sysfs_class,class); pvr2_sysfs_class_release() 762 sfp = container_of(chp,struct pvr2_sysfs,channel); pvr2_sysfs_internal_check()
|
/linux-4.1.27/drivers/scsi/osd/ |
H A D | osd_uld.c | 106 struct osd_uld_device *ould = container_of(dev, struct osd_uld_device, osdname_show() 115 struct osd_uld_device *ould = container_of(dev, struct osd_uld_device, systemid_show() 142 struct osd_uld_device *oud = container_of(inode->i_cdev, osd_uld_open() 276 struct osd_uld_device *oud = container_of(dev, struct osd_uld_device, _match_odi() 302 struct osd_uld_device *oud = container_of(dev, osduld_info_lookup() 324 container_of(od, struct osd_dev_handle, od); osduld_put_device() 348 container_of(od, struct osd_dev_handle, od); osduld_device_info() 356 container_of(od, struct osd_dev_handle, od); osduld_device_same() 396 struct osd_uld_device *oud = container_of(dev, struct osd_uld_device, __remove()
|
/linux-4.1.27/drivers/infiniband/hw/nes/ |
H A D | nes.h | 472 return container_of(ibdev, struct nes_ib_device, ibdev)->nesvnic; to_nesvnic() 477 return container_of(ibpd, struct nes_pd, ibpd); to_nespd() 482 return container_of(ibucontext, struct nes_ucontext, ibucontext); to_nesucontext() 487 return container_of(ibmr, struct nes_mr, ibmr); to_nesmr() 492 return container_of(ibfmr, struct nes_mr, ibfmr); to_nesmr_from_ibfmr() 497 return container_of(ibmw, struct nes_mr, ibmw); to_nesmw() 502 return container_of(nesmr, struct nes_fmr, nesmr); to_nesfmr() 507 return container_of(ibcq, struct nes_cq, ibcq); to_nescq() 512 return container_of(ibqp, struct nes_qp, ibqp); to_nesqp()
|
/linux-4.1.27/drivers/mtd/nand/ |
H A D | nuc900_nand.c | 83 nand = container_of(mtd, struct nuc900_nand, mtd); nuc900_nand_read_byte() 96 nand = container_of(mtd, struct nuc900_nand, mtd); nuc900_nand_read_buf() 108 nand = container_of(mtd, struct nuc900_nand, mtd); nuc900_nand_write_buf() 130 nand = container_of(mtd, struct nuc900_nand, mtd); nuc900_nand_devready() 142 nand = container_of(mtd, struct nuc900_nand, mtd); nuc900_nand_command_lp()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
H A D | ptp.c | 39 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, e1000e_phc_adjfreq() 90 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, e1000e_phc_adjtime() 111 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, e1000e_phc_gettime() 136 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, e1000e_phc_settime() 169 struct e1000_adapter *adapter = container_of(work, struct e1000_adapter, e1000e_systim_overflow_work()
|