Home
last modified time | relevance | path

Searched refs:cap (Results 1 – 25 of 42) sorted by relevance

12

/include/linux/
Dcapability.h25 __u32 cap[_KERNEL_CAPABILITY_U32S]; member
98 #define cap_raise(c, flag) ((c).cap[CAP_TO_INDEX(flag)] |= CAP_TO_MASK(flag))
99 #define cap_lower(c, flag) ((c).cap[CAP_TO_INDEX(flag)] &= ~CAP_TO_MASK(flag))
100 #define cap_raised(c, flag) ((c).cap[CAP_TO_INDEX(flag)] & CAP_TO_MASK(flag))
106 c.cap[__capi] = a.cap[__capi] OP b.cap[__capi]; \
114 c.cap[__capi] = OP a.cap[__capi]; \
153 if (a.cap[__capi] != 0) in cap_isclear()
204 extern bool has_capability(struct task_struct *t, int cap);
206 struct user_namespace *ns, int cap);
207 extern bool has_capability_noaudit(struct task_struct *t, int cap);
[all …]
Dmii.h492 static inline u16 mii_advertise_flowctrl(int cap) in mii_advertise_flowctrl() argument
496 if (cap & FLOW_CTRL_RX) in mii_advertise_flowctrl()
498 if (cap & FLOW_CTRL_TX) in mii_advertise_flowctrl()
513 u8 cap = 0; in mii_resolve_flowctrl_fdx() local
516 cap = FLOW_CTRL_TX | FLOW_CTRL_RX; in mii_resolve_flowctrl_fdx()
519 cap = FLOW_CTRL_RX; in mii_resolve_flowctrl_fdx()
521 cap = FLOW_CTRL_TX; in mii_resolve_flowctrl_fdx()
524 return cap; in mii_resolve_flowctrl_fdx()
Dnetlink.h246 struct user_namespace *ns, int cap);
248 struct user_namespace *ns, int cap);
249 bool netlink_capable(const struct sk_buff *skb, int cap);
250 bool netlink_net_capable(const struct sk_buff *skb, int cap);
Dnvme.h130 #define NVME_CAP_MQES(cap) ((cap) & 0xffff) argument
131 #define NVME_CAP_TIMEOUT(cap) (((cap) >> 24) & 0xff) argument
132 #define NVME_CAP_STRIDE(cap) (((cap) >> 32) & 0xf) argument
133 #define NVME_CAP_NSSRC(cap) (((cap) >> 36) & 0x1) argument
134 #define NVME_CAP_MPSMIN(cap) (((cap) >> 48) & 0xf) argument
135 #define NVME_CAP_MPSMAX(cap) (((cap) >> 52) & 0xf) argument
Dlsm_audit.h82 int cap; member
Dpci.h283 struct pci_cap_saved_data cap; member
1061 int pci_find_capability(struct pci_dev *dev, int cap);
1062 int pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap);
1063 int pci_find_ext_capability(struct pci_dev *dev, int cap);
1064 int pci_find_next_ext_capability(struct pci_dev *dev, int pos, int cap);
1246 struct pci_cap_saved_state *pci_find_saved_cap(struct pci_dev *dev, char cap);
1248 u16 cap);
1249 int pci_add_cap_save_buffer(struct pci_dev *dev, char cap, unsigned int size);
1251 u16 cap, unsigned int size);
1273 int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap);
[all …]
Dvfio.h145 struct vfio_info_cap_header *cap,
Dnfs_fs.h332 static inline int nfs_server_capable(struct inode *inode, int cap) in nfs_server_capable() argument
334 return NFS_SERVER(inode)->caps & cap; in nfs_server_capable()
/include/linux/mlx5/
Ddevice.h1138 #define MLX5_CAP_GEN(mdev, cap) \ argument
1139 MLX5_GET(cmd_hca_cap, mdev->caps.hca_cur[MLX5_CAP_GENERAL], cap)
1141 #define MLX5_CAP_GEN_64(mdev, cap) \ argument
1142 MLX5_GET64(cmd_hca_cap, mdev->caps.hca_cur[MLX5_CAP_GENERAL], cap)
1144 #define MLX5_CAP_GEN_MAX(mdev, cap) \ argument
1145 MLX5_GET(cmd_hca_cap, mdev->caps.hca_max[MLX5_CAP_GENERAL], cap)
1147 #define MLX5_CAP_ETH(mdev, cap) \ argument
1149 mdev->caps.hca_cur[MLX5_CAP_ETHERNET_OFFLOADS], cap)
1151 #define MLX5_CAP_ETH_MAX(mdev, cap) \ argument
1153 mdev->caps.hca_max[MLX5_CAP_ETHERNET_OFFLOADS], cap)
[all …]
/include/linux/sched/
Dcpufreq.h28 unsigned long freq, unsigned long cap) in map_util_freq() argument
30 return (freq + (freq >> 2)) * util / cap; in map_util_freq()
/include/media/
Dv4l2-dv-timings.h52 const struct v4l2_dv_timings_cap *cap,
73 const struct v4l2_dv_timings_cap *cap,
96 const struct v4l2_dv_timings_cap *cap,
Dv4l2-ioctl.h301 struct v4l2_capability *cap);
574 struct v4l2_dv_timings_cap *cap);
Dv4l2-subdev.h485 int (*g_sliced_vbi_cap)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_cap *cap);
701 struct v4l2_dv_timings_cap *cap);
/include/scsi/
Dscsi_host.h835 static unsigned char cap[] = { 0, in scsi_host_dif_capable() local
840 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dif_capable()
843 return shost->prot_capabilities & cap[target_type] ? target_type : 0; in scsi_host_dif_capable()
849 static unsigned char cap[] = { SHOST_DIX_TYPE0_PROTECTION, in scsi_host_dix_capable() local
854 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dix_capable()
857 return shost->prot_capabilities & cap[target_type]; in scsi_host_dix_capable()
/include/sound/
Dhda_chmap.h31 struct hdac_cea_channel_speaker_allocation *cap, int channels);
33 struct hdac_cea_channel_speaker_allocation *cap,
Ddesignware_i2s.h29 unsigned int cap; member
Dseq_kernel.h85 int cap, int type, int midi_channels, int midi_voices, char *portname);
/include/uapi/linux/
Dvirtio_pci.h130 struct virtio_pci_cap cap; member
162 struct virtio_pci_cap cap; member
Dif_arcnet.h125 struct arc_cap cap; member
/include/trace/hooks/
Dsched.h75 unsigned long cap, unsigned long *next_freq),
76 TP_ARGS(util, freq, cap, next_freq));
/include/linux/platform_data/
Dti-sysc.h136 const struct sysc_capabilities *cap; member
/include/linux/usb/
Dtypec.h224 const struct typec_capability *cap);
/include/rdma/
Dopa_port_info.h294 u8 cap; /* 3 res, 5 bits */ member
/include/clocksource/
Dtimer-ti-dm.h122 struct omap_dm_timer *omap_dm_timer_request_by_cap(u32 cap);
/include/net/
Dieee802154_netdev.h356 u8 channel, u8 page, u8 cap);

12