/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/clk/ |
D | clk-wm831x.c | 35 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_xtal_is_prepared() 44 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_xtal_recalc_rate() 77 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_is_prepared() 94 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_prepare() 111 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_unprepare() 124 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_recalc_rate() 161 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_set_rate() 186 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_get_parent() 241 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_is_prepared() 258 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_prepare() [all …]
|
D | clk-twl6040.c | 39 struct twl6040_clk *twl6040_clk = container_of(hw, struct twl6040_clk, in twl6040_bitclk_is_enabled() 46 struct twl6040_clk *twl6040_clk = container_of(hw, struct twl6040_clk, in twl6040_bitclk_prepare() 59 struct twl6040_clk *twl6040_clk = container_of(hw, struct twl6040_clk, in twl6040_bitclk_unprepare()
|
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 …]
|
/linux-4.4.14/drivers/md/persistent-data/ |
D | dm-space-map-metadata.c | 275 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_destroy() 282 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_get_nr_blocks() 291 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_get_nr_free() 304 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_get_count() 344 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_count_is_more_than_one() 396 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_set_count() 414 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_inc_block() 431 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_dec_block() 448 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); in sm_metadata_new_block_() 473 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.4.14/drivers/staging/rdma/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.4.14/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() 689 object = container_of(op->op.object, in cachefiles_read_or_alloc_pages() 691 cache = container_of(object->fscache.cache, in cachefiles_read_or_alloc_pages() 798 object = container_of(op->op.object, in cachefiles_allocate_page() 800 cache = container_of(object->fscache.cache, in cachefiles_allocate_page() [all …]
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
D | usnic_ib.h | 99 return container_of(ibdev, struct usnic_ib_dev, ib_dev); in to_usdev() 105 return container_of(ibucontext, struct usnic_ib_ucontext, ibucontext); in to_ucontext() 111 return container_of(ibpd, struct usnic_ib_pd, ibpd); in to_upd() 117 return container_of(ibucontext, struct usnic_ib_ucontext, ibucontext); in to_uucontext() 123 return container_of(ibmr, struct usnic_ib_mr, ibmr); in to_umr()
|
D | usnic_ib_sysfs.c | 53 container_of(device, struct usnic_ib_dev, ib_dev.dev); in usnic_ib_show_fw_ver() 68 container_of(device, struct usnic_ib_dev, ib_dev.dev); in usnic_ib_show_board() 91 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); in usnic_ib_show_config() 150 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); in usnic_ib_show_iface() 162 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); in usnic_ib_show_max_vf() 175 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); in usnic_ib_show_qp_per_vf() 189 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); in usnic_ib_show_cq_per_vf() 227 qp_grp = container_of(kobj, struct usnic_ib_qp_grp, kobj); in usnic_ib_qpn_attr_show() 228 qpn_attr = container_of(attr, struct qpn_attribute, attr); in usnic_ib_qpn_attr_show()
|
/linux-4.4.14/drivers/staging/lustre/lustre/osc/ |
D | lproc_osc.c | 48 struct obd_device *dev = container_of(kobj, struct obd_device, in active_show() 58 struct obd_device *dev = container_of(kobj, struct obd_device, in active_store() 84 struct obd_device *dev = container_of(kobj, struct obd_device, in max_rpcs_in_flight_show() 96 struct obd_device *dev = container_of(kobj, struct obd_device, in max_rpcs_in_flight_store() 136 struct obd_device *dev = container_of(kobj, struct obd_device, in max_dirty_mb_show() 155 struct obd_device *dev = container_of(kobj, struct obd_device, in max_dirty_mb_store() 237 struct obd_device *dev = container_of(kobj, struct obd_device, in cur_dirty_bytes_show() 254 struct obd_device *dev = container_of(kobj, struct obd_device, in cur_grant_bytes_show() 271 struct obd_device *obd = container_of(kobj, struct obd_device, in cur_grant_bytes_store() 301 struct obd_device *dev = container_of(kobj, struct obd_device, in cur_lost_grant_bytes_show() [all …]
|
/linux-4.4.14/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.4.14/include/linux/ |
D | nd.h | 29 return container_of(drv, struct nd_device_driver, drv); in to_nd_device_driver() 49 return container_of(dev, struct nd_namespace_common, dev); in to_ndns() 95 return container_of(dev, struct nd_namespace_io, common.dev); in to_nd_namespace_io() 102 return container_of(nsio, struct nd_namespace_pmem, nsio); in to_nd_namespace_pmem() 107 return container_of(dev, struct nd_namespace_blk, common.dev); in to_nd_namespace_blk()
|
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)
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 190 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_get_fabric_wwn() 199 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_get_tag() 206 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_check_demo_mode() 214 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_check_demo_mode_cache() 222 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_check_demo_write_protect() 230 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_check_prod_write_protect() 238 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_check_demo_mode_login_only() 246 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_check_prot_fabric_only() 254 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, in tcm_qla2xxx_tpg_get_inst_index() 262 struct qla_tgt_mgmt_cmd *mcmd = container_of(work, in tcm_qla2xxx_complete_mcmd() [all …]
|
/linux-4.4.14/drivers/platform/chrome/ |
D | cros_ec_vbc.c | 31 struct device *dev = container_of(kobj, struct device, kobj); in vboot_context_read() 32 struct cros_ec_dev *ec = container_of(dev, struct cros_ec_dev, in vboot_context_read() 72 struct device *dev = container_of(kobj, struct device, kobj); in vboot_context_write() 73 struct cros_ec_dev *ec = container_of(dev, struct cros_ec_dev, in vboot_context_write() 113 struct device *dev = container_of(kobj, struct device, kobj); in cros_ec_vbc_is_visible() 114 struct cros_ec_dev *ec = container_of(dev, struct cros_ec_dev, in cros_ec_vbc_is_visible()
|
D | cros_ec_lightbar.c | 168 struct cros_ec_dev *ec = container_of(dev, in version_show() 191 struct cros_ec_dev *ec = container_of(dev, in brightness_store() 236 struct cros_ec_dev *ec = container_of(dev, in led_rgb_store() 308 struct cros_ec_dev *ec = container_of(dev, in sequence_show() 350 struct cros_ec_dev *ec = container_of(dev, in sequence_store() 412 struct device *dev = container_of(kobj, struct device, kobj); in cros_ec_lightbar_attrs_are_visible() 413 struct cros_ec_dev *ec = container_of(dev, in cros_ec_lightbar_attrs_are_visible() 415 struct platform_device *pdev = container_of(ec->dev, in cros_ec_lightbar_attrs_are_visible()
|
/linux-4.4.14/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.4.14/drivers/target/ |
D | target_core_fabric_configfs.c | 75 struct se_lun *lun = container_of(to_config_group(lun_ci), in target_fabric_mappedlun_link() 77 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), in target_fabric_mappedlun_link() 145 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), in target_fabric_mappedlun_unlink() 147 struct se_lun *lun = container_of(to_config_group(lun_ci), in target_fabric_mappedlun_unlink() 155 return container_of(to_config_group(item), struct se_lun_acl, in item_to_lun_acl() 217 struct se_lun_acl *lacl = container_of(to_config_group(item), in target_fabric_mappedlun_release() 271 struct se_node_acl *se_nacl = container_of(group, in target_fabric_make_mappedlun() 358 struct se_lun_acl *lacl = container_of(to_config_group(item), in target_fabric_drop_mappedlun() 385 struct se_node_acl *se_nacl = container_of(to_config_group(item), in target_fabric_nacl_base_release() 423 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_nodeacl() [all …]
|
/linux-4.4.14/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 | xprtsock.c | 441 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() 507 container_of(xprt, struct sock_xprt, xprt); in xs_local_send_request() 567 struct sock_xprt *transport = container_of(xprt, struct sock_xprt, xprt); in xs_udp_send_request() 642 struct sock_xprt *transport = container_of(xprt, struct sock_xprt, xprt); in xs_tcp_send_request() 846 struct sock_xprt *transport = container_of(xprt, struct sock_xprt, xprt); in xs_close() 876 struct sock_xprt *transport = container_of(xprt, in xs_destroy() 977 container_of(work, struct sock_xprt, recv_worker); in xs_local_data_receive_workfn() 1059 container_of(work, struct sock_xprt, recv_worker); in xs_udp_data_receive_workfn() 1076 struct sock_xprt *transport = container_of(xprt, in xs_data_ready() [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()
|
/linux-4.4.14/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.4.14/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, vb) 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.4.14/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 | 48 struct device *dev = container_of(kobj, struct device, kobj); in soc_attribute_mode() 49 struct soc_device *soc_dev = container_of(dev, struct soc_device, dev); in soc_attribute_mode() 72 struct soc_device *soc_dev = container_of(dev, struct soc_device, dev); in soc_info_get() 107 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.4.14/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() 82 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); in ivtv_s_audio_sampling_freq() 93 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); in ivtv_s_audio_mode() 134 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); in ivtv_g_volatile_ctrl() 148 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); in ivtv_s_ctrl()
|
/linux-4.4.14/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.4.14/drivers/staging/rdma/hfi1/ |
D | sysfs.c | 70 container_of(kobj, struct hfi1_pportdata, pport_cc_kobj); in read_cc_table_bin() 123 container_of(kobj, struct hfi1_pportdata, pport_cc_kobj); in read_cc_setting_bin() 240 container_of(attr, struct hfi1_sc2vl_attr, attr); in sc2vl_attr_show() 242 container_of(kobj, struct hfi1_pportdata, sc2vl_kobj); in sc2vl_attr_show() 346 container_of(attr, struct hfi1_sl2sc_attr, attr); in sl2sc_attr_show() 348 container_of(kobj, struct hfi1_pportdata, sl2sc_kobj); in sl2sc_attr_show() 420 container_of(attr, struct hfi1_vl2mtu_attr, attr); in vl2mtu_attr_show() 422 container_of(kobj, struct hfi1_pportdata, vl2mtu_kobj); in vl2mtu_attr_show() 449 container_of(device, struct hfi1_ibdev, ibdev.dev); in show_rev() 458 container_of(device, struct hfi1_ibdev, ibdev.dev); in show_hfi() [all …]
|
/linux-4.4.14/kernel/bpf/ |
D | arraymap.c | 67 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_lookup_elem() 79 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_get_next_key() 99 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_update_elem() 127 struct bpf_array *array = container_of(map, struct bpf_array, map); in array_map_free() 170 struct bpf_array *array = container_of(map, struct bpf_array, map); in fd_array_map_free() 190 struct bpf_array *array = container_of(map, struct bpf_array, map); in fd_array_map_update_elem() 214 struct bpf_array *array = container_of(map, struct bpf_array, map); in fd_array_map_delete_elem() 232 struct bpf_array *array = container_of(map, struct bpf_array, map); in prog_fd_array_get_ptr() 254 struct bpf_array *array = container_of(map, struct bpf_array, map); in bpf_fd_array_map_clear()
|
/linux-4.4.14/drivers/md/bcache/ |
D | request.c | 58 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_insert_keys() 120 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_invalidate() 148 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_insert_error() 179 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_insert_endio() 196 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_insert_start() 318 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_insert() 482 struct bbio *b = container_of(bio, struct bbio, bio); in bch_cache_read_endio() 484 struct search *s = container_of(cl, struct search, cl); in bch_cache_read_endio() 510 struct search *s = container_of(op, struct search, op); in cache_lookup_fn() 549 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 | 18 struct bbio *b = container_of(bio, struct bbio, bio); in bch_bbio_free() 37 struct bbio *b = container_of(bio, struct bbio, bio); in __bch_submit_bbio() 49 struct bbio *b = container_of(bio, struct bbio, bio); in bch_submit_bbio() 111 struct bbio *b = container_of(bio, struct bbio, bio); in bch_bbio_count_io_errors()
|
/linux-4.4.14/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.4.14/include/crypto/internal/ |
D | aead.h | 50 return container_of(&inst->alg.base, struct crypto_instance, alg); in aead_crypto_instance() 55 return container_of(&inst->alg, struct aead_instance, alg.base); in aead_instance() 100 return container_of(spawn->base.alg, struct aead_alg, base); in crypto_spawn_aead_alg() 144 return req ? container_of(req, struct aead_request, base) : NULL; in aead_dequeue_request() 153 return req ? container_of(req, struct aead_request, base) : NULL; in aead_get_backlog()
|
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.4.14/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.4.14/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() 197 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.4.14/arch/mips/ar7/ |
D | gpio.c | 37 container_of(chip, struct ar7_gpio_chip, chip); in ar7_gpio_get_value() 46 container_of(chip, struct ar7_gpio_chip, chip); in titan_gpio_get_value() 57 container_of(chip, struct ar7_gpio_chip, chip); in ar7_gpio_set_value() 71 container_of(chip, struct ar7_gpio_chip, chip); in titan_gpio_set_value() 85 container_of(chip, struct ar7_gpio_chip, chip); in ar7_gpio_direction_input() 96 container_of(chip, struct ar7_gpio_chip, chip); in titan_gpio_direction_input() 112 container_of(chip, struct ar7_gpio_chip, chip); in ar7_gpio_direction_output() 125 container_of(chip, struct ar7_gpio_chip, chip); in titan_gpio_direction_output()
|
/linux-4.4.14/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-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-pl061.c | 63 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_direction_input() 82 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_direction_output() 107 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_get_value() 114 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_set_value() 122 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_irq_type() 212 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_irq_handler() 230 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_irq_mask() 243 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_irq_unmask() 264 struct pl061_gpio *chip = container_of(gc, struct pl061_gpio, gc); in pl061_irq_ack()
|
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-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-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-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-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.4.14/drivers/target/iscsi/ |
D | iscsi_target_configfs.c | 43 return container_of(to_tpg_np(item), struct iscsi_tpg_np, se_tpg_np); in to_iscsi_tpg_np() 282 tpg = container_of(se_tpg, struct iscsi_portal_group, tpg_se_tpg); in lio_target_call_addnptotpg() 324 tpg_np = container_of(se_tpg_np, struct iscsi_tpg_np, se_tpg_np); in lio_target_call_delnpfromtpg() 353 struct iscsi_node_acl *nacl = container_of(se_nacl, struct iscsi_node_acl, \ 363 struct iscsi_node_acl *nacl = container_of(se_nacl, struct iscsi_node_acl, \ 449 return __iscsi_nacl_auth_##name##_show(container_of(nacl, \ 456 return __iscsi_nacl_auth_##name##_store(container_of(nacl, \ 489 return __iscsi_nacl_auth_##name##_show(container_of(nacl, \ 695 struct iscsi_portal_group *tpg = container_of(se_tpg, in lio_target_nacl_cmdsn_depth_store() 776 container_of(se_nacl, struct iscsi_node_acl, se_node_acl); in lio_target_init_nodeacl() [all …]
|
D | iscsi_target_stat.c | 54 struct iscsi_wwn_stat_grps *igrps = container_of(to_config_group(item), in iscsi_instance_tiqn() 56 return container_of(igrps, struct iscsi_tiqn, tiqn_stat_grps); in iscsi_instance_tiqn() 200 struct iscsi_wwn_stat_grps *igrps = container_of(to_config_group(item), in iscsi_sess_err_tiqn() 202 return container_of(igrps, struct iscsi_tiqn, tiqn_stat_grps); in iscsi_sess_err_tiqn() 262 struct iscsi_wwn_stat_grps *igrps = container_of(to_config_group(item), in iscsi_tgt_attr_tiqn() 264 return container_of(igrps, struct iscsi_tiqn, tiqn_stat_grps); in iscsi_tgt_attr_tiqn() 403 struct iscsi_wwn_stat_grps *igrps = container_of(to_config_group(item), in iscsi_login_stat_tiqn() 405 return container_of(igrps, struct iscsi_tiqn, tiqn_stat_grps); in iscsi_login_stat_tiqn() 535 struct iscsi_wwn_stat_grps *igrps = container_of(to_config_group(item), in iscsi_logout_stat_tiqn() 537 return container_of(igrps, struct iscsi_tiqn, tiqn_stat_grps); in iscsi_logout_stat_tiqn() [all …]
|
/linux-4.4.14/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.4.14/drivers/hid/ |
D | hid-lenovo.c | 223 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_fn_lock_show_cptkbd() 234 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_fn_lock_store_cptkbd() 253 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_sensitivity_show_cptkbd() 265 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_sensitivity_store_cptkbd() 390 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_press_to_select_show_tpkbd() 401 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_press_to_select_store_tpkbd() 420 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_dragging_show_tpkbd() 431 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_dragging_store_tpkbd() 450 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_release_to_select_show_tpkbd() 461 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.4.14/drivers/iommu/ |
D | iova.c | 53 container_of(iovad->cached32_node, struct iova, node); in __get_cached_rbnode() 77 cached_iova = container_of(curr, struct iova, node); in __cached_rbnode_delete_update() 81 struct iova *iova = container_of(node, struct iova, node); in __cached_rbnode_delete_update() 116 struct iova *curr_iova = container_of(curr, struct iova, node); in __alloc_and_insert_iova_range() 162 struct iova *this = container_of(*entry, in __alloc_and_insert_iova_range() 192 struct iova *this = container_of(*new, struct iova, node); in iova_insert_rbtree() 310 struct iova *iova = container_of(node, struct iova, node); in find_iova() 385 struct iova *iova = container_of(node, struct iova, node); in put_iova_domain() 399 struct iova *iova = container_of(node, struct iova, node); in __is_range_overlap() 463 iova = container_of(node, struct iova, node); in reserve_iova() [all …]
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
D | mlx5_ib.h | 100 return container_of(ibucontext, struct mlx5_ib_ucontext, ibucontext); in to_mucontext() 263 return container_of(wr, struct mlx5_umr_wr, wr); in umr_wr() 438 return container_of(mcq, struct mlx5_ib_cq, mcq); in to_mibcq() 443 return container_of(ibxrcd, struct mlx5_ib_xrcd, ibxrcd); in to_mxrcd() 448 return container_of(ibdev, struct mlx5_ib_dev, ib_dev); in to_mdev() 453 return container_of(ibcq, struct mlx5_ib_cq, ibcq); in to_mcq() 458 return container_of(mqp, struct mlx5_ib_qp, mqp); in to_mibqp() 463 return container_of(mmr, struct mlx5_ib_mr, mmr); in to_mibmr() 468 return container_of(ibpd, struct mlx5_ib_pd, ibpd); in to_mpd() 473 return container_of(ibsrq, struct mlx5_ib_srq, ibsrq); in to_msrq() [all …]
|
/linux-4.4.14/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.4.14/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()
|
/linux-4.4.14/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.4.14/drivers/target/tcm_fc/ |
D | tfc_conf.c | 135 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_port_name_show() 145 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_port_name_store() 155 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_node_name_show() 165 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_node_name_store() 191 container_of(nacl, struct ft_node_acl, se_node_acl); in ft_init_nodeacl() 210 acl = container_of(se_acl, struct ft_node_acl, se_node_acl); in ft_acl_get() 259 ft_wwn = container_of(wwn, struct ft_lport_wwn, se_wwn); in ft_add_tpg() 290 struct ft_tpg *tpg = container_of(se_tpg, struct ft_tpg, se_tpg); in ft_del_tpg() 372 struct ft_lport_wwn *ft_wwn = container_of(wwn, in ft_del_wwn() 398 return container_of(se_tpg, struct ft_tpg, se_tpg); in ft_tpg()
|
/linux-4.4.14/net/mac80211/ |
D | led.c | 57 struct ieee80211_local *local = container_of(led_cdev->trigger, in ieee80211_tx_led_activate() 66 struct ieee80211_local *local = container_of(led_cdev->trigger, in ieee80211_tx_led_deactivate() 75 struct ieee80211_local *local = container_of(led_cdev->trigger, in ieee80211_rx_led_activate() 84 struct ieee80211_local *local = container_of(led_cdev->trigger, in ieee80211_rx_led_deactivate() 93 struct ieee80211_local *local = container_of(led_cdev->trigger, in ieee80211_assoc_led_activate() 102 struct ieee80211_local *local = container_of(led_cdev->trigger, in ieee80211_assoc_led_deactivate() 111 struct ieee80211_local *local = container_of(led_cdev->trigger, in ieee80211_radio_led_activate() 120 struct ieee80211_local *local = container_of(led_cdev->trigger, in ieee80211_radio_led_deactivate() 129 struct ieee80211_local *local = container_of(led_cdev->trigger, in ieee80211_tpt_led_activate() 138 struct ieee80211_local *local = container_of(led_cdev->trigger, in ieee80211_tpt_led_deactivate()
|
/linux-4.4.14/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.4.14/drivers/staging/most/hdm-dim2/ |
D | dim2_sysfs.c | 54 container_of(kobj, struct medialb_bus, kobj_group); in bus_kobj_attr_show() 55 struct bus_attr *xattr = container_of(attr, struct bus_attr, attr); in bus_kobj_attr_show() 68 container_of(kobj, struct medialb_bus, kobj_group); in bus_kobj_attr_store() 69 struct bus_attr *xattr = container_of(attr, struct bus_attr, attr); in bus_kobj_attr_store()
|
/linux-4.4.14/drivers/bcma/ |
D | main.c | 35 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in manuf_show() 42 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in id_show() 49 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in rev_show() 56 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in class_show() 120 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in bcma_release_core_dev() 572 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_suspend() 593 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_resume() 621 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in bcma_bus_match() 622 struct bcma_driver *adrv = container_of(drv, struct bcma_driver, drv); in bcma_bus_match() 638 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in bcma_device_probe() [all …]
|
/linux-4.4.14/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.4.14/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 | 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 …]
|
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() 433 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in ib_port_release() 600 struct ib_device *dev = container_of(device, struct ib_device, dev); in show_node_type() 616 struct ib_device *dev = container_of(device, struct ib_device, dev); in show_sys_image_guid() 634 struct ib_device *dev = container_of(device, struct ib_device, dev); in show_node_guid() 646 struct ib_device *dev = container_of(device, struct ib_device, dev); in show_node_desc() [all …]
|
/linux-4.4.14/fs/nfsd/ |
D | nfs4idmap.c | 78 struct ent *new = container_of(cnew, struct ent, h); in ent_init() 79 struct ent *itm = container_of(citm, struct ent, h); in ent_init() 91 struct ent *map = container_of(ref, struct ent, h.ref); in ent_put() 128 struct ent *ent = container_of(ch, struct ent, h); in idtoname_request() 142 struct ent *a = container_of(ca, struct ent, h); in idtoname_match() 143 struct ent *b = container_of(cb, struct ent, h); in idtoname_match() 158 ent = container_of(h, struct ent, h); in idtoname_show() 270 return container_of(ch, struct ent, h); in idtoname_lookup() 281 return container_of(ch, struct ent, h); in idtoname_update() 301 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.4.14/drivers/target/loopback/ |
D | tcm_loop.c | 40 #define to_tcm_loop_hba(hba) container_of(hba, struct tcm_loop_hba, dev) 71 struct tcm_loop_cmd *tl_cmd = container_of(se_cmd, in tcm_loop_release_cmd() 111 container_of(work, struct tcm_loop_cmd, work); in tcm_loop_submission_work() 521 return container_of(se_tpg, struct tcm_loop_tpg, tl_se_tpg); in tl_tpg() 576 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, struct tcm_loop_tpg, in tcm_loop_check_prot_fabric_only() 598 struct tcm_loop_cmd *tl_cmd = container_of(se_cmd, in tcm_loop_get_cmd_state() 636 struct tcm_loop_cmd *tl_cmd = container_of(se_cmd, in tcm_loop_queue_data_in() 654 struct tcm_loop_cmd *tl_cmd = container_of(se_cmd, in tcm_loop_queue_status() 719 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, in tcm_loop_port_link() 741 tl_tpg = container_of(se_tpg, struct tcm_loop_tpg, tl_se_tpg); in tcm_loop_port_unlink() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | lproc_llite.c | 54 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, in blocksize_show() 72 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, in kbytestotal_show() 97 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, in kbytesfree_show() 122 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, in kbytesavail_show() 147 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, in filestotal_show() 165 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, in filesfree_show() 183 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, in client_type_show() 194 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, in fstype_show() 204 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, in uuid_show() 227 struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, in max_read_ahead_mb_show() [all …]
|
/linux-4.4.14/drivers/hwtracing/stm/ |
D | console.c | 41 struct stm_console *sc = container_of(con, struct stm_console, console); in stm_console_write() 48 struct stm_console *sc = container_of(data, struct stm_console, data); in stm_console_link() 60 struct stm_console *sc = container_of(data, struct stm_console, data); in stm_console_unlink()
|
/linux-4.4.14/drivers/staging/rdma/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.4.14/drivers/mmc/core/ |
D | pwrseq_simple.c | 45 struct mmc_pwrseq_simple *pwrseq = container_of(host->pwrseq, in mmc_pwrseq_simple_pre_power_on() 58 struct mmc_pwrseq_simple *pwrseq = container_of(host->pwrseq, in mmc_pwrseq_simple_post_power_on() 66 struct mmc_pwrseq_simple *pwrseq = container_of(host->pwrseq, in mmc_pwrseq_simple_power_off() 79 struct mmc_pwrseq_simple *pwrseq = container_of(host->pwrseq, in mmc_pwrseq_simple_free()
|
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()
|
/linux-4.4.14/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() 112 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_audio_sampling_freq() 123 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_audio_mode()
|
/linux-4.4.14/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.4.14/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.4.14/arch/mips/kernel/ |
D | cevt-txx9.c | 33 container_of(cs, struct txx9_clocksource, cs); in txx9_cs_read() 91 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_set_state_periodic() 107 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_set_state_oneshot() 118 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_set_state_shutdown() 129 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_tick_resume() 142 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_set_next_event()
|
/linux-4.4.14/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.4.14/drivers/media/pci/solo6x10/ |
D | solo6x10-core.c | 171 container_of(dev, struct solo_dev, dev); in eeprom_store() 201 container_of(dev, struct solo_dev, dev); in eeprom_show() 217 container_of(dev, struct solo_dev, dev); in p2m_timeouts_show() 227 container_of(dev, struct solo_dev, dev); in sdram_size_show() 237 container_of(dev, struct solo_dev, dev); in tw28xx_show() 250 container_of(dev, struct solo_dev, dev); in input_map_show() 285 container_of(dev, struct solo_dev, dev); in p2m_timeout_store() 301 container_of(dev, struct solo_dev, dev); in p2m_timeout_show() 311 container_of(dev, struct solo_dev, dev); in intervals_show() 330 container_of(dev, struct solo_dev, dev); in sdram_offsets_show() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/drivers/infiniband/hw/mlx4/ |
D | mlx4_ib.h | 612 return container_of(ibdev, struct mlx4_ib_dev, ib_dev); in to_mdev() 617 return container_of(ibucontext, struct mlx4_ib_ucontext, ibucontext); in to_mucontext() 622 return container_of(ibpd, struct mlx4_ib_pd, ibpd); in to_mpd() 627 return container_of(ibxrcd, struct mlx4_ib_xrcd, ibxrcd); in to_mxrcd() 632 return container_of(ibcq, struct mlx4_ib_cq, ibcq); in to_mcq() 637 return container_of(mcq, struct mlx4_ib_cq, mcq); in to_mibcq() 642 return container_of(ibmr, struct mlx4_ib_mr, ibmr); in to_mmr() 647 return container_of(ibmw, struct mlx4_ib_mw, ibmw); in to_mmw() 652 return container_of(ibfmr, struct mlx4_ib_fmr, ibfmr); in to_mfmr() 657 return container_of(ibflow, struct mlx4_ib_flow, ibflow); in to_mflow() [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.4.14/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.4.14/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() 185 struct rds_connection *conn = container_of(work, struct rds_connection, c_recv_w.work); in rds_recv_worker() 207 struct rds_connection *conn = container_of(work, struct rds_connection, c_down_w); in rds_shutdown_worker()
|
/linux-4.4.14/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() 170 cf_sk = container_of(layr, struct caifsock, layer); in caif_sktrecv_cb() 183 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in cfsk_hold() 189 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in cfsk_put() 198 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in caif_ctrl_cb() 256 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_check_flow_release() 522 struct caifsock *cf_sk = container_of(sk, struct caifsock, sk); in caif_seqpkt_sendmsg() [all …]
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ucode.c | 56 container_of(hdr, struct mc_firmware_header_v1_0, header); in amdgpu_ucode_print_mc_hdr() 77 container_of(hdr, struct smc_firmware_header_v1_0, header); in amdgpu_ucode_print_smc_hdr() 95 container_of(hdr, struct gfx_firmware_header_v1_0, header); in amdgpu_ucode_print_gfx_hdr() 116 container_of(hdr, struct rlc_firmware_header_v1_0, header); in amdgpu_ucode_print_rlc_hdr() 130 container_of(hdr, struct rlc_firmware_header_v2_0, header); in amdgpu_ucode_print_rlc_hdr() 181 container_of(hdr, struct sdma_firmware_header_v1_0, header); in amdgpu_ucode_print_sdma_hdr() 191 container_of(sdma_hdr, struct sdma_firmware_header_v1_1, v1_0); in amdgpu_ucode_print_sdma_hdr()
|
D | amdgpu_mn.c | 70 struct amdgpu_mn *rmn = container_of(work, struct amdgpu_mn, work); in amdgpu_mn_destroy() 105 struct amdgpu_mn *rmn = container_of(mn, struct amdgpu_mn, mn); in amdgpu_mn_release() 126 struct amdgpu_mn *rmn = container_of(mn, struct amdgpu_mn, mn); in amdgpu_mn_invalidate_range_start() 140 node = container_of(it, struct amdgpu_mn_node, it); in amdgpu_mn_invalidate_range_start() 257 node = container_of(it, struct amdgpu_mn_node, it); in amdgpu_mn_register() 316 node = container_of(head, struct amdgpu_mn_node, bos); in amdgpu_mn_unregister()
|
/linux-4.4.14/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) 328 #define gem_to_ast_bo(gobj) container_of((gobj), struct ast_bo, gem) 333 return container_of(bo, struct ast_bo, bo); in ast_bo() 337 #define to_ast_obj(x) container_of(x, struct ast_gem_object, base)
|
/linux-4.4.14/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.4.14/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) 231 #define gem_to_mga_bo(gobj) container_of((gobj), struct mgag200_bo, gem) 236 return container_of(bo, struct mgag200_bo, bo); in mgag200_bo()
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_context.c | 133 container_of(res, struct vmw_user_context, res); in vmw_hw_context_destroy() 180 container_of(res, struct vmw_user_context, res); in vmw_gb_context_init() 374 container_of(res, struct vmw_user_context, res); in vmw_gb_context_unbind() 562 container_of(ctx, struct vmw_user_context, res); in vmw_dx_context_scrub_cotables() 591 container_of(res, struct vmw_user_context, res); in vmw_dx_context_unbind() 695 return &(container_of(base, struct vmw_user_context, base)->res); in vmw_user_context_base_to_res() 701 container_of(res, struct vmw_user_context, res); in vmw_user_context_free() 723 container_of(base, struct vmw_user_context, base); in vmw_user_context_base_release() 849 container_of(ctx, struct vmw_user_context, res); in vmw_context_binding_list() 856 return container_of(ctx, struct vmw_user_context, res)->man; in vmw_context_res_man() [all …]
|
D | vmwgfx_execbuf.c | 228 node = container_of(hash, struct vmw_resource_val_node, hash); in vmw_resource_val_add() 509 vval_buf = container_of(hash, struct vmw_validate_buffer, in vmw_bo_to_validate_list() 916 cmd = container_of(header, struct vmw_cid_cmd, header); in vmw_cmd_cid_check() 933 cmd = container_of(header, struct vmw_sid_cmd, header); in vmw_cmd_set_render_target_check() 977 cmd = container_of(header, struct vmw_sid_cmd, header); in vmw_cmd_surface_copy_check() 1000 cmd = container_of(header, typeof(*cmd), header); in vmw_cmd_buffer_copy_check() 1022 cmd = container_of(header, typeof(*cmd), header); in vmw_cmd_pred_copy_check() 1044 cmd = container_of(header, struct vmw_sid_cmd, header); in vmw_cmd_stretch_blt_check() 1064 cmd = container_of(header, struct vmw_sid_cmd, header); in vmw_cmd_blt_surf_screen_check() 1081 cmd = container_of(header, struct vmw_sid_cmd, header); in vmw_cmd_present_check() [all …]
|
D | vmwgfx_buffer.c | 517 container_of(bo->ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_bo_map_dma() 534 container_of(bo->ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_bo_unmap_dma() 554 container_of(bo->ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_bo_sg_table() 563 container_of(ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_ttm_bind() 597 container_of(ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_ttm_unbind() 620 container_of(ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_ttm_destroy() 638 container_of(ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_ttm_populate() 664 struct vmw_ttm_tt *vmw_tt = container_of(ttm, struct vmw_ttm_tt, in vmw_ttm_unpopulate() 704 vmw_be->dev_priv = container_of(bdev, struct vmw_private, bdev); in vmw_ttm_tt_create() 783 struct vmw_private *dev_priv = container_of(bdev, struct vmw_private, bdev); in vmw_ttm_io_mem_reserve()
|
D | vmwgfx_kms.h | 84 container_of(x, struct vmw_framebuffer, base) 86 container_of(x, struct vmw_framebuffer_surface, base.base) 88 container_of(x, struct vmw_framebuffer_dmabuf, base.base) 184 container_of(x, struct vmw_display_unit, crtc) 186 container_of(x, struct vmw_display_unit, connector)
|
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.4.14/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.4.14/tools/perf/arch/x86/util/ |
D | intel-bts.c | 74 container_of(itr, struct intel_bts_recording, itr); in intel_bts_info_fill() 116 container_of(itr, struct intel_bts_recording, itr); in intel_bts_recording_options() 256 container_of(itr, struct intel_bts_recording, itr); in intel_bts_parse_snapshot_options() 316 container_of(itr, struct intel_bts_recording, itr); in intel_bts_recording_free() 325 container_of(itr, struct intel_bts_recording, itr); in intel_bts_snapshot_start() 338 container_of(itr, struct intel_bts_recording, itr); in intel_bts_snapshot_finish() 370 container_of(itr, struct intel_bts_recording, itr); in intel_bts_find_snapshot() 420 container_of(itr, struct intel_bts_recording, itr); in intel_bts_read_finish()
|
/linux-4.4.14/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()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/clk/qcom/ |
D | clk-rcg.h | 114 #define to_clk_rcg(_hw) container_of(to_clk_regmap(_hw), struct clk_rcg, clkr) 149 container_of(to_clk_regmap(_hw), struct clk_dyn_rcg, clkr) 173 #define to_clk_rcg2(_hw) container_of(to_clk_regmap(_hw), struct clk_rcg2, clkr)
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/pm/ |
D | priv.h | 3 #define nvkm_pm(p) container_of((p), struct nvkm_pm, engine) 69 #define nvkm_perfdom(p) container_of((p), struct nvkm_perfdom, object) 97 #define nvkm_perfmon(p) container_of((p), struct nvkm_perfmon, object)
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_txrx.c | 54 struct mlx5e_channel *c = container_of(napi, struct mlx5e_channel, in mlx5e_napi_poll() 88 struct mlx5e_cq *cq = container_of(mcq, struct mlx5e_cq, mcq); in mlx5e_completion_event() 98 struct mlx5e_cq *cq = container_of(mcq, struct mlx5e_cq, mcq); in mlx5e_cq_error_event()
|
/linux-4.4.14/drivers/w1/slaves/ |
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()
|
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()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.h | 52 return container_of(ibpd, struct iwch_pd, ibpd); in to_iwch_pd() 88 return container_of(ibmr, struct iwch_mr, ibmr); in to_iwch_mr() 100 return container_of(ibmw, struct iwch_mw, ibmw); in to_iwch_mw() 116 return container_of(ibcq, struct iwch_cq, ibcq); in to_iwch_cq() 181 return container_of(ibqp, struct iwch_qp, ibqp); in to_iwch_qp() 197 return container_of(c, struct iwch_ucontext, ibucontext); in to_iwch_ucontext()
|
/linux-4.4.14/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.4.14/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(vbuf, 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.4.14/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.4.14/drivers/dma/hsu/ |
D | hsu.h | 77 return container_of(vdesc, struct hsu_dma_desc, vdesc); in to_hsu_dma_desc() 94 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.4.14/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.4.14/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.4.14/drivers/infiniband/hw/ocrdma/ |
D | ocrdma.h | 460 return container_of(ibdev, struct ocrdma_dev, ibdev); in get_ocrdma_dev() 466 return container_of(ibucontext, struct ocrdma_ucontext, ibucontext); in get_ocrdma_ucontext() 471 return container_of(ibpd, struct ocrdma_pd, ibpd); in get_ocrdma_pd() 476 return container_of(ibcq, struct ocrdma_cq, ibcq); in get_ocrdma_cq() 481 return container_of(ibqp, struct ocrdma_qp, ibqp); in get_ocrdma_qp() 486 return container_of(ibmr, struct ocrdma_mr, ibmr); in get_ocrdma_mr() 491 return container_of(ibah, struct ocrdma_ah, ibah); in get_ocrdma_ah() 496 return container_of(ibsrq, struct ocrdma_srq, ibsrq); in get_ocrdma_srq()
|
/linux-4.4.14/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) 195 #define to_soundbus_driver(drv) container_of(drv,struct soundbus_driver, driver)
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/include/sound/ |
D | hdaudio_ext.h | 41 container_of(_bus, struct hdac_ext_bus, bus) 98 container_of(s, struct hdac_ext_stream, hstream) 192 #define to_ehdac_device(dev) (container_of((dev), \ 208 #define to_ehdac_driver(_drv) container_of(_drv, struct hdac_ext_driver, hdac)
|
D | seq_device.h | 42 container_of(_dev, struct snd_seq_device, dev) 66 container_of(_drv, struct snd_seq_driver, driver)
|
/linux-4.4.14/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.4.14/drivers/gpu/drm/rcar-du/ |
D | rcar_du_plane.h | 38 return container_of(plane, struct rcar_du_plane, plane); in to_rcar_plane() 64 return container_of(state, struct rcar_du_plane_state, state); in to_rcar_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.4.14/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.4.14/drivers/usb/gadget/ |
D | configfs.c | 69 return container_of(to_config_group(item), struct gadget_info, group); in to_gadget_info() 84 return container_of(to_config_group(item), struct config_usb_cfg, in to_config_usb_cfg() 316 return container_of(to_config_group(item), struct gadget_strings, in to_gadget_strings() 323 return container_of(to_config_group(item), struct gadget_config_name, in to_gadget_config_name() 330 return container_of(to_config_group(item), in to_usb_function_instance() 365 struct gadget_info *gi = container_of(cdev, struct gadget_info, cdev); in config_usb_cfg_link() 368 struct usb_function_instance *fi = container_of(group, in config_usb_cfg_link() 416 struct gadget_info *gi = container_of(cdev, struct gadget_info, cdev); in config_usb_cfg_unlink() 419 struct usb_function_instance *fi = container_of(group, in config_usb_cfg_unlink() 567 gi = container_of(group, struct gadget_info, functions_group); in function_make() [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/ |
D | nv31.h | 3 #define nv31_mpeg(p) container_of((p), struct nv31_mpeg, engine) 20 #define nv31_mpeg_chan(p) container_of((p), struct nv31_mpeg_chan, object)
|
/linux-4.4.14/drivers/gpu/drm/tegra/ |
D | drm.h | 94 return container_of(client, struct tegra_drm_client, base); in host1x_to_drm_client() 150 return container_of(client, struct tegra_dc, client); in host1x_client_to_dc() 155 return crtc ? container_of(crtc, struct tegra_dc, base) : NULL; in to_tegra_dc() 220 return container_of(e, struct tegra_output, encoder); in encoder_to_output() 225 return container_of(c, struct tegra_output, connector); in connector_to_output()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | nv20.h | 3 #define nv20_gr(p) container_of((p), struct nv20_gr, base) 21 #define nv20_gr_chan(p) container_of((p), struct nv20_gr_chan, object)
|
D | nv50.h | 3 #define nv50_gr(p) container_of((p), struct nv50_gr, base) 21 #define nv50_gr_chan(p) container_of((p), struct nv50_gr_chan, object)
|
D | nv40.h | 3 #define nv40_gr(p) container_of((p), struct nv40_gr, base) 18 #define nv40_gr_chan(p) container_of((p), struct nv40_gr_chan, object)
|
/linux-4.4.14/include/target/ |
D | target_core_base.h | 571 return container_of(to_config_group(item), struct se_node_acl, in acl_to_nacl() 577 return container_of(to_config_group(item), struct se_node_acl, in attrib_to_nacl() 583 return container_of(to_config_group(item), struct se_node_acl, in auth_to_nacl() 589 return container_of(to_config_group(item), struct se_node_acl, in param_to_nacl() 595 return container_of(to_config_group(item), struct se_node_acl, in fabric_stat_to_nacl() 859 return container_of(to_config_group(item), struct se_tpg_np, in to_tpg_np() 901 return container_of(to_config_group(item), struct se_portal_group, in to_tpg() 907 return container_of(to_config_group(item), struct se_portal_group, in attrib_to_tpg() 913 return container_of(to_config_group(item), struct se_portal_group, in auth_to_tpg() 919 return container_of(to_config_group(item), struct se_portal_group, in param_to_tpg()
|
/linux-4.4.14/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.4.14/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 …]
|
/linux-4.4.14/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.4.14/drivers/clk/hisilicon/ |
D | clkgate-separated.c | 52 sclk = container_of(hw, struct clkgate_separated, hw); in clkgate_separated_enable() 69 sclk = container_of(hw, struct clkgate_separated, hw); in clkgate_separated_disable() 84 sclk = container_of(hw, struct clkgate_separated, hw); in clkgate_separated_is_enabled()
|
/linux-4.4.14/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.4.14/drivers/staging/lustre/lustre/lmv/ |
D | lproc_lmv.c | 48 struct obd_device *dev = container_of(kobj, struct obd_device, in numobd_show() 83 struct obd_device *dev = container_of(kobj, struct obd_device, in placement_show() 97 struct obd_device *dev = container_of(kobj, struct obd_device, in placement_store() 127 struct obd_device *dev = container_of(kobj, struct obd_device, in activeobd_show()
|
/linux-4.4.14/drivers/staging/rtl8712/ |
D | rtl871x_pwrctrl.c | 139 struct pwrctrl_priv *pwrpriv = container_of(work, in SetPSModeWorkItemCallback() 141 struct _adapter *padapter = container_of(pwrpriv, in SetPSModeWorkItemCallback() 153 struct pwrctrl_priv *pwrpriv = container_of(work, in rpwm_workitem_callback() 155 struct _adapter *padapter = container_of(pwrpriv, in rpwm_workitem_callback()
|
/linux-4.4.14/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.4.14/drivers/clk/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/hv/ |
D | hv_utils_transport.c | 45 hvt = container_of(file->f_op, struct hvutil_transport, fops); in hvt_op_read() 81 hvt = container_of(file->f_op, struct hvutil_transport, fops); in hvt_op_write() 99 hvt = container_of(file->f_op, struct hvutil_transport, fops); in hvt_op_poll() 112 hvt = container_of(file->f_op, struct hvutil_transport, fops); in hvt_op_open() 137 hvt = container_of(file->f_op, struct hvutil_transport, fops); in hvt_op_release()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | changf119.c | 29 struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); in gf119_disp_chan_uevent_fini() 38 struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); in gf119_disp_chan_uevent_init()
|
/linux-4.4.14/drivers/crypto/qce/ |
D | sha.h | 71 struct ahash_alg *alg = container_of(crypto_hash_alg_common(ahash), in to_ahash_tmpl() 74 return container_of(alg, struct qce_alg_template, alg.ahash); in to_ahash_tmpl()
|
/linux-4.4.14/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.4.14/drivers/vhost/ |
D | scsi.c | 223 inflight = container_of(kref, struct vhost_scsi_inflight, kref); in vhost_scsi_done_inflight() 260 svq = container_of(vq, struct vhost_scsi_virtqueue, vq); in vhost_scsi_get_inflight() 289 struct vhost_scsi_tpg *tpg = container_of(se_tpg, in vhost_scsi_get_fabric_wwn() 298 struct vhost_scsi_tpg *tpg = container_of(se_tpg, in vhost_scsi_get_tpgt() 305 struct vhost_scsi_tpg *tpg = container_of(se_tpg, in vhost_scsi_check_prot_fabric_only() 318 struct vhost_scsi_cmd *tv_cmd = container_of(se_cmd, in vhost_scsi_release_cmd() 384 struct vhost_scsi_cmd *cmd = container_of(se_cmd, in vhost_scsi_queue_data_in() 392 struct vhost_scsi_cmd *cmd = container_of(se_cmd, in vhost_scsi_queue_status() 506 struct vhost_scsi *vs = container_of(work, struct vhost_scsi, in vhost_scsi_evt_work() 530 struct vhost_scsi *vs = container_of(work, struct vhost_scsi, in vhost_scsi_complete_cmd_work() [all …]
|
/linux-4.4.14/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) 271 #define to_clk_pll(_hw) container_of(_hw, struct tegra_clk_pll, hw) 354 #define to_clk_pll_out(_hw) container_of(_hw, struct tegra_clk_pll_out, hw) 414 container_of(_hw, struct tegra_clk_periph_gate, hw) 454 #define to_clk_periph(_hw) container_of(_hw, struct tegra_clk_periph, hw) 567 #define to_clk_super_mux(_hw) container_of(_hw, struct tegra_clk_super_mux, hw)
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | nrs_fifo.c | 173 struct ptlrpc_request *req = container_of(nrq, in nrs_fifo_req_get() 201 head = container_of(nrs_request_resource(nrq), struct nrs_fifo_head, in nrs_fifo_req_add() 238 struct ptlrpc_request *req = container_of(nrq, struct ptlrpc_request, in nrs_fifo_req_stop()
|
/linux-4.4.14/drivers/mtd/nand/brcmnand/ |
D | iproc_nand.c | 43 container_of(soc, struct iproc_nand_soc, soc); in iproc_nand_intc_ack() 58 container_of(soc, struct iproc_nand_soc, soc); in iproc_nand_intc_set() 80 container_of(soc, struct iproc_nand_soc, soc); in iproc_nand_apb_access()
|
/linux-4.4.14/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.4.14/arch/mips/ralink/ |
D | cevt-rt3352.c | 48 sdev = container_of(evt, struct systick_device, dev); in systick_next_event() 95 sdev = container_of(evt, struct systick_device, dev); in systick_shutdown() 109 sdev = container_of(evt, struct systick_device, dev); in systick_set_oneshot()
|
/linux-4.4.14/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.4.14/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.4.14/include/linux/ulpi/ |
D | driver.h | 22 #define to_ulpi_dev(d) container_of(d, struct ulpi, dev) 48 #define to_ulpi_driver(d) container_of(d, struct ulpi_driver, driver)
|
/linux-4.4.14/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() 867 req = container_of(dev->rx_buffers.next, struct usb_request, in printer_soft_reset() 874 req = container_of(dev->rx_buffers.next, struct usb_request, in printer_soft_reset() 881 req = container_of(dev->tx_reqs_active.next, in printer_soft_reset() 1105 req = container_of(dev->rx_reqs.next, struct usb_request, list); in printer_func_bind() 1112 req = container_of(dev->tx_reqs.next, struct usb_request, list); in printer_func_bind() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/tools/lib/lockdep/uinclude/linux/ |
D | kernel.h | 10 #ifndef container_of 11 #define container_of(ptr, type, member) ({ \ macro
|
/linux-4.4.14/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 …]
|