Home
last modified time | relevance | path

Searched refs:requested (Results 1 – 25 of 492) sorted by relevance

12345678910>>...20

/linux/security/selinux/include/
H A Davc.h52 u32 requested; member
64 static inline u32 avc_audit_required(u32 requested, struct av_decision *avd, in avc_audit_required() argument
68 denied = requested & ~avd->allowed; in avc_audit_required()
90 audited = denied = requested; in avc_audit_required()
92 audited = requested & avd->auditallow; in avc_audit_required()
119 static inline int avc_audit(u32 ssid, u32 tsid, u16 tclass, u32 requested, in avc_audit() argument
124 audited = avc_audit_required(requested, avd, result, 0, &denied); in avc_audit()
127 return slow_avc_audit(ssid, tsid, tclass, requested, audited, denied, in avc_audit()
133 int avc_has_perm_noaudit(u32 ssid, u32 tsid, u16 tclass, u32 requested,
136 int avc_has_perm(u32 ssid, u32 tsid, u16 tclass, u32 requested,
[all …]
/linux/security/selinux/
H A Davc.c394 denied = requested & ~avd->allowed; in avc_xperms_audit_required()
399 audited &= ~requested; in avc_xperms_audit_required()
402 audited = denied = requested; in avc_xperms_audit_required()
407 audited &= ~requested; in avc_xperms_audit_required()
772 sad.requested = requested; in slow_avc_audit()
995 u16 tclass, u32 requested, in avc_denied() argument
1034 if (WARN_ON(!requested)) in avc_has_extended_perms()
1061 avd.allowed &= ~requested; in avc_has_extended_perms()
1077 avd.allowed &= ~requested; in avc_has_extended_perms()
1143 u16 tclass, u32 requested, in avc_has_perm_noaudit() argument
[all …]
/linux/include/trace/events/
H A Davc.h25 __field(u32, requested)
35 __entry->requested = sad->requested;
45 __entry->requested, __entry->denied, __entry->audited, __entry->result,
H A Drdma_core.h121 int requested,
125 TP_ARGS(cq, requested, rc),
129 __field(int, requested)
135 __entry->requested = requested;
140 __entry->cq_id, __entry->requested, __entry->rc
/linux/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_lvds_connector.c66 long actual, requested; in mdp4_lvds_connector_mode_valid() local
68 requested = 1000 * mode->clock; in mdp4_lvds_connector_mode_valid()
69 actual = mdp4_lcdc_round_pixclk(encoder, requested); in mdp4_lvds_connector_mode_valid()
71 DBG("requested=%ld, actual=%ld", requested, actual); in mdp4_lvds_connector_mode_valid()
73 if (actual != requested) in mdp4_lvds_connector_mode_valid()
/linux/Documentation/userspace-api/gpio/
H A Dgpio-v2-line-get-values-ioctl.rst12 GPIO_V2_LINE_GET_VALUES_IOCTL - Get the values of requested lines.
30 to indicate the subset of requested lines to get.
35 Get the values of requested lines.
40 may be either the output buffer (the last requested value set) or the input
H A Dgpio-handle-get-line-values-ioctl.rst15 GPIOHANDLE_GET_LINE_VALUES_IOCTL - Get the values of all requested lines.
37 Get the values of all requested lines.
42 may be either the output buffer (the last requested value set) or the input
48 one line requested in that case, only the one value is returned in ``values``.
H A Dgpio-handle-set-config-ioctl.rst16 GPIOHANDLE_SET_CONFIG_IOCTL - Update the configuration of previously requested lines.
34 requested lines.
39 Update the configuration of previously requested lines, without releasing the
42 The configuration applies to all requested lines.
H A Dgpio-v2-line-set-config-ioctl.rst12 GPIO_V2_LINE_SET_CONFIG_IOCTL - Update the configuration of previously requested lines.
30 requested lines.
35 Update the configuration of previously requested lines, without releasing the
38 The new configuration must specify the configuration of all requested lines.
H A Dgpio-v2-line-set-values-ioctl.rst12 GPIO_V2_LINE_SET_VALUES_IOCTL - Set the values of requested output lines.
30 to indicate the subset of requested lines to set and ``bits`` set to
36 Set the values of requested output lines.
H A Dgpio-v2-get-line-ioctl.rst39 A number of lines may be requested in the one line request, and request
40 operations are performed on the requested lines by the kernel as atomically
42 requested lines at once.
45 remain as requested until the returned file descriptor is closed. Once the
58 For any given requested line, the following configuration rules apply:
63 and the line is requested "as-is" to allow reading of the line value
102 Where the requested configuration is not directly supported by the underlying
141 is the requested configuration, not the resulting hardware configuration.
H A Dgpio-get-linehandle-ioctl.rst40 While multiple lines may be requested, the same configuration applies to all
47 remain as requested until the returned file descriptor is closed. Once the
65 line is requested "as-is" to allow reading of the line value without altering
85 Where the requested configuration is not directly supported by the underlying
114 is the requested configuration, not the resulting hardware configuration.
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-create-bufs.rst43 ``count`` field must be set to the number of requested buffers, the
44 ``memory`` field specifies the requested I/O method and the ``reserved``
52 requested format is supported by the driver. Based on the format's
53 ``type`` field the requested buffer size (for single-planar) or plane
64 driver may reject the requested size, but if it is accepted the driver
68 will attempt to allocate up to the requested number of buffers and store
71 than the number requested.
87 - The number of buffers requested or granted. If count == 0, then
140 The buffer type (``format.type`` field), requested I/O method
/linux/fs/gfs2/
H A Dtrans.h28 static inline unsigned int gfs2_rg_blocks(const struct gfs2_inode *ip, unsigned requested) in gfs2_rg_blocks() argument
32 if (requested < rgd->rd_length) in gfs2_rg_blocks()
33 return requested + 1; in gfs2_rg_blocks()
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dpp_psm.c247 struct pp_power_state *requested; in power_state_management() local
251 requested = new_ps; in power_state_management()
253 requested = hwmgr->request_ps; in power_state_management()
257 phm_apply_state_adjust_rules(hwmgr, requested, pcurrent); in power_state_management()
259 &pcurrent->hardware, &requested->hardware, &equal))) in power_state_management()
263 phm_set_power_state(hwmgr, &pcurrent->hardware, &requested->hardware); in power_state_management()
/linux/tools/usb/ffs-aio-example/multibuff/device_app/
H A Daio_multibuff.c148 unsigned requested; member
215 iobuf->requested = 0; in init_bufs()
328 if (iobuf[i].requested) in main()
342 iobuf[i].requested = ret; in main()
363 iobuf[actual].requested -= ret; in main()
366 if (!iobuf[actual].requested) in main()
/linux/drivers/gpu/drm/msm/hdmi/
H A Dhdmi_bridge.c277 long actual, requested; in msm_hdmi_bridge_mode_valid() local
279 requested = 1000 * mode->clock; in msm_hdmi_bridge_mode_valid()
287 requested, hdmi_bridge->hdmi->encoder); in msm_hdmi_bridge_mode_valid()
289 actual = clk_round_rate(hdmi->pwr_clks[0], requested); in msm_hdmi_bridge_mode_valid()
291 actual = requested; in msm_hdmi_bridge_mode_valid()
293 DBG("requested=%ld, actual=%ld", requested, actual); in msm_hdmi_bridge_mode_valid()
295 if (actual != requested) in msm_hdmi_bridge_mode_valid()
/linux/fs/nfs/
H A Ddirect.c424 ssize_t result, requested; in nfs_file_direct_read() local
468 if (requested > 0) { in nfs_file_direct_read()
471 requested -= result; in nfs_file_direct_read()
474 iov_iter_revert(iter, requested); in nfs_file_direct_read()
476 result = requested; in nfs_file_direct_read()
961 ssize_t result, requested; in nfs_file_direct_write() local
1009 requested = nfs_direct_write_schedule_iovec(dreq, iter, pos, in nfs_file_direct_write()
1025 if (requested > 0) { in nfs_file_direct_write()
1028 requested -= result; in nfs_file_direct_write()
1033 iov_iter_revert(iter, requested); in nfs_file_direct_write()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-devfreq79 the minimum frequency requested by users. It is 0 if
81 frequency requested by governors.
88 the maximum frequency requested by users. It is 0 if
90 frequency requested by governors and min_freq.
99 the requested polling interval of the corresponding devfreq
114 sets the requested frequency for the devfreq object if
/linux/Documentation/userspace-api/media/dvb/
H A Ddmx-reqbufs.rst53 attempt to allocate the requested number of buffers and it stores the actual
54 number allocated in the ``count`` field. The ``count`` can be smaller than the number requested, ev…
57 at ``size``, and can be smaller than what's requested.
75 The the requested I/O method is not supported.
/linux/drivers/pmdomain/xilinx/
H A Dzynqmp-pm-domains.c35 bool requested; member
113 if (!pd->requested) { in zynqmp_gpd_power_off()
176 pd->requested = true; in zynqmp_gpd_attach_dev()
206 pd->requested = false; in zynqmp_gpd_detach_dev()
/linux/drivers/infiniband/hw/hfi1/
H A Dopfn.c58 if (!priv->opfn.extended || !priv->opfn.requested || in opfn_conn_request()
59 priv->opfn.requested == priv->opfn.completed || priv->opfn.curr) in opfn_conn_request()
62 mask = priv->opfn.requested & ~priv->opfn.completed; in opfn_conn_request()
237 priv->opfn.requested = 0; in opfn_conn_error()
266 priv->opfn.requested |= OPFN_MASK(TID_RDMA); in opfn_qp_init()
/linux/arch/powerpc/sysdev/
H A Dfsl_gtm.c96 if (!gtm->timers[i].requested) { in gtm_get_timer16()
97 gtm->timers[i].requested = true; in gtm_get_timer16()
132 if (gtm->timers[timer].requested) in gtm_get_specific_timer16()
136 ret->requested = true; in gtm_get_specific_timer16()
156 tmr->requested = false; in gtm_put_timer16()
/linux/scripts/coccinelle/misc/
H A Dirqf_oneshot.cocci3 /// threaded IRQs without a primary handler need to be requested with
106 msg = "WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is n…
112 msg = "WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is n…
/linux/arch/x86/kernel/fpu/
H A Dxstate.c1587 static int __xstate_request_perm(u64 permitted, u64 requested, bool guest) in __xstate_request_perm() argument
1603 if ((permitted & requested) == requested) in __xstate_request_perm()
1607 mask = permitted | requested; in __xstate_request_perm()
1641 u64 permitted, requested; in xstate_request_perm() local
1652 requested = xstate_prctl_req[idx]; in xstate_request_perm()
1653 if (!requested) in xstate_request_perm()
1656 if ((fpu_user_cfg.max_features & requested) != requested) in xstate_request_perm()
1661 if ((permitted & requested) == requested) in xstate_request_perm()
1672 ret = __xstate_request_perm(permitted, requested, guest); in xstate_request_perm()

12345678910>>...20