Searched defs:valid (Results 1 - 25 of 301) sorted by relevance

1234567891011>>

/drivers/staging/lustre/lustre/obdclass/linux/
H A Dlinux-obdo.c53 void obdo_from_la(struct obdo *dst, struct lu_attr *la, __u64 valid) argument
57 if (valid & LA_ATIME) {
61 if (valid & LA_MTIME) {
65 if (valid & LA_CTIME) {
69 if (valid & LA_SIZE) {
73 if (valid & LA_BLOCKS) { /* allocation of space (x512 bytes) */
77 if (valid & LA_TYPE) {
82 if (valid & LA_MODE) {
87 if (valid & LA_UID) {
91 if (valid
100 la_from_obdo(struct lu_attr *dst, struct obdo *obdo, u32 valid) argument
148 obdo_refresh_inode(struct inode *dst, struct obdo *src, u32 valid) argument
183 obdo_to_inode(struct inode *dst, struct obdo *src, u32 valid) argument
[all...]
/drivers/video/fbdev/via/
H A Dvia_aux_edid.c37 bool valid = false; local
50 valid = spec->version || spec->revision;
53 if (!valid) {
/drivers/cpuidle/
H A Ddt_idle_states.c98 bool valid = true; local
113 valid = false;
117 if (!valid)
121 return valid;
129 * compatible idle state nodes. The data pointer for each valid
140 * If DT idle states are detected and are valid the state count and states
144 * Return: number of valid DT idle states parsed, <0 on failure
173 pr_warn("%s idle state not valid, bailing out\n",
200 * Update the driver state count only if some valid DT idle states
207 * Return the number of present and valid D
[all...]
/drivers/devfreq/
H A Dgovernor_userspace.c22 bool valid; member in struct:userspace_data
29 if (data->valid) {
59 data->valid = true;
77 if (data->valid)
105 data->valid = false;
/drivers/hwmon/
H A Dhih6130.c42 * @valid: only false before first measurement is taken
51 bool valid; member in struct:hih6130
123 if (time_after(jiffies, hih6130->last_update + HZ) || !hih6130->valid) {
157 hih6130->valid = true;
H A Dhtu21.c36 bool valid; member in struct:htu21
71 !htu21->valid) {
83 htu21->valid = true;
H A Dsht21.c42 * @valid: only 0 before first measurement is taken
50 char valid; member in struct:sht21
104 if (time_after(jiffies, sht21->last_update + HZ / 2) || !sht21->valid) {
116 sht21->valid = 1;
H A Dad7414.c44 char valid; /* !=0 if following fields are valid */ member in struct:ad7414_data
80 if (time_after(jiffies, data->next_update) || !data->valid) {
102 data->valid = 1;
H A Dads7828.c57 bool valid; /* Validity flag */ member in struct:ads7828_data
81 || !data->valid) {
90 data->valid = true;
H A Dk8temp.c44 char valid; /* zero until following fields are valid */ member in struct:k8temp_data
62 if (!data->valid
92 data->valid = 1;
H A Dltc4151.c53 bool valid; member in struct:ltc4151_data
72 if (time_after(jiffies, data->last_updated + HZ / 6) || !data->valid) {
92 data->valid = 1;
H A Dmenf21bmc_hwmon.c40 bool valid; member in struct:menf21bmc_hwmon
64 || !drv_data->valid) {
75 drv_data->valid = true;
/drivers/iommu/
H A Dfsl_pamu_domain.h27 int valid; member in struct:dma_window
62 * valid bit for the primary PAACE in the PAMU
64 * it must have a valid mapping before DMA can be
/drivers/staging/lustre/lustre/llite/
H A Dvvp_object.c101 const struct cl_attr *attr, unsigned valid)
105 if (valid & CAT_UID)
107 if (valid & CAT_GID)
109 if (valid & CAT_ATIME)
111 if (valid & CAT_MTIME)
113 if (valid & CAT_CTIME)
115 if (0 && valid & CAT_SIZE)
118 if (0 && valid & (CAT_UID|CAT_GID|CAT_SIZE))
100 vvp_attr_set(const struct lu_env *env, struct cl_object *obj, const struct cl_attr *attr, unsigned valid) argument
/drivers/staging/lustre/lustre/lov/
H A Dlov_merge.c149 void lov_merge_attrs(struct obdo *tgt, struct obdo *src, u64 valid, argument
152 valid &= src->o_valid;
155 if (valid & OBD_MD_FLSIZE) {
163 if (valid & OBD_MD_FLBLOCKS)
165 if (valid & OBD_MD_FLBLKSZ)
167 if (valid & OBD_MD_FLCTIME && tgt->o_ctime < src->o_ctime)
169 if (valid & OBD_MD_FLMTIME && tgt->o_mtime < src->o_mtime)
171 if (valid & OBD_MD_FLDATAVERSION)
176 if (valid & OBD_MD_FLSIZE)
181 /* data_version needs to be valid o
[all...]
H A Dlovsub_object.c106 const struct cl_attr *attr, unsigned valid)
105 lovsub_attr_set(const struct lu_env *env, struct cl_object *obj, const struct cl_attr *attr, unsigned valid) argument
/drivers/staging/lustre/lustre/obdclass/
H A Dobdo.c59 void obdo_from_inode(struct obdo *dst, struct inode *src, u32 valid) argument
63 if (valid & (OBD_MD_FLCTIME | OBD_MD_FLMTIME))
64 CDEBUG(D_INODE, "valid %x, new time %lu/%lu\n",
65 valid, LTIME_S(src->i_mtime),
68 if (valid & OBD_MD_FLATIME) {
72 if (valid & OBD_MD_FLMTIME) {
76 if (valid & OBD_MD_FLCTIME) {
80 if (valid & OBD_MD_FLSIZE) {
84 if (valid & OBD_MD_FLBLOCKS) { /* allocation of space (x512 bytes) */
88 if (valid
118 obdo_cpy_md(struct obdo *dst, struct obdo *src, u32 valid) argument
250 iattr_from_obdo(struct iattr *attr, struct obdo *oa, u32 valid) argument
299 md_from_obdo(struct md_op_data *op_data, struct obdo *oa, u32 valid) argument
314 obdo_from_md(struct obdo *oa, struct md_op_data *op_data, unsigned int valid) argument
[all...]
/drivers/acpi/acpica/
H A Dnsxfname.c283 u8 valid = 0; local
335 valid |= ACPI_VALID_HID;
343 valid |= ACPI_VALID_UID;
351 valid |= ACPI_VALID_SUB;
364 valid |= ACPI_VALID_CID;
399 valid |= ACPI_VALID_STA;
407 valid |= ACPI_VALID_ADR;
417 valid |= ACPI_VALID_SXWS;
427 valid |= ACPI_VALID_SXDS;
495 info->valid
[all...]
/drivers/char/tpm/
H A Dtpm_ibmvtpm.h23 u8 valid; member in struct:ibmvtpm_crq
/drivers/gpu/drm/armada/
H A Darmada_output.c96 int valid = MODE_BAD; local
101 valid = slave->slave_funcs->mode_valid(encoder, mode);
103 return valid;
/drivers/gpu/drm/msm/
H A Dmsm_gem.h86 bool valid; member in struct:msm_gem_submit
/drivers/ide/
H A Dide-io-std.c89 void ide_tf_load(ide_drive_t *drive, struct ide_taskfile *tf, u8 valid) argument
101 if (valid & IDE_VALID_FEATURE)
103 if (valid & IDE_VALID_NSECT)
105 if (valid & IDE_VALID_LBAL)
107 if (valid & IDE_VALID_LBAM)
109 if (valid & IDE_VALID_LBAH)
111 if (valid & IDE_VALID_DEVICE)
116 void ide_tf_read(ide_drive_t *drive, struct ide_taskfile *tf, u8 valid) argument
128 if (valid & IDE_VALID_ERROR)
130 if (valid
[all...]
/drivers/misc/eeprom/
H A Deeprom.c43 u8 valid; /* bitfield, bit!=0 if slice is valid */ member in struct:eeprom_data
57 if (!(data->valid & (1 << slice)) ||
77 data->valid |= (1 << slice);
H A Dmax6875.c52 u32 valid; member in struct:max6875_data
70 if (!(data->valid & (1 << slice)) ||
75 data->valid &= ~(1 << slice);
103 data->valid |= (1 << slice);
/drivers/rtc/
H A Drtc-mc13xxx.c31 int valid; member in struct:mc13xxx_rtc
40 if (!priv->valid)
67 if (!priv->valid)
142 if (!priv->valid) {
151 priv->valid = !ret;
282 priv->valid = 0;
301 priv->valid = 1;

Completed in 6896 milliseconds

1234567891011>>