Searched refs:tpg (Results 1 - 25 of 44) sorted by relevance

12

/drivers/media/platform/vivid/
H A Dvivid-tpg.h2 * vivid-tpg.h - Test Pattern Generator
31 #include "vivid-tpg-colors.h"
165 void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h);
166 int tpg_alloc(struct tpg_data *tpg, unsigned max_w);
167 void tpg_free(struct tpg_data *tpg);
168 void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height,
172 void tpg_gen_text(struct tpg_data *tpg,
174 void tpg_calc_text_basep(struct tpg_data *tpg,
176 void tpg_fillbuffer(struct tpg_data *tpg, v4l2_std_id std, unsigned p, u8 *vbuf);
177 bool tpg_s_fourcc(struct tpg_data *tpg, u3
181 tpg_s_pattern(struct tpg_data *tpg, enum tpg_pattern pattern) argument
189 tpg_s_quality(struct tpg_data *tpg, enum tpg_quality qual, unsigned qual_offset) argument
199 tpg_g_quality(const struct tpg_data *tpg) argument
204 tpg_s_alpha_component(struct tpg_data *tpg, u8 alpha_component) argument
213 tpg_s_alpha_mode(struct tpg_data *tpg, bool red_only) argument
222 tpg_s_brightness(struct tpg_data *tpg, u8 brightness) argument
231 tpg_s_contrast(struct tpg_data *tpg, u8 contrast) argument
240 tpg_s_saturation(struct tpg_data *tpg, u8 saturation) argument
249 tpg_s_hue(struct tpg_data *tpg, s16 hue) argument
258 tpg_s_rgb_range(struct tpg_data *tpg, unsigned rgb_range) argument
267 tpg_s_real_rgb_range(struct tpg_data *tpg, unsigned rgb_range) argument
276 tpg_s_colorspace(struct tpg_data *tpg, u32 colorspace) argument
284 tpg_g_colorspace(const struct tpg_data *tpg) argument
289 tpg_g_planes(const struct tpg_data *tpg) argument
294 tpg_g_twopixelsize(const struct tpg_data *tpg, unsigned plane) argument
299 tpg_g_bytesperline(const struct tpg_data *tpg, unsigned plane) argument
304 tpg_s_bytesperline(struct tpg_data *tpg, unsigned plane, unsigned bpl) argument
309 tpg_s_buf_height(struct tpg_data *tpg, unsigned h) argument
314 tpg_s_field(struct tpg_data *tpg, unsigned field) argument
319 tpg_s_perc_fill(struct tpg_data *tpg, unsigned perc_fill) argument
325 tpg_g_perc_fill(const struct tpg_data *tpg) argument
330 tpg_s_perc_fill_blank(struct tpg_data *tpg, bool perc_fill_blank) argument
336 tpg_s_video_aspect(struct tpg_data *tpg, enum tpg_video_aspect vid_aspect) argument
345 tpg_g_video_aspect(const struct tpg_data *tpg) argument
350 tpg_s_pixel_aspect(struct tpg_data *tpg, enum tpg_pixel_aspect pix_aspect) argument
359 tpg_s_show_border(struct tpg_data *tpg, bool show_border) argument
365 tpg_s_show_square(struct tpg_data *tpg, bool show_square) argument
371 tpg_s_insert_sav(struct tpg_data *tpg, bool insert_sav) argument
376 tpg_s_insert_eav(struct tpg_data *tpg, bool insert_eav) argument
383 tpg_s_mv_hor_mode(struct tpg_data *tpg, enum tpg_move_mode mv_hor_mode) argument
390 tpg_s_mv_vert_mode(struct tpg_data *tpg, enum tpg_move_mode mv_vert_mode) argument
397 tpg_init_mv_count(struct tpg_data *tpg) argument
402 tpg_update_mv_count(struct tpg_data *tpg, bool frame_is_field) argument
408 tpg_s_hflip(struct tpg_data *tpg, bool hflip) argument
417 tpg_g_hflip(const struct tpg_data *tpg) argument
422 tpg_s_vflip(struct tpg_data *tpg, bool vflip) argument
427 tpg_g_vflip(const struct tpg_data *tpg) argument
432 tpg_pattern_is_static(const struct tpg_data *tpg) argument
[all...]
H A Dvivid-tpg.c2 * vivid-tpg.c - Test Pattern Generator
23 #include "vivid-tpg.h"
94 void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h) argument
96 memset(tpg, 0, sizeof(*tpg));
97 tpg->scaled_width = tpg->src_width = w;
98 tpg->src_height = tpg->buf_height = h;
99 tpg
115 tpg_alloc(struct tpg_data *tpg, unsigned max_w) argument
146 tpg_free(struct tpg_data *tpg) argument
166 tpg_s_fourcc(struct tpg_data *tpg, u32 fourcc) argument
236 tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop, const struct v4l2_rect *compose) argument
251 tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height, u32 field) argument
274 tpg_get_textbg_color(struct tpg_data *tpg) argument
286 tpg_get_textfg_color(struct tpg_data *tpg) argument
299 color_to_y(struct tpg_data *tpg, int r, int g, int b) argument
315 color_to_cb(struct tpg_data *tpg, int r, int g, int b) argument
331 color_to_cr(struct tpg_data *tpg, int r, int g, int b) argument
347 ycbcr_to_r(struct tpg_data *tpg, int y, int cb, int cr) argument
372 ycbcr_to_g(struct tpg_data *tpg, int y, int cb, int cr) argument
397 ycbcr_to_b(struct tpg_data *tpg, int y, int cb, int cr) argument
423 precalculate_color(struct tpg_data *tpg, int k) argument
566 tpg_precalculate_colors(struct tpg_data *tpg) argument
575 gen_twopix(struct tpg_data *tpg, u8 buf[TPG_MAX_PLANES][8], int color, bool odd) argument
672 tpg_get_pat_lines(struct tpg_data *tpg) argument
691 tpg_get_pat_line(struct tpg_data *tpg, unsigned line) argument
717 tpg_get_color(struct tpg_data *tpg, unsigned pat_line, unsigned x) argument
793 tpg_calculate_square_border(struct tpg_data *tpg) argument
873 tpg_precalculate_line(struct tpg_data *tpg) argument
980 tpg_gen_text(struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2], int y, int x, char *text) argument
1066 tpg_update_mv_step(struct tpg_data *tpg) argument
1115 tpg_calc_frameline(struct tpg_data *tpg, unsigned src_y, unsigned field) argument
1132 tpg_calc_buffer_line(struct tpg_data *tpg, unsigned y, unsigned field) argument
1150 tpg_recalc(struct tpg_data *tpg) argument
1167 tpg_calc_text_basep(struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2], unsigned p, u8 *vbuf) argument
1182 tpg_fillbuffer(struct tpg_data *tpg, v4l2_std_id std, unsigned p, u8 *vbuf) argument
[all...]
H A DMakefile5 vivid-osd.o vivid-tpg.o vivid-tpg-colors.o
H A Dvivid-kthread-cap.c236 struct tpg_data *tpg = &dev->tpg; local
238 unsigned pixsize = tpg_g_twopixelsize(tpg, p) / 2;
241 unsigned stride_cap = tpg->bytesperline[p];
244 unsigned hmax = (img_height * tpg->perc_fill) / 100;
283 memcpy(vcapbuf, tpg->black_line[p], img_width * pixsize);
314 memcpy(vcapbuf, tpg->black_line[p], img_width * pixsize);
320 memcpy(vcapbuf, tpg->black_line[p], dev->loop_vid_cap.left * pixsize);
325 tpg->black_line[p], (img_width - vid_cap_right) * pixsize);
342 tpg_g_twopixelsize(tpg,
577 struct tpg_data *tpg = &dev->tpg; local
[all...]
H A Dvivid-vid-cap.c97 unsigned planes = tpg_g_planes(&dev->tpg);
137 if (sizes[0] < tpg_g_bytesperline(&dev->tpg, 0) * h +
143 sizes[p] = tpg_g_bytesperline(&dev->tpg, p) * h +
171 unsigned planes = tpg_g_planes(&dev->tpg);
188 size = tpg_g_bytesperline(&dev->tpg, p) * dev->fmt_cap_rect.height +
256 dev->must_blank[i] = tpg_g_perc_fill(&dev->tpg) < 100;
309 tpg_s_quality(&dev->tpg, TPG_QUAL_NOISE, 0);
313 tpg_s_quality(&dev->tpg, TPG_QUAL_NOISE, 0);
317 tpg_s_quality(&dev->tpg, TPG_QUAL_NOISE, 0);
321 tpg_s_quality(&dev->tpg, TPG_QUAL_COLO
[all...]
H A Dvivid-ctrls.c261 tpg_s_brightness(&dev->tpg, dev->input_brightness[dev->input]);
264 tpg_s_contrast(&dev->tpg, ctrl->val);
267 tpg_s_saturation(&dev->tpg, ctrl->val);
270 tpg_s_hue(&dev->tpg, ctrl->val);
274 tpg_s_hflip(&dev->tpg, dev->sensor_hflip ^ dev->hflip);
278 tpg_s_vflip(&dev->tpg, dev->sensor_vflip ^ dev->vflip);
281 tpg_s_alpha_component(&dev->tpg, ctrl->val);
303 tpg_s_pattern(&dev->tpg, ctrl->val);
306 tpg_s_colorspace(&dev->tpg, ctrl->val);
315 tpg_s_rgb_range(&dev->tpg, ctr
[all...]
/drivers/target/iscsi/
H A Discsi_target_tpg.c36 struct iscsi_portal_group *tpg; local
38 tpg = kzalloc(sizeof(struct iscsi_portal_group), GFP_KERNEL);
39 if (!tpg) {
44 tpg->tpgt = tpgt;
45 tpg->tpg_state = TPG_STATE_FREE;
46 tpg->tpg_tiqn = tiqn;
47 INIT_LIST_HEAD(&tpg->tpg_gnp_list);
48 INIT_LIST_HEAD(&tpg->tpg_list);
49 mutex_init(&tpg->tpg_access_lock);
50 sema_init(&tpg
62 struct iscsi_portal_group *tpg; local
117 struct iscsi_portal_group *tpg = iscsit_global->discovery_tpg; local
133 struct iscsi_portal_group *tpg = NULL; local
163 iscsit_get_tpg( struct iscsi_portal_group *tpg) argument
172 iscsit_put_tpg(struct iscsi_portal_group *tpg) argument
177 iscsit_clear_tpg_np_login_thread( struct iscsi_tpg_np *tpg_np, struct iscsi_portal_group *tpg, bool shutdown) argument
192 iscsit_clear_tpg_np_login_threads( struct iscsi_portal_group *tpg, bool shutdown) argument
211 iscsit_tpg_dump_params(struct iscsi_portal_group *tpg) argument
216 iscsit_set_default_tpg_attribs(struct iscsi_portal_group *tpg) argument
233 iscsit_tpg_add_portal_group(struct iscsi_tiqn *tiqn, struct iscsi_portal_group *tpg) argument
268 iscsit_tpg_del_portal_group( struct iscsi_tiqn *tiqn, struct iscsi_portal_group *tpg, int force) argument
312 iscsit_tpg_enable_portal_group(struct iscsi_portal_group *tpg) argument
364 iscsit_tpg_disable_portal_group(struct iscsi_portal_group *tpg, int force) argument
440 struct iscsi_portal_group *tpg; local
464 iscsit_tpg_add_network_portal( struct iscsi_portal_group *tpg, struct __kernel_sockaddr_storage *sockaddr, char *ip_str, struct iscsi_tpg_np *tpg_np_parent, int network_transport) argument
529 iscsit_tpg_release_np( struct iscsi_tpg_np *tpg_np, struct iscsi_portal_group *tpg, struct iscsi_np *np) argument
549 iscsit_tpg_del_network_portal( struct iscsi_portal_group *tpg, struct iscsi_tpg_np *tpg_np) argument
598 iscsit_tpg_set_initiator_node_queue_depth( struct iscsi_portal_group *tpg, unsigned char *initiatorname, u32 queue_depth, int force) argument
608 iscsit_ta_authentication(struct iscsi_portal_group *tpg, u32 authentication) argument
669 iscsit_ta_login_timeout( struct iscsi_portal_group *tpg, u32 login_timeout) argument
692 iscsit_ta_netif_timeout( struct iscsi_portal_group *tpg, u32 netif_timeout) argument
717 iscsit_ta_generate_node_acls( struct iscsi_portal_group *tpg, u32 flag) argument
741 iscsit_ta_default_cmdsn_depth( struct iscsi_portal_group *tpg, u32 tcq_depth) argument
766 iscsit_ta_cache_dynamic_acls( struct iscsi_portal_group *tpg, u32 flag) argument
791 iscsit_ta_demo_mode_write_protect( struct iscsi_portal_group *tpg, u32 flag) argument
809 iscsit_ta_prod_mode_write_protect( struct iscsi_portal_group *tpg, u32 flag) argument
828 iscsit_ta_demo_mode_discovery( struct iscsi_portal_group *tpg, u32 flag) argument
847 iscsit_ta_default_erl( struct iscsi_portal_group *tpg, u32 default_erl) argument
864 iscsit_ta_t10_pi( struct iscsi_portal_group *tpg, u32 flag) argument
[all...]
H A Discsi_target_configfs.c76 struct iscsi_portal_group *tpg; local
97 tpg = tpg_np->tpg;
98 if (iscsit_get_tpg(tpg) < 0)
105 tpg_np_sctp = iscsit_tpg_add_network_portal(tpg, &np->np_sockaddr,
114 ret = iscsit_tpg_del_network_portal(tpg, tpg_np_sctp);
119 iscsit_put_tpg(tpg);
122 iscsit_put_tpg(tpg);
152 struct iscsi_portal_group *tpg; local
172 tpg
224 struct iscsi_portal_group *tpg; local
338 struct iscsi_portal_group *tpg; local
789 struct iscsi_portal_group *tpg = container_of(se_tpg, local
891 struct iscsi_portal_group *tpg = container_of(se_tpg, local
1360 struct iscsi_portal_group *tpg = container_of(se_tpg, local
1377 struct iscsi_portal_group *tpg = container_of(se_tpg, local
1430 struct iscsi_portal_group *tpg; local
1479 struct iscsi_portal_group *tpg; local
1831 struct iscsi_portal_group *tpg = se_tpg->se_tpg_fabric_ptr; local
1838 struct iscsi_portal_group *tpg = se_tpg->se_tpg_fabric_ptr; local
1845 struct iscsi_portal_group *tpg = se_tpg->se_tpg_fabric_ptr; local
1852 struct iscsi_portal_group *tpg = se_tpg->se_tpg_fabric_ptr; local
1859 struct iscsi_portal_group *tpg = se_tpg->se_tpg_fabric_ptr; local
1867 struct iscsi_portal_group *tpg = se_tpg->se_tpg_fabric_ptr; local
1875 struct iscsi_portal_group *tpg = se_tpg->se_tpg_fabric_ptr; local
1931 struct iscsi_portal_group *tpg = se_tpg->se_tpg_fabric_ptr; local
1941 struct iscsi_portal_group *tpg = container_of(se_tpg, local
[all...]
H A Discsi_target_login.c164 struct iscsi_portal_group *tpg = conn->tpg; local
166 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg;
366 sess->tpg = conn->tpg;
372 sess->tsih = ++sess->tpg->ntsih;
374 sess->tsih = ++sess->tpg->ntsih;
380 conn->tpg->param_list, 1) < 0) {
404 if (iscsi_change_param_sprintf(conn, "TargetPortalGroupTag=%hu", sess->tpg->tpgt))
552 struct iscsi_portal_group *tpg local
712 struct iscsi_portal_group *tpg = sess->tpg; local
1220 struct iscsi_portal_group *tpg = NULL; local
[all...]
H A Discsi_target_nego.c503 struct iscsi_portal_group *tpg = conn->tpg; local
512 spin_lock(&tpg->tpg_state_lock);
513 state = (tpg->tpg_state == TPG_STATE_ACTIVE);
514 spin_unlock(&tpg->tpg_state_lock);
520 iscsit_deaccess_np(np, tpg, tpg_np);
535 iscsit_deaccess_np(np, tpg, tpg_np);
558 iscsit_deaccess_np(np, tpg, tpg_np);
569 iscsit_deaccess_np(np, tpg, tpg_np);
581 iscsit_deaccess_np(np, tpg, tpg_n
592 struct iscsi_portal_group *tpg = conn->tpg; local
[all...]
H A Discsi_target_nodeattrib.c37 struct iscsi_portal_group *tpg)
48 a->default_erl = tpg->tpg_attrib.default_erl;
35 iscsit_set_default_node_attribues( struct iscsi_node_acl *acl, struct iscsi_portal_group *tpg) argument
H A Discsi_target.c209 int iscsit_access_np(struct iscsi_np *np, struct iscsi_portal_group *tpg) argument
224 spin_lock_bh(&tpg->tpg_state_lock);
225 if (tpg->tpg_state != TPG_STATE_ACTIVE) {
226 spin_unlock_bh(&tpg->tpg_state_lock);
229 spin_unlock_bh(&tpg->tpg_state_lock);
234 ret = down_interruptible(&tpg->np_login_sem);
238 spin_lock_bh(&tpg->tpg_state_lock);
239 if (tpg->tpg_state != TPG_STATE_ACTIVE) {
240 spin_unlock_bh(&tpg->tpg_state_lock);
241 up(&tpg
257 iscsit_deaccess_np(struct iscsi_np *np, struct iscsi_portal_group *tpg, struct iscsi_tpg_np *tpg_np) argument
422 iscsit_reset_np_thread( struct iscsi_np *np, struct iscsi_tpg_np *tpg_np, struct iscsi_portal_group *tpg, bool shutdown) argument
3399 struct iscsi_portal_group *tpg; local
4430 struct iscsi_portal_group *tpg = sess->tpg; local
4738 iscsit_release_sessions_for_tpg(struct iscsi_portal_group *tpg, int force) argument
[all...]
/drivers/target/
H A Dtarget_core_tpg.c56 struct se_portal_group *tpg)
72 tpg->se_tpg_tfo->get_fabric_name());
79 TRANSPORT_LUNFLAGS_NO_ACCESS, nacl, tpg);
88 * spin_lock_bh(&tpg->acl_node_lock); must be held when calling
91 struct se_portal_group *tpg,
96 list_for_each_entry(acl, &tpg->acl_node_list, acl_list) {
109 struct se_portal_group *tpg,
114 spin_lock_irq(&tpg->acl_node_lock);
115 acl = __core_tpg_get_initiator_node_acl(tpg, initiatorname);
116 spin_unlock_irq(&tpg
54 core_clear_initiator_node_from_tpg( struct se_node_acl *nacl, struct se_portal_group *tpg) argument
90 __core_tpg_get_initiator_node_acl( struct se_portal_group *tpg, const char *initiatorname) argument
108 core_tpg_get_initiator_node_acl( struct se_portal_group *tpg, unsigned char *initiatorname) argument
126 core_tpg_add_node_to_devs( struct se_node_acl *acl, struct se_portal_group *tpg) argument
186 core_set_queue_depth_for_node( struct se_portal_group *tpg, struct se_node_acl *acl) argument
261 core_tpg_check_initiator_node_acl( struct se_portal_group *tpg, unsigned char *initiatorname) argument
332 core_tpg_clear_object_luns(struct se_portal_group *tpg) argument
357 core_tpg_add_initiator_node_acl( struct se_portal_group *tpg, struct se_node_acl *se_nacl, const char *initiatorname, u32 queue_depth) argument
449 core_tpg_del_initiator_node_acl( struct se_portal_group *tpg, struct se_node_acl *acl, int force) argument
513 core_tpg_set_initiator_node_queue_depth( struct se_portal_group *tpg, unsigned char *initiatorname, u32 queue_depth, int force) argument
626 core_tpg_set_initiator_node_tag( struct se_portal_group *tpg, struct se_node_acl *acl, const char *new_tag) argument
785 core_tpg_alloc_lun( struct se_portal_group *tpg, u32 unpacked_lun) argument
815 core_tpg_add_lun( struct se_portal_group *tpg, struct se_lun *lun, u32 lun_access, struct se_device *dev) argument
842 core_tpg_remove_lun( struct se_portal_group *tpg, struct se_lun *lun) argument
[all...]
H A Dtarget_core_device.c54 /* not static, needed by tpg.c */
200 struct se_portal_group *tpg = nacl->se_tpg; local
214 tpg->se_tpg_tfo->get_fabric_name());
221 tpg->se_tpg_tfo->get_fabric_name());
239 struct se_portal_group *tpg)
258 tpg->se_tpg_tfo->get_fabric_name());
265 TRANSPORT_LUNFLAGS_NO_ACCESS, nacl, tpg);
305 struct se_portal_group *tpg)
382 struct se_portal_group *tpg)
430 void core_clear_lun_from_tpg(struct se_lun *lun, struct se_portal_group *tpg) argument
237 core_free_device_list_for_node( struct se_node_acl *nacl, struct se_portal_group *tpg) argument
299 core_enable_device_list_for_node( struct se_lun *lun, struct se_lun_acl *lun_acl, u32 mapped_lun, u32 lun_access, struct se_node_acl *nacl, struct se_portal_group *tpg) argument
376 core_disable_device_list_for_node( struct se_lun *lun, struct se_lun_acl *lun_acl, u32 mapped_lun, u32 lun_access, struct se_node_acl *nacl, struct se_portal_group *tpg) argument
512 core_export_port( struct se_device *dev, struct se_portal_group *tpg, struct se_port *port, struct se_lun *lun) argument
573 core_dev_export( struct se_device *dev, struct se_portal_group *tpg, struct se_lun *lun) argument
595 core_dev_unexport( struct se_device *dev, struct se_portal_group *tpg, struct se_lun *lun) argument
1222 core_dev_add_lun( struct se_portal_group *tpg, struct se_device *dev, u32 unpacked_lun) argument
1269 core_dev_del_lun( struct se_portal_group *tpg, struct se_lun *lun) argument
1281 core_get_lun_from_tpg(struct se_portal_group *tpg, u32 unpacked_lun) argument
1314 core_dev_get_lun(struct se_portal_group *tpg, u32 unpacked_lun) argument
1343 core_dev_init_initiator_node_lun_acl( struct se_portal_group *tpg, struct se_node_acl *nacl, u32 mapped_lun, int *ret) argument
1373 core_dev_add_initiator_node_lun_acl( struct se_portal_group *tpg, struct se_lun_acl *lacl, u32 unpacked_lun, u32 lun_access) argument
1428 core_dev_del_initiator_node_lun_acl( struct se_portal_group *tpg, struct se_lun *lun, struct se_lun_acl *lacl) argument
1458 core_dev_free_initiator_node_lun_acl( struct se_portal_group *tpg, struct se_lun_acl *lacl) argument
[all...]
H A Dtarget_core_stat.c751 struct se_portal_group *tpg; local
760 tpg = sep->sep_tpg;
763 tpg->se_tpg_tfo->get_fabric_name(), sep->sep_index);
774 struct se_portal_group *tpg; local
783 tpg = sep->sep_tpg;
786 tpg->se_tpg_tfo->tpg_get_wwn(tpg), "+t+",
787 tpg->se_tpg_tfo->tpg_get_tag(tpg));
949 struct se_portal_group *tpg; local
972 struct se_portal_group *tpg; local
995 struct se_portal_group *tpg; local
1085 struct se_portal_group *tpg; local
1134 struct se_portal_group *tpg; local
1451 struct se_portal_group *tpg; local
1500 struct se_portal_group *tpg; local
1524 struct se_portal_group *tpg; local
1572 struct se_portal_group *tpg; local
[all...]
H A Dtarget_core_pr.c190 struct se_portal_group *tpg; local
217 tpg = sess->se_tpg;
219 " MAPPED LUN: %u for %s\n", tpg->se_tpg_tfo->get_fabric_name(),
235 struct se_portal_group *tpg; local
258 tpg = sess->se_tpg;
263 tpg->se_tpg_tfo->get_fabric_name());
282 " for %s\n", tpg->se_tpg_tfo->get_fabric_name(),
840 struct se_portal_group *tpg,
855 tpg->se_tpg_tfo->get_fabric_name(),
859 tpg
838 core_scsi3_aptpl_reserve( struct se_device *dev, struct se_portal_group *tpg, struct se_node_acl *node_acl, struct t10_pr_registration *pr_reg) argument
866 __core_scsi3_check_aptpl_registration( struct se_device *dev, struct se_portal_group *tpg, struct se_lun *lun, u32 target_lun, struct se_node_acl *nacl, struct se_dev_entry *deve) argument
937 core_scsi3_check_aptpl_registration( struct se_device *dev, struct se_portal_group *tpg, struct se_lun *lun, struct se_node_acl *nacl, u32 mapped_lun) argument
1080 struct se_portal_group *tpg; local
1134 struct se_portal_group *tpg = nacl->se_tpg; local
1331 core_scsi3_tpg_depend_item(struct se_portal_group *tpg) argument
1337 core_scsi3_tpg_undepend_item(struct se_portal_group *tpg) argument
1347 struct se_portal_group *tpg = nacl->se_tpg; local
1358 struct se_portal_group *tpg = nacl->se_tpg; local
1375 struct se_portal_group *tpg; local
1393 struct se_portal_group *tpg; local
1411 core_scsi3_decode_spec_i_port( struct se_cmd *cmd, struct se_portal_group *tpg, unsigned char *l_isid, u64 sa_res_key, int all_tg_pt, int aptpl) argument
1805 struct se_portal_group *tpg; local
[all...]
H A Dtarget_core_spc.c183 struct se_portal_group *tpg = NULL; local
279 tpg = port->sep_tpg;
288 (tpg->se_tpg_tfo->get_fabric_proto_ident(tpg) << 4);
324 (tpg->se_tpg_tfo->get_fabric_proto_ident(tpg) << 4);
373 (tpg->se_tpg_tfo->get_fabric_proto_ident(tpg) << 4);
387 tpgt = tpg->se_tpg_tfo->tpg_get_tag(tpg);
713 struct se_portal_group *tpg = cmd->se_lun->lun_sep->sep_tpg; local
[all...]
/drivers/target/tcm_fc/
H A Dtfc_conf.c207 struct ft_tpg *tpg; local
212 tpg = container_of(se_tpg, struct ft_tpg, se_tpg);
222 q_depth = 32; /* XXX bogus default - get from tpg? */
223 return core_tpg_add_initiator_node_acl(&tpg->se_tpg,
230 struct ft_tpg *tpg; local
237 tpg = container_of(se_tpg, struct ft_tpg, se_tpg);
238 pr_debug("del acl %p se_acl %p tpg %p se_tpg %p\n",
239 acl, se_acl, tpg, &tpg->se_tpg);
241 core_tpg_del_initiator_node_acl(&tpg
245 ft_acl_get(struct ft_tpg *tpg, struct fc_rport_priv *rdata) argument
302 struct ft_tpg *tpg; local
358 struct ft_tpg *tpg = container_of(se_tpg, struct ft_tpg, se_tpg); local
473 struct ft_tpg *tpg = se_tpg->se_tpg_fabric_ptr; local
480 struct ft_tpg *tpg = se_tpg->se_tpg_fabric_ptr; local
505 struct ft_tpg *tpg = se_tpg->se_tpg_fabric_ptr; local
[all...]
H A Dtfc_sess.c56 struct ft_tpg *tpg; local
62 if (tport && tport->tpg)
65 tpg = ft_lport_find_tpg(lport);
66 if (!tpg)
70 tport->tpg = tpg;
71 tpg->tport = tport;
80 tport->tpg = tpg;
81 tpg
96 struct ft_tpg *tpg; local
[all...]
H A Dtcm_fc.h65 struct ft_tpg *tpg; /* NULL if TPG deleted before tport */ member in struct:ft_tport
108 struct ft_tpg *tpg; member in struct:ft_lport_wwn
/drivers/xen/
H A Dxen-scsiback.c86 struct scsiback_tpg *tpg; /* translate to */ member in struct:v2p_entry
271 struct scsiback_tpg *tpg = pending_req->v2p->tpg; local
274 tpg->tport->tport_name, pending_req->v2p->lun,
327 struct scsiback_tpg *tpg = entry->tpg; local
329 mutex_lock(&tpg->tv_tpg_mutex);
330 tpg->tv_tpg_fe_count--;
331 mutex_unlock(&tpg->tv_tpg_mutex);
400 struct se_session *sess = pending_req->v2p->tpg
602 struct scsiback_tpg *tpg = pending_req->v2p->tpg; local
877 struct scsiback_tpg *tpg_entry, *tpg = NULL; local
1259 struct scsiback_tpg *tpg = container_of(se_tpg, local
1281 struct scsiback_tpg *tpg = container_of(se_tpg, local
1290 struct scsiback_tpg *tpg = container_of(se_tpg, local
1307 struct scsiback_tpg *tpg = container_of(se_tpg, local
1337 struct scsiback_tpg *tpg = container_of(se_tpg, local
1367 struct scsiback_tpg *tpg = container_of(se_tpg, local
1584 struct scsiback_tpg *tpg = container_of(se_tpg, struct scsiback_tpg, local
1598 struct scsiback_tpg *tpg = container_of(se_tpg, struct scsiback_tpg, local
1624 scsiback_make_nexus(struct scsiback_tpg *tpg, const char *name) argument
1684 scsiback_drop_nexus(struct scsiback_tpg *tpg) argument
1734 struct scsiback_tpg *tpg = container_of(se_tpg, local
1756 struct scsiback_tpg *tpg = container_of(se_tpg, local
1858 struct scsiback_tpg *tpg = container_of(se_tpg, local
1871 struct scsiback_tpg *tpg = container_of(se_tpg, local
1887 struct scsiback_tpg *tpg; local
1922 struct scsiback_tpg *tpg = container_of(se_tpg, local
[all...]
/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.c196 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, local
198 struct tcm_qla2xxx_lport *lport = tpg->lport;
213 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, local
215 struct tcm_qla2xxx_lport *lport = tpg->lport;
222 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, local
224 return tpg->lport_tpgt;
239 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, local
241 struct tcm_qla2xxx_lport *lport = tpg->lport;
261 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, local
263 struct tcm_qla2xxx_lport *lport = tpg
283 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, local
301 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, local
309 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, local
317 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, local
325 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, local
333 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, local
364 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, local
1002 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, local
1044 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, local
1097 struct tcm_qla2xxx_tpg *tpg; local
1141 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, local
1176 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, local
1221 struct tcm_qla2xxx_tpg *tpg; local
1534 struct tcm_qla2xxx_tpg *tpg; local
[all...]
/drivers/vhost/
H A Dscsi.c298 struct tcm_vhost_tpg *tpg = container_of(se_tpg, local
300 struct tcm_vhost_tport *tport = tpg->tport;
320 struct tcm_vhost_tpg *tpg = container_of(se_tpg, local
322 struct tcm_vhost_tport *tport = tpg->tport;
329 struct tcm_vhost_tpg *tpg = container_of(se_tpg, local
331 return tpg->tport_tpgt;
346 struct tcm_vhost_tpg *tpg = container_of(se_tpg, local
348 struct tcm_vhost_tport *tport = tpg->tport;
376 struct tcm_vhost_tpg *tpg = container_of(se_tpg, local
378 struct tcm_vhost_tport *tport = tpg
406 struct tcm_vhost_tpg *tpg = container_of(se_tpg, local
724 vhost_scsi_get_tag(struct vhost_virtqueue *vq, struct tcm_vhost_tpg *tpg, unsigned char *cdb, u64 scsi_tag, u16 lun, u8 task_attr, u32 exp_data_len, int data_direction) argument
972 struct tcm_vhost_tpg *tpg; local
1217 tcm_vhost_send_evt(struct vhost_scsi *vs, struct tcm_vhost_tpg *tpg, struct se_lun *lun, u32 event, u32 reason) argument
1317 struct tcm_vhost_tpg *tpg; local
1422 struct tcm_vhost_tpg *tpg; local
1712 tcm_vhost_do_plug(struct tcm_vhost_tpg *tpg, struct se_lun *lun, bool plug) argument
1739 tcm_vhost_hotplug(struct tcm_vhost_tpg *tpg, struct se_lun *lun) argument
1744 tcm_vhost_hotunplug(struct tcm_vhost_tpg *tpg, struct se_lun *lun) argument
1752 struct tcm_vhost_tpg *tpg = container_of(se_tpg, local
1771 struct tcm_vhost_tpg *tpg = container_of(se_tpg, local
1847 tcm_vhost_make_nexus(struct tcm_vhost_tpg *tpg, const char *name) argument
1942 tcm_vhost_drop_nexus(struct tcm_vhost_tpg *tpg) argument
1995 struct tcm_vhost_tpg *tpg = container_of(se_tpg, local
2017 struct tcm_vhost_tpg *tpg = container_of(se_tpg, local
2106 struct tcm_vhost_tpg *tpg; local
2140 struct tcm_vhost_tpg *tpg = container_of(se_tpg, local
[all...]
/drivers/target/sbp/
H A Dsbp_target.c96 struct sbp_tpg *tpg, u64 guid)
101 spin_lock_bh(&tpg->se_tpg.session_lock);
102 list_for_each_entry(se_sess, &tpg->se_tpg.tpg_sess_list, sess_list) {
107 spin_unlock_bh(&tpg->se_tpg.session_lock);
128 struct sbp_tpg *tpg,
137 spin_lock_bh(&tpg->se_tpg.session_lock);
138 list_for_each_entry(se_sess, &tpg->se_tpg.tpg_sess_list, sess_list) {
151 spin_unlock_bh(&tpg->se_tpg.session_lock);
157 struct sbp_tpg *tpg, int login_id)
163 spin_lock_bh(&tpg
95 sbp_session_find_by_guid( struct sbp_tpg *tpg, u64 guid) argument
127 sbp_login_count_all_by_lun( struct sbp_tpg *tpg, struct se_lun *lun, int exclusive) argument
156 sbp_login_find_by_id( struct sbp_tpg *tpg, int login_id) argument
179 sbp_get_lun_from_tpg(struct sbp_tpg *tpg, int lun) argument
198 sbp_session_create( struct sbp_tpg *tpg, u64 guid) argument
298 struct sbp_tpg *tpg = tport->tpg; local
530 struct sbp_tpg *tpg = tport->tpg; local
589 struct sbp_tpg *tpg = tport->tpg; local
1699 struct sbp_tpg *tpg = container_of(se_tpg, struct sbp_tpg, se_tpg); local
1707 struct sbp_tpg *tpg = container_of(se_tpg, struct sbp_tpg, se_tpg); local
1942 sbp_count_se_tpg_luns(struct se_portal_group *tpg) argument
2152 struct sbp_tpg *tpg = container_of(se_tpg, struct sbp_tpg, se_tpg); local
2161 struct sbp_tpg *tpg = container_of(se_tpg, struct sbp_tpg, se_tpg); local
2181 struct sbp_tpg *tpg; local
2236 struct sbp_tpg *tpg = container_of(se_tpg, struct sbp_tpg, se_tpg); local
2294 struct sbp_tpg *tpg = container_of(se_tpg, struct sbp_tpg, se_tpg); local
2308 struct sbp_tpg *tpg = container_of(se_tpg, struct sbp_tpg, se_tpg); local
2335 struct sbp_tpg *tpg = container_of(se_tpg, struct sbp_tpg, se_tpg); local
2345 struct sbp_tpg *tpg = container_of(se_tpg, struct sbp_tpg, se_tpg); local
2397 struct sbp_tpg *tpg = container_of(se_tpg, struct sbp_tpg, se_tpg); local
2407 struct sbp_tpg *tpg = container_of(se_tpg, struct sbp_tpg, se_tpg); local
2433 struct sbp_tpg *tpg = container_of(se_tpg, struct sbp_tpg, se_tpg); local
2443 struct sbp_tpg *tpg = container_of(se_tpg, struct sbp_tpg, se_tpg); local
2469 struct sbp_tpg *tpg = container_of(se_tpg, struct sbp_tpg, se_tpg); local
2479 struct sbp_tpg *tpg = container_of(se_tpg, struct sbp_tpg, se_tpg); local
[all...]
/drivers/usb/gadget/legacy/
H A Dtcm_usb_gadget.c450 luns = atomic_read(&fu->tpg->tpg_port_count);
1053 struct usbg_tpg *tpg; local
1057 tpg = cmd->fu->tpg;
1058 tv_nexus = tpg->tpg_nexus;
1086 struct usbg_tpg *tpg; local
1107 tpg = fu->tpg;
1126 tv_nexus = tpg->tpg_nexus;
1154 ret = queue_work(tpg
1169 struct usbg_tpg *tpg; local
1202 struct usbg_tpg *tpg; local
1279 struct usbg_tpg *tpg = container_of(se_tpg, local
1296 struct usbg_tpg *tpg = container_of(se_tpg, local
1305 struct usbg_tpg *tpg = container_of(se_tpg, local
1322 struct usbg_tpg *tpg = container_of(se_tpg, local
1344 struct usbg_tpg *tpg = container_of(se_tpg, local
1366 struct usbg_tpg *tpg = container_of(se_tpg, local
1547 struct usbg_tpg *tpg; local
1589 struct usbg_tpg *tpg = container_of(se_tpg, local
1646 struct usbg_tpg *tpg = container_of(se_tpg, struct usbg_tpg, se_tpg); local
1659 struct usbg_tpg *tpg = container_of(se_tpg, struct usbg_tpg, se_tpg); local
1691 struct usbg_tpg *tpg = container_of(se_tpg, struct usbg_tpg, se_tpg); local
1708 tcm_usbg_make_nexus(struct usbg_tpg *tpg, char *name) argument
1761 tcm_usbg_drop_nexus(struct usbg_tpg *tpg) argument
1804 struct usbg_tpg *tpg = container_of(se_tpg, struct usbg_tpg, se_tpg); local
1843 struct usbg_tpg *tpg = container_of(se_tpg, struct usbg_tpg, se_tpg); local
1853 struct usbg_tpg *tpg = container_of(se_tpg, struct usbg_tpg, se_tpg); local
2446 usbg_attach(struct usbg_tpg *tpg) argument
2451 usbg_detach(struct usbg_tpg *tpg) argument
[all...]

Completed in 468 milliseconds

12