Home
last modified time | relevance | path

Searched full:props (Results 1 – 25 of 478) sorted by relevance

12345678910>>...20

/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/test/
H A Dtest_nvlist.py37 def _dict_to_nvlist_to_dict(self, props): argument
39 nv_in = nvlist_in(props)
88 props = {b"key": b"value"}
89 res = self._dict_to_nvlist_to_dict(props)
90 self.assertEqual(props, res)
93 props = {b"key": None}
94 res = self._dict_to_nvlist_to_dict(props)
95 self.assertEqual(props, res)
98 props = {b"key1": True, b"key2": False}
99 res = self._dict_to_nvlist_to_dict(props)
[all …]
/freebsd/sys/contrib/libsodium/builds/
H A DMakefile.am4 msvc/properties/Common.props \
5 msvc/properties/Debug.props \
6 msvc/properties/DebugDEXE.props \
7 msvc/properties/DebugDLL.props \
8 msvc/properties/DebugLEXE.props \
9 msvc/properties/DebugLIB.props \
10 msvc/properties/DebugLTCG.props \
11 msvc/properties/DebugSEXE.props \
12 msvc/properties/DLL.props \
13 msvc/properties/EXE.props \
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.get_index_props.zcp21 props = {}
24 props['redundant_metadata'] = {{'all', 'default'}, {nil, nil}}
25 props['sync'] = {{'standard', 'default'}, {nil, nil}}
26 props['checksum'] = {{'on', 'default'}, {nil, nil}}
27 props['dedup'] = {{'off', 'default'}, {nil, nil}}
28 props['compression'] = {{'off', 'default'}, {nil, nil}}
29 props['snapdir'] = {{'hidden', 'default'}, {nil, nil}}
31 props['acltype'] = {{'off', 'default'}, {'off', 'default'}}
33 props['aclmode'] = {{'discard', 'default'}, {'discard', 'default'}}
35 props['aclinherit'] = {{'restricted','default'}, {nil, nil}}
[all …]
H A Dtst.get_number_props.zcp21 props = {}
28 props['used'] = {{true, nil}, {true, nil}, {true, nil}}
29 props['available'] = {{true, nil}, {nil, nil}, {true, nil}}
30 props['referenced'] = {{true, nil}, {true, nil}, {true, nil}}
31 props['compressratio'] = {{true, nil}, {true, nil}, {true, nil}}
32 props['refcompressratio'] = {{true, nil}, {true, nil}, {true, nil}}
33 props['volblocksize'] = {{nil, nil}, {nil, nil}, {true, nil}}
34 props['usedbysnapshots'] = {{true, nil}, {nil, nil}, {true, nil}}
35 props['usedbydataset'] = {{true, nil}, {nil, nil}, {true, nil}}
36 props['usedbychildren'] = {{true, nil}, {nil, nil}, {true, nil}}
[all …]
H A Dtst.get_string_props.zcp21 props = {}
24 props['origin'] = {{nil, nil}, {nil, nil}, {snap, nil}}
25 props['clones'] = {{nil, nil}, {{clone}, nil}, {nil, nil}}
26 props['mountpoint'] = {{'/' .. fs, 'default'}, {nil, nil}, {'/' .. clone, 'default'}}
27 props['sharenfs'] = {{'off', 'default'}, {nil, nil}, {'off', 'default'}}
28 props['type'] = {{'filesystem', nil}, {'snapshot', nil}, {'filesystem', nil}}
29 props['sharesmb'] = {{'off', 'default'}, {nil, nil}, {'off', 'default'}}
30 props['mlslabel'] = {{'none', 'default'}, {'none', 'default'}, {'none', 'default'}}
31 props['receive_resume_token'] = {{nil, nil}, {nil, nil}, {nil, nil}}
32 -- hidden props
[all …]
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransProperties.cpp85 PropsTy &props = AtProps[Loc]; in collectProperties() local
86 props.push_back(Prop); in collectProperties()
120 PropsTy &props = findAtLoc->second; in doTransform() local
121 for (PropsTy::iterator I = props.begin(), E = props.end(); I != E; ++I) { in doTransform()
133 PropsTy &props = I->second; in doTransform() local
134 if (!getPropertyType(props)->isObjCRetainableType()) in doTransform()
136 if (hasIvarWithExplicitARCOwnership(props)) in doTransform()
140 rewriteProperty(props, atLoc); in doTransform()
146 PropsTy &props, SourceLocation atLoc, in doPropAction() argument
149 for (PropsTy::iterator I = props.begin(), E = props.end(); I != E; ++I) in doPropAction()
[all …]
/freebsd/usr.sbin/mfiutil/
H A Dmfi_volume.c95 mfi_ld_get_props(int fd, uint8_t target_id, struct mfi_ld_props *props) in mfi_ld_get_props() argument
100 return (mfi_dcmd_command(fd, MFI_DCMD_LD_GET_PROP, props, in mfi_ld_get_props()
105 mfi_ld_set_props(int fd, struct mfi_ld_props *props) in mfi_ld_set_props() argument
109 mbox_store_ldref(mbox, &props->ld); in mfi_ld_set_props()
110 return (mfi_dcmd_command(fd, MFI_DCMD_LD_SET_PROP, props, in mfi_ld_set_props()
169 stage_cache_setting(struct mfi_ld_props *props, uint8_t new_policy, in stage_cache_setting() argument
173 props->default_cache_policy &= ~mask; in stage_cache_setting()
174 props->default_cache_policy |= new_policy; in stage_cache_setting()
183 process_cache_command(int ac, char **av, struct mfi_ld_props *props) in process_cache_command() argument
189 stage_cache_setting(props, MR_LD_CACHE_ALLOW_READ_CACHE | in process_cache_command()
[all …]
H A Dmfi_bbu.c106 mfi_bbu_get_props(int fd, struct mfi_bbu_properties *props, uint8_t *statusp) in mfi_bbu_get_props() argument
109 return (mfi_dcmd_command(fd, MFI_DCMD_BBU_GET_PROP, props, in mfi_bbu_get_props()
110 sizeof(*props), NULL, 0, statusp)); in mfi_bbu_get_props()
114 mfi_bbu_set_props(int fd, struct mfi_bbu_properties *props, uint8_t *statusp) in mfi_bbu_set_props() argument
117 return (mfi_dcmd_command(fd, MFI_DCMD_BBU_SET_PROP, props, in mfi_bbu_set_props()
118 sizeof(*props), NULL, 0, statusp)); in mfi_bbu_set_props()
158 struct mfi_bbu_properties props; in update_bbu_props() local
179 if (mfi_bbu_get_props(fd, &props, &status) < 0) { in update_bbu_props()
197 props.learn_delay_interval = delay; in update_bbu_props()
202 props.auto_learn_mode = 0; in update_bbu_props()
[all …]
/freebsd/contrib/kyua/model/
H A Dmetadata.cpp301 config::tree props; in get_defaults() local
302 init_tree(props); in get_defaults()
303 set_defaults(props); in get_defaults()
304 defaults = props; in get_defaults()
364 config::tree props; member
370 props(props_) in impl()
382 return (get_defaults().combine(props) == in operator ==()
383 get_defaults().combine(other.props)); in operator ==()
390 /// \param props Metadata properties of the test.
391 model::metadata::metadata(const utils::config::tree& props) : in metadata() argument
[all …]
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dprovider.c54 struct ib_port_modify *props) in c4iw_modify_port() argument
292 c4iw_query_device(struct ib_device *ibdev, struct ib_device_attr *props, in c4iw_query_device() argument
298 CTR3(KTR_IW_CXGBE, "%s ibdev %p, props %p", __func__, ibdev, props); in c4iw_query_device()
303 memset(props, 0, sizeof *props); in c4iw_query_device()
304 memcpy(&props->sys_image_guid, sc->port[0]->vi[0].hw_addr, in c4iw_query_device()
306 props->hw_ver = sc->params.chipid; in c4iw_query_device()
307 props->fw_ver = sc->params.fw_vers; in c4iw_query_device()
308 props->device_cap_flags = dev->device_cap_flags; in c4iw_query_device()
309 props->page_size_cap = T4_PAGESIZE_MASK; in c4iw_query_device()
310 props->vendor_id = pci_get_vendor(sc->dev); in c4iw_query_device()
[all …]
/freebsd/tests/sys/cddl/zfs/tests/history/
H A Dhistory_002_pos.ksh81 set -A props \
104 set +A props \
118 typeset -i n=${#props[@]}
120 props[$n]=checksum ; props[((n+1))]="on"
121 props[((n+2))]=checksum ; props[((n+3))]="off"
122 props[((n+4))]=checksum ; props[((n+5))]="fletcher2"
123 props[((n+6))]=checksum ; props[((n+7))]="fletcher4"
124 props[((n+8))]=checksum ; props[((n+9))]="sha256"
129 while ((i < ${#props[@]})) ; do
130 exec_record $ZFS set ${props[$i]}=${props[((i+1))]} $fs
[all …]
/freebsd/lib/libbe/
H A Dbe_info.c115 be_get_dataset_props(libbe_handle_t *lbh, const char *name, nvlist_t *props) in be_get_dataset_props() argument
122 data.list = props; in be_get_dataset_props()
135 be_get_dataset_snapshots(libbe_handle_t *lbh, const char *name, nvlist_t *props) in be_get_dataset_snapshots() argument
142 data.list = props; in be_get_dataset_snapshots()
164 nvlist_t *props; in prop_list_builder_cb() local
177 props = data->list; in prop_list_builder_cb()
179 nvlist_alloc(&props, NV_UNIQUE_NAME, KM_SLEEP); in prop_list_builder_cb()
182 nvlist_add_string(props, "dataset", dataset); in prop_list_builder_cb()
186 nvlist_add_boolean_value(props, "bootonce", true); in prop_list_builder_cb()
189 nvlist_add_string(props, "name", name); in prop_list_builder_cb()
[all …]
/freebsd/sys/dev/mthca/
H A Dmthca_provider.c60 static int mthca_query_device(struct ib_device *ibdev, struct ib_device_attr *props, in mthca_query_device() argument
76 memset(props, 0, sizeof *props); in mthca_query_device()
78 props->fw_ver = mdev->fw_ver; in mthca_query_device()
88 props->device_cap_flags = mdev->device_cap_flags; in mthca_query_device()
89 props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) & in mthca_query_device()
91 props->vendor_part_id = be16_to_cpup((__be16 *) (out_mad->data + 30)); in mthca_query_device()
92 props->hw_ver = be32_to_cpup((__be32 *) (out_mad->data + 32)); in mthca_query_device()
93 memcpy(&props->sys_image_guid, out_mad->data + 4, 8); in mthca_query_device()
95 props->max_mr_size = ~0ull; in mthca_query_device()
96 props->page_size_cap = mdev->limits.page_size_cap; in mthca_query_device()
[all …]
/freebsd/contrib/wpa/wpa_supplicant/examples/
H A Dwpas-dbus-new-getall.py12 props = wpas_obj.GetAll("fi.w1.wpa_supplicant1",
15 print(props)
25 props = if_obj.GetAll("fi.w1.wpa_supplicant1.Interface",
29 print(props)
31 props = if_obj.GetAll("fi.w1.wpa_supplicant1.Interface.WPS",
35 print(props)
41 props = bss_obj.GetAll("fi.w1.wpa_supplicant1.BSS",
45 print(props)
51 props = net_obj.GetAll("fi.w1.wpa_supplicant1.Network",
55 print(props)
/freebsd/sys/dev/backlight/
H A Dbacklight.c60 struct backlight_props props; in backlight_ioctl() local
68 /* Call the driver function so it fills up the props */ in backlight_ioctl()
69 bcopy(data, &props, sizeof(struct backlight_props)); in backlight_ioctl()
70 error = BACKLIGHT_GET_STATUS(sc->dev, &props); in backlight_ioctl()
72 bcopy(&props, data, sizeof(struct backlight_props)); in backlight_ioctl()
73 sc->cached_brightness = props.brightness; in backlight_ioctl()
77 bcopy(data, &props, sizeof(struct backlight_props)); in backlight_ioctl()
78 if (props.brightness == sc->cached_brightness) in backlight_ioctl()
80 error = BACKLIGHT_UPDATE_STATUS(sc->dev, &props); in backlight_ioctl()
82 bcopy(&props, data, sizeof(struct backlight_props)); in backlight_ioctl()
[all …]
/freebsd/usr.bin/backlight/
H A Dbacklight.c90 struct backlight_props props; in main() local
171 if (ioctl(fd, BACKLIGHTGETSTATUS, &props) == -1) in main()
174 printf("%u\n", props.brightness); in main()
176 printf("brightness: %d\n", props.brightness); in main()
177 if (props.nlevels != 0) { in main()
179 for (i = 0; i < props.nlevels; i++) in main()
180 printf(" %d", props.levels[i]); in main()
188 props.brightness = percent; in main()
189 if (ioctl(fd, BACKLIGHTUPDATESTATUS, &props) == -1) in main()
197 if (ioctl(fd, BACKLIGHTGETSTATUS, &props) == -1) in main()
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dbacklight.h65 struct backlight_properties props; member
74 …ruct device *dev, void *data, const struct backlight_ops *ops, struct backlight_properties *props);
76 #define backlight_device_register(name, dev, data, ops, props) \ argument
77 linux_backlight_device_register(name, dev, data, ops, props)
89 bd->props.brightness = bd->ops->get_brightness(bd); in backlight_force_update()
96 return (bd->props.brightness); in backlight_get_brightness()
103 if (brightness > bd->props.max_brightness) in backlight_device_set_brightness()
105 bd->props.brightness = brightness; in backlight_device_set_brightness()
114 bd->props.power = 0/* FB_BLANK_UNBLANK */; in backlight_enable()
123 bd->props.power = 4/* FB_BLANK_POWERDOWN */; in backlight_disable()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
H A Donoffs_001_pos.ksh54 set -A props "atime" "readonly" "setuid"
56 props+=("jailed")
58 props+=("zoned")
76 while (( j < ${#props[@]} )); do
80 ${props[j]} != "readonly" ]]
82 set_n_check_prop "${values[k]}" "${props[j]}" \
84 elif [[ ${props[j]} == "zoned" ]] ; then
87 "${values[k]}" "${props[j]}" \
91 "${values[k]}" "${props[j]}" \
96 set_n_check_prop "${values[k]}" "${props[j]}" \
/freebsd/sys/contrib/libsodium/regen-msvc/
H A Dlibsodium.vcxproj42 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
99 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
103 …otDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Pla…
104 <Import Project="msvc-scripts\sodium.props" />
107 …otDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Pla…
108 <Import Project="msvc-scripts\sodium.props" />
111 …otDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Pla…
112 <Import Project="msvc-scripts\sodium.props" />
115 …otDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Pla…
116 <Import Project="msvc-scripts\sodium.props" />
[all …]
H A Dtl_libsodium.vcxproj.tpl42 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
99 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
103 …otDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Pla…
104 <Import Project="msvc-scripts\sodium.props" />
107 …otDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Pla…
108 <Import Project="msvc-scripts\sodium.props" />
111 …otDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Pla…
112 <Import Project="msvc-scripts\sodium.props" />
115 …otDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Pla…
116 <Import Project="msvc-scripts\sodium.props" />
[all …]
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_mad.c494 struct ib_port_attr *props) in mlx5_query_mad_ifc_port() argument
513 memset(props, 0, sizeof(*props)); in mlx5_query_mad_ifc_port()
525 props->lid = be16_to_cpup((__be16 *)(out_mad->data + 16)); in mlx5_query_mad_ifc_port()
526 props->lmc = out_mad->data[34] & 0x7; in mlx5_query_mad_ifc_port()
527 props->sm_lid = be16_to_cpup((__be16 *)(out_mad->data + 18)); in mlx5_query_mad_ifc_port()
528 props->sm_sl = out_mad->data[36] & 0xf; in mlx5_query_mad_ifc_port()
529 props->state = out_mad->data[32] & 0xf; in mlx5_query_mad_ifc_port()
530 props->phys_state = out_mad->data[33] >> 4; in mlx5_query_mad_ifc_port()
531 props->port_cap_flags = be32_to_cpup((__be32 *)(out_mad->data + 20)); in mlx5_query_mad_ifc_port()
532 props->gid_tbl_len = out_mad->data[50]; in mlx5_query_mad_ifc_port()
[all …]
H A Dmlx5_ib_main.c286 struct ib_port_attr *props) in mlx5_query_port_roce() argument
297 memset(props, 0, sizeof(*props)); in mlx5_query_port_roce()
299 /* Possible bad flows are checked before filling out props so in case in mlx5_query_port_roce()
311 translate_eth_ext_proto_oper(eth_prot_oper, &props->active_speed, in mlx5_query_port_roce()
312 &props->active_width); in mlx5_query_port_roce()
314 translate_eth_proto_oper(eth_prot_oper, &props->active_speed, in mlx5_query_port_roce()
315 &props->active_width); in mlx5_query_port_roce()
317 props->port_cap_flags |= IB_PORT_CM_SUP; in mlx5_query_port_roce()
318 props in mlx5_query_port_roce()
500 get_atomic_caps(struct mlx5_ib_dev * dev,struct ib_device_attr * props) get_atomic_caps() argument
639 mlx5_ib_query_device(struct ib_device * ibdev,struct ib_device_attr * props,struct ib_udata * uhw) mlx5_ib_query_device() argument
912 mlx5_query_hca_port(struct ib_device * ibdev,u8 port,struct ib_port_attr * props) mlx5_query_hca_port() argument
998 mlx5_ib_query_port(struct ib_device * ibdev,u8 port,struct ib_port_attr * props) mlx5_ib_query_port() argument
1054 mlx5_ib_modify_device(struct ib_device * ibdev,int mask,struct ib_device_modify * props) mlx5_ib_modify_device() argument
1083 mlx5_ib_modify_port(struct ib_device * ibdev,u8 port,int mask,struct ib_port_modify * props) mlx5_ib_modify_port() argument
[all...]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/
H A Dzfs_inherit_002_neg.ksh57 set -A props "recordsize" "mountpoint" "sharenfs" "checksum" "compression" \
61 props+=("jailed")
63 props+=("zoned")
75 for prop in ${props[@]}; do
89 while (( i < ${#props[*]} -1 )); do
90 log_mustnot eval "zfs inherit ${props[(( i ))]} \
91 ${props[(( i + 1 ))]} $ds >/dev/null 2>&1"
92 log_mustnot eval "zfs inherit -r ${props[(( i ))]} \
93 ${props[(( i + 1 ))]} $ds >/dev/null 2>&1"
101 for prop in ${props[@]}; do
/freebsd/contrib/netbsd-tests/modules/
H A Dt_modctl.c206 load(prop_dictionary_t props, bool fatal, const char *fmt, ...) in load() argument
214 if (props == NULL) { in load()
215 props = prop_dictionary_create(); in load()
216 propsstr = prop_dictionary_externalize(props); in load()
218 prop_object_release(props); in load()
220 propsstr = prop_dictionary_externalize(props); in load()
326 prop_dictionary_t props; in ATF_TC_BODY() local
329 props = prop_dictionary_create(); in ATF_TC_BODY()
330 load(props, true, "%s/k_helper/k_helper.kmod", in ATF_TC_BODY()
332 prop_object_release(props); in ATF_TC_BODY()
[all …]
/freebsd/sbin/bectl/
H A Dbectl_list.c60 static void print_headers(nvlist_t *props, struct printc *pc);
155 nvlist_t *props, *sprops; in print_snapshots() local
157 if (be_prop_list_alloc(&props) != 0) { in print_snapshots()
161 if (be_get_dataset_snapshots(be, dsname, props) != 0) { in print_snapshots()
165 for (cur = nvlist_next_nvpair(props, NULL); cur != NULL; in print_snapshots()
166 cur = nvlist_next_nvpair(props, cur)) { in print_snapshots()
291 print_headers(nvlist_t *props, struct printc *pc) in print_headers() argument
304 for (cur = nvlist_next_nvpair(props, NULL); cur != NULL; in print_headers()
305 cur = nvlist_next_nvpair(props, cur)) { in print_headers()
342 prop_list_sort(nvlist_t *props, char *property, bool reverse) in prop_list_sort() argument
[all …]

12345678910>>...20