Home
last modified time | relevance | path

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

12345678910>>...15

/linux/security/selinux/include/
H A Davc.h52 u32 requested; member
64 static inline u32 avc_audit_required(u32 requested, in avc_audit_required() argument
73 denied = requested & ~avd->allowed; in avc_audit_required()
95 audited = denied = requested; in avc_audit_required()
97 audited = requested & avd->auditallow; in avc_audit_required()
102 int slow_avc_audit(u32 ssid, u32 tsid, u16 tclass, u32 requested, u32 audited,
110 * @requested: requested permissions
124 static inline int avc_audit(u32 ssid, u32 tsid, u16 tclass, u32 requested, in avc_audit()
129 audited = avc_audit_required(requested, av in avc_audit()
123 avc_audit(u32 ssid,u32 tsid,u16 tclass,u32 requested,struct av_decision * avd,int result,struct common_audit_data * a) avc_audit() argument
[all...]
/linux/security/selinux/
H A Davc.c383 static inline u32 avc_xperms_audit_required(u32 requested, in avc_xperms_audit_required() argument
395 denied = requested & ~avd->allowed; in avc_xperms_audit_required()
403 audited = denied = requested; in avc_xperms_audit_required()
405 audited = requested & avd->auditallow; in avc_xperms_audit_required()
417 u32 requested, const struct av_decision *avd, in avc_xperms_audit()
425 requested, avd, xpd, perm, result, &denied); in avc_xperms_audit()
428 return slow_avc_audit(ssid, tsid, tclass, requested,
759 u32 requested, u32 audited, u32 denied, int result, in slow_avc_audit()
774 sad.requested = requested; in slow_avc_audit()
414 avc_xperms_audit(u32 ssid,u32 tsid,u16 tclass,u32 requested,struct av_decision * avd,struct extended_perms_decision * xpd,u8 perm,int result,struct common_audit_data * ad) avc_xperms_audit() argument
754 slow_avc_audit(u32 ssid,u32 tsid,u16 tclass,u32 requested,u32 audited,u32 denied,int result,struct common_audit_data * a) slow_avc_audit() argument
995 avc_denied(u32 ssid,u32 tsid,u16 tclass,u32 requested,u8 driver,u8 base_perm,u8 xperm,unsigned int flags,struct av_decision * avd) avc_denied() argument
1018 avc_has_extended_perms(u32 ssid,u32 tsid,u16 tclass,u32 requested,u8 driver,u8 base_perm,u8 xperm,struct common_audit_data * ad) avc_has_extended_perms() argument
1110 avc_perm_nonode(u32 ssid,u32 tsid,u16 tclass,u32 requested,unsigned int flags,struct av_decision * avd) avc_perm_nonode() argument
1145 avc_has_perm_noaudit(u32 ssid,u32 tsid,u16 tclass,u32 requested,unsigned int flags,struct av_decision * avd) avc_has_perm_noaudit() argument
1192 avc_has_perm(u32 ssid,u32 tsid,u16 tclass,u32 requested,struct common_audit_data * auditdata) avc_has_perm() argument
[all...]
/linux/include/trace/events/
H A Davc.h25 __field(u32, requested)
35 __entry->requested = sad->requested;
44 TP_printk("requested=0x%x denied=0x%x audited=0x%x result=%d scontext=%s tcontext=%s tclass=%s",
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/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/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dpp_psm.c250 struct pp_power_state *requested; in power_state_management() local
254 requested = new_ps; in power_state_management()
256 requested = hwmgr->request_ps; in power_state_management()
260 phm_apply_state_adjust_rules(hwmgr, requested, pcurrent); in power_state_management()
262 &pcurrent->hardware, &requested->hardware, &equal))) in power_state_management()
266 phm_set_power_state(hwmgr, &pcurrent->hardware, &requested->hardware); in power_state_management()
/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.
47 may be either the output buffer (the last requested value set) or the input
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 a configuration for all requested lines.
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-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-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.
49 may be either the output buffer (the last requested value set) or the input
55 one line requested in that case, only the one value is returned in ``values``.
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-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/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/Documentation/ABI/testing/
H A Dsysfs-bus-iio-inv_icm426006 requested power mode to use if the ODR support it. If ODR
9 power mode if the sensor is on, or the requested value if the
10 sensor is off. The value between real and requested value can
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/fs/nfs/
H A Ddirect.c21 * correct unaligned requests from applications. All requested bytes are
442 ssize_t result, requested; in nfs_file_direct_read()
497 requested = nfs_direct_read_schedule_iovec(dreq, iter, iocb->ki_pos); in nfs_direct_add_page_head()
502 if (requested > 0) { in nfs_direct_add_page_head()
505 requested -= result; in nfs_direct_add_page_head()
508 iov_iter_revert(iter, requested); in nfs_direct_add_page_head()
510 result = requested; in nfs_direct_add_page_head()
980 ssize_t result, requested; in nfs_file_direct_write()
1028 requested = nfs_direct_write_schedule_iovec(dreq, iter, pos, in nfs_file_direct_write()
1040 requested in nfs_file_direct_write()
420 ssize_t result, requested; nfs_file_direct_read() local
979 ssize_t result, requested; nfs_file_direct_write() local
[all...]
/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.c30 * @requested: The PM node mapped to the PM domain has been requested
35 bool requested; member
113 if (!pd->requested) { in zynqmp_gpd_power_off()
170 pd->requested = true; in zynqmp_gpd_attach_dev()
172 dev_dbg(&domain->dev, "%s requested PM node id %d\n", in zynqmp_gpd_attach_dev()
200 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/drivers/cxl/core/
H A Dfeatures.c407 int requested; in cxlctl_get_supported_features()
418 requested = count / sizeof(*pos); in cxlctl_get_supported_features()
421 * Make sure that the total requested number of entries is not greater in cxlctl_get_supported_features()
427 requested = min_t(int, requested, cxlfs->entries->num_features - start); in cxlctl_get_supported_features()
430 struct_size(feat_out, ents, requested); in cxlctl_get_supported_features()
437 rpc_out->size = struct_size(feat_out, ents, requested); in cxlctl_get_supported_features()
439 feat_out->num_entries = cpu_to_le16(requested); in cxlctl_get_supported_features()
443 if (i - start == requested) in cxlctl_get_supported_features()
396 int requested; cxlctl_get_supported_features() local
/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/drivers/platform/x86/
H A Dasus-armoury.c602 u32 requested, enable, result; in egpu_enable_current_value_store()
604 err = kstrtou32(buf, 10, &requested); in egpu_enable_current_value_store()
608 if (requested >= ARRAY_SIZE(egpu_status_map)) in egpu_enable_current_value_store()
610 enable = egpu_status_map[requested]; in egpu_enable_current_value_store()
766 u32 requested, mem; in get_current_tunables()
768 result = kstrtou32(buf, 10, &requested); in get_current_tunables()
772 if (requested >= ARRAY_SIZE(apu_mem_map))
774 mem = apu_mem_map[requested];
782 pr_info("APU memory changed to %uGB, reboot required\n", requested + 1);
575 u32 requested, enable, result; egpu_enable_current_value_store() local
733 u32 requested, mem; apu_mem_current_value_store() local
/linux/arch/x86/kernel/fpu/
H A Dxstate.c1707 static int __xstate_request_perm(u64 permitted, u64 requested, bool guest) in __xstate_request_perm() argument
1723 if ((permitted & requested) == requested) in __xstate_request_perm()
1732 mask = permitted | requested; in __xstate_request_perm()
1765 u64 permitted, requested; in xstate_request_perm() local
1776 requested = xstate_prctl_req[idx]; in xstate_request_perm()
1777 if (!requested) in xstate_request_perm()
1780 if ((fpu_user_cfg.max_features & requested) != requested) in xstate_request_perm()
1785 if ((permitted & requested) == requested) in xstate_request_perm()
1796 ret = __xstate_request_perm(permitted, requested, guest); in xstate_request_perm()

12345678910>>...15