/linux-4.1.27/drivers/target/iscsi/ |
D | iscsi_target_stat.c | 70 struct iscsi_tiqn *tiqn = container_of(igrps, in iscsi_stat_instance_show_attr_inst() 94 struct iscsi_tiqn *tiqn = container_of(igrps, in iscsi_stat_instance_show_attr_portals() 111 struct iscsi_tiqn *tiqn = container_of(igrps, in iscsi_stat_instance_show_attr_sessions() 121 struct iscsi_tiqn *tiqn = container_of(igrps, in iscsi_stat_instance_show_attr_fail_sess() 139 struct iscsi_tiqn *tiqn = container_of(igrps, in iscsi_stat_instance_show_attr_fail_type() 151 struct iscsi_tiqn *tiqn = container_of(igrps, in iscsi_stat_instance_show_attr_fail_rem_name() 240 struct iscsi_tiqn *tiqn = container_of(igrps, in iscsi_stat_sess_err_show_attr_inst() 250 struct iscsi_tiqn *tiqn = container_of(igrps, in iscsi_stat_sess_err_show_attr_digest_errors() 261 struct iscsi_tiqn *tiqn = container_of(igrps, in iscsi_stat_sess_err_show_attr_cxn_errors() 272 struct iscsi_tiqn *tiqn = container_of(igrps, in iscsi_stat_sess_err_show_attr_format_errors() [all …]
|
D | iscsi_target_configfs.c | 53 struct iscsi_tpg_np *tpg_np = container_of(se_tpg_np, in lio_target_np_show_sctp() 74 struct iscsi_tpg_np *tpg_np = container_of(se_tpg_np, in lio_target_np_store_sctp() 129 struct iscsi_tpg_np *tpg_np = container_of(se_tpg_np, in lio_target_np_show_iser() 150 struct iscsi_tpg_np *tpg_np = container_of(se_tpg_np, in lio_target_np_store_iser() 298 tpg = container_of(se_tpg, struct iscsi_portal_group, tpg_se_tpg); in lio_target_call_addnptotpg() 340 tpg_np = container_of(se_tpg_np, struct iscsi_tpg_np, se_tpg_np); in 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, \ [all …]
|
/linux-4.1.27/drivers/target/ |
D | target_core_stat.c | 80 container_of(sgrps, struct se_device, dev_stat_grps); in target_stat_scsi_dev_show_attr_inst() 91 container_of(sgrps, struct se_device, dev_stat_grps); in target_stat_scsi_dev_show_attr_indx() 108 container_of(sgrps, struct se_device, dev_stat_grps); in target_stat_scsi_dev_show_attr_ports() 157 container_of(sgrps, struct se_device, dev_stat_grps); in target_stat_scsi_tgt_dev_show_attr_inst() 168 container_of(sgrps, struct se_device, dev_stat_grps); in target_stat_scsi_tgt_dev_show_attr_indx() 185 container_of(sgrps, struct se_device, dev_stat_grps); in target_stat_scsi_tgt_dev_show_attr_status() 198 container_of(sgrps, struct se_device, dev_stat_grps); in target_stat_scsi_tgt_dev_show_attr_non_access_lus() 214 container_of(sgrps, struct se_device, dev_stat_grps); in target_stat_scsi_tgt_dev_show_attr_resets() 265 container_of(sgrps, struct se_device, dev_stat_grps); in target_stat_scsi_lu_show_attr_inst() 276 container_of(sgrps, struct se_device, dev_stat_grps); in target_stat_scsi_lu_show_attr_dev() [all …]
|
D | target_core_fabric_configfs.c | 80 struct se_lun *lun = container_of(to_config_group(lun_ci), in target_fabric_mappedlun_link() 82 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), in target_fabric_mappedlun_link() 155 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), in target_fabric_mappedlun_unlink() 166 lun = container_of(to_config_group(lun_ci), struct se_lun, lun_group); in target_fabric_mappedlun_unlink() 235 struct se_lun_acl *lacl = container_of(to_config_group(item), in target_fabric_mappedlun_release() 333 struct se_node_acl *se_nacl = container_of(group, in target_fabric_make_mappedlun() 432 struct se_lun_acl *lacl = container_of(to_config_group(item), in target_fabric_drop_mappedlun() 459 struct se_node_acl *se_nacl = container_of(to_config_group(item), in target_fabric_nacl_base_release() 498 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_nodeacl() 540 struct se_node_acl *se_nacl = container_of(to_config_group(item), in target_fabric_drop_nodeacl() [all …]
|
/linux-4.1.27/security/tomoyo/ |
D | gc.c | 109 container_of(element, typeof(*ptr), head.list); in tomoyo_del_transition_control() 124 container_of(element, typeof(*ptr), head.list); in tomoyo_del_aggregator() 139 container_of(element, typeof(*ptr), head.list); in tomoyo_del_manager() 153 container_of(element, typeof(*acl), list); in tomoyo_del_acl() 159 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl() 166 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl() 174 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl() 182 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl() 192 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl() 202 container_of(acl, typeof(*entry), head); in tomoyo_del_acl() [all …]
|
D | group.c | 21 return container_of(a, struct tomoyo_path_group, head)->member_name == in tomoyo_same_path_group() 22 container_of(b, struct tomoyo_path_group, head)->member_name; in tomoyo_same_path_group() 36 return !memcmp(&container_of(a, struct tomoyo_number_group, head) in tomoyo_same_number_group() 38 &container_of(b, struct tomoyo_number_group, head) in tomoyo_same_number_group() 40 sizeof(container_of(a, struct tomoyo_number_group, head) in tomoyo_same_number_group() 55 const struct tomoyo_address_group *p1 = container_of(a, typeof(*p1), in tomoyo_same_address_group() 57 const struct tomoyo_address_group *p2 = container_of(b, typeof(*p2), in tomoyo_same_address_group()
|
D | file.c | 253 const struct tomoyo_path_acl *acl = container_of(ptr, typeof(*acl), in tomoyo_check_path_acl() 276 container_of(ptr, typeof(*acl), head); in tomoyo_check_path_number_acl() 296 container_of(ptr, typeof(*acl), head); in tomoyo_check_path2_acl() 315 container_of(ptr, typeof(*acl), head); in tomoyo_check_mkdev_acl() 338 const struct tomoyo_path_acl *p1 = container_of(a, typeof(*p1), head); in tomoyo_same_path_acl() 339 const struct tomoyo_path_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_path_acl() 356 u16 * const a_perm = &container_of(a, struct tomoyo_path_acl, head) in tomoyo_merge_path_acl() 359 const u16 b_perm = container_of(b, struct tomoyo_path_acl, head)->perm; in tomoyo_merge_path_acl() 407 const struct tomoyo_mkdev_acl *p1 = container_of(a, typeof(*p1), head); in tomoyo_same_mkdev_acl() 408 const struct tomoyo_mkdev_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_mkdev_acl() [all …]
|
D | environ.c | 21 container_of(ptr, typeof(*acl), head); in tomoyo_check_env_acl() 78 const struct tomoyo_env_acl *p1 = container_of(a, typeof(*p1), head); in tomoyo_same_env_acl() 79 const struct tomoyo_env_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_env_acl()
|
D | network.c | 194 const struct tomoyo_inet_acl *p1 = container_of(a, typeof(*p1), head); in tomoyo_same_inet_acl() 195 const struct tomoyo_inet_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_inet_acl() 213 const struct tomoyo_unix_acl *p1 = container_of(a, typeof(*p1), head); in tomoyo_same_unix_acl() 214 const struct tomoyo_unix_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_unix_acl() 234 &container_of(a, struct tomoyo_inet_acl, head)->perm; in tomoyo_merge_inet_acl() 236 const u8 b_perm = container_of(b, struct tomoyo_inet_acl, head)->perm; in tomoyo_merge_inet_acl() 260 &container_of(a, struct tomoyo_unix_acl, head)->perm; in tomoyo_merge_unix_acl() 262 const u8 b_perm = container_of(b, struct tomoyo_unix_acl, head)->perm; in tomoyo_merge_unix_acl() 422 container_of(ptr, typeof(*acl), head); in tomoyo_check_inet_acl() 452 container_of(ptr, typeof(*acl), head); in tomoyo_check_unix_acl()
|
/linux-4.1.27/drivers/misc/ |
D | tifm_core.c | 47 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_bus_match() 48 struct tifm_driver *fm_drv = container_of(drv, struct tifm_driver, in tifm_bus_match() 64 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_uevent() 74 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_probe() 75 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_probe() 96 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_remove() 97 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_remove() 115 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_suspend() 116 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_suspend() 126 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_resume() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
D | mthca_provider.h | 301 return container_of(ibucontext, struct mthca_ucontext, ibucontext); in to_mucontext() 306 return container_of(ibmr, struct mthca_fmr, ibmr); in to_mfmr() 311 return container_of(ibmr, struct mthca_mr, ibmr); in to_mmr() 316 return container_of(ibpd, struct mthca_pd, ibpd); in to_mpd() 321 return container_of(ibah, struct mthca_ah, ibah); in to_mah() 326 return container_of(ibcq, struct mthca_cq, ibcq); in to_mcq() 331 return container_of(ibsrq, struct mthca_srq, ibsrq); in to_msrq() 336 return container_of(ibqp, struct mthca_qp, ibqp); in to_mqp() 341 return container_of(qp, struct mthca_sqp, qp); in to_msqp()
|
/linux-4.1.27/drivers/clk/ |
D | clk-wm831x.c | 36 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_xtal_is_prepared() 45 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_xtal_recalc_rate() 78 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_is_prepared() 95 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_prepare() 112 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_unprepare() 125 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_recalc_rate() 162 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_set_rate() 187 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_get_parent() 242 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_is_prepared() 259 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_prepare() [all …]
|
D | clk-si5351.c | 225 container_of(hw, struct si5351_driver_data, xtal); in si5351_xtal_prepare() 234 container_of(hw, struct si5351_driver_data, xtal); in si5351_xtal_unprepare() 250 container_of(hw, struct si5351_driver_data, clkin); in si5351_clkin_prepare() 259 container_of(hw, struct si5351_driver_data, clkin); in si5351_clkin_unprepare() 273 container_of(hw, struct si5351_driver_data, clkin); in si5351_clkin_recalc_rate() 313 container_of(hw, struct si5351_hw_data, hw); in si5351_vxco_prepare() 392 container_of(hw, struct si5351_hw_data, hw); in si5351_pll_get_parent() 404 container_of(hw, struct si5351_hw_data, hw); in si5351_pll_set_parent() 422 container_of(hw, struct si5351_hw_data, hw); in si5351_pll_recalc_rate() 453 container_of(hw, struct si5351_hw_data, hw); in si5351_pll_round_rate() [all …]
|
D | clk-twl6040.c | 40 struct twl6040_clk *twl6040_clk = container_of(hw, struct twl6040_clk, in twl6040_bitclk_is_enabled() 47 struct twl6040_clk *twl6040_clk = container_of(hw, struct twl6040_clk, in twl6040_bitclk_prepare() 60 struct twl6040_clk *twl6040_clk = container_of(hw, struct twl6040_clk, in twl6040_bitclk_unprepare()
|
/linux-4.1.27/drivers/md/persistent-data/ |
D | dm-space-map-metadata.c | 265 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_destroy() 272 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_get_nr_blocks() 281 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_get_nr_free() 294 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_get_count() 334 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_count_is_more_than_one() 386 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_set_count() 404 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_inc_block() 421 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_dec_block() 438 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_new_block_() 463 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_new_block() [all …]
|
D | dm-space-map-disk.c | 36 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_destroy() 43 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_extend() 50 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_get_nr_blocks() 58 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_get_nr_free() 67 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_get_count() 92 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_set_count() 130 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_inc_block() 146 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_dec_block() 155 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_new_block() 176 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_commit() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/amso1100/ |
D | c2_provider.h | 134 return container_of(ibpd, struct c2_pd, ibpd); in to_c2pd() 139 return container_of(ibucontext, struct c2_ucontext, ibucontext); in to_c2ucontext() 144 return container_of(ibmr, struct c2_mr, ibmr); in to_c2mr() 150 return container_of(ibah, struct c2_ah, ibah); in to_c2ah() 155 return container_of(ibcq, struct c2_cq, ibcq); in to_c2cq() 160 return container_of(ibqp, struct c2_qp, ibqp); in to_c2qp()
|
/linux-4.1.27/fs/cachefiles/ |
D | interface.c | 38 cache = container_of(_cache, struct cachefiles_cache, cache); in cachefiles_alloc_object() 127 cache = container_of(_object->cache, struct cachefiles_cache, cache); in cachefiles_lookup_object() 128 parent = container_of(_object->parent, in cachefiles_lookup_object() 130 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_lookup_object() 164 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_lookup_complete() 183 container_of(_object, struct cachefiles_object, fscache); in cachefiles_grab_object() 209 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_update_object() 210 cache = container_of(object->fscache.cache, struct cachefiles_cache, in cachefiles_update_object() 259 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_drop_object() 264 cache = container_of(object->fscache.cache, in cachefiles_drop_object() [all …]
|
D | rdwr.c | 28 container_of(wait, struct cachefiles_one_read, monitor); in cachefiles_read_waiter() 56 object = container_of(monitor->op->op.object, in cachefiles_read_waiter() 156 op = container_of(_op, struct fscache_retrieval, op); in cachefiles_read_copier() 157 object = container_of(op->op.object, in cachefiles_read_copier() 401 object = container_of(op->op.object, in cachefiles_read_or_alloc_page() 403 cache = container_of(object->fscache.cache, in cachefiles_read_or_alloc_page() 692 object = container_of(op->op.object, in cachefiles_read_or_alloc_pages() 694 cache = container_of(object->fscache.cache, in cachefiles_read_or_alloc_pages() 804 object = container_of(op->op.object, in cachefiles_allocate_page() 806 cache = container_of(object->fscache.cache, in cachefiles_allocate_page() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/usnic/ |
D | usnic_ib.h | 84 return container_of(ibdev, struct usnic_ib_dev, ib_dev); in to_usdev() 90 return container_of(ibucontext, struct usnic_ib_ucontext, ibucontext); in to_ucontext() 96 return container_of(ibpd, struct usnic_ib_pd, ibpd); in to_upd() 102 return container_of(ibucontext, struct usnic_ib_ucontext, ibucontext); in to_uucontext() 108 return container_of(ibmr, struct usnic_ib_mr, ibmr); in to_umr()
|
D | usnic_ib_sysfs.c | 38 container_of(device, struct usnic_ib_dev, ib_dev.dev); in usnic_ib_show_fw_ver() 53 container_of(device, struct usnic_ib_dev, ib_dev.dev); in usnic_ib_show_board() 76 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); in usnic_ib_show_config() 135 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); in usnic_ib_show_iface() 147 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); in usnic_ib_show_max_vf() 160 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); in usnic_ib_show_qp_per_vf() 174 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); in usnic_ib_show_cq_per_vf() 212 qp_grp = container_of(kobj, struct usnic_ib_qp_grp, kobj); in usnic_ib_qpn_attr_show() 213 qpn_attr = container_of(attr, struct qpn_attribute, attr); in usnic_ib_qpn_attr_show()
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 195 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_get_fabric_proto_ident() 212 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_get_fabric_wwn() 221 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_get_tag() 238 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_get_pr_transport_id() 260 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_get_pr_transport_id_len() 282 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_parse_pr_out_transport_id() 300 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_check_demo_mode() 308 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_check_demo_mode_cache() 316 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_check_demo_write_protect() 324 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_check_prod_write_protect() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_sysfs.c | 217 container_of(kobj, struct qib_pportdata, pport_cc_kobj); in read_cc_table_bin() 267 container_of(kobj, struct qib_pportdata, pport_cc_kobj); in read_cc_setting_bin() 300 container_of(attr, struct qib_port_attr, attr); in qib_portattr_show() 302 container_of(kobj, struct qib_pportdata, pport_kobj); in qib_portattr_show() 311 container_of(attr, struct qib_port_attr, attr); in qib_portattr_store() 313 container_of(kobj, struct qib_pportdata, pport_kobj); in qib_portattr_store() 384 container_of(attr, struct qib_sl2vl_attr, attr); in sl2vl_attr_show() 386 container_of(kobj, struct qib_pportdata, sl2vl_kobj); in sl2vl_attr_show() 456 container_of(attr, struct qib_diagc_attr, attr); in diagc_attr_show() 458 container_of(kobj, struct qib_pportdata, diagc_kobj); in diagc_attr_show() [all …]
|
/linux-4.1.27/drivers/dma/sh/ |
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,\
|
D | shdmac.c | 289 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_start_xfer() 291 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_start_xfer() 303 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_channel_busy() 311 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_setup_xfer() 358 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_set_slave() 385 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_desc_setup() 400 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_halt() 407 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_chan_irq() 422 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_get_partial() 424 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_get_partial() [all …]
|
/linux-4.1.27/net/sunrpc/ |
D | svcauth_unix.c | 42 struct unix_domain *ud = container_of(dom, struct unix_domain, h); in svcauth_unix_domain_release() 98 struct cache_head *item = container_of(kref, struct cache_head, ref); in ip_map_put() 99 struct ip_map *im = container_of(item, struct ip_map,h); in ip_map_put() 113 struct ip_map *orig = container_of(corig, struct ip_map, h); in ip_map_match() 114 struct ip_map *new = container_of(cnew, struct ip_map, h); in ip_map_match() 120 struct ip_map *new = container_of(cnew, struct ip_map, h); in ip_map_init() 121 struct ip_map *item = container_of(citem, struct ip_map, h); in ip_map_init() 128 struct ip_map *new = container_of(cnew, struct ip_map, h); in update() 129 struct ip_map *item = container_of(citem, struct ip_map, h); in update() 148 struct ip_map *im = container_of(h, struct ip_map, h); in ip_map_request() [all …]
|
D | auth_generic.c | 69 struct auth_cred *acred = &container_of(cred, struct generic_cred, gc_base)->acred; in generic_bind_cred() 115 struct generic_cred *gcred = container_of(cred, struct generic_cred, gc_base); in generic_free_cred() 126 struct rpc_cred *cred = container_of(head, struct rpc_cred, cr_rcu); in generic_free_cred_callback() 153 struct generic_cred *gcred = container_of(cred, struct generic_cred, gc_base); in generic_match() 213 struct auth_cred *acred = &container_of(cred, struct generic_cred, in generic_key_timeout() 273 struct auth_cred *acred = &container_of(cred, struct generic_cred, in generic_key_to_expire()
|
D | xprtsock.c | 440 struct sock_xprt *transport = container_of(task->tk_rqstp->rq_xprt, struct sock_xprt, xprt); in xs_nospace_callback() 455 struct sock_xprt *transport = container_of(xprt, struct sock_xprt, xprt); in xs_nospace() 516 container_of(xprt, struct sock_xprt, xprt); in xs_local_send_request() 571 struct sock_xprt *transport = container_of(xprt, struct sock_xprt, xprt); in xs_udp_send_request() 634 struct sock_xprt *transport = container_of(xprt, struct sock_xprt, xprt); in xs_tcp_shutdown() 661 struct sock_xprt *transport = container_of(xprt, struct sock_xprt, xprt); in xs_tcp_send_request() 857 struct sock_xprt *transport = container_of(xprt, struct sock_xprt, xprt); in xs_close() 1042 struct sock_xprt *transport = container_of(xprt, struct sock_xprt, xprt); in xs_tcp_read_fraghdr() 1157 container_of(xprt, struct sock_xprt, xprt); in xs_tcp_read_common() 1236 container_of(xprt, struct sock_xprt, xprt); in xs_tcp_read_reply() [all …]
|
/linux-4.1.27/drivers/memstick/core/ |
D | memstick.c | 46 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_bus_match() 48 struct memstick_driver *ms_drv = container_of(drv, in memstick_bus_match() 65 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_uevent() 82 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_device_probe() 84 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_probe() 99 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_device_remove() 101 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_remove() 118 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_device_suspend() 120 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_suspend() 131 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_device_resume() [all …]
|
/linux-4.1.27/drivers/hid/ |
D | hid-lenovo.c | 190 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_fn_lock_show_cptkbd() 201 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_fn_lock_store_cptkbd() 220 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_sensitivity_show_cptkbd() 232 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_sensitivity_store_cptkbd() 310 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_press_to_select_show_tpkbd() 321 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_press_to_select_store_tpkbd() 340 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_dragging_show_tpkbd() 351 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_dragging_store_tpkbd() 370 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_release_to_select_show_tpkbd() 381 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_release_to_select_store_tpkbd() [all …]
|
D | hid-ntrig.c | 176 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in show_phys_width() 188 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in show_phys_height() 200 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in show_log_width() 212 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in show_log_height() 224 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in show_min_width() 236 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in set_min_width() 259 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in show_min_height() 271 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in set_min_height() 295 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in show_activate_slack() 305 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in set_activate_slack() [all …]
|
/linux-4.1.27/drivers/base/ |
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)
|
D | soc.c | 49 struct device *dev = container_of(kobj, struct device, kobj); in soc_attribute_mode() 50 struct soc_device *soc_dev = container_of(dev, struct soc_device, dev); in soc_attribute_mode() 73 struct soc_device *soc_dev = container_of(dev, struct soc_device, dev); in soc_info_get() 108 struct soc_device *soc_dev = container_of(dev, struct soc_device, dev); in soc_release()
|
D | attribute_container.c | 35 container_of(n, struct internal_container, node); in internal_container_klist_get() 42 container_of(n, struct internal_container, node); in internal_container_klist_put() 58 container_of(classdev, struct internal_container, classdev); in attribute_container_classdev_to_container() 116 = container_of(classdev, struct internal_container, classdev); in attribute_container_release() 186 n ? container_of(n, typeof(*pos), member) : \
|
/linux-4.1.27/drivers/staging/media/omap4iss/ |
D | iss_video.h | 101 container_of((__e)->pipe, struct iss_pipeline, pipe) 125 #define to_iss_buffer(buf) container_of(buf, struct iss_buffer, buffer) 178 #define to_iss_video(vdev) container_of(vdev, struct iss_video, video) 188 #define to_iss_video_fh(fh) container_of(fh, struct iss_video_fh, vfh) 190 container_of(q, struct iss_video_fh, queue)
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
D | ivtv-controls.c | 28 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); in ivtv_s_stream_vbi_fmt() 65 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); in ivtv_s_video_encoding() 80 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); in ivtv_s_audio_sampling_freq() 91 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); in ivtv_s_audio_mode() 132 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); in ivtv_g_volatile_ctrl() 146 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); in ivtv_s_ctrl()
|
/linux-4.1.27/tools/perf/util/ |
D | strlist.c | 19 struct strlist *strlist = container_of(rblist, struct strlist, rblist); in strlist__node_new() 49 struct strlist *slist = container_of(rblist, struct strlist, rblist); in strlist__node_delete() 50 struct str_node *snode = container_of(rb_node, struct str_node, rb_node); in strlist__node_delete() 58 struct str_node *snode = container_of(rb_node, struct str_node, rb_node); in strlist__node_cmp() 106 snode = container_of(rb_node, struct str_node, rb_node); in strlist__find() 170 snode = container_of(rb_node, struct str_node, rb_node); in strlist__entry()
|
D | intlist.c | 38 struct int_node *node = container_of(rb_node, struct int_node, rb_node); in intlist__node_delete() 46 struct int_node *node = container_of(rb_node, struct int_node, rb_node); in intlist__node_cmp() 76 node = container_of(rb_node, struct int_node, rb_node); in __intlist__findnew() 143 node = container_of(rb_node, struct int_node, rb_node); in intlist__entry()
|
/linux-4.1.27/fs/nfs/ |
D | dns_resolve.c | 76 new = container_of(cnew, struct nfs_dns_ent, h); in nfs_dns_ent_update() 77 key = container_of(ckey, struct nfs_dns_ent, h); in nfs_dns_ent_update() 89 new = container_of(cnew, struct nfs_dns_ent, h); in nfs_dns_ent_init() 90 key = container_of(ckey, struct nfs_dns_ent, h); in nfs_dns_ent_init() 107 item = container_of(ref, struct nfs_dns_ent, h.ref); in nfs_dns_ent_put() 134 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_request() 143 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_upcall() 158 a = container_of(ca, struct nfs_dns_ent, h); in nfs_dns_match() 159 b = container_of(cb, struct nfs_dns_ent, h); in nfs_dns_match() 176 item = container_of(h, struct nfs_dns_ent, h); in nfs_dns_show() [all …]
|
/linux-4.1.27/drivers/md/bcache/ |
D | request.c | 57 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_insert_keys() 117 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_invalidate() 145 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_insert_error() 176 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_insert_endio() 193 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_insert_start() 312 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_insert() 476 struct bbio *b = container_of(bio, struct bbio, bio); in bch_cache_read_endio() 478 struct search *s = container_of(cl, struct search, cl); in bch_cache_read_endio() 504 struct search *s = container_of(op, struct search, op); in cache_lookup_fn() 543 bio_key = &container_of(n, struct bbio, bio)->key; in cache_lookup_fn() [all …]
|
D | movinggc.c | 23 struct cache_set *c = container_of(buf, struct cache_set, in moving_pred() 39 struct moving_io *io = container_of(cl, struct moving_io, cl); in moving_io_destructor() 45 struct moving_io *io = container_of(cl, struct moving_io, cl); in write_moving_finish() 65 struct bbio *b = container_of(bio, struct bbio, bio); in read_moving_endio() 66 struct moving_io *io = container_of(bio->bi_private, in read_moving_endio() 97 struct moving_io *io = container_of(cl, struct moving_io, cl); in write_moving() 121 struct moving_io *io = container_of(cl, struct moving_io, cl); in read_moving_submit()
|
D | io.c | 54 struct bio_split_hook *s = container_of(cl, struct bio_split_hook, cl); in bch_bio_submit_split_done() 67 struct bio_split_hook *s = container_of(cl, struct bio_split_hook, cl); in bch_bio_submit_split_endio() 116 struct bbio *b = container_of(bio, struct bbio, bio); in bch_bbio_free() 135 struct bbio *b = container_of(bio, struct bbio, bio); in __bch_submit_bbio() 147 struct bbio *b = container_of(bio, struct bbio, bio); in bch_submit_bbio() 209 struct bbio *b = container_of(bio, struct bbio, bio); in bch_bbio_count_io_errors()
|
/linux-4.1.27/drivers/infiniband/hw/mlx5/ |
D | mlx5_ib.h | 100 return container_of(ibucontext, struct mlx5_ib_ucontext, ibucontext); in to_mucontext() 448 return container_of(mcq, struct mlx5_ib_cq, mcq); in to_mibcq() 453 return container_of(ibxrcd, struct mlx5_ib_xrcd, ibxrcd); in to_mxrcd() 458 return container_of(ibdev, struct mlx5_ib_dev, ib_dev); in to_mdev() 463 return container_of(ibfmr, struct mlx5_ib_fmr, ibfmr); in to_mfmr() 468 return container_of(ibcq, struct mlx5_ib_cq, ibcq); in to_mcq() 473 return container_of(mqp, struct mlx5_ib_qp, mqp); in to_mibqp() 478 return container_of(mmr, struct mlx5_ib_mr, mmr); in to_mibmr() 483 return container_of(ibpd, struct mlx5_ib_pd, ibpd); in to_mpd() 488 return container_of(ibsrq, struct mlx5_ib_srq, ibsrq); in to_msrq() [all …]
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
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); in source_to_sensor_info() 168 container_of(me->parent, struct fimc_md, media_dev); in entity_to_fimc_mdev() 173 return container_of(n, struct fimc_md, subdev_notifier); in notifier_to_fimc_md()
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
D | ispvideo.h | 106 container_of((__e)->pipe, struct isp_pipeline, pipe) 130 #define to_isp_buffer(buf) container_of(buf, struct isp_buffer, vb) 184 #define to_isp_video(vdev) container_of(vdev, struct isp_video, video) 194 #define to_isp_video_fh(fh) container_of(fh, struct isp_video_fh, vfh) 196 container_of(q, struct isp_video_fh, queue)
|
/linux-4.1.27/arch/mips/ar7/ |
D | gpio.c | 34 container_of(chip, struct ar7_gpio_chip, chip); in ar7_gpio_get_value() 43 container_of(chip, struct ar7_gpio_chip, chip); in titan_gpio_get_value() 54 container_of(chip, struct ar7_gpio_chip, chip); in ar7_gpio_set_value() 68 container_of(chip, struct ar7_gpio_chip, chip); in titan_gpio_set_value() 82 container_of(chip, struct ar7_gpio_chip, chip); in ar7_gpio_direction_input() 93 container_of(chip, struct ar7_gpio_chip, chip); in titan_gpio_direction_input() 109 container_of(chip, struct ar7_gpio_chip, chip); in ar7_gpio_direction_output() 122 container_of(chip, struct ar7_gpio_chip, chip); in titan_gpio_direction_output()
|
/linux-4.1.27/drivers/gpio/ |
D | gpio-dln2.c | 156 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); in dln2_gpio_request() 197 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); in dln2_gpio_free() 204 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); in dln2_gpio_get_direction() 214 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); in dln2_gpio_get() 229 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); in dln2_gpio_set() 237 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); in dln2_gpio_set_direction() 265 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); in dln2_gpio_direction_output() 278 struct dln2_gpio *dln2 = container_of(chip, struct dln2_gpio, gpio); in dln2_gpio_set_debounce() 305 struct dln2_gpio *dln2 = container_of(gc, struct dln2_gpio, gpio); in dln2_irq_unmask() 314 struct dln2_gpio *dln2 = container_of(gc, struct dln2_gpio, gpio); in dln2_irq_mask() [all …]
|
D | gpio-ucb1400.c | 18 gpio = container_of(gc, struct ucb1400_gpio, gc); in ucb1400_gpio_dir_in() 26 gpio = container_of(gc, struct ucb1400_gpio, gc); in ucb1400_gpio_dir_out() 35 gpio = container_of(gc, struct ucb1400_gpio, gc); in ucb1400_gpio_get() 42 gpio = container_of(gc, struct ucb1400_gpio, gc); in ucb1400_gpio_set()
|
D | gpio-lynxpoint.c | 100 struct lp_gpio *lg = container_of(chip, struct lp_gpio, chip); in lp_gpio_reg() 115 struct lp_gpio *lg = container_of(chip, struct lp_gpio, chip); in lp_gpio_request() 140 struct lp_gpio *lg = container_of(chip, struct lp_gpio, chip); in lp_gpio_free() 152 struct lp_gpio *lg = container_of(gc, struct lp_gpio, chip); in lp_irq_type() 194 struct lp_gpio *lg = container_of(chip, struct lp_gpio, chip); in lp_gpio_set() 210 struct lp_gpio *lg = container_of(chip, struct lp_gpio, chip); in lp_gpio_direction_input() 224 struct lp_gpio *lg = container_of(chip, struct lp_gpio, chip); in lp_gpio_direction_output() 241 struct lp_gpio *lg = container_of(gc, struct lp_gpio, chip); in lp_gpio_irq_handler() 276 struct lp_gpio *lg = container_of(gc, struct lp_gpio, chip); in lp_irq_enable() 289 struct lp_gpio *lg = container_of(gc, struct lp_gpio, chip); in lp_irq_disable()
|
D | gpio-pl061.c | 68 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_gpio_request() 78 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_gpio_free() 87 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_direction_input() 106 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_direction_output() 131 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_get_value() 138 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_set_value() 146 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_irq_type() 195 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_irq_handler() 214 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_irq_mask() 227 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_irq_unmask()
|
D | gpio-kempld.c | 69 = container_of(chip, struct kempld_gpio_data, chip); in kempld_gpio_get() 78 = container_of(chip, struct kempld_gpio_data, chip); in kempld_gpio_set() 89 = container_of(chip, struct kempld_gpio_data, chip); in kempld_gpio_direction_input() 103 = container_of(chip, struct kempld_gpio_data, chip); in kempld_gpio_direction_output() 117 = container_of(chip, struct kempld_gpio_data, chip); in kempld_gpio_get_direction()
|
D | gpio-octeon.c | 44 struct octeon_gpio *gpio = container_of(chip, struct octeon_gpio, chip); in octeon_gpio_dir_in() 52 struct octeon_gpio *gpio = container_of(chip, struct octeon_gpio, chip); in octeon_gpio_set() 61 struct octeon_gpio *gpio = container_of(chip, struct octeon_gpio, chip); in octeon_gpio_dir_out() 75 struct octeon_gpio *gpio = container_of(chip, struct octeon_gpio, chip); in octeon_gpio_get()
|
D | gpio-adp5520.c | 30 dev = container_of(chip, struct adp5520_gpio, gpio_chip); in adp5520_gpio_get_value() 49 dev = container_of(chip, struct adp5520_gpio, gpio_chip); in adp5520_gpio_set_value() 60 dev = container_of(chip, struct adp5520_gpio, gpio_chip); in adp5520_gpio_direction_input() 73 dev = container_of(chip, struct adp5520_gpio, gpio_chip); in adp5520_gpio_direction_output()
|
D | gpio-tc3589x.c | 39 return container_of(chip, struct tc3589x_gpio, chip); in to_tc3589x_gpio() 105 struct tc3589x_gpio *tc3589x_gpio = container_of(gc, struct tc3589x_gpio, chip); in tc3589x_gpio_irq_set_type() 133 struct tc3589x_gpio *tc3589x_gpio = container_of(gc, struct tc3589x_gpio, chip); in tc3589x_gpio_irq_lock() 141 struct tc3589x_gpio *tc3589x_gpio = container_of(gc, struct tc3589x_gpio, chip); in tc3589x_gpio_irq_sync_unlock() 170 struct tc3589x_gpio *tc3589x_gpio = container_of(gc, struct tc3589x_gpio, chip); in tc3589x_gpio_irq_mask() 181 struct tc3589x_gpio *tc3589x_gpio = container_of(gc, struct tc3589x_gpio, chip); in tc3589x_gpio_irq_unmask()
|
D | gpio-mpc5200.c | 74 struct mpc52xx_gpiochip *chip = container_of(mm_gc, in __mpc52xx_wkup_gpio_set() 103 struct mpc52xx_gpiochip *chip = container_of(mm_gc, in mpc52xx_wkup_gpio_dir_in() 128 struct mpc52xx_gpiochip *chip = container_of(mm_gc, in mpc52xx_wkup_gpio_dir_out() 239 struct mpc52xx_gpiochip *chip = container_of(mm_gc, in __mpc52xx_simple_gpio_set() 267 struct mpc52xx_gpiochip *chip = container_of(mm_gc, in mpc52xx_simple_gpio_dir_in() 291 struct mpc52xx_gpiochip *chip = container_of(mm_gc, in mpc52xx_simple_gpio_dir_out()
|
D | gpio-viperboard.c | 92 container_of(chip, struct vprbrd_gpio, gpioa); in vprbrd_gpioa_get() 143 container_of(chip, struct vprbrd_gpio, gpioa); in vprbrd_gpioa_set() 185 container_of(chip, struct vprbrd_gpio, gpioa); in vprbrd_gpioa_direction_input() 223 container_of(chip, struct vprbrd_gpio, gpioa); in vprbrd_gpioa_direction_output() 291 container_of(chip, struct vprbrd_gpio, gpiob); in vprbrd_gpiob_get() 323 container_of(chip, struct vprbrd_gpio, gpiob); in vprbrd_gpiob_set() 357 container_of(chip, struct vprbrd_gpio, gpiob); in vprbrd_gpiob_direction_input() 379 container_of(chip, struct vprbrd_gpio, gpiob); in vprbrd_gpiob_direction_output()
|
D | gpio-rdc321x.c | 50 gpch = container_of(chip, struct rdc321x_gpio, chip); in rdc_gpio_get_value() 68 gpch = container_of(chip, struct rdc321x_gpio, chip); in rdc_gpio_set_value_impl() 86 gpch = container_of(chip, struct rdc321x_gpio, chip); in rdc_gpio_set_value() 99 gpch = container_of(chip, struct rdc321x_gpio, chip); in rdc_gpio_config()
|
D | gpio-max730x.c | 53 struct max7301 *ts = container_of(chip, struct max7301, chip); in max7301_direction_input() 95 struct max7301 *ts = container_of(chip, struct max7301, chip); in max7301_direction_output() 123 struct max7301 *ts = container_of(chip, struct max7301, chip); in max7301_get() 151 struct max7301 *ts = container_of(chip, struct max7301, chip); in max7301_set()
|
D | gpio-xilinx.c | 96 container_of(mm_gc, struct xgpio_instance, mmchip); in xgpio_get() 119 container_of(mm_gc, struct xgpio_instance, mmchip); in xgpio_set() 151 container_of(mm_gc, struct xgpio_instance, mmchip); in xgpio_dir_in() 184 container_of(mm_gc, struct xgpio_instance, mmchip); in xgpio_dir_out() 215 container_of(mm_gc, struct xgpio_instance, mmchip); in xgpio_save_regs()
|
/linux-4.1.27/drivers/target/tcm_fc/ |
D | tfc_conf.c | 145 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_show_port_name() 156 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_store_port_name() 168 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_show_node_name() 179 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_store_node_name() 212 tpg = container_of(se_tpg, struct ft_tpg, se_tpg); in ft_add_acl() 231 struct ft_node_acl *acl = container_of(se_acl, in ft_del_acl() 237 tpg = container_of(se_tpg, struct ft_tpg, se_tpg); in ft_del_acl() 254 acl = container_of(se_acl, struct ft_node_acl, se_node_acl); in ft_acl_get() 286 struct ft_node_acl *acl = container_of(se_acl, in ft_tpg_release_fabric_acl() 326 ft_wwn = container_of(wwn, struct ft_lport_wwn, se_wwn); in ft_add_tpg() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
D | libcfs_mem.c | 54 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); in cfs_percpt_free() 115 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); in cfs_percpt_number() 130 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); in cfs_percpt_current() 144 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); in cfs_percpt_index() 160 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); in cfs_array_free()
|
/linux-4.1.27/drivers/iommu/ |
D | iova.c | 85 container_of(iovad->cached32_node, struct iova, node); in __get_cached_rbnode() 109 cached_iova = container_of(curr, struct iova, node); in __cached_rbnode_delete_update() 113 struct iova *iova = container_of(node, struct iova, node); in __cached_rbnode_delete_update() 153 struct iova *curr_iova = container_of(curr, struct iova, node); in __alloc_and_insert_iova_range() 199 struct iova *this = container_of(*entry, in __alloc_and_insert_iova_range() 229 struct iova *this = container_of(*new, struct iova, node); in iova_insert_rbtree() 300 struct iova *iova = container_of(node, struct iova, node); in find_iova() 371 struct iova *iova = container_of(node, struct iova, node); in put_iova_domain() 383 struct iova *iova = container_of(node, struct iova, node); in __is_range_overlap() 447 iova = container_of(node, struct iova, node); in reserve_iova() [all …]
|
/linux-4.1.27/drivers/media/radio/ |
D | radio-trust.c | 121 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_mute_volume() 131 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_stereo() 149 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_frequency() 165 container_of(ctrl->handler, struct radio_isa_card, hdl); in trust_s_ctrl() 166 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_ctrl() 185 struct trust *tr = container_of(isa, struct trust, isa); in trust_initialize()
|
D | radio-zoltrix.c | 88 struct zoltrix *zol = container_of(isa, struct zoltrix, isa); in zoltrix_s_mute_volume() 108 struct zoltrix *zol = container_of(isa, struct zoltrix, isa); in zoltrix_s_frequency() 165 struct zoltrix *zol = container_of(isa, struct zoltrix, isa); in zoltrix_g_rxsubchans() 182 struct zoltrix *zol = container_of(isa, struct zoltrix, isa); in zoltrix_g_signal()
|
/linux-4.1.27/include/crypto/internal/ |
D | hash.h | 138 return container_of(__crypto_hash_alg_common(alg), struct ahash_alg, in __crypto_ahash_alg() 151 return container_of(&inst->alg.halg.base, struct crypto_instance, alg); in ahash_crypto_instance() 157 return container_of(&inst->alg, struct ahash_instance, alg.halg.base); in ahash_instance() 208 return container_of(&inst->alg.base, struct crypto_instance, alg); in shash_crypto_instance() 214 return container_of(__crypto_shash_alg(&inst->alg), in shash_instance() 243 return container_of(tfm, struct crypto_shash, base); in __crypto_shash_cast()
|
/linux-4.1.27/drivers/tty/serial/ |
D | pnx8xxx_uart.c | 130 container_of(port, struct pnx8xxx_port, port); in pnx8xxx_stop_tx() 147 container_of(port, struct pnx8xxx_port, port); in pnx8xxx_start_tx() 164 container_of(port, struct pnx8xxx_port, port); in pnx8xxx_stop_rx() 181 container_of(port, struct pnx8xxx_port, port); in pnx8xxx_enable_ms() 321 container_of(port, struct pnx8xxx_port, port); in pnx8xxx_tx_empty() 329 container_of(port, struct pnx8xxx_port, port); in pnx8xxx_get_mctrl() 357 container_of(port, struct pnx8xxx_port, port); in pnx8xxx_break_ctl() 374 container_of(port, struct pnx8xxx_port, port); in pnx8xxx_startup() 409 container_of(port, struct pnx8xxx_port, port); in pnx8xxx_shutdown() 447 container_of(port, struct pnx8xxx_port, port); in pnx8xxx_set_termios() [all …]
|
D | max3100.c | 263 struct max3100_port *s = container_of(w, struct max3100_port, work); in max3100_work() 342 struct max3100_port *s = container_of(port, in max3100_enable_ms() 353 struct max3100_port *s = container_of(port, in max3100_start_tx() 364 struct max3100_port *s = container_of(port, in max3100_stop_rx() 380 struct max3100_port *s = container_of(port, in max3100_tx_empty() 393 struct max3100_port *s = container_of(port, in max3100_get_mctrl() 407 struct max3100_port *s = container_of(port, in max3100_set_mctrl() 429 struct max3100_port *s = container_of(port, in max3100_set_termios() 552 struct max3100_port *s = container_of(port, in max3100_shutdown() 587 struct max3100_port *s = container_of(port, in max3100_startup() [all …]
|
D | sa1100.c | 146 container_of(port, struct sa1100_port, port); in sa1100_stop_tx() 160 container_of(port, struct sa1100_port, port); in sa1100_start_tx() 174 container_of(port, struct sa1100_port, port); in sa1100_stop_rx() 187 container_of(port, struct sa1100_port, port); in sa1100_enable_ms() 331 container_of(port, struct sa1100_port, port); in sa1100_tx_empty() 351 container_of(port, struct sa1100_port, port); in sa1100_break_ctl() 368 container_of(port, struct sa1100_port, port); in sa1100_startup() 398 container_of(port, struct sa1100_port, port); in sa1100_shutdown() 421 container_of(port, struct sa1100_port, port); in sa1100_set_termios() 525 container_of(port, struct sa1100_port, port); in sa1100_type() [all …]
|
D | altera_uart.c | 106 struct altera_uart *pp = container_of(port, struct altera_uart, port); in altera_uart_get_mctrl() 118 struct altera_uart *pp = container_of(port, struct altera_uart, port); in altera_uart_set_mctrl() 130 struct altera_uart *pp = container_of(port, struct altera_uart, port); in altera_uart_start_tx() 138 struct altera_uart *pp = container_of(port, struct altera_uart, port); in altera_uart_stop_tx() 146 struct altera_uart *pp = container_of(port, struct altera_uart, port); in altera_uart_stop_rx() 154 struct altera_uart *pp = container_of(port, struct altera_uart, port); in altera_uart_break_ctl() 276 struct altera_uart *pp = container_of(port, struct altera_uart, port); in altera_uart_interrupt() 294 struct altera_uart *pp = container_of(port, struct altera_uart, port); in altera_uart_timer() 312 struct altera_uart *pp = container_of(port, struct altera_uart, port); in altera_uart_startup() 343 struct altera_uart *pp = container_of(port, struct altera_uart, port); in altera_uart_shutdown()
|
D | tilegx.c | 186 tile_uart = container_of(port, struct tile_uart_port, uart); in tilegx_interrupt() 214 tile_uart = container_of(port, struct tile_uart_port, uart); in tilegx_tx_empty() 264 tile_uart = container_of(port, struct tile_uart_port, uart); in tilegx_start_tx() 306 tile_uart = container_of(port, struct tile_uart_port, uart); in tilegx_stop_rx() 336 tile_uart = container_of(port, struct tile_uart_port, uart); in tilegx_startup() 411 tile_uart = container_of(port, struct tile_uart_port, uart); in tilegx_shutdown() 461 tile_uart = container_of(port, struct tile_uart_port, uart); in tilegx_set_termios() 580 tile_uart = container_of(port, struct tile_uart_port, uart); in tilegx_poll_get_char() 593 tile_uart = container_of(port, struct tile_uart_port, uart); in tilegx_poll_put_char()
|
D | ar933x_uart.c | 123 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_tx_empty() 146 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_start_tx() 154 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_stop_tx() 162 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_stop_rx() 171 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_break_ctl() 240 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_set_termios() 414 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_startup() 441 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_shutdown() 480 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_verify_port() 534 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_console_putchar()
|
D | amba-pl010.c | 79 container_of(port, struct uart_amba_port, port); in pl010_stop_tx() 90 container_of(port, struct uart_amba_port, port); in pl010_start_tx() 101 container_of(port, struct uart_amba_port, port); in pl010_stop_rx() 122 container_of(port, struct uart_amba_port, port); in pl010_enable_ms() 277 container_of(port, struct uart_amba_port, port); in pl010_tx_empty() 285 container_of(port, struct uart_amba_port, port); in pl010_get_mctrl() 303 container_of(port, struct uart_amba_port, port); in pl010_set_mctrl() 312 container_of(port, struct uart_amba_port, port); in pl010_break_ctl() 329 container_of(port, struct uart_amba_port, port); in pl010_startup() 370 container_of(port, struct uart_amba_port, port); in pl010_shutdown() [all …]
|
D | m32r_sio.c | 253 container_of(port, struct uart_sio_port, port); in m32r_sio_stop_tx() 265 container_of(port, struct uart_sio_port, port); in m32r_sio_start_tx() 280 container_of(port, struct uart_sio_port, port); in m32r_sio_start_tx() 292 container_of(port, struct uart_sio_port, port); in m32r_sio_stop_rx() 302 container_of(port, struct uart_sio_port, port); in m32r_sio_enable_ms() 590 container_of(port, struct uart_sio_port, port); in m32r_sio_tx_empty() 619 container_of(port, struct uart_sio_port, port); in m32r_sio_startup() 663 container_of(port, struct uart_sio_port, port); in m32r_sio_shutdown() 693 container_of(port, struct uart_sio_port, port); in m32r_sio_set_termios() 793 container_of(port, struct uart_sio_port, port); in m32r_sio_pm() [all …]
|
D | nwpserial.c | 62 up = container_of(port, struct nwpserial_port, port); in nwpserial_console_putchar() 171 up = container_of(port, struct nwpserial_port, port); in nwpserial_startup() 196 up = container_of(port, struct nwpserial_port, port); in nwpserial_shutdown() 224 up = container_of(port, struct nwpserial_port, port); in nwpserial_set_termios() 247 up = container_of(port, struct nwpserial_port, port); in nwpserial_stop_rx() 264 up = container_of(port, struct nwpserial_port, port); in nwpserial_start_tx() 298 up = container_of(port, struct nwpserial_port, port); in nwpserial_tx_empty()
|
D | vt8500_serial.c | 137 struct vt8500_port *vt8500_port = container_of(port, in vt8500_stop_tx() 147 struct vt8500_port *vt8500_port = container_of(port, in vt8500_stop_rx() 157 struct vt8500_port *vt8500_port = container_of(port, in vt8500_enable_ms() 238 struct vt8500_port *vt8500_port = container_of(port, in vt8500_start_tx() 318 container_of(port, struct vt8500_port, uart); in vt8500_set_baud_rate() 342 container_of(port, struct vt8500_port, uart); in vt8500_startup() 361 container_of(port, struct vt8500_port, uart); in vt8500_shutdown() 376 container_of(port, struct vt8500_port, uart); in vt8500_set_termios() 455 container_of(port, struct vt8500_port, uart); in vt8500_type()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_ucode.c | 56 container_of(hdr, struct mc_firmware_header_v1_0, header); in radeon_ucode_print_mc_hdr() 77 container_of(hdr, struct smc_firmware_header_v1_0, header); in radeon_ucode_print_smc_hdr() 95 container_of(hdr, struct gfx_firmware_header_v1_0, header); in radeon_ucode_print_gfx_hdr() 116 container_of(hdr, struct rlc_firmware_header_v1_0, header); in radeon_ucode_print_rlc_hdr() 143 container_of(hdr, struct sdma_firmware_header_v1_0, header); in radeon_ucode_print_sdma_hdr()
|
D | radeon_mn.c | 70 struct radeon_mn *rmn = container_of(work, struct radeon_mn, work); in radeon_mn_destroy() 105 struct radeon_mn *rmn = container_of(mn, struct radeon_mn, mn); in radeon_mn_release() 126 struct radeon_mn *rmn = container_of(mn, struct radeon_mn, mn); in radeon_mn_invalidate_range_start() 140 node = container_of(it, struct radeon_mn_node, it); in radeon_mn_invalidate_range_start() 256 node = container_of(it, struct radeon_mn_node, it); in radeon_mn_register() 315 node = container_of(head, struct radeon_mn_node, bos); in radeon_mn_unregister()
|
/linux-4.1.27/drivers/video/fbdev/msm/ |
D | mddi_client_toshiba.c | 69 struct panel_info *panel = container_of(panel_data, struct panel_info, in toshiba_request_vsync() 82 struct panel_info *panel = container_of(panel_data, struct panel_info, in toshiba_clear_vsync() 91 struct panel_info *panel = container_of(panel_data, struct panel_info, in toshiba_wait_vsync() 108 struct panel_info *panel = container_of(panel_data, struct panel_info, in toshiba_suspend() 128 struct panel_info *panel = container_of(panel_data, struct panel_info, in toshiba_resume() 145 struct panel_info *panel = container_of(panel_data, struct panel_info, in toshiba_blank() 156 struct panel_info *panel = container_of(panel_data, struct panel_info, in toshiba_unblank()
|
D | mddi_client_nt35399.c | 43 struct panel_info *panel = container_of(panel_data, struct panel_info, in nt35399_request_vsync() 56 struct panel_info *panel = container_of(panel_data, struct panel_info, in nt35399_wait_vsync() 75 struct panel_info *panel = container_of(panel_data, struct panel_info, in nt35399_suspend() 95 struct panel_info *panel = container_of(panel_data, struct panel_info, in nt35399_resume() 112 struct panel_info *panel = container_of(panel_data, struct panel_info, in nt35399_blank() 123 struct panel_info *panel = container_of(panel_data, struct panel_info, in nt35399_unblank()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_cmn.c | 131 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phyreg_enter() 137 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phyreg_exit() 143 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_radioreg_enter() 151 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_radioreg_exit() 589 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_detach() 616 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_get_phyversion() 627 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_get_encore() 633 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_get_coreflags() 639 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_anacore() 676 struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro); in wlc_phy_clk_bwbits() [all …]
|
/linux-4.1.27/drivers/bcma/ |
D | main.c | 32 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in manuf_show() 39 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in id_show() 46 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in rev_show() 53 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in class_show() 117 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in bcma_release_core_dev() 541 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_suspend() 562 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_resume() 590 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in bcma_bus_match() 591 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_match() 607 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in bcma_device_probe() [all …]
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ptp.c | 127 struct xgbe_prv_data *pdata = container_of(cc, in xgbe_cc_read() 139 struct xgbe_prv_data *pdata = container_of(info, in xgbe_adjfreq() 170 struct xgbe_prv_data *pdata = container_of(info, in xgbe_adjtime() 184 struct xgbe_prv_data *pdata = container_of(info, in xgbe_gettime() 204 struct xgbe_prv_data *pdata = container_of(info, in xgbe_settime()
|
/linux-4.1.27/drivers/infiniband/core/ |
D | umem_rbtree.c | 51 container_of(n, struct ib_umem_odp, interval_tree); in node_start() 64 container_of(n, struct ib_umem_odp, interval_tree); in node_last() 89 umem = container_of(node, struct ib_umem_odp, interval_tree); in rbt_ib_umem_for_each_in_range()
|
D | sysfs.c | 74 container_of(attr, struct port_attribute, attr); in port_attr_show() 75 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in port_attr_show() 288 container_of(attr, struct port_table_attribute, attr); in show_port_gid() 303 container_of(attr, struct port_table_attribute, attr); in show_port_pkey() 324 container_of(attr, struct port_table_attribute, attr); in show_pma_counter() 428 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in ib_port_release() 457 struct ib_device *dev = container_of(device, struct ib_device, dev); in ib_device_release() 465 struct ib_device *dev = container_of(device, struct ib_device, dev); in ib_device_uevent() 617 struct ib_device *dev = container_of(device, struct ib_device, dev); in show_node_type() 633 struct ib_device *dev = container_of(device, struct ib_device, dev); in show_sys_image_guid() [all …]
|
D | iwcm.c | 192 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in add_ref() 201 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in rem_ref() 288 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in iw_cm_disconnect() 353 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in destroy_cm_id() 418 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in iw_destroy_cm_id() 441 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in iw_cm_listen() 482 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in iw_cm_reject() 520 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in iw_cm_accept() 575 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in iw_cm_connect() 662 cm_id_priv = container_of(cm_id, struct iwcm_id_private, id); in cm_conn_req_handler() [all …]
|
/linux-4.1.27/drivers/media/pci/cx18/ |
D | cx18-controls.c | 35 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_stream_vbi_fmt() 94 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_video_encoding() 109 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_audio_sampling_freq() 120 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_audio_mode()
|
/linux-4.1.27/fs/nfsd/ |
D | nfs4idmap.c | 81 struct ent *new = container_of(cnew, struct ent, h); in ent_init() 82 struct ent *itm = container_of(citm, struct ent, h); in ent_init() 94 struct ent *map = container_of(ref, struct ent, h.ref); in ent_put() 131 struct ent *ent = container_of(ch, struct ent, h); in idtoname_request() 145 struct ent *a = container_of(ca, struct ent, h); in idtoname_match() 146 struct ent *b = container_of(cb, struct ent, h); in idtoname_match() 161 ent = container_of(h, struct ent, h); in idtoname_show() 273 return container_of(ch, struct ent, h); in idtoname_lookup() 284 return container_of(ch, struct ent, h); in idtoname_update() 304 struct ent *ent = container_of(ch, struct ent, h); in nametoid_request() [all …]
|
D | export.c | 42 struct svc_expkey *key = container_of(ref, struct svc_expkey, h.ref); in expkey_put() 56 struct svc_expkey *ek = container_of(h, struct svc_expkey, h); in expkey_request() 176 ek = container_of(h, struct svc_expkey, h); in expkey_show() 192 struct svc_expkey *orig = container_of(a, struct svc_expkey, h); in expkey_match() 193 struct svc_expkey *new = container_of(b, struct svc_expkey, h); in expkey_match() 205 struct svc_expkey *new = container_of(cnew, struct svc_expkey, h); in expkey_init() 206 struct svc_expkey *item = container_of(citem, struct svc_expkey, h); in expkey_init() 218 struct svc_expkey *new = container_of(cnew, struct svc_expkey, h); in expkey_update() 219 struct svc_expkey *item = container_of(citem, struct svc_expkey, h); in expkey_update() 269 return container_of(ch, struct svc_expkey, h); in svc_expkey_lookup() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
D | mlx4_ib.h | 560 return container_of(ibdev, struct mlx4_ib_dev, ib_dev); in to_mdev() 565 return container_of(ibucontext, struct mlx4_ib_ucontext, ibucontext); in to_mucontext() 570 return container_of(ibpd, struct mlx4_ib_pd, ibpd); in to_mpd() 575 return container_of(ibxrcd, struct mlx4_ib_xrcd, ibxrcd); in to_mxrcd() 580 return container_of(ibcq, struct mlx4_ib_cq, ibcq); in to_mcq() 585 return container_of(mcq, struct mlx4_ib_cq, mcq); in to_mibcq() 590 return container_of(ibmr, struct mlx4_ib_mr, ibmr); in to_mmr() 595 return container_of(ibmw, struct mlx4_ib_mw, ibmw); in to_mmw() 600 return container_of(ibfrpl, struct mlx4_ib_fast_reg_page_list, ibfrpl); in to_mfrpl() 605 return container_of(ibfmr, struct mlx4_ib_fmr, ibfmr); in to_mfmr() [all …]
|
D | sysfs.c | 50 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); in show_admin_alias_guid() 75 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); in store_admin_alias_guid() 116 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); in show_port_gid() 143 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); in show_phys_port_pkey() 381 struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj); in mlx4_port_release() 405 container_of(attr, struct port_attribute, attr); in port_attr_show() 406 struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj); in port_attr_show() 418 container_of(attr, struct port_attribute, attr); in port_attr_store() 419 struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj); in port_attr_store() 446 container_of(attr, struct port_table_attribute, attr); in show_port_pkey() [all …]
|
/linux-4.1.27/arch/mips/rb532/ |
D | gpio.c | 91 gpch = container_of(chip, struct rb532_gpio_chip, chip); in rb532_gpio_get() 103 gpch = container_of(chip, struct rb532_gpio_chip, chip); in rb532_gpio_set() 114 gpch = container_of(chip, struct rb532_gpio_chip, chip); in rb532_gpio_direction_input() 131 gpch = container_of(chip, struct rb532_gpio_chip, chip); in rb532_gpio_direction_output()
|
/linux-4.1.27/drivers/infiniband/hw/ehca/ |
D | ehca_mcast.c | 61 struct ehca_qp *my_qp = container_of(ibqp, struct ehca_qp, ib_qp); in ehca_attach_mcast() 62 struct ehca_shca *shca = container_of(ibqp->device, struct ehca_shca, in ehca_attach_mcast() 98 struct ehca_qp *my_qp = container_of(ibqp, struct ehca_qp, ib_qp); in ehca_detach_mcast() 99 struct ehca_shca *shca = container_of(ibqp->pd->device, in ehca_detach_mcast()
|
D | ehca_av.c | 92 struct ehca_shca *shca = container_of(pd->device, struct ehca_shca, in ehca_create_ah() 172 struct ehca_shca *shca = container_of(ah->pd->device, struct ehca_shca, in ehca_modify_ah() 226 av = container_of(ah, struct ehca_av, ib_ah); in ehca_modify_ah() 234 struct ehca_av *av = container_of(ah, struct ehca_av, ib_ah); in ehca_query_ah() 257 kmem_cache_free(av_cache, container_of(ah, struct ehca_av, ib_ah)); in ehca_destroy_ah()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
D | ptp.c | 39 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_adjfreq() 90 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_adjtime() 111 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_gettime() 136 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_settime() 169 struct e1000_adapter *adapter = container_of(work, struct e1000_adapter, in e1000e_systim_overflow_work()
|
/linux-4.1.27/drivers/gpu/drm/cirrus/ |
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); in cirrus_bo() 180 #define to_cirrus_obj(x) container_of(x, struct cirrus_gem_object, base)
|
/linux-4.1.27/arch/x86/mm/ |
D | pat_rbtree.c | 51 struct memtype *data = container_of(node, struct memtype, rb); in get_subtree_max_end() 83 struct memtype *data = container_of(node, struct memtype, rb); in RB_DECLARE_CALLBACKS() 115 match = container_of(node, struct memtype, rb); in memtype_rb_exact_match() 144 match = container_of(node, struct memtype, rb); in memtype_rb_check_conflict() 175 struct memtype *data = container_of(*node, struct memtype, rb); in memtype_rb_insert() 242 struct memtype *this = container_of(node, struct memtype, rb); in rbt_memtype_copy_nth_element()
|
/linux-4.1.27/drivers/media/pci/solo6x10/ |
D | solo6x10-core.c | 184 container_of(dev, struct solo_dev, dev); in eeprom_store() 214 container_of(dev, struct solo_dev, dev); in eeprom_show() 230 container_of(dev, struct solo_dev, dev); in p2m_timeouts_show() 240 container_of(dev, struct solo_dev, dev); in sdram_size_show() 250 container_of(dev, struct solo_dev, dev); in tw28xx_show() 263 container_of(dev, struct solo_dev, dev); in input_map_show() 298 container_of(dev, struct solo_dev, dev); in p2m_timeout_store() 314 container_of(dev, struct solo_dev, dev); in p2m_timeout_show() 324 container_of(dev, struct solo_dev, dev); in intervals_show() 343 container_of(dev, struct solo_dev, dev); in sdram_offsets_show() [all …]
|
/linux-4.1.27/drivers/usb/host/ |
D | hwa-hc.c | 100 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc); in __hwahc_op_set_num_dnts() 121 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc); in hwahc_op_reset() 149 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc); in hwahc_op_start() 200 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc); in hwahc_op_get_frame_number() 215 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc); in hwahc_op_urb_enqueue() 224 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc); in hwahc_op_urb_dequeue() 238 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc); in hwahc_op_endpoint_disable() 246 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc); in __hwahc_op_wusbhc_start() 309 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc); in __hwahc_op_wusbhc_stop() 337 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc); in __hwahc_op_bwa_set() [all …]
|
/linux-4.1.27/include/linux/ |
D | plist.h | 238 container_of(plist_first(head), type, member); \ 242 container_of(plist_first(head), type, member) 255 container_of(plist_last(head), type, member); \ 259 container_of(plist_last(head), type, member)
|
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)
|
D | configfs.h | 107 return item ? container_of(item,struct config_group,cg_item) : NULL; in to_config_group() 189 container_of(attr, struct _item##_attribute, attr); \ 202 container_of(attr, struct _item##_attribute, attr); \ 248 container_of(group, struct configfs_subsystem, su_group) : in to_configfs_subsystem()
|
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)
|
D | rio.h | 202 #define to_rio_dev(n) container_of(n, struct rio_dev, dev) 203 #define sw_to_rio_dev(n) container_of(n, struct rio_dev, rswitch[0]) 204 #define to_rio_mport(n) container_of(n, struct rio_mport, dev) 399 #define to_rio_driver(drv) container_of(drv,struct rio_driver, driver) 449 return container_of(ddev, struct rio_mport, dma); in dma_to_mport()
|
D | mic_bus.h | 102 return container_of(_dev, struct mbus_device, dev); in dev_to_mbus() 107 return container_of(drv, struct mbus_driver, driver); in drv_to_mbus()
|
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)
|
/linux-4.1.27/kernel/bpf/ |
D | arraymap.c | 65 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_lookup_elem() 77 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_get_next_key() 97 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_update_elem() 125 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_free()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
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)
|
D | vmwgfx_buffer.c | 504 container_of(bo->ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_bo_map_dma() 521 container_of(bo->ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_bo_unmap_dma() 541 container_of(bo->ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_bo_sg_table() 550 container_of(ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_ttm_bind() 584 container_of(ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_ttm_unbind() 607 container_of(ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_ttm_destroy() 625 container_of(ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_ttm_populate() 651 struct vmw_ttm_tt *vmw_tt = container_of(ttm, struct vmw_ttm_tt, in vmw_ttm_unpopulate() 691 vmw_be->dev_priv = container_of(bdev, struct vmw_private, bdev); in vmw_ttm_tt_create() 770 struct vmw_private *dev_priv = container_of(bdev, struct vmw_private, bdev); in vmw_ttm_io_mem_reserve()
|
D | vmwgfx_execbuf.c | 150 node = container_of(hash, struct vmw_resource_val_node, hash); in vmw_resource_val_add() 323 vval_buf = container_of(hash, struct vmw_validate_buffer, in vmw_bo_to_validate_list() 622 cmd = container_of(header, struct vmw_cid_cmd, header); in vmw_cmd_cid_check() 639 cmd = container_of(header, struct vmw_sid_cmd, header); in vmw_cmd_set_render_target_check() 676 cmd = container_of(header, struct vmw_sid_cmd, header); in vmw_cmd_surface_copy_check() 697 cmd = container_of(header, struct vmw_sid_cmd, header); in vmw_cmd_stretch_blt_check() 717 cmd = container_of(header, struct vmw_sid_cmd, header); in vmw_cmd_blt_surf_screen_check() 734 cmd = container_of(header, struct vmw_sid_cmd, header); in vmw_cmd_present_check() 1001 cmd = container_of(header, struct vmw_begin_gb_query_cmd, in vmw_cmd_begin_gb_query() 1025 cmd = container_of(header, struct vmw_begin_query_cmd, in vmw_cmd_begin_query() [all …]
|
D | vmwgfx_fence.c | 87 return container_of(fence->base.lock, struct vmw_fence_manager, lock); in fman_from_fence() 115 container_of(f, struct vmw_fence_obj, base); in vmw_fence_obj_destroy() 140 container_of(f, struct vmw_fence_obj, base); in vmw_fence_enable_signaling() 164 container_of(cb, struct vmwgfx_wait_cb, base); in vmwgfx_wait_cb() 174 container_of(f, struct vmw_fence_obj, base); in vmw_fence_wait() 247 container_of(work, struct vmw_fence_manager, work); in vmw_fence_work_func() 565 container_of(fence, struct vmw_user_fence, fence); in vmw_user_fence_destroy() 580 container_of(base, struct vmw_user_fence, base); in vmw_user_fence_base_release() 738 fence = &(container_of(base, struct vmw_user_fence, base)->fence); in vmw_fence_obj_wait_ioctl() 783 fence = &(container_of(base, struct vmw_user_fence, base)->fence); in vmw_fence_obj_signaled_ioctl() [all …]
|
/linux-4.1.27/drivers/target/loopback/ |
D | tcm_loop.c | 42 #define to_tcm_loop_hba(hba) container_of(hba, struct tcm_loop_hba, dev) 75 struct tcm_loop_cmd *tl_cmd = container_of(se_cmd, in tcm_loop_release_cmd() 115 container_of(work, struct tcm_loop_cmd, work); in tcm_loop_submission_work() 701 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, struct tcm_loop_tpg, in tcm_loop_check_prot_fabric_only() 724 struct tcm_loop_nacl *tl_nacl = container_of(se_nacl, in tcm_loop_tpg_release_fabric_acl() 747 struct tcm_loop_cmd *tl_cmd = container_of(se_cmd, in tcm_loop_get_task_tag() 755 struct tcm_loop_cmd *tl_cmd = container_of(se_cmd, in tcm_loop_get_cmd_state() 793 struct tcm_loop_cmd *tl_cmd = container_of(se_cmd, in tcm_loop_queue_data_in() 811 struct tcm_loop_cmd *tl_cmd = container_of(se_cmd, in tcm_loop_queue_status() 876 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, in tcm_loop_port_link() [all …]
|
/linux-4.1.27/include/scsi/ |
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/drivers/mmc/core/ |
D | pwrseq_emmc.c | 38 struct mmc_pwrseq_emmc *pwrseq = container_of(host->pwrseq, in mmc_pwrseq_emmc_reset() 46 struct mmc_pwrseq_emmc *pwrseq = container_of(host->pwrseq, in mmc_pwrseq_emmc_free() 62 struct mmc_pwrseq_emmc *pwrseq = container_of(this, in mmc_pwrseq_emmc_reset_nb()
|
D | pwrseq_simple.c | 42 struct mmc_pwrseq_simple *pwrseq = container_of(host->pwrseq, in mmc_pwrseq_simple_pre_power_on() 55 struct mmc_pwrseq_simple *pwrseq = container_of(host->pwrseq, in mmc_pwrseq_simple_post_power_on() 63 struct mmc_pwrseq_simple *pwrseq = container_of(host->pwrseq, in mmc_pwrseq_simple_power_off() 76 struct mmc_pwrseq_simple *pwrseq = container_of(host->pwrseq, in mmc_pwrseq_simple_free()
|
/linux-4.1.27/net/rds/ |
D | threads.c | 141 struct rds_connection *conn = container_of(work, struct rds_connection, c_conn_w.work); in rds_connect_worker() 161 struct rds_connection *conn = container_of(work, struct rds_connection, c_send_w.work); in rds_send_worker() 183 struct rds_connection *conn = container_of(work, struct rds_connection, c_recv_w.work); in rds_recv_worker() 205 struct rds_connection *conn = container_of(work, struct rds_connection, c_down_w); in rds_shutdown_worker()
|
/linux-4.1.27/net/caif/ |
D | caif_socket.c | 95 cf_sk = container_of(sk, struct caifsock, sk); in caif_read_lock() 102 cf_sk = container_of(sk, struct caifsock, sk); in caif_read_unlock() 115 cf_sk = container_of(sk, struct caifsock, sk); in caif_flow_ctrl() 129 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_queue_rcv_skb() 173 cf_sk = container_of(layr, struct caifsock, layer); in caif_sktrecv_cb() 186 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in cfsk_hold() 192 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in cfsk_put() 201 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in caif_ctrl_cb() 259 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_check_flow_release() 525 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_seqpkt_sendmsg() [all …]
|
/linux-4.1.27/drivers/gpu/drm/ast/ |
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); in ast_bo() 336 #define to_ast_obj(x) container_of(x, struct ast_gem_object, base)
|
/linux-4.1.27/drivers/acpi/ |
D | wakeup.c | 36 container_of(node, struct acpi_device, wakeup_list); in acpi_enable_wakeup_devices() 63 container_of(node, struct acpi_device, wakeup_list); in acpi_disable_wakeup_devices() 85 struct acpi_device *dev = container_of(node, in acpi_wakeup_device_init()
|
/linux-4.1.27/drivers/gpu/drm/mgag200/ |
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); in mgag200_bo()
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ptp.c | 38 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_adjust_freq() 75 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_adjust_time() 111 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_get_time() 139 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_set_time()
|
/linux-4.1.27/drivers/leds/ |
D | leds-lm3642.c | 185 container_of(led_cdev, struct lm3642_chip_data, cdev_indicator); in lm3642_torch_pin_store() 215 container_of(work, struct lm3642_chip_data, work_torch); in lm3642_deferred_torch_brightness_set() 226 container_of(cdev, struct lm3642_chip_data, cdev_torch); in lm3642_torch_brightness_set() 242 container_of(led_cdev, struct lm3642_chip_data, cdev_indicator); in lm3642_strobe_pin_store() 272 container_of(work, struct lm3642_chip_data, work_flash); in lm3642_deferred_strobe_brightness_set() 283 container_of(cdev, struct lm3642_chip_data, cdev_flash); in lm3642_strobe_brightness_set() 293 container_of(work, struct lm3642_chip_data, work_indicator); in lm3642_deferred_indicator_brightness_set() 304 container_of(cdev, struct lm3642_chip_data, cdev_indicator); in lm3642_indicator_brightness_set()
|
D | leds-lm355x.c | 322 container_of(work, struct lm355x_chip_data, work_torch); in lm355x_deferred_torch_brightness_set() 333 container_of(cdev, struct lm355x_chip_data, cdev_torch); in lm355x_torch_brightness_set() 343 container_of(work, struct lm355x_chip_data, work_flash); in lm355x_deferred_strobe_brightness_set() 354 container_of(cdev, struct lm355x_chip_data, cdev_flash); in lm355x_strobe_brightness_set() 364 container_of(work, struct lm355x_chip_data, work_indicator); in lm355x_deferred_indicator_brightness_set() 375 container_of(cdev, struct lm355x_chip_data, cdev_indicator); in lm355x_indicator_brightness_set() 389 container_of(led_cdev, struct lm355x_chip_data, cdev_indicator); in lm3556_indicator_pattern_store()
|
/linux-4.1.27/drivers/usb/dwc3/ |
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/drivers/clk/qcom/ |
D | clk-rcg.h | 111 #define to_clk_rcg(_hw) container_of(to_clk_regmap(_hw), struct clk_rcg, clkr) 146 container_of(to_clk_regmap(_hw), struct clk_dyn_rcg, clkr) 169 #define to_clk_rcg2(_hw) container_of(to_clk_regmap(_hw), struct clk_rcg2, clkr)
|
/linux-4.1.27/drivers/infiniband/hw/nes/ |
D | nes.h | 472 return container_of(ibdev, struct nes_ib_device, ibdev)->nesvnic; in to_nesvnic() 477 return container_of(ibpd, struct nes_pd, ibpd); in to_nespd() 482 return container_of(ibucontext, struct nes_ucontext, ibucontext); in to_nesucontext() 487 return container_of(ibmr, struct nes_mr, ibmr); in to_nesmr() 492 return container_of(ibfmr, struct nes_mr, ibfmr); in to_nesmr_from_ibfmr() 497 return container_of(ibmw, struct nes_mr, ibmw); in to_nesmw() 502 return container_of(nesmr, struct nes_fmr, nesmr); in to_nesfmr() 507 return container_of(ibcq, struct nes_cq, ibcq); in to_nescq() 512 return container_of(ibqp, struct nes_qp, ibqp); in to_nesqp()
|
/linux-4.1.27/drivers/scsi/osd/ |
D | osd_uld.c | 106 struct osd_uld_device *ould = container_of(dev, struct osd_uld_device, in osdname_show() 115 struct osd_uld_device *ould = container_of(dev, struct osd_uld_device, in systemid_show() 142 struct osd_uld_device *oud = container_of(inode->i_cdev, in osd_uld_open() 276 struct osd_uld_device *oud = container_of(dev, struct osd_uld_device, in _match_odi() 302 struct osd_uld_device *oud = container_of(dev, in osduld_info_lookup() 324 container_of(od, struct osd_dev_handle, od); in osduld_put_device() 348 container_of(od, struct osd_dev_handle, od); in osduld_device_info() 356 container_of(od, struct osd_dev_handle, od); in osduld_device_same() 396 struct osd_uld_device *oud = container_of(dev, struct osd_uld_device, in __remove()
|
/linux-4.1.27/drivers/media/platform/vsp1/ |
D | vsp1_video.h | 91 return container_of(e->pipe, struct vsp1_pipeline, pipe); in to_vsp1_pipeline() 107 return container_of(vb, struct vsp1_video_buffer, buf); in to_vsp1_video_buffer() 140 return container_of(vdev, struct vsp1_video, video); in to_vsp1_video()
|
/linux-4.1.27/drivers/w1/slaves/ |
D | w1_ds2780.c | 32 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2780_do_io() 57 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2780_io() 75 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2780_eeprom_cmd() 96 struct device *dev = container_of(kobj, struct device, kobj); in w1_slave_read()
|
D | w1_ds2781.c | 30 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2781_do_io() 55 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2781_io() 73 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2781_eeprom_cmd() 94 struct device *dev = container_of(kobj, struct device, kobj); in w1_slave_read()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.h | 52 return container_of(ibpd, struct iwch_pd, ibpd); in to_iwch_pd() 86 return container_of(ibmr, struct iwch_mr, ibmr); in to_iwch_mr() 98 return container_of(ibmw, struct iwch_mw, ibmw); in to_iwch_mw() 114 return container_of(ibcq, struct iwch_cq, ibcq); in to_iwch_cq() 179 return container_of(ibqp, struct iwch_qp, ibqp); in to_iwch_qp() 195 return container_of(c, struct iwch_ucontext, ibucontext); in to_iwch_ucontext()
|
/linux-4.1.27/drivers/scsi/isci/ |
D | phy.c | 83 struct isci_host *ihost = container_of(table, typeof(*ihost), phys[0]); in phy_to_host() 321 struct isci_phy *iphy = container_of(tmr, typeof(*iphy), sata_timer); in phy_sata_timeout() 1067 struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); in sci_phy_starting_initial_substate_enter() 1075 struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); in sci_phy_starting_await_sas_power_substate_enter() 1083 struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); in sci_phy_starting_await_sas_power_substate_exit() 1091 struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); in sci_phy_starting_await_sata_power_substate_enter() 1099 struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); in sci_phy_starting_await_sata_power_substate_exit() 1107 struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); in sci_phy_starting_await_sata_phy_substate_enter() 1114 struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); in sci_phy_starting_await_sata_phy_substate_exit() 1121 struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); in sci_phy_starting_await_sata_speed_substate_enter() [all …]
|
/linux-4.1.27/drivers/dma/ppc4xx/ |
D | adma.h | 19 container_of(chan, struct ppc440spe_adma_chan, common) 21 container_of(dev, struct ppc440spe_adma_device, common) 23 container_of(tx, struct ppc440spe_adma_desc_slot, async_tx)
|
/linux-4.1.27/drivers/dma/hsu/ |
D | hsu.h | 77 return container_of(vdesc, struct hsu_dma_desc, vdesc); in to_hsu_dma_desc() 95 return container_of(chan, struct hsu_dma_chan, vchan.chan); in to_hsu_dma_chan() 118 return container_of(ddev, struct hsu_dma, dma); in to_hsu_dma()
|
/linux-4.1.27/drivers/staging/android/ |
D | sync.c | 67 container_of(kref, struct sync_timeline, kref); in sync_timeline_free() 183 check = container_of(cb, struct sync_fence_cb, cb); in fence_check_cb_func() 320 wait = container_of(curr, struct sync_fence_waiter, work); in sync_fence_wake_up_wq() 411 struct sync_pt *pt = container_of(fence, struct sync_pt, base); in android_fence_get_driver_name() 419 struct sync_pt *pt = container_of(fence, struct sync_pt, base); in android_fence_get_timeline_name() 427 struct sync_pt *pt = container_of(fence, struct sync_pt, base); in android_fence_release() 446 struct sync_pt *pt = container_of(fence, struct sync_pt, base); in android_fence_signaled() 458 struct sync_pt *pt = container_of(fence, struct sync_pt, base); in android_fence_enable_signaling() 471 struct sync_pt *pt = container_of(fence, struct sync_pt, base); in android_fence_fill_driver_data() 482 struct sync_pt *pt = container_of(fence, struct sync_pt, base); in android_fence_value_str() [all …]
|
D | sync_debug.c | 140 container_of(pos, struct sync_pt, child_list); in sync_print_obj() 157 container_of(fence->cbs[i].sync_pt, in sync_print_fence() 170 waiter = container_of(pos, struct sync_fence_waiter, work); in sync_print_fence() 187 container_of(pos, struct sync_timeline, in sync_debugfs_show() 200 container_of(pos, struct sync_fence, sync_fence_list); in sync_debugfs_show()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 44 container_of(tc, struct mlx4_en_dev, cycles); in mlx4_en_read_clock() 119 struct mlx4_en_dev *mdev = container_of(ptp, struct mlx4_en_dev, in mlx4_en_phc_adjfreq() 148 struct mlx4_en_dev *mdev = container_of(ptp, struct mlx4_en_dev, in mlx4_en_phc_adjtime() 170 struct mlx4_en_dev *mdev = container_of(ptp, struct mlx4_en_dev, in mlx4_en_phc_gettime() 195 struct mlx4_en_dev *mdev = container_of(ptp, struct mlx4_en_dev, in mlx4_en_phc_settime()
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
D | drm.h | 93 return container_of(client, struct tegra_drm_client, base); in host1x_to_drm_client() 141 return container_of(client, struct tegra_dc, client); in host1x_client_to_dc() 146 return crtc ? container_of(crtc, struct tegra_dc, base) : NULL; in to_tegra_dc() 210 return container_of(e, struct tegra_output, encoder); in encoder_to_output() 215 return container_of(c, struct tegra_output, connector); in connector_to_output()
|
/linux-4.1.27/drivers/vfio/ |
D | virqfd.c | 48 struct virqfd *virqfd = container_of(wait, struct virqfd, wait); in virqfd_wakeup() 84 struct virqfd *virqfd = container_of(pt, struct virqfd, pt); in virqfd_ptable_queue_proc() 90 struct virqfd *virqfd = container_of(work, struct virqfd, shutdown); in virqfd_shutdown() 102 struct virqfd *virqfd = container_of(work, struct virqfd, inject); in virqfd_inject()
|
/linux-4.1.27/drivers/infiniband/hw/ocrdma/ |
D | ocrdma.h | 440 return container_of(ibdev, struct ocrdma_dev, ibdev); in get_ocrdma_dev() 446 return container_of(ibucontext, struct ocrdma_ucontext, ibucontext); in get_ocrdma_ucontext() 451 return container_of(ibpd, struct ocrdma_pd, ibpd); in get_ocrdma_pd() 456 return container_of(ibcq, struct ocrdma_cq, ibcq); in get_ocrdma_cq() 461 return container_of(ibqp, struct ocrdma_qp, ibqp); in get_ocrdma_qp() 466 return container_of(ibmr, struct ocrdma_mr, ibmr); in get_ocrdma_mr() 471 return container_of(ibah, struct ocrdma_ah, ibah); in get_ocrdma_ah() 476 return container_of(ibsrq, struct ocrdma_srq, ibsrq); in get_ocrdma_srq()
|
/linux-4.1.27/block/ |
D | blk-mq-sysfs.c | 40 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr); in blk_mq_sysfs_show() 41 ctx = container_of(kobj, struct blk_mq_ctx, kobj); in blk_mq_sysfs_show() 63 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr); in blk_mq_sysfs_store() 64 ctx = container_of(kobj, struct blk_mq_ctx, kobj); in blk_mq_sysfs_store() 86 entry = container_of(attr, struct blk_mq_hw_ctx_sysfs_entry, attr); in blk_mq_hw_sysfs_show() 87 hctx = container_of(kobj, struct blk_mq_hw_ctx, kobj); in blk_mq_hw_sysfs_show() 110 entry = container_of(attr, struct blk_mq_hw_ctx_sysfs_entry, attr); in blk_mq_hw_sysfs_store() 111 hctx = container_of(kobj, struct blk_mq_hw_ctx, kobj); in blk_mq_hw_sysfs_store()
|
/linux-4.1.27/drivers/char/hw_random/ |
D | octeon-rng.c | 31 struct octeon_rng *p = container_of(rng, struct octeon_rng, ops); in octeon_rng_init() 43 struct octeon_rng *p = container_of(rng, struct octeon_rng, ops); in octeon_rng_cleanup() 52 struct octeon_rng *p = container_of(rng, struct octeon_rng, ops); in octeon_rng_data_read()
|
D | mxc-rnga.c | 72 struct mxc_rng *mxc_rng = container_of(rng, struct mxc_rng, rng); in mxc_rnga_data_present() 89 struct mxc_rng *mxc_rng = container_of(rng, struct mxc_rng, rng); in mxc_rnga_data_read() 111 struct mxc_rng *mxc_rng = container_of(rng, struct mxc_rng, rng); in mxc_rnga_init() 134 struct mxc_rng *mxc_rng = container_of(rng, struct mxc_rng, rng); in mxc_rnga_cleanup()
|
/linux-4.1.27/drivers/usb/musb/ |
D | musb_gadget.h | 90 return req ? container_of(req, struct musb_request, request) : NULL; in to_musb_request() 129 return ep ? container_of(ep, struct musb_ep, end_point) : NULL; in to_musb_ep() 138 return container_of(queue->next, struct musb_request, list); in next_request()
|
/linux-4.1.27/include/target/ |
D | configfs_macros.h | 104 return (ci) ? container_of(to_config_group(ci), struct _item, \ 115 container_of(attr, struct _name##_attribute, attr); \ 130 container_of(attr, struct _name##_attribute, attr); \
|
/linux-4.1.27/fs/nilfs2/ |
D | sysfs.c | 48 struct the_nilfs *nilfs = container_of(kobj->parent, \ 51 struct nilfs_##name##_attr *a = container_of(attr, \ 60 struct the_nilfs *nilfs = container_of(kobj->parent, \ 63 struct nilfs_##name##_attr *a = container_of(attr, \ 77 struct the_nilfs *nilfs = container_of(kobj->parent, \ 161 container_of(kobj, struct nilfs_root, snapshot_kobj); in nilfs_snapshot_attr_show() 163 container_of(attr, struct nilfs_snapshot_attr, attr); in nilfs_snapshot_attr_show() 173 container_of(kobj, struct nilfs_root, snapshot_kobj); in nilfs_snapshot_attr_store() 175 container_of(attr, struct nilfs_snapshot_attr, attr); in nilfs_snapshot_attr_store() 182 struct nilfs_root *root = container_of(kobj, struct nilfs_root, in nilfs_snapshot_attr_release() [all …]
|
/linux-4.1.27/drivers/vhost/ |
D | scsi.c | 236 inflight = container_of(kref, struct vhost_scsi_inflight, kref); in vhost_scsi_done_inflight() 273 svq = container_of(vq, struct vhost_scsi_virtqueue, vq); in vhost_scsi_get_inflight() 302 struct vhost_scsi_tpg *tpg = container_of(se_tpg, in vhost_scsi_get_fabric_proto_ident() 324 struct vhost_scsi_tpg *tpg = container_of(se_tpg, in vhost_scsi_get_fabric_wwn() 333 struct vhost_scsi_tpg *tpg = container_of(se_tpg, in vhost_scsi_get_tpgt() 350 struct vhost_scsi_tpg *tpg = container_of(se_tpg, in vhost_scsi_get_pr_transport_id() 380 struct vhost_scsi_tpg *tpg = container_of(se_tpg, in vhost_scsi_get_pr_transport_id_len() 410 struct vhost_scsi_tpg *tpg = container_of(se_tpg, in vhost_scsi_parse_pr_out_transport_id() 436 struct vhost_scsi_tpg *tpg = container_of(se_tpg, in vhost_scsi_check_prot_fabric_only() 460 struct vhost_scsi_nacl *nacl = container_of(se_nacl, in vhost_scsi_release_fabric_acl() [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sysfs.c | 46 struct hwmon_attr *ixgbe_attr = container_of(attr, struct hwmon_attr, in ixgbe_hwmon_show_location() 56 struct hwmon_attr *ixgbe_attr = container_of(attr, struct hwmon_attr, in ixgbe_hwmon_show_temp() 75 struct hwmon_attr *ixgbe_attr = container_of(attr, struct hwmon_attr, in ixgbe_hwmon_show_cautionthresh() 89 struct hwmon_attr *ixgbe_attr = container_of(attr, struct hwmon_attr, in ixgbe_hwmon_show_maxopthresh()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/ |
D | list.h | 253 #ifndef container_of 254 #define container_of(ptr, type, member) \ macro 262 container_of(ptr, type, member) 295 (void *)container_of((ptr), typeof(*(sample)), member)
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
D | bttv-gpio.c | 143 struct bttv *btv = container_of(core, struct bttv, c); in bttv_gpio_inout() 157 struct bttv *btv = container_of(core, struct bttv, c); in bttv_gpio_read() 166 struct bttv *btv = container_of(core, struct bttv, c); in bttv_gpio_write() 173 struct bttv *btv = container_of(core, struct bttv, c); in bttv_gpio_bits()
|
/linux-4.1.27/fs/notify/fanotify/ |
D | fanotify.h | 40 return container_of(fse, struct fanotify_perm_event_info, fae.fse); in FANOTIFY_PE() 46 return container_of(fse, struct fanotify_event_info, fse); in FANOTIFY_E()
|
/linux-4.1.27/drivers/usb/gadget/ |
D | configfs.c | 312 return container_of(to_config_group(item), struct gadget_info, group); in to_gadget_info() 317 return container_of(to_config_group(item), struct gadget_strings, in to_gadget_strings() 324 return container_of(to_config_group(item), struct gadget_config_name, in to_gadget_config_name() 330 return container_of(to_config_group(item), struct config_usb_cfg, in to_config_usb_cfg() 337 return container_of(to_config_group(item), in to_usb_function_instance() 376 struct gadget_info *gi = container_of(cdev, struct gadget_info, cdev); in config_usb_cfg_link() 379 struct usb_function_instance *fi = container_of(group, in config_usb_cfg_link() 427 struct gadget_info *gi = container_of(cdev, struct gadget_info, cdev); in config_usb_cfg_unlink() 430 struct usb_function_instance *fi = container_of(group, in config_usb_cfg_unlink() 587 gi = container_of(group, struct gadget_info, functions_group); in function_make() [all …]
|
/linux-4.1.27/drivers/mtd/nand/ |
D | nuc900_nand.c | 83 nand = container_of(mtd, struct nuc900_nand, mtd); in nuc900_nand_read_byte() 96 nand = container_of(mtd, struct nuc900_nand, mtd); in nuc900_nand_read_buf() 108 nand = container_of(mtd, struct nuc900_nand, mtd); in nuc900_nand_write_buf() 130 nand = container_of(mtd, struct nuc900_nand, mtd); in nuc900_nand_devready() 142 nand = container_of(mtd, struct nuc900_nand, mtd); in nuc900_nand_command_lp()
|
/linux-4.1.27/drivers/misc/sgi-gru/ |
D | grutlbpurge.c | 226 struct gru_mm_struct *gms = container_of(mn, struct gru_mm_struct, in gru_invalidate_range_start() 240 struct gru_mm_struct *gms = container_of(mn, struct gru_mm_struct, in gru_invalidate_range_end() 253 struct gru_mm_struct *gms = container_of(mn, struct gru_mm_struct, in gru_invalidate_page() 263 struct gru_mm_struct *gms = container_of(mn, struct gru_mm_struct, in gru_release() 305 gms = container_of(mn, struct gru_mm_struct, ms_notifier); in gru_register_mmu_notifier()
|
/linux-4.1.27/sound/aoa/soundbus/ |
D | soundbus.h | 173 #define to_soundbus_device(d) container_of(d, struct soundbus_dev, ofdev.dev) 174 #define of_to_soundbus_device(d) container_of(d, struct soundbus_dev, ofdev) 197 #define to_soundbus_driver(drv) container_of(drv,struct soundbus_driver, driver)
|
/linux-4.1.27/drivers/pci/hotplug/ |
D | acpiphp.h | 127 return container_of(hp, struct acpiphp_context, hp); in to_acpiphp_context() 132 return container_of(func, struct acpiphp_context, func); in func_to_context() 152 return container_of(hp, struct acpiphp_root_context, hp); in to_acpiphp_root_context()
|
/linux-4.1.27/drivers/media/platform/soc_camera/ |
D | sh_mobile_csi2.c | 51 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); in sh_csi2_try_fmt() 99 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); in sh_csi2_s_fmt() 136 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); in sh_csi2_g_mbus_config() 195 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); in sh_csi2_s_mbus_config() 300 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); in sh_csi2_s_power() 380 struct sh_csi2 *priv = container_of(subdev, struct sh_csi2, subdev); in sh_csi2_remove()
|
/linux-4.1.27/drivers/gpu/drm/rcar-du/ |
D | rcar_du_plane.h | 38 return container_of(plane, struct rcar_du_plane, plane); in to_rcar_plane() 63 return container_of(state, struct rcar_du_plane_state, state); in to_rcar_du_plane_state()
|
D | rcar_du_encoder.h | 40 container_of(e, struct rcar_du_encoder, slave.base) 50 container_of(c, struct rcar_du_connector, connector)
|
/linux-4.1.27/drivers/tty/serial/jsm/ |
D | jsm_tty.c | 76 container_of(port, struct jsm_channel, uart_port); in jsm_tty_get_mctrl() 98 container_of(port, struct jsm_channel, uart_port); in jsm_tty_set_mctrl() 127 channel = container_of(port, struct jsm_channel, uart_port); in jsm_tty_write() 134 container_of(port, struct jsm_channel, uart_port); in jsm_tty_start_tx() 147 container_of(port, struct jsm_channel, uart_port); in jsm_tty_stop_tx() 160 container_of(port, struct jsm_channel, uart_port); in jsm_tty_send_xchar() 176 container_of(port, struct jsm_channel, uart_port); in jsm_tty_stop_rx() 185 container_of(port, struct jsm_channel, uart_port); in jsm_tty_break() 200 container_of(port, struct jsm_channel, uart_port); in jsm_tty_open() 280 container_of(port, struct jsm_channel, uart_port); in jsm_tty_close() [all …]
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
D | dma.c | 558 struct si_info *sii = container_of(sih, struct si_info, pub); in dma_attach() 749 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_detach() 845 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rxinit() 927 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rx() 1025 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rxfill() 1109 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rxreclaim() 1129 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_getvar() 1140 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txinit() 1173 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txsuspend() 1185 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txresume() [all …]
|
D | aiutils.c | 532 sii = container_of(sih, struct si_info, pub); in ai_detach() 549 sii = container_of(sih, struct si_info, pub); in ai_cc_reg() 615 struct si_info *sii = container_of(sih, struct si_info, pub); in ai_clkctl_init() 643 sii = container_of(sih, struct si_info, pub); in ai_clkctl_fast_pwrup_delay() 675 sii = container_of(sih, struct si_info, pub); in ai_clkctl_cc() 685 struct si_info *sii = container_of(sih, struct si_info, pub); in ai_epa_4313war() 700 sii = container_of(sih, struct si_info, pub); in ai_deviceremoved()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
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/gpu/drm/ttm/ |
D | ttm_agp_backend.c | 53 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); in ttm_agp_bind() 86 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); in ttm_agp_unbind() 99 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); in ttm_agp_destroy()
|
/linux-4.1.27/drivers/clk/hisilicon/ |
D | clkgate-separated.c | 54 sclk = container_of(hw, struct clkgate_separated, hw); in clkgate_separated_enable() 71 sclk = container_of(hw, struct clkgate_separated, hw); in clkgate_separated_disable() 86 sclk = container_of(hw, struct clkgate_separated, hw); in clkgate_separated_is_enabled()
|
/linux-4.1.27/fs/exofs/ |
D | sys.c | 36 struct exofs_dev *edp = container_of(kobj, struct exofs_dev, ed_kobj); in odev_attr_show() 37 struct odev_attr *a = container_of(attr, struct odev_attr, attr); in odev_attr_show() 45 struct exofs_dev *edp = container_of(kobj, struct exofs_dev, ed_kobj); in odev_attr_store() 46 struct odev_attr *a = container_of(attr, struct odev_attr, attr); in odev_attr_store()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_hwmon.c | 47 struct hwmon_attr *igb_attr = container_of(attr, struct hwmon_attr, in igb_hwmon_show_location() 57 struct hwmon_attr *igb_attr = container_of(attr, struct hwmon_attr, in igb_hwmon_show_temp() 76 struct hwmon_attr *igb_attr = container_of(attr, struct hwmon_attr, in igb_hwmon_show_cautionthresh() 90 struct hwmon_attr *igb_attr = container_of(attr, struct hwmon_attr, in igb_hwmon_show_maxopthresh()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
D | rtl871x_pwrctrl.c | 141 struct pwrctrl_priv *pwrpriv = container_of(work, in SetPSModeWorkItemCallback() 143 struct _adapter *padapter = container_of(pwrpriv, in SetPSModeWorkItemCallback() 155 struct pwrctrl_priv *pwrpriv = container_of(work, in rpwm_workitem_callback() 157 struct _adapter *padapter = container_of(pwrpriv, in rpwm_workitem_callback()
|
/linux-4.1.27/drivers/net/ethernet/freescale/fs_enet/ |
D | mii-bitbang.c | 60 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); in mdio_dir() 73 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); in mdio_read() 79 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); in mdio() 92 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); in mdc()
|
/linux-4.1.27/arch/arm/mach-imx/ |
D | clk-busy.c | 41 struct clk_divider *div = container_of(hw, struct clk_divider, hw); in to_clk_busy_divider() 43 return container_of(div, struct clk_busy_divider, div); in to_clk_busy_divider() 126 struct clk_mux *mux = container_of(hw, struct clk_mux, hw); in to_clk_busy_mux() 128 return container_of(mux, struct clk_busy_mux, mux); in to_clk_busy_mux()
|
/linux-4.1.27/Documentation/driver-model/ |
D | design-patterns.txt | 10 2. container_of() 66 2. container_of() 80 struct foo *foo = container_of(work, struct foo, offload); 106 container_of() is a macro defined in <linux/kernel.h> 108 What container_of() does is to obtain a pointer to the containing struct from
|
/linux-4.1.27/drivers/fmc/ |
D | fmc-core.c | 72 struct fmc_device *fmc = container_of(dev, struct fmc_device, dev); in fmc_release() 89 dev = container_of(kobj, struct device, kobj); in fmc_read_eeprom() 90 fmc = container_of(dev, struct fmc_device, dev); in fmc_read_eeprom() 109 dev = container_of(kobj, struct device, kobj); in fmc_write_eeprom() 110 fmc = container_of(dev, struct fmc_device, dev); in fmc_write_eeprom()
|
/linux-4.1.27/sound/soc/fsl/ |
D | p1022_rdk.c | 96 container_of(card, struct machine_data, card); in p1022_rdk_machine_probe() 136 container_of(rtd->card, struct machine_data, card); in p1022_rdk_startup() 168 container_of(card, struct machine_data, card); in p1022_rdk_machine_remove() 207 container_of(dev, struct platform_device, dev); in p1022_rdk_probe() 334 container_of(card, struct machine_data, card); in p1022_rdk_remove()
|
/linux-4.1.27/drivers/crypto/qce/ |
D | sha.h | 73 struct ahash_alg *alg = container_of(crypto_hash_alg_common(ahash), in to_ahash_tmpl() 76 return container_of(alg, struct qce_alg_template, alg.ahash); in to_ahash_tmpl()
|
/linux-4.1.27/net/sunrpc/auth_gss/ |
D | auth_gss.c | 139 struct gss_cred *gss_cred = container_of(cred, struct gss_cred, gc_base); in gss_cred_set_ctx() 182 struct gss_cred *gss_cred = container_of(cred, struct gss_cred, gc_base); in gss_cred_get_ctx() 421 struct gss_cred *gss_cred = container_of(task->tk_rqstp->rq_cred, in gss_upcall_callback() 532 struct gss_cred *gss_cred = container_of(cred, in gss_setup_upcall() 561 struct gss_auth *gss_auth = container_of(cred->cr_auth, in gss_refresh_upcall() 563 struct gss_cred *gss_cred = container_of(cred, in gss_refresh_upcall() 826 struct gss_upcall_msg *gss_msg = container_of(msg, struct gss_upcall_msg, msg); in gss_pipe_destroy_msg() 910 gss_pipe = container_of(pdo, struct gss_pipe, pdo); in gss_pipe_match_pdo() 947 return container_of(pdo, struct gss_pipe, pdo); in gss_pipe_get() 965 struct gss_pipe *p = container_of(kref, struct gss_pipe, kref); in __gss_pipe_release() [all …]
|
/linux-4.1.27/drivers/clk/tegra/ |
D | clk.h | 37 container_of(_hw, struct tegra_clk_sync_source, hw) 77 #define to_clk_frac_div(_hw) container_of(_hw, struct tegra_clk_frac_div, hw) 247 #define to_clk_pll(_hw) container_of(_hw, struct tegra_clk_pll, hw) 327 #define to_clk_pll_out(_hw) container_of(_hw, struct tegra_clk_pll_out, hw) 387 container_of(_hw, struct tegra_clk_periph_gate, hw) 427 #define to_clk_periph(_hw) container_of(_hw, struct tegra_clk_periph, hw) 540 #define to_clk_super_mux(_hw) container_of(_hw, struct tegra_clk_super_mux, hw)
|
/linux-4.1.27/drivers/gpu/drm/bochs/ |
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); in bochs_bo() 115 return container_of(gem, struct bochs_bo, gem); in gem_to_bochs_bo()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | nrs_fifo.c | 171 struct ptlrpc_request *req = container_of(nrq, in nrs_fifo_req_get() 199 head = container_of(nrs_request_resource(nrq), struct nrs_fifo_head, in nrs_fifo_req_add() 236 struct ptlrpc_request *req = container_of(nrq, struct ptlrpc_request, in nrs_fifo_req_stop()
|
/linux-4.1.27/include/sound/ |
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/mn10300/kernel/ |
D | mn10300-serial.c | 777 container_of(_port, struct mn10300_serial_port, uart); in mn10300_serial_tx_empty() 792 container_of(_port, struct mn10300_serial_port, uart); in mn10300_serial_set_mctrl() 803 container_of(_port, struct mn10300_serial_port, uart); in mn10300_serial_get_mctrl() 819 container_of(_port, struct mn10300_serial_port, uart); in mn10300_serial_stop_tx() 836 container_of(_port, struct mn10300_serial_port, uart); in mn10300_serial_start_tx() 861 container_of(_port, struct mn10300_serial_port, uart); in mn10300_serial_send_xchar() 883 container_of(_port, struct mn10300_serial_port, uart); in mn10300_serial_stop_rx() 902 container_of(_port, struct mn10300_serial_port, uart); in mn10300_serial_enable_ms() 932 container_of(_port, struct mn10300_serial_port, uart); in mn10300_serial_break_ctl() 956 container_of(_port, struct mn10300_serial_port, uart); in mn10300_serial_startup() [all …]
|
/linux-4.1.27/arch/arm/mach-rpc/ |
D | dma.c | 141 struct iomd_dma *idma = container_of(dma, struct iomd_dma, dma); in iomd_request_dma() 149 struct iomd_dma *idma = container_of(dma, struct iomd_dma, dma); in iomd_free_dma() 156 struct iomd_dma *idma = container_of(dma, struct iomd_dma, dma); in iomd_enable_dma() 190 struct iomd_dma *idma = container_of(dma, struct iomd_dma, dma); in iomd_disable_dma() 263 struct floppy_dma *fdma = container_of(dma, struct floppy_dma, dma); in floppy_enable_dma() 297 struct floppy_dma *fdma = container_of(dma, struct floppy_dma, dma); in floppy_disable_dma()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | f_printer.c | 100 return container_of(f, struct printer_dev, function); in func_to_printer() 350 dev = container_of(inode->i_cdev, struct printer_dev, printer_cdev); in printer_open() 395 req = container_of(dev->rx_reqs.next, in setup_rx_reqs() 491 req = container_of(dev->rx_buffers.next, in printer_read() 606 req = container_of(dev->tx_reqs.next, struct usb_request, in printer_write() 863 req = container_of(dev->rx_buffers.next, struct usb_request, in printer_soft_reset() 870 req = container_of(dev->rx_buffers.next, struct usb_request, in printer_soft_reset() 877 req = container_of(dev->tx_reqs_active.next, in printer_soft_reset() 1103 req = container_of(dev->rx_reqs.next, struct usb_request, list); in printer_func_bind() 1110 req = container_of(dev->tx_reqs.next, struct usb_request, list); in printer_func_bind() [all …]
|
/linux-4.1.27/drivers/ptp/ |
D | ptp_ixp46x.c | 141 struct ixp_clock *ixp_clock = container_of(ptp, struct ixp_clock, caps); in ptp_ixp_adjfreq() 164 struct ixp_clock *ixp_clock = container_of(ptp, struct ixp_clock, caps); in ptp_ixp_adjtime() 183 struct ixp_clock *ixp_clock = container_of(ptp, struct ixp_clock, caps); in ptp_ixp_gettime() 202 struct ixp_clock *ixp_clock = container_of(ptp, struct ixp_clock, caps); in ptp_ixp_settime() 220 struct ixp_clock *ixp_clock = container_of(ptp, struct ixp_clock, caps); in ptp_ixp_enable()
|
/linux-4.1.27/drivers/dma/ioat/ |
D | dma.h | 34 #define to_ioatdma_device(dev) container_of(dev, struct ioatdma_device, common) 35 #define to_ioat_desc(lh) container_of(lh, struct ioat_desc_sw, node) 36 #define tx_to_ioat_desc(tx) container_of(tx, struct ioat_desc_sw, txd) 158 return container_of(c, struct ioat_chan_common, common); in to_chan_common() 165 return container_of(chan, struct ioat_dma_chan, base); in to_ioat_chan()
|
/linux-4.1.27/tools/lib/lockdep/uinclude/linux/ |
D | kernel.h | 10 #ifndef container_of 11 #define container_of(ptr, type, member) ({ \ macro
|
/linux-4.1.27/drivers/media/platform/xilinx/ |
D | xilinx-dma.h | 53 return container_of(e->pipe, struct xvip_pipeline, pipe); in to_xvip_pipeline() 103 #define to_xvip_dma(vdev) container_of(vdev, struct xvip_dma, video)
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
D | pvrusb2-sysfs.c | 93 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_name); in show_name() 108 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_type); in show_type() 129 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_min); in show_min() 142 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_max); in show_max() 157 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_def); in show_def() 176 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_val); in show_val_norm() 195 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_custom); in show_val_custom() 213 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_enum); in show_enum() 237 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_bits); in show_bits() 279 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_val); in store_val_norm() [all …]
|
/linux-4.1.27/drivers/target/sbp/ |
D | sbp_target.c | 676 struct sbp_session *sess = container_of(work, struct sbp_session, in session_maintenance_work() 892 container_of(work, struct sbp_target_request, work); in tgt_agent_process_work() 950 container_of(work, struct sbp_target_agent, work); in tgt_agent_fetch_work() 1462 container_of(work, struct sbp_management_agent, work); in sbp_mgt_agent_process() 1698 struct sbp_tpg *tpg = container_of(se_tpg, struct sbp_tpg, se_tpg); in sbp_get_fabric_wwn() 1706 struct sbp_tpg *tpg = container_of(se_tpg, struct sbp_tpg, se_tpg); in sbp_get_tag() 1733 container_of(se_nacl, struct sbp_nacl, se_node_acl); in sbp_release_fabric_acl() 1744 struct sbp_target_request *req = container_of(se_cmd, in sbp_release_cmd() 1767 struct sbp_target_request *req = container_of(se_cmd, in sbp_write_pending() 1800 struct sbp_target_request *req = container_of(se_cmd, in sbp_get_task_tag() [all …]
|
/linux-4.1.27/arch/s390/include/asm/ |
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/drivers/pinctrl/spear/ |
D | pinctrl-plgpio.c | 110 struct plgpio *plgpio = container_of(chip, struct plgpio, chip); in plgpio_direction_input() 130 struct plgpio *plgpio = container_of(chip, struct plgpio, chip); in plgpio_direction_output() 162 struct plgpio *plgpio = container_of(chip, struct plgpio, chip); in plgpio_get_value() 179 struct plgpio *plgpio = container_of(chip, struct plgpio, chip); in plgpio_set_value() 199 struct plgpio *plgpio = container_of(chip, struct plgpio, chip); in plgpio_request() 251 struct plgpio *plgpio = container_of(chip, struct plgpio, chip); in plgpio_free() 283 struct plgpio *plgpio = container_of(gc, struct plgpio, chip); in plgpio_irq_disable() 302 struct plgpio *plgpio = container_of(gc, struct plgpio, chip); in plgpio_irq_enable() 321 struct plgpio *plgpio = container_of(gc, struct plgpio, chip); in plgpio_irq_set_type() 362 struct plgpio *plgpio = container_of(gc, struct plgpio, chip); in plgpio_irq_handler()
|
/linux-4.1.27/drivers/reset/ |
D | reset-socfpga.c | 38 struct socfpga_reset_data *data = container_of(rcdev, in socfpga_reset_assert() 59 struct socfpga_reset_data *data = container_of(rcdev, in socfpga_reset_deassert() 82 struct socfpga_reset_data *data = container_of(rcdev, in socfpga_reset_status()
|
/linux-4.1.27/arch/mips/include/asm/ |
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/arch/parisc/include/asm/ |
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/kernel/locking/ |
D | mutex.c | 328 ww = container_of(lock, struct ww_mutex, base); in mutex_optimistic_spin() 355 ww = container_of(lock, struct ww_mutex, base); in mutex_optimistic_spin() 483 struct ww_mutex *ww = container_of(lock, struct ww_mutex, base); in __ww_mutex_lock_check_stamp() 515 struct ww_mutex *ww = container_of(lock, struct ww_mutex, base); in __mutex_lock_common() 598 struct ww_mutex *ww = container_of(lock, struct ww_mutex, base); in __mutex_lock_common() 761 struct mutex *lock = container_of(lock_count, struct mutex, count); in __mutex_unlock_slowpath() 820 struct mutex *lock = container_of(lock_count, struct mutex, count); in __mutex_lock_slowpath() 863 struct mutex *lock = container_of(lock_count, struct mutex, count); in __mutex_trylock_slowpath()
|
/linux-4.1.27/drivers/usb/gadget/legacy/ |
D | tcm_usb_gadget.c | 36 return container_of(f, struct f_uas, function); in to_f_uas() 1014 struct usbg_cmd *cmd = container_of(se_cmd, struct usbg_cmd, in usbg_send_status_response() 1026 struct usbg_cmd *cmd = container_of(se_cmd, struct usbg_cmd, in usbg_send_write_request() 1038 struct usbg_cmd *cmd = container_of(se_cmd, struct usbg_cmd, in usbg_send_read_response() 1050 struct usbg_cmd *cmd = container_of(work, struct usbg_cmd, work); in usbg_cmd_work() 1166 struct usbg_cmd *cmd = container_of(work, struct usbg_cmd, work); in bot_cmd_work() 1279 struct usbg_tpg *tpg = container_of(se_tpg, in usbg_get_fabric_proto_ident() 1296 struct usbg_tpg *tpg = container_of(se_tpg, in usbg_get_fabric_wwn() 1305 struct usbg_tpg *tpg = container_of(se_tpg, in usbg_get_tag() 1322 struct usbg_tpg *tpg = container_of(se_tpg, in usbg_get_pr_transport_id() [all …]
|
/linux-4.1.27/fs/notify/dnotify/ |
D | dnotify.c | 57 struct dnotify_mark *dn_mark = container_of(fsn_mark, in dnotify_recalc_inode_mask() 103 dn_mark = container_of(inode_mark, struct dnotify_mark, fsn_mark); in dnotify_handle_event() 130 struct dnotify_mark *dn_mark = container_of(fsn_mark, in dnotify_free_mark() 165 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark); in dnotify_flush() 316 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark); in fcntl_dirnotify()
|
/linux-4.1.27/drivers/mtd/ |
D | mtdblock.c | 261 struct mtdblk_dev *mtdblk = container_of(dev, struct mtdblk_dev, mbd); in mtdblock_readsect() 268 struct mtdblk_dev *mtdblk = container_of(dev, struct mtdblk_dev, mbd); in mtdblock_writesect() 283 struct mtdblk_dev *mtdblk = container_of(mbd, struct mtdblk_dev, mbd); in mtdblock_open() 308 struct mtdblk_dev *mtdblk = container_of(mbd, struct mtdblk_dev, mbd); in mtdblock_release() 331 struct mtdblk_dev *mtdblk = container_of(dev, struct mtdblk_dev, mbd); in mtdblock_flush()
|
/linux-4.1.27/Documentation/filesystems/configfs/ |
D | configfs_example_explicit.c | 64 …return item ? container_of(to_configfs_subsystem(to_config_group(item)), struct childless, subsys)… in to_childless() 142 container_of(attr, struct childless_attribute, attr); in childless_attr_show() 156 container_of(attr, struct childless_attribute, attr); in childless_attr_store() 205 return item ? container_of(item, struct simple_child, item) : NULL; in to_simple_child() 275 return item ? container_of(to_config_group(item), struct simple_children, group) : NULL; in to_simple_children()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 238 container_of(cc, struct fec_enet_private, cc); in fec_ptp_read() 314 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_adjfreq() 375 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_adjtime() 396 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_gettime() 421 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_settime() 459 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_enable() 544 struct fec_enet_private *fep = container_of(dwork, struct fec_enet_private, time_keep); in fec_time_keep()
|
/linux-4.1.27/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_core.c | 84 container_of(port, struct uart_cpm_port, port); in cpm_uart_tx_empty() 107 container_of(port, struct uart_cpm_port, port); in cpm_uart_set_mctrl() 119 container_of(port, struct uart_cpm_port, port); in cpm_uart_get_mctrl() 151 container_of(port, struct uart_cpm_port, port); in cpm_uart_stop_tx() 169 container_of(port, struct uart_cpm_port, port); in cpm_uart_start_tx() 198 container_of(port, struct uart_cpm_port, port); in cpm_uart_stop_rx() 216 container_of(port, struct uart_cpm_port, port); in cpm_uart_break_ctl() 251 container_of(port, struct uart_cpm_port, port); in cpm_uart_int_rx() 409 container_of(port, struct uart_cpm_port, port); in cpm_uart_startup() 455 container_of(port, struct uart_cpm_port, port); in cpm_uart_shutdown() [all …]
|
/linux-4.1.27/drivers/staging/unisys/virtpci/ |
D | virtpci.h | 96 container_of(in_drv, struct virtpci_driver, core_driver) 98 container_of(in_dev, struct virtpci_dev, generic_dev)
|